* cc-vars.el (c-macro-names-with-semicolon): Move definition before use.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-28 Glenn Morris <rgm@gnu.org>
2
3 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
4 Move definition before use.
5
6 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7 (dun-unix-verbs): Remove dun-zippy.
8 (dun-zippy): Remove function.
9
10 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11
12 2013-05-27 Juri Linkov <juri@jurta.org>
13
14 * replace.el (replace-search): New function with code moved out
15 from `perform-replace'.
16 (replace-highlight, replace-dehighlight): Move function definitions
17 up closer to `replace-search'. (Bug#11746)
18
19 2013-05-27 Juri Linkov <juri@jurta.org>
20
21 * replace.el (perform-replace): Ignore invisible matches.
22 In addition to checking `query-replace-skip-read-only', also
23 filter out matches by calling `run-hook-with-args-until-failure'
24 on `isearch-filter-predicates', and also check `search-invisible'
25 for t or call `isearch-range-invisible'.
26 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
27
28 2013-05-27 Juri Linkov <juri@jurta.org>
29
30 * isearch.el (isearch-filter-predicates): Rename from
31 `isearch-filter-predicate'. Doc fix. (Bug#11378)
32 (isearch-message-prefix): Display text from the property
33 `isearch-message-prefix' of the currently active filters.
34 (isearch-search): Don't compare `isearch-filter-predicate' with
35 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
36 on `isearch-filter-predicates'. Also check `search-invisible' for t
37 or call `isearch-range-invisible'.
38 (isearch-filter-visible): Make obsolete.
39 (isearch-lazy-highlight-search):
40 Call `run-hook-with-args-until-failure' on
41 `isearch-filter-predicates' and use `isearch-range-invisible'.
42
43 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
44 `isearch-filter-predicates' instead of `funcall'ing
45 `isearch-filter-predicate'.
46 (Info-mode): Set `Info-isearch-filter' to
47 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
48
49 * dired-aux.el (dired-isearch-filter-predicate-orig):
50 Remove variable.
51 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
52 (dired-isearch-filenames-end): Add and remove
53 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
54 instead of changing the value of `isearch-filter-predicate'.
55 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
56 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
57 Put property `isearch-message-prefix' to "filename " on
58 `dired-isearch-filter-filenames'.
59
60 * wdired.el (wdired-change-to-wdired-mode):
61 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
62 locally instead of changing `isearch-filter-predicate'.
63 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
64
65 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
66
67 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
68 return the commit hash (Bug#14459). Also set the
69 `vc-git-detached' property.
70 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
71 (vc-git-mode-line-string): Use the same help-echo format whether
72 in detached mode or not, because we know the actual revision now.
73 When in detached mode, shorten the revision to 7 chars.
74
75 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * emacs-lisp/easy-mmode.el (define-minor-mode):
78 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
79 mode hook and provide a docstring.
80
81 2013-05-27 Alan Mackenzie <acm@muc.de>
82
83 Remove spurious syntax-table text properties inserted by C-y.
84 * progmodes/cc-mode.el (c-after-change): Also clear hard
85 syntax-table property with value nil.
86
87 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
88
89 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
90 when reading the events; the buffer layout shall not be changed.
91
92 2013-05-27 Leo Liu <sdl.web@gmail.com>
93
94 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
95 New variable.
96 (inferior-octave-directory-tracker): Automatically re-sync
97 default-directory.
98 (octave-help): Improve handling of 'See also'.
99
100 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * doc-view.el: Minor naming convention tweaks.
103 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
104
105 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
106 even if there's no `display' property yet (bug#14435).
107
108 2013-05-25 Eli Zaretskii <eliz@gnu.org>
109
110 * subr.el (unmsys--file-name): Rename from reveal-filename.
111
112 * Makefile.in (custom-deps, finder-data, autoloads)
113 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
114 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
115 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
116
117 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
118
119 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
120 error-completion on the first 2 args of condition-case (bug#14446).
121 Don't burp at EOB.
122
123 2013-05-25 Leo Liu <sdl.web@gmail.com>
124
125 * comint.el (comint-previous-matching-input): Do not flood the
126 *Messages* buffer with trivial messages.
127
128 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * progmodes/flymake.el (flymake-nop): Don't return a string.
131 (flymake-set-at): Fix typo.
132
133 * simple.el (read--expression): New function, extracted from
134 eval-expression. Set completion-at-point-functions (bug#14465).
135 (eval-expression, eval-minibuffer): Use it.
136
137 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
138
139 * progmodes/flymake.el (flymake-save-buffer-in-file)
140 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
141 (flymake-selected-frame, flymake-log, flymake-ins-after)
142 (flymake-set-at, flymake-get-buildfile-from-cache)
143 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
144 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
145 Refine the doc string.
146 (flymake-get-file-name-mode-and-masks): Reformat.
147 (flymake-get-real-file-name-function): Fix a minor bug.
148
149 2013-05-24 Juri Linkov <juri@jurta.org>
150
151 * progmodes/grep.el (grep-mode-font-lock-keywords):
152 Support =linenumber= format used by git-grep for lines with
153 function names. (Bug#13549)
154
155 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * progmodes/octave.el (octave-smie-rules): Return nil rather than
158 0 after a semi-colon; it works better for smie-auto-fill.
159 (octave--indent-new-comment-line): New function.
160 (octave-indent-new-comment-line): Use it (indirectly).
161 (octave-mode): Don't disable smie-auto-fill. Use add-function to
162 modify comment-line-break-function.
163
164 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
165 (smie-setup): Use add-function to set it.
166
167 2013-05-24 Sam Steingold <sds@gnu.org>
168
169 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
170 argument (before the `interactive' argument).
171
172 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
173
174 * image-mode.el (image-mode-winprops): Add winprops to
175 image-mode-winprops-alist before running
176 image-mode-new-window-functions.
177 * doc-view.el (doc-view-new-window-function): Don't delay
178 doc-view-goto-page via timers (bug#14435).
179
180 2013-05-24 Tassilo Horn <tsdh@gnu.org>
181
182 * doc-view.el: Integrate with desktop.el. (Bug#14435)
183 (doc-view-desktop-save-buffer): New function.
184 (doc-view-restore-desktop-buffer): New function.
185 (desktop-buffer-mode-handlers):
186 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
187 handler.
188 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
189 `desktop-save-buffer' function.
190
191 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
192
193 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
194 (tramp-gvfs-file-name-handler): Raise a user error when
195 `tramp-gvfs-enabled' is nil.
196 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
197 Do not raise a user error when loading package. (Bug#14447)
198
199 * net/xesam.el: Move to obsolete/.
200
201 2013-05-24 Glenn Morris <rgm@gnu.org>
202
203 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
204
205 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
206
207 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
208 (Info-find-node, Man-getpage-in-background): Declare.
209
210 * mail/unrmail.el (unrmail):
211 Replace obsolete detect-coding-with-priority.
212
213 * net/socks.el (socks-split-string): Use this rather than split-string.
214 (socks-nslookup-host): Update for above change.
215 (dynamic-choice, s5-dynamic-choice-match)
216 (s5-dynamic-choice-match-inline, s5-widget-value-create):
217 Comment out unused code.
218
219 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
220 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
221 (gud-tooltip-echo-area): Make obsolete.
222 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
223
224 * progmodes/js.el (js--optimize-arglist): Declare.
225
226 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
227
228 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
229 (ediff-window-C): Declare.
230
231 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
232 Tweak requires to silence compiler.
233
234 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
235 (he-search-string, he-tried-table, he-expand-list)
236 (he-init-string, he-string-member, he-substitute-string)
237 (he-reset-string): Declare.
238
239 * obsolete/options.el (list-options): Use custom-variable-p,
240 rather than obsolete alias.
241
242 2013-05-23 Sam Steingold <sds@gnu.org>
243
244 * simple.el (shell-command-on-region): Pass the `replace' argument
245 down to `call-process-region' to comply with the doc as reported on
246 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
247
248 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * emacs-lisp/smie.el (smie-indent-forward-token)
251 (smie-indent-backward-token): Handle string tokens (bug#14381).
252
253 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
254
255 * ielm.el (ielm-menu): New menu.
256 (inferior-emacs-lisp-mode): Set comment-start.
257
258 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
259
260 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
261 Fix deactivate action.
262
263 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
264 Add cleveref macros.
265
266 * lisp/textmodes/reftex-parse.el
267 (reftex-locate-bibliography-files): Accept options for
268 bibliography commands.
269 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
270 Add addbibresource. Basic Biblatex support.
271
272 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
273
274 * net/tramp-gvfs.el (top):
275 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
276 when loading package. (Bug#14447)
277
278 2013-05-23 Glenn Morris <rgm@gnu.org>
279
280 * progmodes/js.el: No need to load comint when compiling.
281 (ring-insert, comint-send-string, comint-send-input)
282 (comint-last-input-end, ido-chop): Declare.
283
284 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
285 * vc/ediff-mult.el: Adjust requires.
286 (ediff-directories-internal, ediff-directory-revisions-internal)
287 (ediff-patch-file-internal): Declare.
288 * vc/ediff-ptch.el: Adjust requires.
289 (ediff-use-last-dir, ediff-buffers-internal): Declare.
290 (ediff-find-file): Autoload.
291 * vc/ediff-util.el: No need to load ediff when compiling.
292 (ediff-regions-internal): Declare.
293 * vc/ediff-wind.el: Adjust requires.
294 (ediff-compute-toolbar-width): Define when compiling.
295 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
296 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
297 (dired-get-filename, dired-get-marked-files)
298 (ediff-last-dir-patch, ediff-patch-default-directory)
299 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
300 (ediff-patch-buffer-internal): Declare.
301
302 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
303 (ispell-process, ispell-buffer-local-words, lm-summary)
304 (lm-section-start, lm-section-end): Declare.
305 (checkdoc-ispell-init): Simplify.
306
307 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
308 (he-string-member, he-reset-string, he-substitute-string): Declare.
309
310 * eshell/em-ls.el: Adjust requires.
311 (eshell-glob-regexp): Declare.
312 * eshell/em-tramp.el: Adjust requires.
313 (eshell-parse-command): Autoload.
314 * eshell/em-xtra.el: Adjust requires.
315 (eshell-parse-command): Autoload.
316 * eshell/esh-ext.el: Adjust requires.
317 (eshell-parse-command, eshell-close-handles): Autoload.
318 * eshell/esh-io.el: Adjust requires.
319 (eshell-output-filter): Autoload.
320 * eshell/esh-util.el: No need to load tramp when compiling.
321 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
322 Declare.
323 (eshell-parse-ange-ls): Require ange-ftp and tramp.
324 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
325 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
326 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
327 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
328 * eshell/esh-opt.el, eshell/esh-proc.el:
329 * eshell/esh-var.el: Adjust requires.
330 * eshell/eshell.el: Do not require esh-util twice.
331 (eshell-add-input-to-history): Declare.
332 (eshell-command): Check history module is active before using it.
333
334 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
335
336 2013-05-22 Leo Liu <sdl.web@gmail.com>
337
338 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
339
340 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
341
342 * autorevert.el (auto-revert-notify-add-watch)
343 (auto-revert-notify-handler): Add `attrib' for the inotify case,
344 it indicates changes in file modification time.
345
346 2013-05-22 Glenn Morris <rgm@gnu.org>
347
348 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
349 Always delete the autoloaded function from the noruntime and
350 unresolved functions lists.
351
352 * allout.el: No need to load epa, epg, overlay when compiling.
353 (epg-context-set-passphrase-callback, epg-list-keys)
354 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
355 (epg-key-user-id-list): Declare.
356
357 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
358 (viper-set-parsing-style-toggling-macro)
359 (viper-set-emacs-state-searchstyle-macros):
360 Use called-interactively-p on Emacs.
361 (viper-looking-back): Make it an obsolete alias. Update callers.
362 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
363 Use looking-back rather than viper-looking-back.
364 (viper-tmp-insert-at-eob, viper-enlarge-region)
365 (viper-read-string-with-history, viper-register-to-point)
366 (viper-append-to-register, viper-change-state-to-vi)
367 (viper-backward-char-carefully, viper-forward-char-carefully)
368 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
369 (viper-change-state-to-emacs): Declare.
370 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
371 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
372 * emulation/viper-mous.el: Do not load viper-cmd.
373 (viper-backward-char-carefully, viper-forward-char-carefully)
374 (viper-forward-word, viper-adjust-window): Declare.
375
376 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
377
378 * progmodes/idlw-help.el (idlwave-help-fontify):
379 Use called-interactively-p.
380
381 * term/w32console.el (w32-get-console-codepage)
382 (w32-get-console-output-codepage): Declare.
383
384 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
385 Remove unnecessary declarations.
386 (dframe-message): Doc fix.
387
388 * info.el (dframe-select-attached-frame, dframe-current-frame):
389 Declare.
390
391 * speedbar.el (speedbar-message): Make it an obsolete alias.
392 Update all callers.
393 (speedbar-with-attached-buffer)
394 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
395 (speedbar-with-writable): Use backquote.
396 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
397 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
398 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
399 rather than speedbar- aliases.
400 * mail/rmail.el: Load dframe rather than speedbar when compiling.
401 (speedbar-make-specialized-keymap, speedbar-insert-button)
402 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
403 (speedbar-do-function-pointer): Declare.
404 (rmail-speedbar-button, rmail-speedbar-find-file)
405 (rmail-speedbar-move-message):
406 Use dframe-with-attached-buffer rather than speedbar- alias.
407 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
408 (dframe-message, speedbar-make-specialized-keymap)
409 (speedbar-add-expansion-list, speedbar-mode-functions-list)
410 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
411 (speedbar-insert-button, dframe-select-attached-frame)
412 (dframe-maybee-jump-to-attached-frame)
413 (speedbar-change-initial-expansion-list)
414 (speedbar-previously-used-expansion-list-name): Declare.
415 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
416 Use dframe-message, dframe-with-attached-buffer rather than
417 speedbar- aliases.
418 (gud-sentinel): Silence compiler.
419 * progmodes/vhdl-mode.el (speedbar-refresh)
420 (speedbar-do-function-pointer, speedbar-add-supported-extension)
421 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
422 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
423 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
424 (speedbar-file-lists, speedbar-make-tag-line)
425 (speedbar-line-directory, speedbar-goto-this-file)
426 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
427 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
428 (speedbar-make-button, speedbar-reset-scanners)
429 (speedbar-files-item-info, speedbar-line-text)
430 (speedbar-find-file-in-frame, speedbar-set-timer)
431 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
432 (speedbar-with-writable): Do not (re)define it.
433 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
434 rather than speedbar- alias.
435
436 2013-05-21 Leo Liu <sdl.web@gmail.com>
437
438 * progmodes/octave.el (octave-mode-menu): Update and re-organize
439 menu items.
440 (octave-mode): Tweak fill-nobreak-predicate.
441 (inferior-octave-startup): Check process to avoid infinite loop.
442 (inferior-octave): Pop to buffer first to show abornmal process
443 exit information.
444
445 2013-05-21 Glenn Morris <rgm@gnu.org>
446
447 * printing.el (pr-menu-bar): Define when compiling.
448
449 2013-05-21 Leo Liu <sdl.web@gmail.com>
450
451 * progmodes/octave.el (octave-auto-fill): Remove.
452 (octave-indent-new-comment-line): Improve.
453 (octave-mode): Use auto fill mode through
454 comment-line-break-function and fill-nobreak-predicate
455 (octave-goto-function-definition): Support DEFUN_DLD.
456 (octave-beginning-of-defun): Small Tweak
457 (octave-help): Show parent directory.
458
459 2013-05-21 Glenn Morris <rgm@gnu.org>
460
461 * files.el (dired-unmark):
462 * progmodes/gud.el (gdb-input): Update declarations.
463
464 * calculator.el (electric, ehelp): No need to load when compiling.
465 (Electric-command-loop, electric-describe-mode): Declare.
466
467 * doc-view.el (doc-view-current-converter-processes): Move before use.
468
469 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
470 Move MODE-set-explicitly definition before use.
471
472 * international/mule-diag.el (mule-diag):
473 Don't use obsolete window-system-version.
474
475 * mail/feedmail.el (smtpmail): No need to load when compiling.
476 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
477
478 * mail/mail-utils.el (rfc822): No need to load when compiling.
479 (rfc822-addresses): Autoload it.
480 (mail-strip-quoted-names): Trivial simplification.
481
482 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
483 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
484
485 * net/snmp-mode.el (tempo): Don't duplicate requires.
486
487 * progmodes/prolog.el (info): No need to load when compiling.
488 (comint): Require before shell requires it.
489 (Info-goto-node): Autoload it.
490 (Info-follow-nearest-node): Declare.
491 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
492
493 * textmodes/artist.el (picture-mode-exit): Declare.
494
495 * textmodes/reftex-parse.el (reftex-parse-from-file):
496 Trivial rewrite so the compiler can parse it better.
497
498 2013-05-20 Leo Liu <sdl.web@gmail.com>
499
500 * progmodes/octave.el (octave-help-mode-map)
501 (octave-help-mode-finish-hook): New variables.
502 (octave-help-mode, octave-help-mode-finish): New functions.
503 (octave-help): Use octave-help-mode.
504
505 2013-05-20 Glenn Morris <rgm@gnu.org>
506
507 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
508
509 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
510
511 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
512 start at point, so that expansion starting right after opening
513 slash in a regexp is recognized.
514 (ruby-syntax-before-regexp-re): New defvar, extracted from
515 ruby-syntax-propertize-function. Since the value of this regexp
516 is looked up at runtime now, we should be able to turn
517 `ruby-syntax-methods-before-regexp' into a defcustom later.
518 (ruby-syntax-propertize-function): Split regexp matching into two
519 parts, for opening and closing slashes. That allows us to skip
520 over string interpolations and support multiline regexps.
521 Don't call `ruby-syntax-propertize-expansions', instead use another rule
522 for them, which calls `ruby-syntax-propertize-expansion'.
523 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
524 call to `ruby-syntax-propertize-function'.
525 (ruby-syntax-propertize-expansion): Extracted from
526 `ruby-syntax-propertize-expansions'. Handles one expansion.
527 (ruby-syntax-propertize-percent-literal): Leave point right after
528 the percent symbol, so that the expression expansion rule can
529 propertize the contents.
530 (ruby-syntax-propertize-heredoc): Leave point at bol following the
531 heredoc openers.
532 (ruby-syntax-propertize-expansions): Remove.
533
534 2013-05-18 Juri Linkov <juri@jurta.org>
535
536 * man.el (Man-default-man-entry): Remove `-' from the end
537 of the default value. (Bug#14400)
538
539 2013-05-18 Glenn Morris <rgm@gnu.org>
540
541 * comint.el (comint-password-prompt-regexp):
542 Allow "password for XXX" where XXX contains colons (eg https://...).
543
544 2013-05-18 Leo Liu <sdl.web@gmail.com>
545
546 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
547 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
548 (octave-source-directories): Don't check process.
549 (octave-source-directories, octave-find-definition): Doc fix.
550
551 2013-05-18 Glenn Morris <rgm@gnu.org>
552
553 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
554 Remove backspace/delete bindings. (Bug#14392)
555
556 * cus-dep.el (custom-make-dependencies): Sort the output.
557 (custom-versions-load-alist): Convert comment to doc.
558
559 2013-05-17 Leo Liu <sdl.web@gmail.com>
560
561 * newcomment.el (comment-search-backward): Stricter in finding
562 comment start. (Bug#14303)
563
564 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
565 (octave-comment-start-skip): Properly anchored.
566
567 2013-05-17 Leo Liu <sdl.web@gmail.com>
568
569 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
570 Clean up when turned off. (Bug#14395)
571 (smie--highlight-matching-block-overlay): No longer buffer-local.
572 (smie-highlight-matching-block): Adjust.
573
574 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
575
576 Doc string fix for "nanoseconds" (Bug#14406).
577 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
578 Fix doc string typo that had "nanoseconds" instead of "microseconds".
579
580 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
581
582 * calc/calc-units.el (math-extract-units): Preserve powers
583 of units.
584
585 2013-05-17 Leo Liu <sdl.web@gmail.com>
586
587 * subr.el (delete-consecutive-dups): New function.
588 * ido.el (ido-set-matches-1): Use it.
589 * progmodes/octave.el (inferior-octave-completion-table): Use it.
590 * ido.el (ido-remove-consecutive-dups): Remove.
591
592 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
593
594 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
595 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
596 regexp-opt's `words'.
597
598 2013-05-16 Leo Liu <sdl.web@gmail.com>
599
600 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
601 (smie--highlight-matching-block-overlay)
602 (smie--highlight-matching-block-lastpos)
603 (smie--highlight-matching-block-timer): New variables.
604 (smie-highlight-matching-block): New function.
605 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
606 (smie-setup): Conditionally enable smie-blink-matching-open.
607
608 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
609
610 Sync with upstream verilog-mode r840.
611 * progmodes/verilog-mode.el (verilog-mode-version)
612 (verilog-mode-release-date): Update.
613 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
614 (verilog-sig-tieoff): Fix string error on
615 AUTORESET with colon define, bug594. Reported by Andrew Hou.
616 (verilog-read-decls): Fix parameters confusing
617 AUTOINST interfaces, bug565. Reported by Leith Johnson.
618
619 2013-05-16 Eli Zaretskii <eliz@gnu.org>
620
621 * subr.el (reveal-filename): New function.
622
623 * loadup.el: Compute Emacs executable versions on MS-Windows,
624 where executables have the .exe extension. Add a hard link
625 emacs-XX.YY.ZZ.exe on MS-Windows.
626
627 * Makefile.in (XARGS_LIMIT): New variable.
628 (custom-deps, finder-data, autoloads)
629 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
630 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
631 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
632 (compile-main): Limit xargs according to $(XARGS_LIMIT).
633
634 2013-05-16 Leo Liu <sdl.web@gmail.com>
635
636 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
637 (octave-mode-menu, octave-mode-map): Remove its uses.
638
639 2013-05-16 Reto Zimmermann <reto@gnu.org>
640
641 Sync with upstream vhdl mode v3.34.2.
642 * progmodes/vhdl-mode.el: Use `push' throughout.
643 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
644 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
645 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
646 (vhdl-actual-generic-name): New option to derive actual generic name.
647 (vhdl-port-paste-signals): Replace formal by actual generics.
648 (vhdl-beautify): New name for old group vhdl-align. Update users.
649 (vhdl-beautify-options): New option.
650 (vhdl-last-input-event): New compat alias. Use throughout.
651 (vhdl-goto-line): Replace user level function `goto-line'.
652 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
653 vhdl-fix-statement-buffer.
654 (vhdl-create-mode-menu): Add some entries.
655 (vhdl-align-region-groups): Respect vhdl-beautify-options.
656 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
657 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
658 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
659 to force statements on one line.
660 (vhdl-remove-trailing-spaces-region):
661 New, split from vhdl-remove-trailing-spaces.
662 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
663 Respect vhdl-beautify-options.
664 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
665 (vhdl-update-sensitivity-list): Not add with index if exists without.
666 Not include array index with signal. Ignore keywords in comments.
667 (vhdl-get-visible-signals): Regexp tweaks.
668 (vhdl-template-component-inst): Handle empty library.
669 (vhdl-template-type): Add template for 'enum' type.
670 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
671 Use vhdl-replace-string.
672 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
673 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
674 (vhdl-speedbar-initialize): Update for above name change.
675 (vhdl-compose-wire-components): Fix in handling of constants.
676 (vhdl-error-regexp-emacs-alist): New variable.
677 (vhdl-error-regexp-add-emacs): New function;
678 adds support for new compile.el (Emacs 22+)
679 (vhdl-generate-makefile-1): Change target order for single lib. units.
680 Allow use of absolute file names.
681
682 2013-05-16 Leo Liu <sdl.web@gmail.com>
683
684 * simple.el (prog-indent-sexp): Indent enclosing defun.
685
686 2013-05-15 Glenn Morris <rgm@gnu.org>
687
688 * cus-start.el (show-trailing-whitespace): Move to editing basics.
689 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
690 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
691 (whitespace-highlight): Move to whitespace group.
692
693 * comint.el (comint-source):
694 * pcmpl-linux.el (pcmpl-linux):
695 * shell.el (shell-faces):
696 * eshell/esh-opt.el (eshell-opt):
697 * international/ccl.el (ccl): Remove empty custom groups.
698
699 * completion.el (dynamic-completion-mode):
700 * jit-lock.el (jit-lock-debug-mode):
701 * minibuffer.el (completion-in-region-mode):
702 * type-break.el (type-break-mode-line-message-mode)
703 (type-break-query-mode):
704 * emulation/tpu-edt.el (tpu-edt-mode):
705 * progmodes/subword.el (global-subword-mode, global-superword-mode):
706 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
707 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
708
709 * term/xterm.el (xterm): Change parent group to terminals.
710
711 * master.el (master): Remove empty custom group.
712 (master-mode): Remove unused :group argument.
713 * textmodes/refill.el (refill): Remove empty custom group.
714 (refill-mode): Remove unused :group argument.
715
716 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
717
718 * cus-dep.el: Provide a feature.
719 (custom-make-dependencies): Ignore dotfiles (dir-locals).
720 Don't mistakenly ignore files whose basenames match a basename
721 from preloaded-file-list (eg cedet/ede/simple.el).
722 Add a fallback method for getting :group.
723
724 2013-05-15 Juri Linkov <juri@jurta.org>
725
726 * isearch.el (isearch-char-by-name): Rename from
727 `isearch-insert-char-by-name'. Doc fix.
728 (isearch-forward): Mention `isearch-char-by-name' in
729 the docstring. (Bug#13348)
730
731 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
732 `exit-minibuffer' instead of
733 `isearch-nonincremental-exit-minibuffer'.
734 (isearch-edit-string): Remove mention of
735 `isearch-nonincremental-exit-minibuffer' from docstring.
736 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
737 (isearch-forward-exit-minibuffer)
738 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
739
740 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
741
742 * loadup.el: Just use unversioned DOC.
743
744 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
745 literals as extending to EOB.
746 (nxml-last-fontify-end): Remove unused variable.
747 (nxml-after-change1): Use with-silent-modifications.
748 (nxml-extend-after-change-region): Simplify.
749 (nxml-extend-after-change-region1): Remove function.
750 (nxml-after-change1): Don't adjust for dependent regions.
751 (nxml-fontify-matcher): Simplify.
752 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
753 (xmltok-add-dependent): Remove function.
754 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
755 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
756 (xmltok-scan-prolog-after-processing-instruction-open): Treat
757 unclosed <[[, <?, comment, and other literals as extending to EOB.
758 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
759 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
760 Remove functions.
761 (rng-do-some-validation-1): Don't mark dependent regions.
762 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
763 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
764 (nxml-clear-dependent-regions): Remove functions.
765 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
766 (nxml-ensure-scan-up-to-date):
767 Don't clear&mark dependent regions.
768
769 2013-05-15 Leo Liu <sdl.web@gmail.com>
770
771 * progmodes/octave.el (octave-goto-function-definition):
772 Improve and fix callers.
773
774 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
775
776 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
777 the setter (bug#14387).
778
779 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
780 surrounding group (bug#14402).
781
782 2013-05-14 Juri Linkov <juri@jurta.org>
783
784 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
785 (Bug#14390)
786
787 2013-05-14 Glenn Morris <rgm@gnu.org>
788
789 * progmodes/f90.el (f90-imenu-generic-expression):
790 Fix typo in 2013-05-08 change. (Bug#14402)
791
792 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
793
794 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
795 Remove signals for which replies are never received.
796
797 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
798
799 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
800 (gdb-handler-alist, gdb-handler-number): Remove variables.
801 (gdb-handler-list): New variable.
802 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
803 (gdb-pending-handler-p, gdb-handle-reply)
804 (gdb-remove-all-pending-triggers): New functions.
805 (gdb-discard-unordered-replies): New defcustom.
806 (gdb-handler): New defstruct.
807 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
808 instead of gdb-pending-triggers. Update docstring.
809 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
810 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
811 (gdb-var-update-handler, def-gdb-auto-update-trigger)
812 (def-gdb-auto-update-handler, gdb-get-changed-registers)
813 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
814 (gdb-frame-handler): Pending triggers are now automatically managed.
815 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
816 Remove argument.
817 (gdb-input): Automatically handles pending triggers. Update docstring.
818 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
819 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
820 Update comments.
821 (gdb-done-or-error): Now use gdb-handle-reply.
822
823 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
824
825 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
826 gdb-debug-log.
827
828 2013-05-14 Glenn Morris <rgm@gnu.org>
829
830 * subr.el (user-emacs-directory-warning): New option.
831 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
832
833 2013-05-14 Leo Liu <sdl.web@gmail.com>
834
835 * progmodes/octave.el (octave-font-lock-keywords): Fix error
836 during redisplay.
837 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
838 (octave-font-lock-texinfo-comment): Fix invalid search bound
839 error: wrong side of point.
840
841 2013-05-14 Glenn Morris <rgm@gnu.org>
842
843 * progmodes/flymake.el (flymake-xml-program): New option.
844 (flymake-xml-init): Use it.
845
846 * term/xterm.el: Provide a feature.
847
848 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
849
850 2013-05-13 Glenn Morris <rgm@gnu.org>
851
852 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
853 Add compat aliases as a hack workaround. (Bug#14384)
854
855 2013-05-13 Leo Liu <sdl.web@gmail.com>
856
857 * progmodes/octave.el (octave-indent-comment): Fix indentation for
858 ###, and %!.
859 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
860 C-M-q.
861 (octave-comment-start-skip): Include %!.
862 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
863
864 2013-05-12 Leo Liu <sdl.web@gmail.com>
865
866 * progmodes/octave.el (inferior-octave-startup): Store the value
867 of __octave_srcdir__ for octave-source-directories.
868 (inferior-octave-check-process): New function refactored out of
869 inferior-octave-send-list-and-digest.
870 (octave-source-directories)
871 (octave-find-definition-filename-function): New variables.
872 (octave-source-directories)
873 (octave-find-definition-default-filename): New functions.
874 (octave-find-definition): Improve to find functions implemented in C++.
875
876 2013-05-12 Glenn Morris <rgm@gnu.org>
877
878 * calendar/diary-lib.el (diary-outlook-format-1):
879 Don't include dayname in the output. (Bug#14349)
880
881 2013-05-11 Glenn Morris <rgm@gnu.org>
882
883 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
884
885 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
886 Treat cc-provide like provide.
887
888 2013-05-11 Kevin Ryde <user42@zip.com.au>
889
890 * cus-dep.el (custom-make-dependencies):
891 Use generated-autoload-load-name for the sake of files such
892 such cedet/semantic/bovine/c.el, where the base file name
893 is not in load-path. (Bug#5277)
894
895 2013-05-11 Glenn Morris <rgm@gnu.org>
896
897 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
898 Provide features.
899
900 2013-05-11 Leo Liu <sdl.web@gmail.com>
901
902 * progmodes/octave.el (octave-indent-comment): Improve.
903 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
904 (octave-eldoc-function-signatures, octave-eldoc-function):
905 New functions.
906 (octave-mode, inferior-octave-mode): Add eldoc support.
907
908 2013-05-11 Richard Stallman <rms@gnu.org>
909
910 * epa.el (epa-decrypt-file): Take output file name as argument
911 and read it using `interactive'.
912
913 2013-05-11 Leo Liu <sdl.web@gmail.com>
914
915 * progmodes/octave.el (octave-beginning-of-line)
916 (octave-end-of-line): Check before using up-list because it jumps
917 out of more syntactic contructs since moving to smie.
918 (octave-indent-comment): New function.
919 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
920 (octave-begin-keywords, octave-end-keywords)
921 (octave-reserved-words, octave-smie-bnf-table)
922 (octave-smie-rules): Add new keywords from Octave 3.6.4.
923
924 2013-05-11 Glenn Morris <rgm@gnu.org>
925
926 * faces.el (internal-face-x-get-resource):
927 * frame.el (ns-display-monitor-attributes-list):
928 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
929
930 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
931
932 * calc/calc-menu.el: Make it loadable in isolation.
933
934 * net/eudcb-bbdb.el: Make it loadable without bbdb.
935 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
936 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
937 (eudc-bbdb-query-internal): Require 'bbdb.
938
939 * lpr.el (lpr-headers-switches):
940 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
941
942 * progmodes/sql.el (sql-login-params): Fix and improve :type.
943
944 * emulation/edt-mapper.el: In batch mode, error rather than hang.
945
946 * term.el (term-set-escape-char): Make it idempotent.
947
948 2013-05-10 Leo Liu <sdl.web@gmail.com>
949
950 * progmodes/octave.el (inferior-octave-completion-table):
951 No longer a function and all uses changed. Use cache to speed up
952 completion due to bug#11906.
953 (octave-beginning-of-defun): Re-write to be more general.
954
955 2013-05-10 Glenn Morris <rgm@gnu.org>
956
957 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
958
959 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * comint.el (comint-redirect-send-command-to-process): Use :around
962 rather than :override for comint-redirect-filter.
963 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
964 Call it instead of comint-redirect-original-filter-function (which
965 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
966
967 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
968
969 * frame.el (display-monitor-attributes-list): Add NS case.
970 (ns-display-monitor-attributes-list): Declare.
971
972 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
973
974 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
975
976 2013-05-09 Glenn Morris <rgm@gnu.org>
977
978 * international/fontset.el (vertical-centering-font-regexp):
979 Set standard-value.
980
981 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
982
983 * bookmark.el (bookmark-search-delay):
984 * cus-start.el (vertical-centering-font-regexp):
985 * ps-mule.el (ps-mule-font-info-database-default):
986 * ps-print.el (ps-default-fg, ps-default-bg):
987 * type-break.el (type-break-good-break-interval):
988 * whitespace.el (whitespace-indentation-regexp)
989 (whitespace-space-after-tab-regexp):
990 * emacs-lisp/testcover.el (testcover-1value-functions)
991 (testcover-noreturn-functions, testcover-progn-functions)
992 (testcover-prog1-functions):
993 * emulation/viper-init.el (viper-emacs-state-cursor-color):
994 * eshell/em-glob.el (eshell-glob-translate-alist):
995 * play/tetris.el (tetris-tty-colors):
996 * progmodes/cpp.el (cpp-face-default-list):
997 * progmodes/flymake.el (flymake-allowed-file-name-masks):
998 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
999 (idlwave-help-browser-generic-args):
1000 * progmodes/make-mode.el (makefile-special-targets-list):
1001 * progmodes/python.el (python-shell-virtualenv-path):
1002 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1003 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1004 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1005 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1006 * textmodes/reftex-vars.el (reftex-format-label-function):
1007 * textmodes/remember.el (remember-diary-file): Fix custom types.
1008
1009 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1010 Add :version.
1011
1012 2013-05-09 Leo Liu <sdl.web@gmail.com>
1013
1014 * progmodes/octave.el (inferior-octave-completion-at-point):
1015 Restore file completion. (Bug#14300)
1016 (inferior-octave-startup): Fix incorrect highlighting for the
1017 first prompt.
1018
1019 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * progmodes/ruby-mode.el: First cut at SMIE support.
1022 (ruby-use-smie): New var.
1023 (ruby-smie-grammar): New constant.
1024 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1025 (ruby-smie--forward-token, ruby-smie--backward-token)
1026 (ruby-smie-rules): New functions.
1027 (ruby-mode-variables): Setup SMIE if applicable.
1028
1029 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1030
1031 * simple.el (line-move-visual): Signal beginning/end of buffer
1032 only if vertical-motion moved less than it was requested. Avoids
1033 silly incorrect error messages when there are display strings with
1034 multiple newlines at EOL.
1035
1036 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1037
1038 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1039 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1040 (prolog-char-quote-workaround):
1041 * progmodes/cperl-mode.el (cperl-under-as-char):
1042 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1043 Mark as obsolete.
1044 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1045 their declaration.
1046 (vhdl-mode-syntax-table-init): Remove.
1047
1048 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1049 last change.
1050
1051 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1052 syntax for "_".
1053 (ld-script-font-lock-keywords):
1054 Change regexps to use things like \_< and \_>.
1055
1056 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1057 Change all regexps to use things like \_< and \_>.
1058
1059 * progmodes/autoconf.el (autoconf-definition-regexp)
1060 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1061 Handle a _ with symbol syntax.
1062 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1063
1064 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1065 Consolidate declaration.
1066 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1067 the declaration.
1068 (ada-create-syntax-table): Remove.
1069 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1070 already has the right syntax nowadays.
1071 (ada-goto-next-word): Don't change the syntax of "_".
1072
1073 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1074 with-wrapper-hook.
1075
1076 2013-05-08 Sam Steingold <sds@gnu.org>
1077
1078 * thingatpt.el (thing-at-point): Accept optional second argument
1079 NO-PROPERTIES to strip the text properties from the return value.
1080 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1081 to `thing-at-point' instead of stripping the properties ourselves.
1082 Also, when `thing-at-point' fails to find a url, prepend "http://"
1083 to the filename at point on the assumption that the user is
1084 pointing at something like gnu.org/gnu.
1085
1086 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1087
1088 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1089 * faces.el (crm-separator):
1090 Silence byte-compiler.
1091
1092 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1093 (tool-bar-map): Remove unneeded defvars.
1094
1095 2013-05-08 Leo Liu <sdl.web@gmail.com>
1096
1097 Re-work a fix for bug#10994 based on Le Wang's patch.
1098 * ido.el (ido-remove-consecutive-dups): New helper.
1099 (ido-completing-read): Use it.
1100 (ido-chop): Revert fix for bug#10994.
1101
1102 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1103
1104 * cus-edit.el (custom-save-variables):
1105 Pretty-print long values. (Bug#14187)
1106
1107 2013-05-08 Glenn Morris <rgm@gnu.org>
1108
1109 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1110 (m4-mode-syntax-table): Init in the defvar.
1111 (m4-mode-abbrev-table): Let define-derived-mode define it.
1112
1113 2013-05-08 Tom Tromey <tromey@redhat.com>
1114
1115 * progmodes/m4-mode.el (m4-mode-syntax-table):
1116 Do not treat "_" as word constituent. (Bug#14167)
1117
1118 2013-05-07 Glenn Morris <rgm@gnu.org>
1119
1120 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1121 Remove explicit eshell-isearch-cancel-map.
1122
1123 * progmodes/f90.el (f90-smart-end-names): New option.
1124 (f90-smart-end): Doc fix.
1125 (f90-end-block-optional-name): New constant.
1126 (f90-block-match): Respect f90-smart-end-names.
1127
1128 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1131 about implicit semi-colons (bug#14218).
1132
1133 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1134
1135 * frame.el (display-monitor-attributes-list)
1136 (frame-monitor-attributes): New functions.
1137
1138 2013-05-06 Leo Liu <sdl.web@gmail.com>
1139
1140 * progmodes/octave.el (octave-syntax-propertize-function): Change
1141 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1142 (octave-font-lock-keywords): Use octave-operator-regexp.
1143 (octave-completion-at-point): Rename from
1144 octave-completion-at-point-function.
1145 (inferior-octave-directory-tracker): Robustify.
1146 (octave-text-functions): Remove and fix its uses. No such things
1147 any more.
1148
1149 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * emacs-lisp/trace.el (trace--display-buffer): New function.
1152 (trace-make-advice): Use it.
1153
1154 2013-05-06 Juri Linkov <juri@jurta.org>
1155
1156 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1157 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1158 Doc fix.
1159 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1160 in the help string. (Bug#12985)
1161
1162 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1163
1164 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1165
1166 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * progmodes/perl-mode.el: Add support for here documents.
1169 (perl-syntax-propertize-function): Match here-doc markers.
1170 (perl-syntax-propertize-special-constructs): Find their end.
1171 (perl-imenu-generic-expression): Use [:alnum:].
1172
1173 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1174 (advice--add-function): Refresh the advice if already present
1175 (bug#14317).
1176
1177 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1178
1179 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1180
1181 2013-05-06 Glenn Morris <rgm@gnu.org>
1182
1183 * w32-fns.el (w32-charset-info-alist): Declare.
1184
1185 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1186 of its defcustom properties.
1187 (eshell-cmpl-initialize): No need to load pcomplete.
1188
1189 * generic-x.el: No need to require comint when compiling.
1190
1191 * net/eudc-export.el: Make it loadable without bbdb.
1192 (top-level): Use require rather than load-library.
1193 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1194 (eudc-batch-export-records-to-bbdb)
1195 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1196 Require bbdb.
1197
1198 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1201 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1202 some tweaks, instead.
1203
1204 2013-05-05 Leo Liu <sdl.web@gmail.com>
1205
1206 * progmodes/octave.el (octave-font-lock-keywords)
1207 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1208 (inferior-octave-send-list-and-digest): Improve error message.
1209 (octave-mode, inferior-octave-mode): Use setq-local.
1210 (octave-help): Set info-lookup-mode.
1211
1212 2013-05-05 Richard Stallman <rms@gnu.org>
1213
1214 * vc/compare-w.el (compare-windows-whitespace):
1215 Treat no-break space as whitespace.
1216
1217 * mail/rmailsum.el (rmail-summary-rmail-update):
1218 Detect empty summary and don't change selected message.
1219 (rmail-summary-goto-msg): Likewise.
1220
1221 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1222 Doc fixes, rename args.
1223
1224 2013-05-05 Alan Mackenzie <acm@muc.de>
1225
1226 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1227
1228 2013-05-05 Juri Linkov <juri@jurta.org>
1229
1230 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1231 to not add the length of the summary segment to the return value.
1232 (Bug#14125)
1233
1234 2013-05-05 Leo Liu <sdl.web@gmail.com>
1235
1236 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1237 (inferior-octave-output-filter): Remove.
1238 (octave-send-region, inferior-octave-startup): Fix callers.
1239 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1240 (octave-binary-file-extensions): New user variable.
1241 (octave-find-definition): Confirm if opening binary files.
1242 (octave-help-file): Use octave-find-definition to get the binary
1243 confirmation.
1244 (octave-help): Adjust for octave-help-file change.
1245
1246 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1247
1248 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1249 Merge the two entries that handle function definitions.
1250 (pascal--syntax-propertize): New const.
1251 (pascal-mode): Use it. Use setq-local.
1252
1253 2013-05-04 Glenn Morris <rgm@gnu.org>
1254
1255 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1256 (diary-from-outlook): Respect diary-from-outlook-function.
1257
1258 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1259
1260 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1261 Move the declaration from C.
1262 (read-minibuffer, eval-minibuffer): Move from C.
1263 (completion-setup-function): Avoid minibuffer-completion-contents.
1264
1265 2013-05-03 Leo Liu <sdl.web@gmail.com>
1266
1267 * progmodes/octave.el (octave-font-lock-keywords): Do not
1268 dehighlight 'end' in comments or strings.
1269 (octave-completing-read, octave-goto-function-definition):
1270 New helpers.
1271 (octave-help-buffer): New user variable.
1272 (octave-help-file, octave-help-function): New button types.
1273 (octave-help): New command and bind it to C-h ;.
1274 (octave-find-definition): New command and bind it to M-.
1275 (user-error): Alias to error if not defined.
1276
1277 2013-05-02 Leo Liu <sdl.web@gmail.com>
1278
1279 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1280 for \. (bug#14332)
1281 (octave-font-lock-keywords): Include [ and {.
1282
1283 2013-05-02 Leo Liu <sdl.web@gmail.com>
1284
1285 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1286 (inferior-octave): Remove calling comint-mode and return the buffer.
1287 (inferior-octave-startup): Cosmetic changes.
1288
1289 2013-05-02 Leo Liu <sdl.web@gmail.com>
1290
1291 * progmodes/octave.el (octave-syntax-propertize-function):
1292 Include the case when ' is at line beginning. (Bug#14336)
1293
1294 2013-05-02 Glenn Morris <rgm@gnu.org>
1295
1296 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1297 * desktop.el (vc-dir-mode): Just autoload it here.
1298
1299 2013-05-02 Alan Mackenzie <acm@muc.de>
1300
1301 Eliminate variable c-standard-font-lock-fontify-region-function.
1302 * progmodes/cc-mode.el
1303 (c-standard-font-lock-fontify-region-function): Remove.
1304 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1305
1306 2013-05-01 Leo Liu <sdl.web@gmail.com>
1307
1308 * progmodes/octave.el: Compatible with older emacs-24 releases.
1309 (inferior-octave-has-built-in-variables): Remove. Built-in
1310 variables were removed from Octave in 2007.
1311 (inferior-octave-startup): Fix uses.
1312 (comint-line-beginning-position): Remove compatibility code for
1313 emacs 21.
1314
1315 2013-05-01 Juri Linkov <juri@jurta.org>
1316
1317 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1318
1319 2013-05-01 Juri Linkov <juri@jurta.org>
1320
1321 * comint.el (comint-previous-matching-input): Don't print message
1322 "History item: %d" when `isearch-mode' is active.
1323 (comint-history-isearch-message): Print message "History item: %d"
1324 when `comint-input-ring-index' is not empty and this function is
1325 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1326
1327 2013-05-01 Leo Liu <sdl.web@gmail.com>
1328
1329 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1330 definitions. Use completion-at-point to insert keywords.
1331 (octave-abbrev-start): Remove.
1332 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1333
1334 2013-04-30 Leo Liu <sdl.web@gmail.com>
1335
1336 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1337 change.
1338
1339 2013-04-30 Alan Mackenzie <acm@muc.de>
1340
1341 Handle arbitrarily long C++ member initialisation lists.
1342 * progmodes/cc-engine.el (c-back-over-member-initializers):
1343 new function.
1344 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1345 (most) member init lists.
1346
1347 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1348
1349 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1350 variable.
1351
1352 2013-04-30 Leo Liu <sdl.web@gmail.com>
1353
1354 * progmodes/octave.el (octave-variables): Remove. No builtin
1355 variables any more. All converted to functions.
1356 (octave-font-lock-keywords, octave-completion-at-point-function):
1357 Fix uses.
1358 (octave-font-lock-texinfo-comment): New user variable.
1359 (octave-texinfo-font-lock-keywords): New variable for texinfo
1360 comment block.
1361 (octave-function-comment-block): New face.
1362 (octave-font-lock-texinfo-comment): New function.
1363 (octave-mode): Font lock texinfo comment block.
1364
1365 2013-04-29 Leo Liu <sdl.web@gmail.com>
1366
1367 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1368 indexing expression.
1369 (octave-continuation-string): Do not use \.
1370 (inferior-octave-complete-impossible): Remove.
1371 (inferior-octave-completion-table)
1372 (inferior-octave-completion-at-point): Remove its uses.
1373 (inferior-octave-startup): completion_matches was introduced to
1374 Octave in 1996 so safe to assume it.
1375 (octave-function-file-comment): Improve to follow how Octave does it.
1376 (octave-update-function-file-comment): Tweak.
1377
1378 2013-04-29 Leo Liu <sdl.web@gmail.com>
1379
1380 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1381 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1382 (octave-function-file-comment): Fix typo.
1383 (octave-sync-function-file-names): Use read-char-choice.
1384
1385 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1386
1387 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1388 to t for the less important warnings.
1389
1390 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1391
1392 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1393
1394 2013-04-27 Glenn Morris <rgm@gnu.org>
1395
1396 * vc/log-view.el (log-view-current-entry):
1397 Treat "---" separator lines as part of the following rev. (Bug#14169)
1398
1399 2013-04-27 Juri Linkov <juri@jurta.org>
1400
1401 * subr.el (read-number): Doc fix about using it by interactive
1402 code letter `n'. (Bug#14254)
1403
1404 2013-04-27 Juri Linkov <juri@jurta.org>
1405
1406 * desktop.el (desktop-auto-save-timeout): New option.
1407 (desktop-file-checksum): New variable.
1408 (desktop-save): Add optional arg `auto-save' and don't auto-save
1409 if nothing changed.
1410 (desktop-auto-save-timer): New variable.
1411 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1412 (after-init-hook): Call `desktop-auto-save-set-timer'.
1413 Suggested by Reuben Thomas <rrt@sc3d.org> in
1414 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1415
1416 2013-04-27 Leo Liu <sdl.web@gmail.com>
1417
1418 * progmodes/octave.el (octave-function-file-p)
1419 (octave-skip-comment-forward, octave-function-file-comment)
1420 (octave-update-function-file-comment): New functions.
1421 (octave-mode-map): Bind C-c ; to
1422 octave-update-function-file-comment.
1423 (octave-mode-menu): Add octave-update-function-file-comment.
1424 (octave-mode, inferior-octave-mode): Fix doc-string.
1425 (octave-insert-defun): Conform to Octave's coding convention.
1426 (Bug#14285)
1427
1428 * files.el (basic-save-buffer): Don't let errors in
1429 before-save-hook prevent saving buffer.
1430
1431 2013-04-20 Roland Winkler <winkler@gnu.org>
1432
1433 * faces.el (read-face-name): Use completing-read if arg multiple
1434 is nil.
1435
1436 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1437
1438 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1439 displayed, move point to after the totals line.
1440 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1441 for the details.
1442
1443 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1444
1445 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1446 Add current dir to the load-path.
1447 (package-generate-autoloads): Don't rely on
1448 autoload-ensure-default-file.
1449
1450 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1451
1452 * textmodes/remember.el (remember-store-in-files): Document that
1453 the file name format is passed to `format-time-string'.
1454
1455 2013-04-26 Leo Liu <sdl.web@gmail.com>
1456
1457 * progmodes/octave.el (octave-sync-function-file-names): New function.
1458 (octave-mode): Use it in before-save-hook.
1459
1460 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1461
1462 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1463 (bug#14274).
1464
1465 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1466 \n and comment, even if it's not an implicit ; (bug#14218).
1467
1468 2013-04-26 Glenn Morris <rgm@gnu.org>
1469
1470 * subr.el (read-number): Once more use `read' rather than
1471 `string-to-number', to trap non-numeric input. (Bug#14254)
1472
1473 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1474
1475 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1476 Use `syntax-multiline' text property consistently instead of
1477 `font-lock-multiline'. (bug#14237).
1478
1479 2013-04-26 Glenn Morris <rgm@gnu.org>
1480
1481 * emacs-lisp/shadow.el (list-load-path-shadows):
1482 No longer necessary to check for duplicate simple.el, since
1483 2012-07-07 change to init_lread to not include installation lisp
1484 directories in load-path when running uninstalled. (Bug#14270)
1485
1486 2013-04-26 Leo Liu <sdl.web@gmail.com>
1487
1488 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1489 (octave-mode, inferior-octave-mode): Use setq-local.
1490 (octave-not-in-string-or-comment-p): Rename to
1491 octave-in-string-or-comment-p.
1492 (octave-in-comment-p, octave-in-string-p)
1493 (octave-in-string-or-comment-p): Replace defsubst with defun.
1494
1495 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1496
1497 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1498
1499 2013-04-25 Bastien Guerry <bzg@gnu.org>
1500
1501 * textmodes/remember.el (remember-data-directory)
1502 (remember-directory-file-name-format): Fix custom types.
1503
1504 2013-04-25 Leo Liu <sdl.web@gmail.com>
1505
1506 * progmodes/octave.el (octave-completion-at-point-function):
1507 Make use of inferior octave process.
1508 (octave-initialize-completions): Remove.
1509 (inferior-octave-completion-table): New function.
1510 (inferior-octave-completion-at-point): Use it.
1511 (octave-completion-alist): Remove.
1512
1513 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1516 (opascal-mode-syntax-table): New var.
1517 (opascal-literal-kind, opascal-is-literal-end)
1518 (opascal-literal-token-at): Rewrite.
1519 (opascal--literal-start-re, opascal-font-lock-keywords)
1520 (opascal--syntax-propertize): New constants.
1521 (opascal-font-lock-defaults): Adjust.
1522 (opascal-mode): Use them. Set comment-<foo> variables as well.
1523 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1524 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1525 (delphi-other-face, opascal-other-face): Remove face variables.
1526 (opascal-save-state): Remove macro.
1527 (opascal-fontifying-progress-step): Remove constant.
1528 (opascal--ignore-changes): Remove var.
1529 (opascal-set-token-property, opascal-parse-next-literal)
1530 (opascal-is-stable-literal, opascal-complete-literal)
1531 (opascal-is-literal-start, opascal-face-of)
1532 (opascal-parse-region, opascal-parse-region-until-stable)
1533 (opascal-fontify-region, opascal-after-change)
1534 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1535 (opascal-debug-parse-region, opascal-debug-parse-window)
1536 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1537 (opascal-debug-fontify-buffer): Remove.
1538 (opascal-debug-mode-map): Adjust accordingly.
1539
1540 2013-04-25 Leo Liu <sdl.web@gmail.com>
1541
1542 Merge octave-mod.el and octave-inf.el into octave.el with some
1543 cleanups.
1544 * progmodes/octave.el: New file renamed from octave-mod.el.
1545 * progmodes/octave-inf.el: Merged into octave.el.
1546 * progmodes/octave-mod.el: Renamed to octave.el.
1547
1548 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1549
1550 * textmodes/reftex-vars.el
1551 (reftex-label-ignored-macros-and-environments): New defcustom.
1552
1553 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1554
1555 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1558 (smie-indent-keyword): Improve the check to ensure that the next
1559 comment is really on the same line.
1560 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1561
1562 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1563 semi-colons if the line is not otherwise empty (bug#14218).
1564
1565 2013-04-25 Glenn Morris <rgm@gnu.org>
1566
1567 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1568
1569 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * progmodes/opascal.el (opascal-set-token-property): Rename from
1572 opascal-set-text-properties and only set `token' (bug#14134).
1573 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1574 (opascal-literal-text-properties): Remove.
1575 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1576 Adjust callers.
1577
1578 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1579
1580 * textmodes/remember.el (remember-handler-functions): Add an
1581 option for a new handler `remember-store-in-files'.
1582 (remember-data-directory, remember-directory-file-name-format):
1583 New options.
1584 (remember-store-in-files): New function to store remember notes
1585 as separate files within a directory.
1586
1587 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1588
1589 * progmodes/compile.el (compilation-next-error-function):
1590 Pass "formats" to compilation-find-file (bug#11777).
1591
1592 2013-04-24 Glenn Morris <rgm@gnu.org>
1593
1594 * vc/vc-bzr.el (vc-bzr-print-log):
1595 * vc/vc-hg.el (vc-hg-print-log):
1596 * vc/vc-svn.el (vc-svn-print-log):
1597 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1598
1599 * vc/vc-bzr.el (vc-bzr-print-log):
1600 * vc/vc-cvs.el (vc-cvs-print-log):
1601 * vc/vc-git.el (vc-git-print-log):
1602 * vc/vc-hg.el (vc-hg-print-log):
1603 * vc/vc-mtn.el (vc-mtn-print-log):
1604 * vc/vc-rcs.el (vc-rcs-print-log):
1605 * vc/vc-sccs.el (vc-sccs-print-log):
1606 * vc/vc-svn.el (vc-svn-print-log):
1607 * vc/vc.el (vc-print-log-internal): Doc fixes.
1608
1609 2013-04-23 Glenn Morris <rgm@gnu.org>
1610
1611 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1612 Remove venerable code attempting to avoid substitute-command-keys.
1613
1614 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1615
1616 * textmodes/reftex-vars.el (reftex-label-regexps):
1617 Call `reftex-compile-variables' after changes to this variable.
1618
1619 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1620
1621 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1622 Use lexical-binding.
1623 (jit-lock-force-redisplay): Use markers, check buffer's continued
1624 existence and beware narrowed buffers.
1625 (jit-lock-fontify-now): Adjust call accordingly.
1626
1627 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1630 to avoid misleading the user.
1631
1632 2013-04-22 Leo Liu <sdl.web@gmail.com>
1633
1634 * info-look.el: Prefer latex2e.info. (Bug#14240)
1635
1636 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1637
1638 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1639
1640 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1641 * net/tramp.el (tramp-call-process): ... here
1642 (tramp-set-completion-function, tramp-parse-putty):
1643 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1644 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1645 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1646 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1647 (tramp-call-local-coding-command): Use `tramp-call-process'
1648 instead of `tramp-compat-call-process'.
1649
1650 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1651 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1652 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1653 (tramp-find-inline-compress): Improve traces.
1654 (tramp-maybe-send-script): Check for Perl binary.
1655 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1656
1657 2013-04-22 Daiki Ueno <ueno@gnu.org>
1658
1659 * epg.el (epg-context-pinentry-mode): New function.
1660 (epg-context-set-pinentry-mode): New function.
1661 (epg--start): Pass --pinentry-mode option to gpg command.
1662
1663 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1664
1665 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1666 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1667 `completion-at-point'. (Bug#13774)
1668
1669 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1670 default key binding for `describe-distribution' has been moved to
1671 `C-h C-o'. (Bug#13970)
1672
1673 2013-04-21 Glenn Morris <rgm@gnu.org>
1674
1675 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1676 Add doc strings.
1677 (vc-print-log): Clarify interactive prompt.
1678
1679 2013-04-20 Glenn Morris <rgm@gnu.org>
1680
1681 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1682 No longer include timestamp etc information.
1683
1684 2013-04-20 Roland Winkler <winkler@gnu.org>
1685
1686 * faces.el (read-face-name): Bug fix, return just one face if arg
1687 multiple is nil. (Bug#14209)
1688
1689 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1692 (remove-function): Autoload.
1693
1694 * comint.el (comint-redirect-original-filter-function): Remove.
1695 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1696 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1697 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1698 * progmodes/prolog.el (prolog-consult-compile):
1699 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1700 Use add/remove-function instead.
1701 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1702 (gud-tooltip-process-output, gud-tooltip-tips):
1703 Use add/remove-function instead.
1704 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1705 (scheme-interaction-mode, exit-scheme-interaction-mode):
1706 Use add/remove-function instead.
1707
1708 * vc/vc-dispatcher.el: Use lexical-binding.
1709 (vc--process-sentinel): Rename from vc-process-sentinel.
1710 Change last arg to be the code to run. Don't use vc-previous-sentinel
1711 and vc-sentinel-commands any more.
1712 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1713 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1714
1715 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1716
1717 * progmodes/sh-script.el (sh-imenu-generic-expression):
1718 Handle function names with a single character. (Bug#14111)
1719
1720 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1721
1722 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1723 for subroutines defined in an eval (bug#14182).
1724
1725 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1726
1727 * bookmark.el (bookmark-completing-read): Improve handling of empty
1728 string (bug#14176).
1729
1730 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1733
1734 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1735
1736 New faster Imenu implementation (bug#14058).
1737 * progmodes/python.el:
1738 (python-imenu-prev-index-position):
1739 (python-imenu-format-item-label-function)
1740 (python-imenu-format-parent-item-label-function)
1741 (python-imenu-format-parent-item-jump-label-function):
1742 New vars.
1743 (python-imenu-format-item-label)
1744 (python-imenu-format-parent-item-label)
1745 (python-imenu-format-parent-item-jump-label)
1746 (python-imenu--put-parent, python-imenu--build-tree)
1747 (python-imenu-create-index, python-imenu-create-flat-index)
1748 (python-util-popn): New functions.
1749 (python-mode): Set imenu-create-index-function to
1750 python-imenu-create-index.
1751
1752 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1753
1754 * winner.el (winner-active-region): Use region-active-p, activate-mark
1755 and deactivate-mark (bug#14225).
1756
1757 * simple.el (deactivate-mark): Don't inline it.
1758
1759 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1760
1761 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1762
1763 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1764
1765 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1766 file extensions from the archive-mode entry in order to prefer
1767 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1768
1769 2013-04-18 Leo Liu <sdl.web@gmail.com>
1770
1771 * bindings.el (help-event-list): Add ?\?.
1772
1773 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * subr.el (with-wrapper-hook): Declare obsolete.
1776 * simple.el (filter-buffer-substring-function): New hook.
1777 (filter-buffer-substring): Use it.
1778 (filter-buffer-substring-functions): Mark obsolete.
1779 * minibuffer.el (completion-in-region-function): New hook.
1780 (completion-in-region): Use it.
1781 (completion-in-region-functions): Mark obsolete.
1782 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1783 * abbrev.el (abbrev-expand-function): New hook.
1784 (expand-abbrev): Use it.
1785 (abbrev-expand-functions): Mark obsolete.
1786 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1787 and :filter-return.
1788
1789 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1790
1791 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1792 and do not care about match data.
1793
1794 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1797 completion tables when completing error conditions and
1798 `declare' arguments.
1799 (lisp-complete-symbol, field-complete): Mark as obsolete.
1800 (check-parens): Unmatched parens are user errors.
1801 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1802
1803 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1804
1805 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1806 command changed buffer (ie. `flyspell-pre-buffer' is not current
1807 buffer), which prevents making decisions based on invalid value of
1808 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1809 cause an error when `flyspell-pre-point' was nil after switching
1810 buffers.
1811 (flyspell-post-command-hook): No longer needs to change buffers when
1812 checking pre-word. While at it remove unnecessary progn.
1813
1814 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1815
1816 * textmodes/ispell.el (ispell-add-per-file-word-list):
1817 Fix `flyspell-correct-word-before-point' error when accepting
1818 words and `coment-padding' is an integer by using
1819 `comment-normalize-vars' (Bug #14214).
1820
1821 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1822
1823 New defun movement commands.
1824 * progmodes/python.el (python-nav--syntactically)
1825 (python-nav--forward-defun, python-nav-backward-defun)
1826 (python-nav-forward-defun): New functions.
1827
1828 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1829
1830 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1831 (python-syntax-context): Use named compiler-macro for backwards
1832 compatibility with Emacs 24.x.
1833
1834 2013-04-17 Leo Liu <sdl.web@gmail.com>
1835
1836 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1837 octave-hide-process-buffer.
1838
1839 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1842 (bug#14216).
1843
1844 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1845
1846 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1847 Fix adjustment of offset when receiving incomplete responses from GDB
1848 (bug#14129).
1849
1850 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1851
1852 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1853 python-mode-abbrev-table.
1854 (python-skeleton-define): Adjust accordingly.
1855 (python-mode-abbrev-table): New table that inherits from it so that
1856 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1857
1858 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1859 (abbrev-symbol): Use it.
1860 (abbrev--before-point): Use it since we already handle inheritance.
1861
1862 2013-04-16 Leo Liu <sdl.web@gmail.com>
1863
1864 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1865 binding to info-lookup-symbol.
1866
1867 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1868
1869 * minibuffer.el (completion--twq-all):
1870 * term/ns-win.el (ns-initialize-window-system):
1871 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1872
1873 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1874
1875 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1876 global bindings.
1877
1878 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1879
1880 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1881
1882 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1883 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1884 to nil.
1885 (ruby-end-of-defun): Remove the unused arg, change the docstring
1886 to reflect that this function is only used as the value of
1887 `end-of-defun-function'.
1888 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1889 to reflect an earlier change that beginning/end-of-defun functions
1890 jump between methods in a class definition, as well as top-level
1891 functions.
1892
1893 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1894
1895 * minibuffer.el (minibuffer-complete): Don't just scroll
1896 a *Completions* that's been iconified.
1897 (minibuffer-force-complete): Make sure repetitions do cycle when going
1898 through completion-in-region -> minibuffer-complete.
1899
1900 2013-04-15 Alan Mackenzie <acm@muc.de>
1901
1902 Correct the placement of c-cpp-delimiters when there're #s not at
1903 col 0.
1904
1905 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1906 place a submatch around the #.
1907 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1908 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1909 on the #, not BOL.
1910
1911 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1914 (advice--member-p): New arg `name'.
1915 (advice--add-function, advice-member-p): Use it (bug#14202).
1916
1917 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1918
1919 Reformulate java imenu-generic-expression.
1920 The old expression contained ill formed regexps.
1921
1922 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1923 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1924 (cc-imenu-java-method-arg-regexp): New defconsts.
1925 (cc-imenu-java-build-type-args-regex): New defun.
1926 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1927 handling of spaces in the regexp.
1928
1929 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1930
1931 * textmodes/ispell.el (ispell-command-loop): Remove
1932 flyspell highlight of a word when ispell accepts it (bug #14178).
1933
1934 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1935
1936 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1937 uses code from the previous `ange-ftp-run-real-handler'.
1938 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1939 only in case that function exist. This is needed for proper
1940 unloading of Tramp.
1941
1942 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1943
1944 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1945
1946 * textmodes/reftex.el (reftex-compile-variables): Use it.
1947
1948 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * files.el (normal-mode): Only use default major-mode if no other mode
1951 was specified.
1952
1953 * emacs-lisp/trace.el (trace-values): New function.
1954
1955 * files.el: Allow : in local variables (bug#14089).
1956 (hack-local-variable-regexp): New var.
1957 (hack-local-variables-prop-line, hack-local-variables): Use it.
1958
1959 2013-04-13 Roland Winkler <winkler@gnu.org>
1960
1961 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1962 data before it gets modified by bibtex-beginning-of-entry.
1963
1964 2013-04-13 Roland Winkler <winkler@gnu.org>
1965
1966 * textmodes/bibtex.el (bibtex-url): Doc fix.
1967
1968 2013-04-13 Roland Winkler <winkler@gnu.org>
1969
1970 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1971 does not visit a BibTeX file, exclude it from the list of buffers
1972 returned by bibtex-initialize.
1973
1974 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1975
1976 * window.el (split-window): Remove interactive form, since as a
1977 command this function is a special case of split-window-below.
1978 Correct doc string.
1979
1980 2013-04-12 Roland Winkler <winkler@gnu.org>
1981
1982 * faces.el (read-face-name): Do not override value of arg default.
1983 Allow single faces and strings as default values. Remove those
1984 elements from return value that are not faces.
1985 (describe-face): Simplify.
1986 (face-at-point): New optional args thing and multiple so that this
1987 function can provide the same functionality previously provided by
1988 read-face-name.
1989 (make-face-bold, make-face-unbold, make-face-italic)
1990 (make-face-unitalic, make-face-bold-italic, invert-face)
1991 (modify-face, read-face-and-attribute): Use face-at-point.
1992
1993 * cus-edit.el (customize-face, customize-face-other-window)
1994 * cus-theme.el (custom-theme-add-face)
1995 * face-remap.el (buffer-face-set)
1996 * facemenu.el (facemenu-set-face): Use face-at-point.
1997
1998 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1999
2000 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2001
2002 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2003
2004 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2005 off leading { and trailing } from field values.
2006
2007 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2008
2009 * emacs-lisp/timer.el (timer--check): New function.
2010 (timer--time, timer-set-function, timer-event-handler): Use it.
2011 (timer-set-idle-time): Simplify.
2012 (timer--activate): CSE.
2013 (timer-event-handler): Give more info in error message.
2014 (internal-timer-start-idle): New function, moved from C.
2015
2016 * mpc.el (mpc-proc): Add `restart' argument.
2017 (mpc-proc-cmd): Use it.
2018 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2019 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2020 less often.
2021
2022 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2023
2024 * progmodes/sh-script.el: Implement `sh-mode' own
2025 `add-log-current-defun-function' (bug#14112).
2026 (sh-current-defun-name): New function.
2027 (sh-mode): Use the function.
2028
2029 2013-04-09 Bastien Guerry <bzg@gnu.org>
2030
2031 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2032
2033 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2036
2037 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2038 timer (bug#14156).
2039
2040 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2041
2042 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2043 declaration.
2044
2045 2013-04-07 Leo Liu <sdl.web@gmail.com>
2046
2047 * pcmpl-x.el: New file.
2048
2049 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2050
2051 Do not set x-display-name until X connection is established.
2052 This is needed to prevent from weird situation described at
2053 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2054 * frame.el (make-frame): Set x-display-name after call to
2055 window system initialization function, not before.
2056 * term/x-win.el (x-initialize-window-system): Add optional
2057 display argument and use it.
2058 * term/w32-win.el (w32-initialize-window-system):
2059 * term/ns-win.el (ns-initialize-window-system):
2060 * term/pc-win.el (msdos-initialize-window-system):
2061 Add compatible optional display argument.
2062
2063 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2064
2065 * files.el (normal-backup-enable-predicate): On MS-Windows and
2066 MS-DOS compare truenames of temporary-file-directory and of the
2067 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2068 don't fail comparison by compare-strings. Also, compare file
2069 names case-insensitively on MS-Windows and MS-DOS.
2070
2071 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2074 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2075
2076 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2077
2078 * whitespace.el (whitespace-color-on, whitespace-color-off):
2079 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2080
2081 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2082
2083 * ispell.el (ispell-set-spellchecker-params):
2084 Really set `ispell-args' for all equivs.
2085
2086 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * ido.el (ido-completions): Use extra elements of ido-decorations
2089 (bug#14143).
2090 (ido-decorations): Update docstring.
2091
2092 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2093
2094 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2095 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2096 nil during initialization, in order not to miss changes since the
2097 file was opened. (Bug#14140)
2098
2099 2013-04-05 Leo Liu <sdl.web@gmail.com>
2100
2101 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2102
2103 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2104
2105 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2106
2107 2013-04-04 Glenn Morris <rgm@gnu.org>
2108
2109 * electric.el (electric-pair-inhibit-predicate): Add :version.
2110
2111 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2114 when a package is required several times (bug#14082).
2115
2116 2013-04-04 Roland Winkler <winkler@gnu.org>
2117
2118 * faces.el (read-face-name): Behave as promised by the docstring.
2119 Assume that arg default is a list of faces.
2120 (describe-face): Call read-face-name with list of default faces.
2121
2122 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2123
2124 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2125 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2126 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2127 the header.
2128 (bookmark-exit-hook-internal): Save even if list is empty.
2129
2130 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2131
2132 * emacs-lisp/package.el (package-pinned-packages): New var.
2133 (package--add-to-archive-contents): Obey it (bug#14118).
2134
2135 2013-04-03 Alan Mackenzie <acm@muc.de>
2136
2137 Handle `parse-partial-sexp' landing inside a comment opener
2138 (Bug#13244). Also adapt to the new values of element 7 of a parse
2139 state.
2140
2141 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2142 parameter `not-in-delimiter'. Handle being inside comment opener.
2143 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2144 character in case we're typing a '*' after a '/'.
2145 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2146 instead by passing the parameter to c-state-pp-to-literal.
2147
2148 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2149 for elt. 7 of a parse state.
2150
2151 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2152
2153 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2154 * international/latin1-disp.el, international/mule-util.el:
2155 * language/cyril-util.el, language/european.el, language/ind-util.el:
2156 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2157 * language/tibetan.el, language/viet-util.el:
2158 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2159
2160 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2163 (electric-pair-post-self-insert-function): Use it.
2164 (electric-pair-default-inhibit): New function, extracted from
2165 electric-pair-post-self-insert-function.
2166
2167 2013-03-31 Roland Winkler <winkler@gnu.org>
2168
2169 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2170
2171 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2174
2175 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
2176
2177 Un-indent after "pass" and "return" statements (Bug#13888)
2178 * progmodes/python.el (python-indent-block-enders): New var.
2179 (python-indent-calculate-indentation): Use it.
2180
2181 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2182
2183 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2184 defun. Defining it as defalias could introduce too eager
2185 byte-compiler optimization. (Bug#14030)
2186
2187 2013-03-30 Chong Yidong <cyd@gnu.org>
2188
2189 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2190
2191 2013-03-30 Leo Liu <sdl.web@gmail.com>
2192
2193 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2194 (kmacro-execute-from-register): Pass the keyboard macro to
2195 kmacro-call-macro or repeating won't work correctly.
2196
2197 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2198
2199 * progmodes/subword.el: Back to using `forward-symbol'.
2200
2201 * subr.el (forward-whitespace, forward-symbol)
2202 (forward-same-syntax): Move from thingatpt.el.
2203
2204 2013-03-29 Leo Liu <sdl.web@gmail.com>
2205
2206 * kmacro.el (kmacro-to-register): New command.
2207 (kmacro-execute-from-register): New function.
2208 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2209
2210 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2211
2212 * mpc.el: Use defvar-local and setq-local.
2213 (mpc--proc-connect): Connection failures are not bugs.
2214 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2215 (mpc-volume-map): Bind to the up-events.
2216
2217 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2218
2219 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2220 instead of `forward-symbol'.
2221
2222 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2225 (edebug--recursive-edit): Use it.
2226 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2227 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2228
2229 2013-03-28 Leo Liu <sdl.web@gmail.com>
2230
2231 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2232
2233 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2234
2235 * facemenu.el (list-colors-callback): New defvar.
2236 (list-colors-redisplay): New function.
2237 (list-colors-display): Install list-colors-redisplay as the
2238 revert-buffer-function. (Bug#14063)
2239
2240 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2241
2242 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2243 and suffixes don't overlap (bug#14061).
2244
2245 * case-table.el: Use lexical-binding.
2246 (case-table-get-table): New function.
2247 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2248
2249 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2250
2251 * progmodes/subword.el: Add `superword-mode' to do word motion
2252 over symbol_words (parallels and leverages `subword-mode' which
2253 does word motion inside MixedCaseWords).
2254
2255 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2256
2257 * eshell/em-unix.el: Move su and sudo to...
2258 * eshell/em-tramp.el: ...Eshell tramp module.
2259
2260 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2261
2262 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2263 Change return value to be a sexp. Delay `get-buffer' to after
2264 restoring the desktop (bug#13951).
2265
2266 2013-03-26 Leo Liu <sdl.web@gmail.com>
2267
2268 * register.el: Move semantic tag handling back to
2269 cedet/semantic/senator.el. (Bug#14052)
2270
2271 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2272
2273 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2274 into the prompt either (bug#13963).
2275
2276 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2279 part of "(error-foo)".
2280
2281 2013-03-24 Juri Linkov <juri@jurta.org>
2282
2283 * replace.el (list-matching-lines-prefix-face): New defcustom.
2284 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2285 `occur-engine' if `face-differs-from-default-p' returns t.
2286 (occur-engine): Add `,' inside backquote construct to evaluate
2287 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2288 Pass `prefix-face' to the functions `occur-context-lines' and
2289 `occur-engine-add-prefix'.
2290 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2291 `prefix-face' and propertize the prefix with `prefix-face'.
2292 (Bug#14017)
2293
2294 2013-03-24 Leo Liu <sdl.web@gmail.com>
2295
2296 * nxml/rng-valid.el (rng-validate-while-idle)
2297 (rng-validate-quick-while-idle): Guard against deleted buffer.
2298 (Bug#13999)
2299
2300 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2301 is the last entry in kill-buffer-hook.
2302
2303 * files.el (kill-buffer-hook): Doc fix.
2304
2305 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2306
2307 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2308 Make it safe-local.
2309
2310 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2311
2312 2013-03-23 Leo Liu <sdl.web@gmail.com>
2313
2314 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2315 Remove.
2316
2317 * nxml/rng-valid.el (rng-validate-mode)
2318 (rng-after-change-function, rng-do-some-validation):
2319 * nxml/rng-maint.el (rng-validate-buffer):
2320 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2321 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2322 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2323 (nxml-extend-after-change-region): Use with-silent-modifications.
2324
2325 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2326 timer-idle-list.
2327
2328 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2329 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2330 timer-idle-list. (Bug#13999)
2331
2332 2013-03-23 Juri Linkov <juri@jurta.org>
2333
2334 * info.el (info-index-match): New face.
2335 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2336 main pattern and add text properties with the new face to matches
2337 in index entries relative to the beginning of the index entry.
2338 (Bug#14015)
2339
2340 2013-03-21 Eric Ludlam <zappo@gnu.org>
2341
2342 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2343 Inhibit read only while inserting objects.
2344
2345 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2346
2347 * progmodes/cfengine.el: Update docs to mention
2348 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2349 symbol motion. Remove "_" from the word syntax.
2350
2351 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2352
2353 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2354 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2355
2356 2013-03-20 Juri Linkov <juri@jurta.org>
2357
2358 * info.el (Info-next-reference-or-link)
2359 (Info-prev-reference-or-link): New functions.
2360 (Info-next-reference, Info-prev-reference): Use them.
2361 (Info-try-follow-nearest-node): Handle footnote navigation.
2362 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2363
2364 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2367 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2368
2369 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2370
2371 Suppress unnecessary non-ASCII chatter during build process.
2372 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2373 (batch-skkdic-convert): Suppress most of the chatter.
2374 It's not needed so much now that machines are faster,
2375 and its non-ASCII component was confusing; see Dmitry Gutov in
2376 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2377
2378 2013-03-20 Leo Liu <sdl.web@gmail.com>
2379
2380 * ido.el (ido-chop): Fix bug#10994.
2381
2382 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2383
2384 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2385 Remove vars.
2386 (whitespace-color-on, whitespace-color-off):
2387 Use `font-lock-fontify-buffer' (Bug#13817).
2388
2389 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2390
2391 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2392 remapping in mode-line.
2393 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2394
2395 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2396
2397 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2398 value for `whitespace-line' face (Bug#13875).
2399 (whitespace-font-lock-keywords): Change description.
2400 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2401 the constructed keywords instead.
2402 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2403
2404 2013-03-19 Leo Liu <sdl.web@gmail.com>
2405
2406 * progmodes/compile.el (compilation-display-error): New command.
2407 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2408 C-o. (Bug#13992)
2409
2410 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2411
2412 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2413
2414 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2415
2416 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2417
2418 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2419
2420 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2421
2422 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2423 * net/tramp-gvfs.el (top):
2424 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2425 (tramp-handle-shell-command): Use it.
2426 (tramp-dissect-file-name): Raise an error when hostname is a
2427 method name, and neither method nor user is specified.
2428
2429 * net/trampver.el: Update release number.
2430
2431 2013-03-18 Leo Liu <sdl.web@gmail.com>
2432
2433 Make sure eldoc can be turned off properly.
2434 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2435 eldoc-mode.
2436 (eldoc-display-message-p): Revert last change.
2437 (eldoc-display-message-no-interference-p)
2438 (eldoc-print-current-symbol-info): Tweak.
2439
2440 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2441
2442 * doc-view.el (doc-view-new-window-function): Check the new window
2443 overlay's display property instead the char property of the
2444 buffer's first char. Use `with-selected-window' instead of
2445 `save-window-excursion' with `select-window'.
2446 (doc-view-document->bitmap): Check the current doc-view overlay's
2447 display property instead the char property of the buffer's first char.
2448
2449 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2450
2451 Automate the build of ja-dic.el (Bug#13984).
2452 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2453 from the input, rather than assume that it's been done for us by the
2454 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2455 the current date into a ja-dic.el comment, as that complicates
2456 regression testing.
2457
2458 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2459
2460 * whitespace.el: Fix double evaluation.
2461 (whitespace-space, whitespace-hspace, whitespace-tab)
2462 (whitespace-newline, whitespace-trailing, whitespace-line)
2463 (whitespace-space-before-tab, whitespace-indentation)
2464 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2465 obsolete defvars.
2466 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2467 (whitespace-color-on): Use a single font-lock-add-keywords call.
2468 Fix double-evaluation of face variables.
2469
2470 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2471
2472 * net/tramp-adb.el (tramp-adb-parse-device-names):
2473 Use `start-process' instead of `call-process'. Otherwise, the
2474 function might be blocked under MS Windows. (Bug#13299)
2475
2476 2013-03-17 Leo Liu <sdl.web@gmail.com>
2477
2478 Extend eldoc to display info in the mode-line. (Bug#13978)
2479 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2480 (eldoc-mode-line-string): New variable.
2481 (eldoc-minibuffer-message): New function.
2482 (eldoc-message-function): New variable.
2483 (eldoc-message): Use it.
2484 (eldoc-display-message-p)
2485 (eldoc-display-message-no-interference-p):
2486 Support eldoc-post-insert-mode.
2487
2488 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2489 (eval-expression): Run it.
2490
2491 2013-03-17 Roland Winkler <winkler@gnu.org>
2492
2493 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2494 strings in the list of return values.
2495
2496 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2497
2498 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2499 radix before checking for HMS forms.
2500
2501 2013-03-16 Leo Liu <sdl.web@gmail.com>
2502
2503 * progmodes/scheme.el: Add indentation and font-locking for λ.
2504 (Bug#13975)
2505
2506 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2509 token before point (bug#13942).
2510
2511 2013-03-16 Leo Liu <sdl.web@gmail.com>
2512
2513 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2514
2515 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2516
2517 * startup.el (command-line-normalize-file-name): Fix handling of
2518 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2519 <xfq.free@gmail.com> in
2520 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2521
2522 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2523
2524 Sync with Tramp 2.2.7.
2525
2526 * net/trampver.el: Update release number.
2527
2528 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2529
2530 * doc-view.el Fix bug#13887.
2531 (doc-view-insert-image): Don't modify overlay associated to
2532 non-live windows, and implement horizontal centering of image in
2533 case it's smaller than the window.
2534 (doc-view-new-window-function): Force redisplay of new windows on
2535 doc-view buffers.
2536
2537 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2538
2539 * saveplace.el (save-place-alist-to-file): Don't sort
2540 `save-place-alist', just pretty-print it (bug#13882).
2541
2542 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2543
2544 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2545 whether `default-file-name-coding-system' is bound. It isn't in
2546 XEmacs.
2547
2548 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2549
2550 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2551 backquotes for `obsolete' (bug#13929).
2552
2553 * international/mule.el (find-auto-coding): Include file name in
2554 obsolescence warning (bug#13922).
2555
2556 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2557
2558 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2559 for CFEngine 3-specific indentation.
2560 (cfengine3-indent-line): Use it. Fix up category regex.
2561 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2562
2563 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * type-break.el (type-break-file-name):
2566 * textmodes/remember.el (remember-data-file):
2567 * strokes.el (strokes-file):
2568 * shadowfile.el (shadow-initialize):
2569 * saveplace.el (save-place-file):
2570 * ps-bdf.el (bdf-cache-file):
2571 * progmodes/idlwave.el (idlwave-config-directory):
2572 * net/quickurl.el (quickurl-url-file):
2573 * international/kkc.el (kkc-init-file-name):
2574 * ido.el (ido-save-directory-list-file):
2575 * emulation/viper.el (viper-custom-file-name):
2576 * emulation/vip.el (vip-startup-file):
2577 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2578 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2579
2580 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2581
2582 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2583 * language/thai-word.el: Switch to UTF-8.
2584
2585 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2586
2587 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2588
2589 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2590
2591 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2592 Use with-current-buffer and don't move point.
2593 (net-utils-run-simple): Remove useless code.
2594 (net-utils-remove-ctl-m): Remove unused custom.
2595
2596 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2597
2598 * international/characters.el (glyphless-set-char-table-range): New fun.
2599 (update-glyphless-char-display): Use it (bug#13744).
2600
2601 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2602
2603 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2604 namespaces in the syntax, indent closer for hanging brace
2605 correctly, allow single-quote delimited 'strings', and make
2606 `cfengine3-mode' the default.
2607
2608 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2609
2610 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2611 Use lexical-binding. Fix up docstring according to conventions.
2612 (gdbmi-debug-mode): New var.
2613 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2614 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2615 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2616 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2617 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2618 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2619 (gdbmi-bnf-incomplete-record-result): New functions.
2620 (gdb-car<): Remove function.
2621 (gdbmi-record-list): Remove variable.
2622 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2623 (gdbmi-bnf-result-state-configs): New const.
2624 (gud-gdbmi-marker-filter): Rewrite.
2625 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2626 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2627 Add `token' argument.
2628 (gdb-done, gdb-error): New functions.
2629 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2630
2631 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * term/xterm.el (xterm--report-background-handler): Don't burp
2634 upon timeout.
2635 (xterm--version-handler): Extract from terminal-init-xterm.
2636 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2637 Allow multiple handlers.
2638 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2639
2640 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2641 (xterm--report-background-handler, xterm--query): New functions.
2642 (terminal-init-xterm): Use them.
2643
2644 2013-03-11 Michael R. Mauger <michael@mauger.com>
2645
2646 * progmodes/sql.el Version 3.2
2647 Please note that my address changed to <michael@mauger.com>;
2648 the <mmaug@yahoo.com> address remains active.
2649 (sql-connection-alist): Updates documentation to fix bug#13715.
2650 (sql-connect): Handle missing `sql-connection-alist' correctly.
2651 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2652 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2653 property.
2654 (sql-default-value): New function.
2655 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2656 values were not used.
2657 (sql-rename-buffer): Make sure alternate buffer name has no text
2658 properties.
2659 (sql-input-sender, sql-execute-feature): Fetch variable with
2660 `buffer-local-value' rather than `with-current-buffer'.
2661 (sql-*): Use #' function syntax consistently.
2662 (sql-*): Use message/error/user-error consistently.
2663
2664 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2665
2666 * xt-mouse.el (xterm-mouse-event-read): Remove.
2667 (xterm-mouse--read-event-sequence-1000)
2668 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2669
2670 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * term/xterm.el (xterm-function-map): Support format used with
2673 formatOtherKeys=1 (bug#13839).
2674
2675 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2676 (with-no-warnings): Use `declare'.
2677
2678 * whitespace.el (whitespace-enable-predicate): New variable.
2679 (whitespace-enable-predicate): Use it.
2680
2681 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2682 (comint-output-filter, comint-update-fence):
2683 Use with-silent-modifications.
2684
2685 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2686
2687 * replace.el (occur-read-regexp-defaults-function): New var.
2688 (occur-read-regexp-defaults): New defun.
2689 (occur-read-primary-args): Propagate above change (bug#13892).
2690
2691 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2692
2693 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2694
2695 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2696
2697 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2698
2699 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2700 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2701 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2702 New defconst.
2703 (tramp-gvfs-file-name-handler-alist) [directory-files]
2704 [directory-files-and-attributes, file-exists-p, file-modes]:
2705 Use Tramp default handler.
2706 [file-acl, file-selinux-context, process-file, set-file-acl]:
2707 [set-file-modes, set-file-selinux-context, shell-command]:
2708 [start-file-process]: Remove handler.
2709 [verify-visited-file-modtime]: New handler.
2710 (tramp-gvfs-dbus-string-to-byte-array)
2711 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2712 calls of `dbus-string-to-byte-array' and
2713 `tramp-gvfs-dbus-byte-array-to-string'.
2714 (tramp-gvfs-handle-copy-file)
2715 (tramp-gvfs-handle-delete-directory)
2716 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2717 (tramp-gvfs-handle-file-directory-p)
2718 (tramp-gvfs-handle-file-executable-p)
2719 (tramp-gvfs-handle-file-name-all-completions)
2720 (tramp-gvfs-handle-file-readable-p)
2721 (tramp-gvfs-handle-file-writable-p)
2722 (tramp-gvfs-handle-insert-directory)
2723 (tramp-gvfs-handle-insert-file-contents)
2724 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2725 (tramp-gvfs-handle-set-visited-file-modtime)
2726 (tramp-gvfs-handle-write-region): Rewrite.
2727 (tramp-gvfs-handle-file-acl)
2728 (tramp-gvfs-handle-file-selinux-context)
2729 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2730 (tramp-gvfs-handle-set-file-modes)
2731 (tramp-gvfs-handle-set-file-selinux-context)
2732 (tramp-gvfs-handle-shell-command)
2733 (tramp-gvfs-handle-start-file-process)
2734 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2735 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2736 over the symlinks. Fix user handling.
2737 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2738 of the D-Bus signals.
2739 (tramp-gvfs-connection-mounted-p): Handle different names of the
2740 D-Bus methods.
2741 (tramp-gvfs-mount-spec-entry): New defun.
2742 (tramp-gvfs-mount-spec): Use it.
2743 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2744 there is a share name. Handle different names of the D-Bus
2745 signals and methods. Set connection properties needed for
2746 `tramp-check-cached-permissions'.
2747 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2748 Return t or nil.
2749
2750 * net/tramp.el (tramp-backtrace): Move up.
2751 (tramp-error): Dump a backtrace into the debug buffer when
2752 `tramp-verbose > 9.
2753 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2754 (tramp-file-mode-permissions, tramp-get-local-uid)
2755 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2756 tramp-sh.el.
2757
2758 * net/tramp-sh.el (tramp-file-mode-type-map)
2759 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2760 (tramp-file-mode-permissions, tramp-get-local-uid)
2761 (tramp-get-local-gid): Move to tramp.el.
2762
2763 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2764
2765 Separate mouse-1-click-follows-link from mouse-drag-region.
2766 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2767 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2768 (mouse-drag-line, mouse-drag-track):
2769 Remove mouse-1-click-follows-link code.
2770 (mouse--remap-link-click-p): Remove.
2771
2772 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2773
2774 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2775 (hi-lock-read-regexp-defaults): New defun.
2776 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2777 (hi-lock-face-phrase-buffer): Propagate above change.
2778 Update docstring (bug#13892).
2779
2780 * subr.el (find-tag-default-as-regexp): New defun.
2781 * replace.el (read-regexp): Propagate above change.
2782
2783 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2784
2785 * calc/calc-units.el (calc-convert-units): Fix the way that default
2786 new units are stored.
2787
2788 2013-03-07 Matthias Meulien <orontee@gmail.com>
2789
2790 * bookmark.el: Define a face to highlight bookmark names in
2791 bookmark menu buffers, where the default is a bold face similarly
2792 to buffer names in buffer menu buffers.
2793 (bookmark-menu-bookmark): New face to highlight bookmark names.
2794 (bookmark-insert-location): Remove duplicated text property to
2795 conform to buffer list (see `list-buffers').
2796 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2797 `bookmark-menu-bookmark' to bookmark names.
2798
2799 2013-03-07 Matthias Meulien <orontee@gmail.com>
2800 Karl Fogel <kfogel@red-bean.com>
2801
2802 * bookmark.el: Display the bookmark list header similarly to the
2803 buffer list header (see `list-buffers'), where the default is now
2804 an immovable/immutable header line.
2805 (bookmark-bmenu-use-header-line): New variable.
2806 (bookmark-bmenu-inline-header-height): New name for
2807 `bookmark-bmenu-header-height', to avoid confusion with the code
2808 for the new immovable header. All references changed.
2809 (bookmark-bmenu-set-header): New function.
2810 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2811 Conditionalize header construction accordingly.
2812 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2813 the inline header height.
2814 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2815 Conditionalize the skipping of the inline header height.
2816
2817 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2818
2819 * progmodes/js.el (js--multi-line-declaration-indentation):
2820 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2821
2822 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2823
2824 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2825 Only propertize regexp when not inside a string (Bug#13885).
2826
2827 2013-03-06 Alan Mackenzie <acm@muc.de>
2828
2829 Correct the position of point in some line-up functions.
2830 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2831 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2832 point at column 0 rather than at a random place in the line.
2833
2834 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2835
2836 * net/tramp-compat.el (tramp-compat-delete-directory):
2837 Implement TRASH argument.
2838
2839 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2840
2841 Keep pre-existing highlighting in completion candidates (Bug#13250).
2842 * minibuffer.el (completions-first-difference): State that the
2843 face is "added" in the docstring.
2844 (completions-common-part): Same. And don't inherit from default.
2845 (completion-hilit-commonality): Prepend 'completions-common-part
2846 and 'completion-first-difference faces to the 'face property,
2847 instead of replacing the value(s).
2848 (completion--insert-strings): Same with 'completions-annotations face.
2849 (completion-hilit-commonality): Use 'face instead of
2850 'font-lock-face, because it gets priority if the completion
2851 strings already have 'face set.
2852
2853 2013-03-04 Alan Mackenzie <acm@muc.de>
2854
2855 Replace `last-command-event' by `last-command-char' in XEmacs.
2856 * progmodes/cc-defs.el (c-last-command-char): New macro.
2857 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2858 (c-semi&comma-no-newlines-before-nonblanks)
2859 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2860 in place of `last-command-event'.
2861 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2862 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2863 (c-electric-paren, c-electric-continued-statement): Use the new
2864 macro in place of `last-command-event'.
2865
2866 2013-03-04 Glenn Morris <rgm@gnu.org>
2867
2868 * files.el (inhibit-local-variables-regexps):
2869 Add .diff and .patch. (Bug#13862)
2870
2871 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2872
2873 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2874 whether the "su" command is available on the device.
2875
2876 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2877
2878 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2879 (tramp-adb-handle-process-file): Remove superfluous setting.
2880 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2881 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2882 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2883
2884 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2885
2886 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2887 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2888 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2889 Use dict-key rather than dict-name for the error message.
2890
2891 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2892
2893 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2894 when reverting (bug#13831).
2895
2896 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2897
2898 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2899 Always expand affix-file before storing to protect against changed
2900 `default-directory'.
2901 (ispell-print-if-debug): Make sure message is printed at the end
2902 of the debug buffer.
2903
2904 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2905
2906 * net/tramp.el (tramp-obsolete-methods): New defconst.
2907 (tramp-warned-obsolete-methods): New defvar.
2908 (tramp-find-method): Check for obsolete methods. Map them to a
2909 replacement method if appropriate.
2910
2911 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2912 Remove methods.
2913 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2914 "ssh2" and "plink1".
2915
2916 2013-02-28 Dale Sedivec <dale@codefu.org>
2917
2918 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2919 Return valid syntax-table property value when converting
2920 quotes within text from string syntax to punctuation syntax (bug#13844).
2921
2922 2013-02-28 Juri Linkov <juri@jurta.org>
2923
2924 * dired-aux.el (dired-diff): If file at point is a backup file,
2925 use its original as the default value, and reverse the order
2926 of arguments to the `diff' call. Doc fix. (Bug#13772)
2927
2928 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2929
2930 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2931 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2932
2933 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2934
2935 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2936
2937 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2938 Ask hunspell about available and default dictionaries.
2939 (ispell-parse-hunspell-affix-file): Extract relevant info from
2940 hunspell affix file.
2941 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2942 `ispell-dictionary-alist' entry for given dictionary after info
2943 provided by `ispell-parse-hunspell-affix-file'.
2944 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2945 of parsed hunspell dicts and associated affix files.
2946 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2947 of parsed hunspell dicts and associated parameters.
2948 (ispell-set-spellchecker-params):
2949 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2950 previously done.
2951 (ispell-start-process):
2952 Call `ispell-hunspell-fill-dictionary-entry' for current
2953 dictionary if it is not initialized.
2954
2955 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2957 * imenu.el: Comment nitpicks.
2958
2959 2013-02-28 Sam Steingold <sds@gnu.org>
2960
2961 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2962 See <http://stackoverflow.com/questions/14720205>.
2963
2964 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2965
2966 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2967 (net-utils-mode): Use it.
2968 (net-utils--revert-cmd): New var.
2969 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2970 (traceroute): Use net-utils-run-simple.
2971
2972 2013-02-28 Glenn Morris <rgm@gnu.org>
2973
2974 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2975
2976 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2979 (doc-view-fallback-mode): Remove overlays here.
2980 (doc-view-toggle-display): Instead of here. Don't throw away
2981 image-mode-winprops-alist.
2982 (doc-view-goto-page): Don't mess with hscroll.
2983
2984 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2985
2986 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2987 &optional (bug#13819).
2988
2989 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2990
2991 * net/tramp-adb.el (tramp-adb-parse-device-names)
2992 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2993
2994 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2995
2996 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2997 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2998 defined. POSIX environments fall back to the "C" locale then and
2999 emit a warning, which shall be suppressed.
3000
3001 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3002
3003 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3004 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3005
3006 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3007
3008 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3009
3010 2013-02-25 Juri Linkov <juri@jurta.org>
3011
3012 * replace.el (read-regexp): Let-bind `default' to the first
3013 element of `defaults' if it's a list, otherwise it should be
3014 a string or nil. Let-bind `suggestions' to `defaults' if it's
3015 a list, otherwise make a list with the string value. Doc fix.
3016 (Bug#13805)
3017
3018 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3019
3020 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3021 that match "\`\.#", to avoid compiling lock files, even if they
3022 are readable (as they are on MS-Windows).
3023
3024 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * files.el (basic-save-buffer): Remove redundant directory-creation.
3027
3028 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3029
3030 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3031 Add option to force `pi' to remain symbolic.
3032 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3033 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3034 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3035 derivatives, when necessary.
3036
3037 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3038
3039 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3040 (ps-mode-octal-region): Use string-make-unibyte.
3041
3042 2013-02-23 Glenn Morris <rgm@gnu.org>
3043
3044 * emulation/viper-cmd.el (viper-submit-report):
3045 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3046 * progmodes/vera-mode.el (vera-mode-help-address):
3047 * textmodes/artist.el (artist-maintainer-address):
3048 * textmodes/reftex.el (reftex-report-bug):
3049 * vc/ediff-util.el (ediff-submit-report):
3050 Add bug-gnu-emacs to bug report address.
3051
3052 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3053 Remove bug report entries.
3054 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3055
3056 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3057 (byte-compile-file, byte-compile-from-buffer):
3058 Use separate input/output buffers for each level of recursive
3059 byte-compile-file calls. (Bug#13787)
3060
3061 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3062
3063 * net/tramp.el (tramp-methods): Fix docstring.
3064 (tramp-ssh-controlmaster-options): Rename it from
3065 `tramp-ssh-controlmaster-template'. Return a string.
3066 (tramp-default-method): Adapt check for
3067 `tramp-ssh-controlmaster-options'.
3068
3069 * net/tramp-sh.el (tramp-methods):
3070 Replace `tramp-ssh-controlmaster-template' by "%c".
3071 (tramp-do-copy-or-rename-file-out-of-band)
3072 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3073 that it is applied for the first hop only.
3074
3075 2013-02-22 Juri Linkov <juri@jurta.org>
3076
3077 * isearch.el (isearch-lazy-highlight-new-loop):
3078 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3079 to `isearch-other-end' if it is not nil. (Bug#13402)
3080
3081 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3082 to `match-beg'.
3083
3084 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3085 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3086 and `isearch-error' to nil.
3087
3088 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3089
3090 * progmodes/python.el (python-info-current-defun):
3091 Enhance match-data cluttering prevention.
3092
3093 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3094
3095 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3096
3097 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3098 Handle multibyte file names.
3099
3100 2013-02-22 Glenn Morris <rgm@gnu.org>
3101
3102 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3103 (sgml-transformation-function): Give it a :set function.
3104 (sgml-tag): Doc fix.
3105
3106 * cmuscheme.el (scheme-buffer):
3107 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3108 * progmodes/tcl.el (inferior-tcl-buffer):
3109 * textmodes/tex-mode.el (tex-command): Doc fixes.
3110
3111 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3112
3113 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3114
3115 2013-02-21 Bastien Guerry <bzg@gnu.org>
3116
3117 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3118
3119 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3120
3121 * progmodes/python.el (python-info-current-defun):
3122 Enhance match-data cluttering prevention.
3123
3124 2013-02-21 Glenn Morris <rgm@gnu.org>
3125
3126 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3127 loaded while outline-regexp is let bound. (Bug#9584)
3128
3129 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3130
3131 * progmodes/python.el (python-info-current-defun): Fix failed
3132 defun name retrieval because of unwanted match-data cluttering.
3133
3134 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3135
3136 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3137 defconst. Apply independent check for ControlPersist.
3138
3139 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3140 temporarily, via "env".
3141
3142 2013-02-21 Glenn Morris <rgm@gnu.org>
3143
3144 * info.el (Info-enable-edit): Remove.
3145 (Info-edit): Disable it rather than using Info-enable.
3146 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3147 (Info-cease-edit): Make editing of Info files obsolete.
3148
3149 * informat.el (Info-tagify):
3150 Handle buffers not visiting files. (Bug#13763)
3151
3152 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3153
3154 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3155
3156 2013-02-21 Glenn Morris <rgm@gnu.org>
3157
3158 * files.el (basic-save-buffer): Move check for existing parent
3159 directory after hooks. (Bug#13773)
3160
3161 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * simple.el (command-execute): Move from C. Add obsolete check.
3164 (extended-command-history): Move from C.
3165
3166 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
3167
3168 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3169 (jka-compr-mode-alist-additions): Handle .txz suffix for
3170 XZ-compressed tar archives (bug#13770).
3171
3172 2013-02-20 Bastien Guerry <bzg@gnu.org>
3173
3174 * outline.el (outline-regexp, outline-heading-end-regexp):
3175 Make variables, not options (bug#13731).
3176
3177 2013-02-20 Glenn Morris <rgm@gnu.org>
3178
3179 * image.el (image-current-frame): Change from variable to function.
3180 (image-show-frame): Rename from image-nth-frame. Update callers.
3181 * image-mode.el (image-multi-frame): New variable.
3182 (image-mode-map, image-mode, image-goto-frame):
3183 Use image-multi-frame rather than image-current-frame.
3184 (image-mode, image-goto-frame): Use image-current-frame as
3185 function rather than as variable.
3186
3187 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3188 * emacs-lisp/cl-macs.el (cl--make-type-test)
3189 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3190
3191 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3192
3193 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3194 (tramp-get-file-property, tramp-set-file-property)
3195 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3196 (tramp-flush-file-property, tramp-flush-directory-property):
3197 Rename argument to KEY.
3198 (tramp-flush-connection-property): Simplify a little bit.
3199 (tramp-connection-property-p): New defun.
3200 (top): Reapply saved values only if there isn't a corresponding
3201 entry in `tramp-connection-properties'.
3202
3203 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3204
3205 * progmodes/python.el (python-indent-context):
3206 Fix python-info-line-ends-backslash-p call.
3207 (python-info-line-ends-backslash-p)
3208 (python-info-beginning-of-backslash): Respect line-number argument.
3209 (python-info-current-line-comment-p):
3210 Fix behavior when not at beginning-of-line.
3211 (python-util-position): Remove function.
3212 (python-util-goto-line): New function.
3213
3214 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3215
3216 * eshell/em-unix.el (eshell/su): Require tramp.
3217 (eshell/sudo): Require tramp. Remove now unnecessary check.
3218
3219 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3220 `tramp-current-connection' in order to avoid an error when several
3221 commands are invoked in a short time in eshell and friends.
3222
3223 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 Cleanup some of EIEIO's namespace.
3226 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3227 Use it to define all the class-* and object-* field accessors (renamed
3228 to eieio--class-* and eieio--object-*). Update all uses.
3229 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3230 class-num-slots and object-num-slots.
3231 (eieio--check-type): New macro.
3232 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3233 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3234 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3235 (object-assoc-list-safe): Use it.
3236 (eieio-defclass): Tighten regexp.
3237 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3238 Remove unreachable code.
3239 (object-class-fast): Declare obsolete.
3240 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3241 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3242 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3243 Rename from class-name, object-name, object-set-name-string,
3244 object-class, object-class-name, class-parents, class-children,
3245 class-precedence-list, class-parent; with obsolete alias.
3246 (class-of, class-direct-superclasses, class-direct-subclasses):
3247 Declare obsolete.
3248 (eieio-defmethod): Use `memq'; remove unreachable code.
3249 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3250 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3251 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3252
3253 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3254
3255 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3256 commentary.
3257
3258 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3259
3260 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3261 Use font-lock-keyword-face for macros and special forms (bug#8345).
3262
3263 2013-02-17 Didier Verna <didier@didierverna.net>
3264
3265 * net/network-stream.el (network-stream-open-starttls):
3266 Check that response to the starttls-command is non-nil. (Bug#13706)
3267
3268 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3271 Don't assume all identifier chars have syntax word.
3272 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3273 Remove bar-not-symbol. Adjust callers.
3274 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3275
3276 2013-02-17 Leo Liu <sdl.web@gmail.com>
3277
3278 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3279
3280 2013-02-17 Glenn Morris <rgm@gnu.org>
3281
3282 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3283
3284 * image-mode.el (image-mode-map): Add image-dired menu entry.
3285
3286 * image-dired.el (tumme): Make this alias obsolete.
3287
3288 2013-02-16 Glenn Morris <rgm@gnu.org>
3289
3290 * image.el (image-animated-types): Remove.
3291 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3292 (image-animated-p): Make obsolete alias.
3293 (image-animate, image-nth-frame, image-animate-timeout):
3294 Use image-multi-frame-p.
3295 (image-animate-timeout): If no delay, use image-default-frame-delay.
3296 * image-mode.el (image-mode, image-toggle-animation):
3297 Use image-multi-frame-p. (Bug#763, bug#10739)
3298 (image-mode): Adjust startup message for a multi-frame image.
3299
3300 * image-mode.el (image-mode-map): Give it a menu.
3301
3302 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3303
3304 * net/tramp-cache.el (tramp-connection-properties): New customer
3305 option.
3306 (tramp-get-connection-property): Use it.
3307
3308 * net/tramp-compat.el (top): Require 'trampver.
3309
3310 * net/tramp-sh.el (tramp-remote-process-environment):
3311 Set tramp-autoload cookie.
3312
3313 2013-02-16 Kevin Ryde <user42@zip.com.au>
3314
3315 * info-look.el (info-lookup-select-mode): If major-mode has no
3316 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3317
3318 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3319
3320 * replace.el (read-regexp): Tighten the regexp that matches tag.
3321 When tag is retrieved with `find-tag-default', use regexp that
3322 matches tag at point. Also update docstring (Bug#13687).
3323
3324 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3325
3326 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3327 add watch for the file, not its parent directory, since w32notify
3328 sets up the watch for the directory internally. (Bug#13725)
3329
3330 2013-02-16 Glenn Morris <rgm@gnu.org>
3331
3332 * image.el (image-default-frame-delay): New variable.
3333 (image-animated-p): Use image-default-frame-delay.
3334 (image-minimum-frame-delay): New constant.
3335 (image-animate-timeout): Use image-minimum-frame-delay.
3336
3337 * image.el (image-nth-frame): New, split from image-animate-timeout.
3338 (image-animate-timeout): Use image-nth-frame.
3339 * image-mode.el (image-goto-frame, image-next-frame)
3340 (image-previous-frame): New commands.
3341 (image-mode-map): Add new frame commands.
3342
3343 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3344
3345 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3346 If col-desc already has help-echo, use it. (Bug#13563)
3347
3348 2013-02-16 Glenn Morris <rgm@gnu.org>
3349
3350 * image.el (image-current-frame): New variable.
3351 (image-animate-timeout): Set image-current-frame.
3352 * image-mode.el (image-mode): For animated images,
3353 display a frame counter via mode-line-process.
3354
3355 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3356
3357 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3358
3359 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3360
3361 2013-02-15 Alan Mackenzie <acm@muc.de>
3362
3363 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3364 global minor mode has been enabled, call the minor mode function
3365 for a new buffer once only, after the major mode hook, whilst
3366 allowing that hook explicitly to disable the minor mode.
3367 (MODE-disable-in-buffer): New (generated) function.
3368 (disable-MODE): New (generated) buffer local variable.
3369
3370 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3371
3372 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3373 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3374 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3375 `ido-next-match' and `ido-prev-match' resply.
3376 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3377 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3378 `icomplete-backward-completions' (Bug#13708).
3379
3380 2013-02-15 Glenn Morris <rgm@gnu.org>
3381
3382 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3383
3384 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3385
3386 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3387 (goto-address-fontify-region): Use them instead of narrowing, so
3388 syntax-ppss has access to the whole buffer.
3389
3390 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3391
3392 * progmodes/python.el: Explain how to restore "cc-mode"-like
3393 forward-sexp movement in header documentation (Bug#13642).
3394 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3395 comments and strings (GH bug 114).
3396
3397 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3398
3399 * progmodes/python.el (python-info-current-defun): Fix current
3400 defun detection (Bug#13618).
3401
3402 2013-02-15 Chong Yidong <cyd@gnu.org>
3403
3404 * xml.el (xml-parse-string): Fix typo in handling of bad character
3405 references.
3406
3407 2013-02-15 Glenn Morris <rgm@gnu.org>
3408
3409 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3410
3411 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3412
3413 * net/tramp.el (tramp-debug-message):
3414 Add `tramp-condition-case-unless-debug'.
3415 (tramp-debug-on-error): New defvar.
3416 (tramp-condition-case-unless-debug): New defun.
3417 (tramp-file-name-handler): Use it.
3418
3419 2013-02-14 Juri Linkov <juri@jurta.org>
3420
3421 * info.el (Info-isearch-filter): Treat non-nil values of
3422 `search-invisible' including its default value `open'
3423 like the value `t' to match hidden text. (Bug#13402)
3424
3425 2013-02-14 Glenn Morris <rgm@gnu.org>
3426
3427 * help-fns.el (find-lisp-object-file-name): Give special treatment
3428 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3429
3430 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3431
3432 * net/quickurl.el (quickurl-save-urls):
3433 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3434
3435 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3436
3437 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3438 depth for unfinished percent literal. Not using it in the caller.
3439 (ruby-move-to-block): Jump over multiline literals of all types,
3440 ignoring code-looking contents inside them.
3441 (ruby-add-log-current-method): Improve performance at the expense
3442 of accuracy. `ruby-block-contains-point' is relatively slow, so
3443 only use it for method and singleton class blocks.
3444
3445 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3446
3447 Use ControlMaster where applicable. (Bug#13677)
3448
3449 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3450 replacing `tramp-detect-ssh-controlmaster'.
3451 (tramp-default-method): Use it.
3452
3453 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3454 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3455 arguments.
3456 [scpc, rsyncc]: Remove methods.
3457 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3458 and "ssh2_old".
3459 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3460 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3461
3462 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * emacs-lisp/package.el (package--initialized): Move before first use.
3465
3466 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3467
3468 * icomplete.el (icomplete-hide-common-prefix): New user option.
3469 (icomplete-first-match): New face.
3470 (icomplete-completions): Correct handling of "complete but not
3471 unique" (Bug#12638).
3472
3473 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3474
3475 * descr-text.el (describe-char): Display the script (bug#13698).
3476
3477 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3478
3479 * tmm.el: Use lexical-binding and current-active-maps.
3480 (tmm-menubar): Use map-keymap and pcase.
3481 (tmm--completion-table): New function.
3482 (tmm-prompt): Use it to fix the menu order.
3483 (tmm-get-keybind): Use current-active-maps.
3484
3485 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3486
3487 Add dired-hide-details-mode. (Bug#6799)
3488
3489 * locate.el (locate-mode): Set parent mode property to dired-mode.
3490
3491 * find-dired.el (find-dired): Call dired-insert-set-properties on
3492 initial information line. Set process mark on end of buffer.
3493 (find-dired-sentinel):
3494 Call dired-insert-set-properties on summary.
3495
3496 * dired.el (dired-hide-details-hide-symlink-targets)
3497 (dired-hide-details-hide-information-lines): New options.
3498 (dired-insert-directory):
3499 Set properties after final treatment of output.
3500 (dired-insert-set-properties):
3501 Set dired-hide-details-* properties.
3502 (dired-mode-map): Bind dired-hide-details-mode.
3503 (dired-mode): Set buffer-invisibility-spec to a list.
3504 (dired-next-line): Skip hidden lines.
3505 (dired-previous-line): Use dired-next-line.
3506 (dired-hide-details-mode): New minor mode.
3507 (dired-hide-details-update-invisibility-spec): New function.
3508
3509 2013-02-13 Glenn Morris <rgm@gnu.org>
3510
3511 * play/yow.el: Move to obsolete/. (Bug#9384)
3512
3513 2013-02-13 Juri Linkov <juri@jurta.org>
3514
3515 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3516 to select `ediff-control-frame' and set input focus correctly on Xfce.
3517 (Bug#12218)
3518
3519 2013-02-13 Juri Linkov <juri@jurta.org>
3520
3521 * image-mode.el (image-mode-map):
3522 * doc-view.el (doc-view-mode-map):
3523 * vc/ediff-util.el (ediff-setup-keymap):
3524 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3525
3526 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3527
3528 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3529 performance. Instead of recalculating indentation fully for each
3530 line, sum up indentation depth based only on visited lines.
3531 (ruby-parse-partial): Increase the depth after "do" even when END
3532 is right after it.
3533 (ruby-parse-partial): When END is in the middle of a percent
3534 literal, increase the depth if the delimiter chars belong to the
3535 paren syntax class.
3536
3537 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3538
3539 * play/fortune.el (fortune-compile): Also make the compiled file
3540 if it does not exist at all, not just if it is old. (Bug#5338)
3541
3542 2013-02-13 Glenn Morris <rgm@gnu.org>
3543
3544 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3545
3546 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3547
3548 * lisp/emacs-lisp/package.el (package-menu-execute):
3549 Add optional noquery argument. (Bug#13625)
3550
3551 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3552
3553 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3554 if DIR exists and PARENTS is non-nil.
3555
3556 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3557
3558 * progmodes/js.el (js--multi-line-declaration-indentation):
3559 Silence byte-compiler warning.
3560
3561 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3562
3563 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3564
3565 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3566 only if it doesn't exist.
3567
3568 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3569 Set process marker.
3570
3571 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3572
3573 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3574 UserInstallation when calling soffice to work around LibreOffice
3575 bug 37531.
3576
3577 2013-02-12 Glenn Morris <rgm@gnu.org>
3578
3579 * files.el (basic-save-buffer):
3580 Offer to create a non-existing directory. (Bug#3016)
3581
3582 * calc/calc-graph.el (calc-graph-show-dumb):
3583 * calendar/calendar.el (calendar-mode-map):
3584 * cus-edit.el (custom-mode-map):
3585 * ehelp.el (electric-help-map):
3586 * emulation/vip.el (vip-mode-map):
3587 * epa.el (epa-key-list-mode-map):
3588 * info.el (Info-mode-map):
3589 * mail/rmail.el (rmail-mode-map):
3590 * mail/rmailsum.el (rmail-summary-mode-map):
3591 * man.el (Man-mode-map):
3592 * net/newst-plainview.el (newsticker-mode-map):
3593 * progmodes/cpp.el (cpp-edit-mode-map):
3594 * progmodes/grep.el (grep-mode-map):
3595 * progmodes/idlw-help.el (idlwave-help-mode-map):
3596 * simple.el (special-mode-map):
3597 * startup.el (splash-screen-keymap):
3598 * view.el (view-mode-map):
3599 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3600
3601 2013-02-11 Elias Pipping <pipping@lavabit.com>
3602
3603 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3604 (bug#13679).
3605
3606 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3607
3608 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3609
3610 2013-02-11 Glenn Morris <rgm@gnu.org>
3611
3612 * vc/diff.el (diff-use-labels): New variable.
3613 (diff-no-select): Use --label rather than -L, and first
3614 check that it is supported. (Bug#11067)
3615
3616 * files.el (enable-dir-local-variables): New variable.
3617 (hack-dir-local-variables): Respect enable-dir-local-variables.
3618 * tutorial.el (help-with-tutorial):
3619 Ignore directory-local variables. (Bug#11127)
3620
3621 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3622 (vc-svn-global-switches): ... to here. (Bug#13513)
3623
3624 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3625
3626 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3627 Handle "foo (bar, default: xxx): " prompts.
3628
3629 2013-02-10 Chong Yidong <cyd@gnu.org>
3630
3631 * files.el (basic-save-buffer-1): Do not set
3632 buffer-file-coding-system-explicit (Bug#4533).
3633
3634 * mail/emacsbug.el (report-emacs-bug): Change binding of
3635 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3636
3637 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3638
3639 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3640 * calc/calc-units.el (calc-convert-units): Use new variable.
3641
3642 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3643
3644 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3645
3646 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3647 buffer-file-type.
3648
3649 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3650 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3651 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3652 coding-system-for-write instead.
3653
3654 * jka-compr.el (jka-compr-write-region): Don't bind
3655 buffer-file-type.
3656
3657 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3658 buffer-file-type.
3659
3660 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3661 (insert-file-contents-literally): Remove reference to
3662 file-name-buffer-file-type-alist.
3663
3664 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3665 make-obsolete.
3666 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3667 (find-buffer-file-type-coding-system): Remove references to
3668 find-buffer-file-type-match, find-buffer-file-type, and
3669 buffer-file-type.
3670 Don't put find-buffer-file-type-coding-system into
3671 file-coding-system-alist.
3672 (find-file-binary, find-file-text): Bind coding-system-for-read
3673 instead of file-name-buffer-file-type-alist.
3674
3675 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3676
3677 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3678 converter (Bug#13622).
3679 (doc-view-unoconv-program): Make obsolete alias.
3680 (doc-view-odf->pdf-converter-program): New variable.
3681 (doc-view-odf->pdf-converter-function): New variable.
3682 (doc-view-mode-p): Use it.
3683 (doc-view-odf->pdf-converter-unoconv):
3684 Rename from `doc-view-odf->pdf-converter-unoconv'.
3685 (doc-view-odf->pdf-converter-soffice): New function.
3686 (doc-view-convert-current-doc):
3687 Use `doc-view-odf->pdf-converter-function'.
3688
3689 2013-02-09 Chong Yidong <cyd@gnu.org>
3690
3691 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3692 view-echo-area-messages (Bug#13340).
3693
3694 * help.el (view-echo-area-messages): Use display-buffer.
3695
3696 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3697 (Bug#13561).
3698
3699 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3700
3701 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3702 Eval body right away, now that we do eager macroexpansion (bug#13605).
3703
3704 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3705 (fundamental-mode): Use run-mode-hooks.
3706
3707 * eshell/esh-proc.el (eshell/kill): Fix last change.
3708 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3709
3710 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3711
3712 * eshell/esh-proc.el (eshell/kill): Rewrite.
3713
3714 * eshell/em-ls.el (show-almost-all): Declare.
3715 (eshell-do-ls): Add support for -A argument.
3716
3717 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3718
3719 * icomplete.el (icomplete-forward-completions)
3720 (icomplete-backward-completions): Handle corner case (bug#13602).
3721
3722 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3723
3724 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3725 be nil. Handle this. (Bug#13636)
3726
3727 2013-02-07 Richard Stallman <rms@gnu.org>
3728
3729 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3730 `save-buffer-coding-system'.
3731
3732 2013-02-07 Alan Mackenzie <acm@muc.de>
3733
3734 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3735 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3736 (c-parse-state-get-strategy): Don't return 'BOD any more.
3737 (c-append-lower-brace-pair-to-state-cache):
3738 Extra parameter HERE instead of narrowing.
3739 Widen to top of buffer before searching backwards for a brace pair.
3740 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3741 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3742 Narrow to parameter HERE, in place of being called narrowed.
3743 (c-remove-stale-state-cache): Extra parameter HERE in place of
3744 narrowing. Check there's an open brace in the cache before
3745 searching for its match.
3746 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3747 (c-parse-state-1): Don't narrow here for 'forward strategy,
3748 instead passing extra parameter HERE to several functions.
3749 Remove 'BOD strategy.
3750
3751 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3752
3753 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3754 used to install the package.
3755
3756 2013-02-06 Glenn Morris <rgm@gnu.org>
3757
3758 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3759 if we can't get user input. (Bug#6567)
3760
3761 * startup.el (command-line): If simple.el is missing,
3762 test and warn about for some possible causes.
3763
3764 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3765
3766 * cus-start.el (all): Add ns-use-native-fullscreen.
3767
3768 2013-02-05 Glenn Morris <rgm@gnu.org>
3769
3770 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3771
3772 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3773 Fix directory creation in fallback case.
3774
3775 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3776
3777 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3778 (vc-update-change-log): Use dolist.
3779
3780 2013-02-04 Chong Yidong <cyd@gnu.org>
3781
3782 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3783 code from ffap.el.
3784 (thing-at-point-beginning-of-url-regexp): New var.
3785 (thing-at-point-uri-schemes): Update list of URI schemes.
3786 (thing-at-point-url-regexp): Variable deleted.
3787 (thing-at-point-markedup-url-regexp): Disallow newlines.
3788 (thing-at-point-newsgroup-regexp)
3789 (thing-at-point-newsgroup-heads)
3790 (thing-at-point-default-mail-uri-scheme): New variables.
3791 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3792 method to find the possible bounds of the URI at point.
3793 New optional argument to find ill-formed URIs.
3794 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3795 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3796 the scheme-adding heuristics from ffap-url-at-point.
3797 (thing-at-point--bounds-of-well-formed-url): New function.
3798 Do parens matching to decide whether to include parens in the URI
3799 (Bug#9153).
3800
3801 * ffap.el: Require thingatpt.
3802 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3803 All URI-valid characters are now recognized (Bug#5673).
3804 (ffap-string-at-point): Use use-region-p.
3805 (ffap-url-regexp): Extra character is handled by thing-at-point.
3806 (ffap-string-at-point-mode-alist): Allow parentheses.
3807 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3808 Convert to aliases; code moved to thingatpt.el.
3809 (ffap-gnus-hook): Use setq-local.
3810
3811 2013-02-04 Glenn Morris <rgm@gnu.org>
3812
3813 * emacs-lisp/ert.el (ert--explain-format-atom):
3814 Don't try to print non-characters as characters. (Bug#13543)
3815
3816 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3817
3818 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3819 (tramp-backtrace): New defun.
3820 (tramp-handle-insert-file-contents): Use `visit' when inserting
3821 the local copy.
3822
3823 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3824 Use `remote-file-name-inhibit-cache'.
3825
3826 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3827
3828 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3829 (bug#13614).
3830
3831 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3832 current-load-list (bug#13366).
3833
3834 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3835
3836 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3837 Identify g++ template instantiation trace. (Bug#12287)
3838 (compilation-mode-hook, compilation-start-hook)
3839 (compilation-window-height): Simplify docstrings. (Bug#13379)
3840
3841 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 * mouse.el (mouse-drag-track): Always deactivate the mark before
3844 running the final event's command since that command is in charge of
3845 activating the mark if needed (bug#13523).
3846
3847 2013-02-02 Juri Linkov <juri@jurta.org>
3848
3849 * replace.el (perform-replace): Move let-bindings of isearch-*
3850 variables deeper to the loop that searches for the next match.
3851 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3852 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3853 (Bug#13579)
3854
3855 * isearch.el (isearch-search-fun-default): Check for null
3856 first element of isearch-cmds as a precaution when it's used
3857 with inactive isearch.
3858
3859 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3860
3861 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3862 error when buffer in question is narrowed so position 1 is out of
3863 visible part.
3864
3865 2013-02-02 Glenn Morris <rgm@gnu.org>
3866
3867 * textmodes/remember.el (remember-clipboard): Doc fix.
3868
3869 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3870
3871 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3872 properties (bug#13179).
3873
3874 2013-02-02 Juri Linkov <juri@jurta.org>
3875
3876 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3877 instead of hard-coded default face `match'. (Bug#9438)
3878
3879 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3880
3881 * vc/vc-arch.el (vc-arch-registered):
3882 * vc/vc-bzr.el (vc-bzr-registered):
3883 * vc/vc-cvs.el (vc-cvs-registered):
3884 * vc/vc-git.el (vc-git-registered):
3885 * vc/vc-hg.el (vc-hg-registered):
3886 * vc/vc-mtn.el (vc-mtn-registered):
3887 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3888 (Bug#13139)
3889
3890 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3891 prefix argument. (Bug#11656)
3892
3893 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3896
3897 2013-02-01 Glenn Morris <rgm@gnu.org>
3898
3899 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3900 if the backend is known not to support it.
3901
3902 * imenu.el (imenu-default-create-index-function):
3903 Tweak infinite loop test to check for forward motion as well as none.
3904
3905 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3906
3907 * net/soap-client.el (soap-invoke): Encode the string for
3908 `url-request-data' as UTF-8.
3909 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3910
3911 2013-02-01 Glenn Morris <rgm@gnu.org>
3912
3913 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3914
3915 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3916
3917 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3918
3919 * net/tramp.el (tramp-tramp-file-p): Comment check for
3920 `string-as-unibyte'. The function does not exist on XEmacs, and
3921 likely we need another approach.
3922
3923 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3924 `tramp-gw-*' variables are bound.
3925
3926 2013-01-31 Glenn Morris <rgm@gnu.org>
3927
3928 * files.el (basic-save-buffer-2): Choose coding system for
3929 writing the file before backing it up, to reduce delay between
3930 backing up and writing the new version. (Bug#13522)
3931
3932 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3933
3934 * simple.el (cycle-spacing): New command.
3935 (just-one-space): Use it.
3936
3937 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3940 (opascal-newline-always-indents): Remove custom.
3941 (opascal-tab, opascal-newline): Remove commands.
3942 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3943 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3944 (opascal-save-match-data): Remove, use save-match-data instead.
3945 (opascal-save-state): Use with-silent-modifications.
3946
3947 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3948 (bug#13585).
3949
3950 2013-01-30 Juri Linkov <juri@jurta.org>
3951
3952 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3953 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3954 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3955
3956 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3959 column if we're just deleting the backslashes.
3960 (makefile-fill-paragraph): Use eolp.
3961
3962 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3963
3964 * autorevert.el (auto-revert-use-notify): Fix docstring.
3965
3966 2013-01-30 Leo Liu <sdl.web@gmail.com>
3967
3968 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3969
3970 2013-01-30 Glenn Morris <rgm@gnu.org>
3971
3972 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3973 unread-command-events twice in some cases. This tries to implement
3974 the 2012-07-26 changes in a different way. (Bug#13560)
3975
3976 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3977
3978 * progmodes/python.el
3979 (python-pdbtrack-comint-output-filter-function): Enhancements on
3980 stacktrace detection. (thanks @gnovak)
3981
3982 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3983
3984 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3985 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3986 Use defvar-local.
3987 (jit-lock-register): Use setq-local.
3988
3989 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3990
3991 * calc-units.el (math-default-units-table): Remove initial value.
3992 (calc-convert-units): Treat expressions where all the units cancel as
3993 if they didn't have units.
3994
3995 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3996
3997 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3998 (tramp-completion-reread-directory-timeout): Fix type.
3999 (tramp-connection-min-time-diff): New defcustom.
4000
4001 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4002
4003 2013-01-30 Glenn Morris <rgm@gnu.org>
4004
4005 * imenu.el (imenu-default-create-index-function):
4006 Put back a version of the infinite loop test removed 2013-01-23.
4007
4008 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4009
4010 * progmodes/python.el (python-shell-parse-command):
4011 Find python-shell-interpreter with modified environment.
4012
4013 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4014
4015 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4016
4017 2013-01-29 Alan Mackenzie <acm@muc.de>
4018
4019 Amend to fontify /regexp/s in actions correctly.
4020 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4021 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4022 are no longer included.
4023 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4024 What used to be these variables without "-line" in the name.
4025 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4026 (c-awk-non-arith-op-bra-re): Now also matches {.
4027 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4028 "return", and "case".
4029 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4030 by /.
4031 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4032 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4033
4034 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4035
4036 * autorevert.el (auto-revert-use-notify):
4037 Use `custom-initialize-default' for initialization. (Bug#13583)
4038
4039 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4040
4041 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4042 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4043 in `tramp-file-name-handler'.
4044 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4045 compatibility.
4046 (tramp-compute-multi-hops): Check, whether
4047 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4048
4049 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4052 (bug#13297).
4053
4054 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4055
4056 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4057 checks made superfluous by the \_< operator.
4058 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4059 temporarily) broken indentation.
4060 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4061 Highlight nested constants, too. \_< broke that.
4062
4063 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4064
4065 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4066 instead of "\\b".
4067
4068 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4069
4070 * autorevert.el (auto-revert-handler): Notifications which result
4071 from a saved file shall not be taken into account. (Bug#13557)
4072
4073 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4074
4075 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4076 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4077 (lisp-mode): Pass t for it. (Bug#13556)
4078
4079 2013-01-25 Alan Mackenzie <acm@muc.de>
4080
4081 AWK Mode: Fix indentation bug at top level. Bug #12274.
4082
4083 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4084 just before CASE 5D.
4085
4086 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4087
4088 * net/socks.el (socks-nslookup-host): Use string-to-number.
4089
4090 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4091
4092 * autorevert.el (auto-revert-remote-files)
4093 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4094 (auto-revert-notify-enabled, auto-revert-use-notify)
4095 (auto-revert-notify-watch-descriptor-hash-list)
4096 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4097 (auto-revert-notify-event-descriptor)
4098 (auto-revert-notify-event-action)
4099 (auto-revert-notify-event-file-name): Doc fix.
4100 (global-auto-revert-mode): Reorder checks.
4101 (auto-revert-notify-rm-watch): Respect changed values of
4102 `auto-revert-notify-watch-descriptor-hash-list'.
4103 (auto-revert-notify-add-watch): Check for
4104 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4105 `inotify-add-watch'. Watch `default-directory' instead of
4106 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4107 has a changed meaning now. (Bug#13540)
4108 (auto-revert-notify-handler): Change implementation wrt events
4109 returning from a directory.
4110 (auto-revert-handler): Reorder implementation for checks of remote
4111 files.
4112 (auto-revert-buffers): Fix parentheses error.
4113
4114 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4115
4116 * progmodes/python.el: Enhancements to header documentation about
4117 skeletons. (Bug#5716)
4118
4119 * imenu.el (imenu-default-create-index-function): Remove useless
4120 infinite loop check. (Bug#13438)
4121
4122 2013-01-25 Alan Mackenzie <acm@muc.de>
4123
4124 Fix a bug in the state cache mechanism. Refactor this a bit.
4125
4126 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4127 `cache-pos' element from the return value.
4128 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4129 buffer to enable proper searching from beyond HERE. Amend the
4130 test for detecting the sought brace pair. Amend the value written
4131 to the "brace desert cache" when the brace isn't found.
4132 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4133 and several other variables analogously.
4134 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4135 parameter to a locally calculated variable.
4136 (c-parse-state-1): Change the calling conventions to the two
4137 defuns involving `cache-pos'.
4138
4139 2013-01-25 Chong Yidong <cyd@gnu.org>
4140
4141 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4142
4143 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4144
4145 * paren.el (show-paren-function): Make sure to set 'priority and
4146 'face only if the overlay does exist.
4147
4148 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4149
4150 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4151
4152 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4153 basic attributes.
4154 (tramp-sh-handle-set-file-acl): Improve error checking.
4155
4156 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4157
4158 * doc-view.el (doc-view-display): Force mode line update until all
4159 document is converted. Suggested by Stefan Monnier (Bug#13164).
4160
4161 2013-01-23 Bastien Guerry <bzg@gnu.org>
4162
4163 * paren.el (show-paren-function): Make sure an overlay exists
4164 before trying to delete it. Also use `pos' as a position only
4165 when it is an integer.
4166
4167 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4168
4169 * play/gametree.el (gametree-break-line-here): Use point-marker.
4170
4171 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4172
4173 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4174 Mark descriptive parts with `display' property.
4175
4176 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4177
4178 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4179 New variable to map standard dict names to hunspell ones.
4180 (ispell-set-spellchecker-params): Make sure specific dict names
4181 are used for standard dicts with hunspell.
4182
4183 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4184
4185 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4186 chars for note (%N) and url (%U).
4187 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4188
4189 2013-01-21 Juri Linkov <juri@jurta.org>
4190
4191 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4192 in addition to existing separate binding `meta f10' in `global-map'.
4193 (Bug#13484)
4194
4195 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4196
4197 Improve XEmacs compatibility.
4198
4199 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4200
4201 * net/tramp-adb.el (top): Require `time-date'.
4202 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4203 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4204 Use `tramp-file-name-handler'.
4205 (tramp-adb-maybe-open-connection):
4206 Use `tramp-compat-set-process-query-on-exit-flag'.
4207
4208 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4209 Use `tramp-compat-funcall'.
4210
4211 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4212 `tramp-compat-funcall'.
4213
4214 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
4215
4216 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4217 reimplementation using "adb shell command ..." instead of running
4218 remote shell interactively.
4219
4220 2013-01-20 Glenn Morris <rgm@gnu.org>
4221
4222 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4223 Add native profiler menu entries.
4224
4225 * profiler.el (profiler-running-p): New function.
4226 (profiler-cpu-profile): Use profiler-running-p.
4227 (profiler-report-mode-map): Add some more menu entries.
4228
4229 2013-01-19 Glenn Morris <rgm@gnu.org>
4230
4231 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4232 fixes 2012-12-07 change. (Bug#13499)
4233
4234 2013-01-19 Leo Liu <sdl.web@gmail.com>
4235
4236 * dired.el (dired-get-marked-files): Prune erroneous values due to
4237 last change. (Bug#13152)
4238
4239 2013-01-19 Glenn Morris <rgm@gnu.org>
4240
4241 * progmodes/etags.el (tags-table-check-computed-list):
4242 Preserve point in tags buffer. (Bug#13412)
4243
4244 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4245
4246 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4247 Chong Yidong <cyd@gnu.org>
4248
4249 * image-mode.el (image-next-file, image-previous-file):
4250 New commands (Bug#8453).
4251 (image-mode-map): Bind them to n and p.
4252 (image-mode--images-in-directory): New helper function.
4253
4254 2013-01-19 Chong Yidong <cyd@gnu.org>
4255
4256 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4257 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4258 save and restore the old window configuration.
4259
4260 2013-01-18 Leo Liu <sdl.web@gmail.com>
4261
4262 * progmodes/js.el: Tweak autoload cookie for alias.
4263
4264 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4265
4266 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4267 buffer local, again. This was lost with the fix on 2013-01-12.
4268
4269 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4270
4271 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4272 order to support several eshell buffers in parallel.
4273
4274 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4275
4276 * autorevert.el (auto-revert-use-notify): In the :set function, do
4277 not modify `kill-buffer-hook'.
4278 (auto-revert-notify-rm-watch):
4279 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4280 (auto-revert-notify-add-watch): Do not call
4281 `auto-revert-notify-rm-watch', but add it to a buffer local
4282 `kill-buffer-hook'.
4283
4284 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4285
4286 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4287 call to `eval' rather than a backquoted lambda.
4288
4289 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4290
4291 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4292 to return an explicit nil.
4293 (advice--remove-function): Change accordingly.
4294
4295 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4296 the use of nadvice.el.
4297
4298 * progmodes/which-func.el (which-function): Silence imenu errors
4299 (bug#13433).
4300
4301 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4302
4303 * progmodes/sql.el (sql-imenu-generic-expression):
4304 (sql-mode-font-lock-object-name): Match schema qualified names.
4305 (sql-connect): Use string keys.
4306 (sql-product-interactive): Wait for interpreter prompt.
4307 (sql-comint-oracle): Set process coding based on NLS_LANG.
4308
4309 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4310
4311 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4312 (sql-interactive-remove-continuation-prompt):
4313 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4314
4315 2013-01-14 Leo Liu <sdl.web@gmail.com>
4316
4317 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4318 (Bug#13420)
4319
4320 2013-01-14 Glenn Morris <rgm@gnu.org>
4321
4322 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4323 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4324
4325 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4326
4327 * progmodes/python.el (python-nav-end-of-statement):
4328 Fix cornercase when handling multiline strings.
4329
4330 2013-01-13 Richard Stallman <rms@gnu.org>
4331
4332 * mail/sendmail.el (mail-position-on-field): Add doc string.
4333
4334 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4335 Get current message boundaries and pass them to
4336 message-forward-make-body-mime. Minor style changes.
4337
4338 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4339
4340 * cus-start.el (all): Avoid warnings about
4341 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4342
4343 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4344
4345 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4346
4347 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4348
4349 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4350 (jit-lock--debug-fontifying): New var.
4351 (jit-lock--debug-fontify): New function.
4352 * subr.el (condition-case-unless-debug): Don't prevent catching the
4353 error, just let the debbugger run.
4354 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4355 timer code and don't drop errors silently.
4356
4357 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4358
4359 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4360 `permanent-local' property.
4361 (auto-revert-notify-handler): Use `file-equal-p'.
4362
4363 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4364
4365 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4366 file notification by ACTION. For filtering by file name, compare
4367 only the non-directory part of the file name.
4368
4369 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4370
4371 * autorevert.el: Use cl-lib instead of cl.
4372
4373 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4374 (vc-bzr-checkin): Use it.
4375 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4376 will preserve match-data.
4377
4378 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4379
4380 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4381 (js--declaration-keyword-re): New var.
4382 (js--multi-line-declaration-indentation): New function.
4383 (js--proper-indentation): Use it.
4384
4385 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4386
4387 * calc/calc.el (calc-highlight-selections-with-faces)
4388 (calc-dispatch):
4389 * comint.el (comint-history-isearch-message):
4390 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4391 * ffap.el (ffap-string-at-point-region, ffap-next)
4392 (ffap-string-at-point, ffap-string-around)
4393 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4394 (ffap-literally):
4395 * font-lock.el (font-lock-keywords-alist)
4396 (font-lock-removed-keywords-alist):
4397 * help-mode.el (help-xref-symbol-regexp):
4398 * info.el (Info-find-emacs-command-nodes):
4399 * international/mule.el (add-to-coding-system-list):
4400 * isearch.el (isearch-message-function, isearch-fail-pos):
4401 * misearch.el (multi-isearch-next-buffer-function):
4402 * newcomment.el (comment-box):
4403 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4404 (pr-setting-database):
4405 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4406 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4407 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4408 (pike-font-lock-keywords-3):
4409 * progmodes/compile.el (compile):
4410 * progmodes/etags.el (tags-table-files)
4411 (tags-table-files-function, tags-included-tables-function):
4412 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4413 (gdb-restore-windows):
4414 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4415 (ps-n-up-filling-database):
4416 * server.el (server-buffer, server-log):
4417 * simple.el (newline, delete-backward-char, delete-forward-char)
4418 (minibuffer-history-isearch-message, kill-line, track-eol)
4419 (temporary-goal-column):
4420 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4421 (flyspell-default-deplacement-commands):
4422 * textmodes/ispell.el (ispell-accept-output):
4423 * textmodes/sgml-mode.el (html-tag-help):
4424 * vc/compare-w.el (compare-ignore-whitespace)
4425 (compare-ignore-case, compare-windows-dehighlight):
4426 * vc/diff.el (diff):
4427 * whitespace.el (whitespace-point)
4428 (whitespace-font-lock-refontify, whitespace-bob-marker)
4429 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4430
4431 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4432
4433 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4434 (auto-revert-notify-rm-watch): Ignore errors.
4435 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4436 inotify, and '(size last-write-time) for w32notify.
4437 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4438 watch fails - this is a fallback to the file modification check.
4439 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4440 (auto-revert-notify-event-action)
4441 (auto-revert-notify-event-file-name): New defuns.
4442 (auto-revert-notify-handler): Use them. Implement first
4443 plausibility checks.
4444 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4445
4446 2013-01-11 Julien Danjou <julien@danjou.info>
4447
4448 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4449 max are almost equal. Also return the correct value for V which is
4450 already between 0 and 1.
4451
4452 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4453
4454 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4455
4456 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4457
4458 * autorevert.el (auto-revert-notify-rm-watch)
4459 (auto-revert-notify-add-watch): Fix typos in w32notify function
4460 names.
4461
4462 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4463
4464 * autorevert.el (auto-revert-notify-enabled): Move up.
4465 (auto-revert-use-notify): New defcustom.
4466 (auto-revert-mode, global-auto-revert-mode)
4467 (auto-revert-notify-add-watch, auto-revert-handler)
4468 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4469 `auto-revert-notify-enabled'.
4470
4471 2013-01-10 Elias Pipping <pipping@exherbo.org>
4472
4473 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4474 * doc-view.el (doc-view-document->bitmap):
4475 Use doc-view-single-page-converter-function instead of
4476 single-page-converter arg; adjust callers.
4477
4478 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4479
4480 * progmodes/which-func.el (which-function): Understand Semantic's use
4481 of overlays in imenu--index-alist.
4482
4483 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4484
4485 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4486 (Man-man-k-use-anchor): New var.
4487 (Man-parse-man-k): New function.
4488 (Man-completion-table): Use it.
4489 (man): Flush the completion cache between uses.
4490
4491 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4492
4493 * autorevert.el: Add file watch support.
4494 (auto-revert-notify-enabled): New defconst.
4495 (auto-revert-notify-watch-descriptor-hash-list)
4496 (auto-revert-notify-watch-descriptor)
4497 (auto-revert-notify-modified-p): New defvars.
4498 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4499 (auto-revert-notify-handler): New defuns.
4500 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4501 when mode is disabled.
4502 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4503 (auto-revert-buffers): Add file watches for active buffers.
4504
4505 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4506
4507 * cus-start.el (toplevel): Only allow float values for
4508 scroll-up-aggressively and scroll-down-aggressively.
4509 Allow any number for line-spacing.
4510
4511 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4512
4513 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4514 (doc-view-pdf->png-converter-function): Use mupdf if available.
4515 (doc-view-djvu->png-converter-function)
4516 (doc-view-ps->png-converter-function): Remove.
4517 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4518 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4519 (doc-view-already-converted-p): Adjust accordingly.
4520 (doc-view-mode-p): Simplify.
4521 (doc-view-enlarge): Use setq-local.
4522 (doc-view-pdf->png-converter-ghostscript)
4523 (doc-view-djvu->png-converter-ddjvu)
4524 (doc-view-pdf->png-converter-mupdf): Rework to call
4525 doc-view-start-process directly.
4526 (doc-view-pdf/ps->png): Simplify accordingly.
4527 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4528 (doc-view-document->bitmap): Rename from doc-view-document->png.
4529 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4530 (doc-view-set-slice-from-bounding-box): Fix completion table.
4531 (doc-view-mode): Use add-hook for after-revert-hook.
4532
4533 2013-01-10 Glenn Morris <rgm@gnu.org>
4534
4535 * emacs-lisp/authors.el (authors-ignored-files)
4536 (authors-valid-file-names, authors-renamed-files-alist):
4537 Add some more entries.
4538
4539 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4542 `t' pseudo-window entry.
4543
4544 2013-01-10 Alan Mackenzie <acm@muc.de>
4545
4546 Fix bugs in the c-parse-state mechanism. Reuse some markers
4547 instead of continually generating new ones.
4548
4549 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4550 (c-state-old-cpp-end-marker): New variables.
4551 (c-append-lower-brace-pair-to-state-cache): Start a backward
4552 search for "}" definitively outside CPP constructs.
4553 (c-remove-stale-state-cache): Inform the caller of a need to
4554 search back for a brace pair in certain circumstances.
4555 (c-state-maybe-marker): New macro.
4556 (c-parse-state): Reuse markers when appropriate.
4557
4558 2013-01-10 Glenn Morris <rgm@gnu.org>
4559
4560 * simple.el (execute-extended-command): Doc fix.
4561 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4562
4563 2013-01-10 Chong Yidong <cyd@gnu.org>
4564
4565 * faces.el (read-face-name): Doc fix.
4566
4567 2013-01-10 Roland Winkler <winkler@gnu.org>
4568
4569 * emacs-lisp/crm.el: Allow any regexp for separators.
4570 (crm-default-separator): All spaces around the default comma separator.
4571 (crm--completion-command): New macro.
4572 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4573 (crm-complete-and-exit): Handle non-single-char separators.
4574
4575 2013-01-09 Elias Pipping <pipping@lavabit.com>
4576
4577 * doc-view.el: Add support for DjVu (bug#13164).
4578 (doc-view-djvu->png-converter-function): New config var.
4579 (doc-view-single-page-converter-function, doc-view--image-type)
4580 (doc-view--image-file-extension): New vars.
4581 (doc-view-mode): Initialize them.
4582 (doc-view-goto-page): Use them.
4583 (doc-view-mode-p): Add support for ddjvu.
4584 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4585 (doc-view-set-up-single-converter): New funs.
4586 (doc-view-pdf/ps->png): Extend for djvu.
4587 (doc-view-document->png): Rename from doc-view-pdf->png.
4588 (doc-view-convert-current-doc): Handle djvu.
4589 (doc-view-insert-image, doc-view-display)
4590 (doc-view-already-converted-p): Don't hardcode png.
4591 (doc-view-set-doc-type): Recognize djvu docs.
4592
4593 2013-01-09 Elias Pipping <pipping@lavabit.com>
4594
4595 * doc-view.el: Add support for mupdf converter (bug#13164).
4596 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4597 (doc-view-ps->png-converter-function): New config vars.
4598 (doc-view-pdf->png-converter-ghostscript)
4599 (doc-view-ps->png-converter-ghostscript)
4600 (doc-view-pdf->png-converter-mupdf): New functions.
4601 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4602
4603 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4604
4605 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4606 first in session cache: When `tramp-own-remote-path' is in
4607 `tramp-remote-path', the remote path is only set in the session
4608 cache.
4609
4610 2013-01-09 Glenn Morris <rgm@gnu.org>
4611
4612 * emacs-lisp/trace.el (trace-function-foreground)
4613 (trace-function-background): Doc fix.
4614
4615 2013-01-09 Juri Linkov <juri@jurta.org>
4616
4617 * international/mule-cmds.el (read-char-by-name): Move let-binding
4618 of completion-ignore-case around completing-read to fix regression
4619 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4620 `string-match-p' using the nil value of `case-fold-search' and
4621 `completion-ignore-case' in `completion-pcm--all-completions'.
4622 (Bug#12615).
4623
4624 2013-01-09 Glenn Morris <rgm@gnu.org>
4625
4626 * progmodes/compile.el (compilation-parse-errors):
4627 Fix typo. (Bug#13369)
4628
4629 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4630
4631 * comint.el (comint-send-input): Check size of buffer before
4632 waiting for process output, in case already accepted. (Bug#13290)
4633
4634 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4635
4636 Spelling fixes.
4637 * net/tramp-adb.el (tramp-adb-get-toolbox):
4638 Fix misspelling of 'unknown'.
4639
4640 2013-01-08 Juri Linkov <juri@jurta.org>
4641
4642 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4643 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4644 Use underline style wave on terminals that support it. (Bug#13000)
4645
4646 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4647
4648 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4649 the predicate returns nil.
4650
4651 * simple.el: Use lexical-binding.
4652 (primitive-undo): Use pcase.
4653 (minibuffer-history-isearch-push-state): Use a closure.
4654
4655 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4656
4657 * simple.el (primitive-undo): Move from undo.c.
4658
4659 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4662 (cvs-mode-remove-handled): Use it (bug#13380).
4663
4664 * emacs-lisp/nadvice.el (advice--tweak): New function.
4665 (advice--remove-function, advice--subst-main): Use it.
4666
4667 * emacs-lisp/advice.el: Update commentary.
4668
4669 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4670
4671 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4672 Remove spurious entry.
4673
4674 2013-01-08 Glenn Morris <rgm@gnu.org>
4675
4676 * net/tramp.el (tramp-default-host-alist): Add :version.
4677
4678 2013-01-08 Juri Linkov <juri@jurta.org>
4679
4680 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4681 single completion. (Bug#12456)
4682 (info--manual-names): Expand node completions into an explicit list
4683 before appending it to another list. Filter out internal buffers
4684 with the leading space in the buffer name. (Bug#10771)
4685
4686 2013-01-08 Juri Linkov <juri@jurta.org>
4687
4688 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4689 that defaults to the Top node.
4690 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4691 the short format (FILENAME) goes to the Top node.
4692 (Info-build-node-completions): Rename arg `file' to `filename'.
4693 (Bug#13365)
4694
4695 2013-01-07 Bastien Guerry <bzg@gnu.org>
4696
4697 * menu-bar.el (menu-bar-search-documentation-menu):
4698 Use `apropos-user-option' and fix the help message.
4699
4700 2013-01-07 Bastien Guerry <bzg@gnu.org>
4701
4702 * apropos.el (apropos-do-all): Update docstring.
4703 (apropos-user-option-button): New face.
4704 (apropos-user-option): Rename from `apropos-variable' and update
4705 docstring.
4706 (apropos-variable): Rewrite, now show all variables by default.
4707 (apropos-print): Mention "User option" instead of "Variable" when
4708 printing doc for user options. (Bug#13276)
4709
4710 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4711
4712 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4713 Handle filename correctly, when parsing "source -> target" symlink
4714 output.
4715 (tramp-adb-handle-set-file-times): New defun.
4716
4717 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4720 advice list when the interactive-spec of ad-Advice-* changes.
4721
4722 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4723
4724 * wid-edit.el (widget-default-get): Work for inlined elements.
4725 (Bug#12670)
4726
4727 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4728
4729 * net/tramp.el (tramp-default-host-alist): New defcustom.
4730 (tramp-find-host): Use it.
4731 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4732 `eshell-directory-change-hook'.
4733
4734 * net/tramp-adb.el (top): Add adb specific entry in
4735 `tramp-default-host-alist'.
4736 (tramp-adb-file-name-host): Remove function.
4737 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4738 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4739
4740 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4741
4742 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4743
4744 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4745
4746 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4747
4748 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4749 consist of more than one digit.
4750 (tramp-adb-file-name-handler-alist):
4751 Use `tramp-handle-file-exists-p' consistently.
4752 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4753 (tramp-adb-handle-file-exists-p): Remove function.
4754 (tramp-adb-file-name-host): New defun.
4755 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4756 Use it.
4757 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4758
4759 2013-01-06 Chong Yidong <cyd@gnu.org>
4760
4761 * vc/vc.el (vc-next-action): Detect buffer modifications
4762 conflicting with locking VCS operation (Bug#11490).
4763
4764 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4765
4766 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4767
4768 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4769 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4770
4771 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4772
4773 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4774 parsing of ls output using regular expression (handle filenames
4775 with spaces). Use virtual device number.
4776 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4777 cleanup).
4778
4779 2013-01-04 Daiki Ueno <ueno@gnu.org>
4780
4781 * epg.el: Silence byte-compiler warnings.
4782 (epg--start): Use delete-char instead of delete-backward-char.
4783 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4784
4785 2013-01-04 Daiki Ueno <ueno@gnu.org>
4786
4787 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4788 Suggested by Eli Zaretskii <eliz@gnu.org>.
4789
4790 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4791
4792 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4793 non-negative integers. Otherwise, the default values are used.
4794 (tramp-convert-file-attributes): Convert uid and gid to integers.
4795
4796 2013-01-04 Glenn Morris <rgm@gnu.org>
4797
4798 * term.el (term-handle-colors-array): Ensure face attributes
4799 are fully specified, not nil. (Bug#13337)
4800
4801 * term.el (term-default-fg-color, term-default-bg-color):
4802 Fix custom type.
4803
4804 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4805 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4806 rather than 'jka-compr being loaded. (Bug#13338)
4807
4808 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4809
4810 * icomplete.el (icomplete-completions):
4811 Honor icomplete-prospects-height once more following
4812 2012-11-29 changes. (Bug#13224)
4813
4814 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4815
4816 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4817 of called-interactively-p as well (bug#13237).
4818
4819 * view.el (view--enable, view--disable): Rename from view-mode-enable
4820 and view-mode-disable and assume it's called from view-mode.
4821 (view-mode-enable, view-mode-disable): Redefine as obsolete
4822 compatibility layer above view-mode.
4823 (view-mode-enter): Call `view-mode'.
4824
4825 * files.el (after-find-file): Call `view-mode'.
4826
4827 * doc-view.el (doc-view-scale-internally): New var.
4828 (doc-view-enlarge, doc-view-insert-image): Obey it.
4829
4830 2013-01-03 Daiki Ueno <ueno@gnu.org>
4831
4832 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4833 exist. (Bug#13344)
4834
4835 2013-01-03 Glenn Morris <rgm@gnu.org>
4836
4837 * mail/rmail.el (rmail-set-header-1): Ignore case.
4838 Handle multi-line headers. (Bug#13330)
4839
4840 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4841 Handle paragraph starting at beginning of buffer.
4842
4843 * subr.el (eval-after-load): Don't purecopy the form, so that it
4844 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4845
4846 * emacs-lisp/byte-run.el (defun): Place cl declarations
4847 after any interactive spec. (Bug#13265)
4848
4849 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4850
4851 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4852 defun. Don't check for DECL if DOCSTRING isn't a string.
4853 (defun): Likewise.
4854
4855 2013-01-02 Glenn Morris <rgm@gnu.org>
4856
4857 * eshell/em-cmpl.el (eshell-pcomplete):
4858 More thoroughly imitate pcomplete. (Bug#13293)
4859
4860 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4861 Return nil for empty path elements. (Bug#13296)
4862
4863 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4864
4865 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4866 order to improve efficiency (Based on Daniel Colascione's
4867 <dancol@dancol.org> patch). (Bug#13182)
4868
4869 2013-01-02 Glenn Morris <rgm@gnu.org>
4870
4871 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4872
4873 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4874
4875 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4876 neither DOCSTRING nor DECL was given. (Bug#13316)
4877
4878 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4879
4880 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4881 `error' call.
4882 (tramp-do-copy-or-rename-file): Ignore errors when calling
4883 `set-file-extended-attributes'.
4884
4885 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4886 Add handler for `file-acl'.
4887 (tramp-smb-handle-file-acl): New defun.
4888
4889 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4890
4891 * calc/README: Mention ISO 8601 week-numbering dates.
4892
4893 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4894
4895 * view.el (view-mode-enable): New argument run-view-mode-hook.
4896 Run view-mode-hook only when it's non-nil (Bug#13315).
4897 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4898 argument t.
4899
4900 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4901
4902 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4903 (No device connected, invalid device name). (Bug #13299)
4904
4905 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4906
4907 * window.el (window-resizable--p): Rename to window-resizable-p.
4908 (window-resize-no-error): New function.
4909
4910 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4911 broken in fix from 2012-12-28.
4912
4913 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * subr.el (special-form-p): Don't signal errors on undef aliases.
4916
4917 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4918
4919 * calc/calc-forms.el (math-parse-date): Try using
4920 `math-parse-iso-date' when it looks like it might be needed.
4921 Allow times of 24:00.
4922 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4923 of 24:00.
4924
4925 2012-12-30 Glenn Morris <rgm@gnu.org>
4926
4927 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4928 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4929 (rmail-summary-displayed, rmail-summary): Declare.
4930 (mairix-rmail-display): Just require rmail.
4931
4932 2012-12-30 Chong Yidong <cyd@gnu.org>
4933
4934 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4935 check for the tarball contents.
4936
4937 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4938
4939 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4940 tarfile content listings (Bug#13136).
4941
4942 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4943
4944 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4945 Insert the undecoded text of the message being forwarded. (Bug#9521)
4946
4947 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4948
4949 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4950 integers, if they are real numbers. (Bug#13282)
4951
4952 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4953 Return `t' on success.
4954
4955 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4956 Add handler for `set-file-selinux-context'.
4957
4958 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4959
4960 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4961 (tramp-sh-handle-set-file-acl): Return `t' on success.
4962
4963 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4964
4965 * files.el (backup-buffer-copy, basic-save-buffer-2):
4966 If set-file-extended-attributes fails, fall back on set-file-modes
4967 instead of signaling an error. (Bug#13298)
4968 (basic-save-buffer): Likewise.
4969
4970 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4971
4972 * progmodes/python.el: Support other commands triggering
4973 python-indent-line so indentation cycling continues to work.
4974 (python-indent-trigger-commands): New defcustom.
4975 (python-indent-line): Use it.
4976
4977 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4978
4979 * progmodes/python.el (python-shell-send-region): Add blank lines
4980 for non sent code so backtraces remain correct.
4981
4982 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4983
4984 * progmodes/python.el: Remove cl dependency.
4985 (python-syntax-count-quotes): Replace incf call.
4986 (python-fill-string): Replace setf call.
4987
4988 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4989
4990 * info.el (info-other-window): New arg, for consistency with info.
4991
4992 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4993
4994 * mail/rmail.el (rmail-maybe-display-summary):
4995 Rewrite (Bug#13066).
4996
4997 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4998
4999 * epg.el (epg--start): Modify process-environment locally.
5000
5001 2012-12-28 Daiki Ueno <ueno@gnu.org>
5002
5003 * epg.el: Support pinentry-curses.
5004 Suggested by Werner Koch in
5005 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5006 (epg-agent-file, epg-agent-mtime): New variable.
5007 (epg--start): Record the modified time of gpg-agent socket file,
5008 to restore Emacs frame after pinentry-curses termination.
5009 (epg-wait-for-completion): Restore Emacs frame here.
5010
5011 2012-12-27 Juri Linkov <juri@jurta.org>
5012
5013 * info.el (Info-file-completions): New variable.
5014 (Info-read-node-name-1): Complete node names in the Info file
5015 when a file name is given. Call `Info-build-node-completions'
5016 with a file name.
5017 (Info-build-node-completions): Add new arg `file'. When it is
5018 non-nil, visit it in a temporary buffer and cache its completions in
5019 `Info-current-file-completions'. Move most of the function body to
5020 `Info-build-node-completions-1'.
5021 (Info-build-node-completions-1): New function with the body from
5022 `Info-build-node-completions'. (Bug#12456)
5023
5024 2012-12-27 Juri Linkov <juri@jurta.org>
5025
5026 * frame.el (frame-maximization-style): Remove user option.
5027 (cycle-frame-maximized): Remove function.
5028 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5029 (toggle-frame-fullscreen): New command bound to <f11> instead of
5030 `toggle-frame-maximized'.
5031 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5032
5033 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5034
5035 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5036
5037 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5038 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5039 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5040 for `file-accessible-directory-p'. (Bug#13275)
5041
5042 2012-12-27 Sam Steingold <sds@gnu.org>
5043
5044 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5045 continuations, see <http://stackoverflow.com/questions/3582436>.
5046
5047 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5048
5049 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5050 "module" and "def" to have indentation before them.
5051 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5052
5053 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5054
5055 2012-12-27 Alan Mackenzie <acm@muc.de>
5056
5057 Speed up fontification where there's large brace blocks.
5058 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5059 to a call of c-beginning-of-decl-1.
5060
5061 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5062
5063 * comint.el (comint-adjust-window-point): New function.
5064 (comint-postoutput-scroll-to-bottom):
5065 Call comint-adjust-window-point (Bug#13248).
5066
5067 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5068
5069 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5070 Rakefile regexp.
5071 (auto-mode-alist): Associate .gemspec files with ruby-mode
5072 (https://bugs.ruby-lang.org/issues/5453).
5073
5074 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
5075
5076 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5077 Suppress coloring, if possible (required for BusyBox based systems like
5078 CyanogenMod).
5079 (tramp-adb-handle-file-attributes)
5080 (tramp-adb-handle-insert-directory)
5081 (tramp-adb-handle-file-name-all-completions): Use it.
5082 (tramp-adb-get-toolbox): New defun. Check for remote shell
5083 implementation (BusyBox or Toolbox).
5084
5085 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5086
5087 * startup.el (initial-buffer-choice): Allow function as value
5088 (Bug#13251).
5089 (command-line-1): Handle case where initial-buffer-choice
5090 specifies a function.
5091 * server.el (server-execute): Handle case where
5092 initial-buffer-choice specifies a function.
5093
5094 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5095
5096 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5097 its own function.
5098 (smtpmail-try-auth-methods): Forget the user name/password if the
5099 login is unsuccessful (bug#12424).
5100
5101 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5102
5103 * notifications.el (notifications-notify): Protect body with
5104 `with-demoted-errors'.
5105
5106 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5107 Check properties of remote device. Restart connection, if there is a
5108 change.
5109
5110 2012-12-21 Chong Yidong <cyd@gnu.org>
5111
5112 * sort.el (sort-subr): Doc fix (Bug#13056).
5113
5114 2012-12-21 Bastien Guerry <bzg@gnu.org>
5115
5116 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5117
5118 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5119
5120 * simple.el (process-file): Overwrite stderr file, if exists.
5121
5122 2012-12-21 Daiki Ueno <ueno@gnu.org>
5123
5124 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5125 (epg-error): Set `error-message' property.
5126
5127 2012-12-21 Chong Yidong <cyd@gnu.org>
5128
5129 * international/mule-cmds.el (read-char-by-name): Signal an error
5130 if the user does not supply a valid character (Bug#13177).
5131
5132 * simple.el (transpose-subr-1): Preserve marker positions by
5133 changing the insertion sequence (Bug#13122).
5134
5135 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5136
5137 * simple.el (kill-region): Deactivate mark even for empty regions
5138 (Bug#13169).
5139
5140 2012-12-21 Chong Yidong <cyd@gnu.org>
5141
5142 * help-fns.el (describe-variable): Make sure we get the right
5143 buffer name (Bug#13105). Suggested by Kelly Dean.
5144
5145 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5146
5147 * comint.el (comint-redirect-previous-input-string): New variable.
5148 (comint-redirect-setup, comint-redirect-cleanup)
5149 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5150 (comint-redirect-preoutput-filter): Fix verbose message.
5151
5152 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5153
5154 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5155 is too long for Tramp. See discussion in
5156 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5157
5158 * progmodes/compile.el (compilation-start): Remove line escape
5159 template.
5160
5161 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5162
5163 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5164 Adjust comment.
5165
5166 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5167
5168 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5169 following non-comment text (bug#13207).
5170 (lm-header-multiline): Continuation lines need to be indented more than
5171 the first line.
5172 (lm-homepage): New function.
5173 (lm-with-file): Don't be confused if narrowing is in effect.
5174
5175 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5178 very beginning of a hunk (e.g. killing the first line).
5179
5180 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5181
5182 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5183 and text properties from returned ACL string.
5184 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5185 for "setfacl" command.
5186
5187 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5188
5189 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5190 `tramp-cleanup-this-connection', when the process has died.
5191 (Bug#13151)
5192
5193 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5196
5197 2012-12-17 Kevin Ryde <user42@zip.com.au>
5198
5199 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5200
5201 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5202
5203 Add support for preserving ACL entries of files.
5204
5205 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5206 `set-file-acl' handlers.
5207
5208 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5209 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5210
5211 * net/tramp-compat.el (tramp-compat-copy-file):
5212 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5213
5214 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5215 Add `file-acl' and `set-file-acl' handlers.
5216 (tramp-gvfs-handle-copy-file):
5217 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5218 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5219 New defuns.
5220
5221 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5222 Add `file-acl' and `set-file-acl' handlers.
5223 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5224 (tramp-sh-handle-set-file-acl): New defuns.
5225 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5226 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5227
5228 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5229 Add `file-acl' and `set-file-acl' handlers.
5230 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5231
5232 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5233
5234 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5235 use pop-to-buffer with NORECORD argument t. As buffer name, use
5236 *Metahelp* with a leading space (Bug#13190).
5237
5238 2012-12-16 Romain Francoise <romain@orebokech.com>
5239
5240 * files.el (file-extended-attributes)
5241 (set-file-extended-attributes): New functions.
5242 (backup-buffer): Use them to handle both SELinux context and ACL
5243 entries.
5244 (backup-buffer-copy): Work with an alist of extended attributes,
5245 rather than an SELinux context.
5246 (basic-save-buffer-2): Ditto.
5247
5248 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5249
5250 * battery.el (battery-bsd-apm): New function.
5251
5252 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5253
5254 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5255 standard date formats.
5256
5257 2012-12-15 Juri Linkov <juri@jurta.org>
5258
5259 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5260 `isearch-insert-char-by-name'.
5261 (with-isearch-suspended): New defmacro with body mostly from
5262 `isearch-edit-string' except the part that sets
5263 `isearch-new-string' and `isearch-new-message'.
5264 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5265 body that sets `isearch-new-string' and `isearch-new-message'.
5266 (isearch-insert-char-by-name): New command.
5267 * international/mule-cmds.el (read-char-by-name): Let-bind
5268 `enable-recursive-minibuffers' to t.
5269 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5270
5271 2012-12-15 Juri Linkov <juri@jurta.org>
5272
5273 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5274 (Bug#13175)
5275
5276 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5277
5278 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5279 the prompt. (Bug#13045)
5280
5281 2012-12-14 Glenn Morris <rgm@gnu.org>
5282
5283 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5284 Try to include filename in non-bytecomp warning. (Bug#13132)
5285
5286 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5287
5288 Fix permissions bugs with setgid directories etc. (Bug#13125)
5289 * files.el (backup-buffer): Don't rely on 9th output of
5290 file-attributes, as it's now a placeholder. Instead, use the new
5291 optional arg of file-ownership-preserved-p.
5292 (file-ownership-preserved-p): New optional arg GROUP.
5293 Fix mishandling of setuid directories that would cause this
5294 function to return t when it should have returned nil.
5295 Document what happens if the file does not exist, and when
5296 it's not known whether the ownership will be preserved.
5297 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5298 Likewise.
5299 (tramp-get-local-gid): Use group-gid for integer, as that's
5300 faster and more reliable.
5301
5302 2012-12-14 Julien Danjou <julien@danjou.info>
5303
5304 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5305 Update keywords list, data type and PL/pgSQL.
5306
5307 2012-12-14 Dave Abrahams <dave@boostpro.com>
5308
5309 * vc/ediff-util.el (ediff-buffer-type): New function.
5310 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5311 rather than taking it as as argument.
5312 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5313
5314 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5315
5316 * json.el: Add pretty-print option (bug#12634).
5317 (json-encoding-separator, json-encoding-default-indentation)
5318 (json--encoding-current-indentation, json-encoding-pretty-print)
5319 (json-encoding-lisp-style-closings): New vars.
5320 (json--with-indentation): New macro.
5321 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5322 (json-encode-array): Use it to obey json-encoding-pretty-print.
5323 (json-pretty-print-buffer, json-pretty-print): New commands.
5324
5325 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5326
5327 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5328 Extract `ruby-syntax-propertize-expansions'.
5329 (ruby-syntax-propertize-expansions): Only change syntax on
5330 certain string delimiters, to punctuation. This way the common
5331 functions like forward-word and thing-at-point still work.
5332 (ruby-match-expression-expansion): Improve readability.
5333 (ruby-block-contains-point): New function.
5334 (ruby-add-log-current-method): Handle several edge cases.
5335
5336 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5337
5338 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5339 unload-feature finishes even when aborting an ongoing edebug session.
5340 Also, do not worry about edebug-mode, unload-feature takes care of it.
5341
5342 2012-12-13 Andreas Schwab <schwab@suse.de>
5343
5344 * net/tls.el (tls-program): Update customize type.
5345
5346 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5347
5348 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5349 (edebug-setup-hook, cl-read-load-hooks): Use it.
5350 (edebug-unload-function): New function. (Bug#13163)
5351
5352 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5353
5354 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5355 Otherwise, there could be errors in autoloading. (Bug#13151)
5356
5357 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5358
5359 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5360 sequences.
5361
5362 2012-12-13 Alan Mackenzie <acm@muc.de>
5363
5364 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5365 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5366 around `forward-comment' not recognizing ^M as whitespace.
5367
5368 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5369
5370 * progmodes/python.el (python-skeleton-class)
5371 (python-skeleton-def): Do not add space after defun name.
5372
5373 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5374
5375 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5376 (cl--symbol-function): Remove (now that funbound is like nil).
5377
5378 2012-12-12 Glenn Morris <rgm@gnu.org>
5379
5380 * button.el (button--area-button-p): Fix typo.
5381
5382 2012-12-12 Sam Steingold <sds@gnu.org>
5383
5384 * frame.el (frame-maximization-style): New user option.
5385 (toggle-frame-maximized): Toggle frame maximization according to
5386 `frame-maximization-style', bound to <f11>.
5387 (cycle-frame-maximized): Cycle between all maximization styles and
5388 non-maximized frame, bound to shift-<f11>.
5389
5390 2012-12-12 David Cadé <codename68@gmail.com>
5391
5392 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5393
5394 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5395
5396 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5397 (eieio-override-prin1): Don't quote kewords and booleans.
5398 (object-write) <eieio-default-superclass>: Don't put closing parens
5399 on new line, avoid needless empty lines, align values that are objects
5400 with the slot keyword (instead of beginning on the same line).
5401 (eieio-list-prin1): Align value with slot keyword; increase
5402 eieio-print-depth before printing members of the list.
5403
5404 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5405
5406 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5407 a display text-property.
5408 (report-emacs-bug-hook): Don't bother deleting it any more.
5409
5410 * hilit-chg.el (highlight-save-buffer-state): Delete.
5411 Use with-silent-modifications instead.
5412 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5413
5414 * button.el: Handle buttons in display text-properties.
5415 (button--area-button-p, button--area-button-string):
5416 Use (STRING . STRING-POS) representation instead of just STRING.
5417
5418 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5419
5420 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5421 subdirectory be skipped.
5422
5423 2012-12-11 Glenn Morris <rgm@gnu.org>
5424
5425 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5426
5427 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5428 Treat preprocessor lines embedded in continuations like comments.
5429 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5430
5431 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5432
5433 * calc/calc.el (calc-standard-date-formats): Add more date
5434 formats.
5435 * calc/calc-forms.el (math-parse-iso-date): New function.
5436 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5437 (math-parse-iso-date-validate): Add extra error checking.
5438 (calc-date-notation): Add ability to access new date formats.
5439
5440 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5441
5442 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5443 font-lock as well as when there's no text-property.
5444
5445 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5446
5447 * hi-lock.el: Refine the choice of default face.
5448 (hi-lock-keyword->face): New function. Use it wherever we used
5449 cadadadr instead.
5450 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5451 (hi-lock--last-face): Remove var.
5452 (hi-lock--unused-faces): New var to replace it.
5453 (hi-lock-read-face-name): Use/maintain it.
5454 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5455 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5456 if it has another face.
5457
5458 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5459
5460 * subr.el (w32notify-handle-event): New function.
5461 (inotify-handle-event): Doc fix.
5462
5463 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5464
5465 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5466
5467 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5468
5469 * simple.el (just-one-space): Doc fix.
5470
5471 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5472
5473 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5474
5475 2012-12-10 Le Wang <l26wang@gmail.com>
5476
5477 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5478 narrowed buffer (bug#12361).
5479
5480 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5481
5482 * vc/vc-hooks.el (vc-state): Doc fix.
5483
5484 2012-12-10 Glenn Morris <rgm@gnu.org>
5485
5486 * mail/rmail.el (rmail-maybe-display-summary):
5487 Preserve buffer, in case select-window changes it. (Bug#13066)
5488
5489 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5490
5491 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5492 cl-load-hook where they belong.
5493
5494 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5495
5496 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5497
5498 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5499
5500 Parallelize byte compilation on MS-Windows.
5501 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5502 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5503 (WINS_BASIC): Define as concatenation of the above.
5504 (compile): Subdivide into 4 separate and independent jobs that can
5505 be run in parallel.
5506 (compile0-CMD, compile0-SH): New targets for compiling
5507 COMPILE_FIRST files, which are prerequisites for the rest of the
5508 byte-compilation.
5509 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5510 New targets for parallel compilation with cmd.exe.
5511 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5512 compiling under a Unixy shell.
5513
5514 2012-12-09 Chong Yidong <cyd@gnu.org>
5515
5516 * simple.el (set-mark-default-inactive): Delete this
5517 accidentally-introduced option.
5518 (set-mark-command, exchange-point-and-mark): Remove calls.
5519
5520 2012-12-09 Glenn Morris <rgm@gnu.org>
5521
5522 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5523 Respect a defcustom's :set function, if appropriate. (Bug#109)
5524 (eval-defun): Doc fix.
5525
5526 2012-12-08 Juri Linkov <juri@jurta.org>
5527
5528 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5529 (Info-fontify-node, Info-bookmark-make-record): Remove the
5530 file extension from Info-current-file (Bug#13016).
5531
5532 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5533
5534 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5535 point, still provide some default.
5536 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5537 names, since we don't use it right now. Actually return the list.
5538 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5539
5540 2012-12-07 Chong Yidong <cyd@gnu.org>
5541
5542 * novice.el (disabled-command-function): Remove a spurious help
5543 xref (Bug#13043). Suggested by Kelly Dean.
5544
5545 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5546 syntax is specified (Bug#13025).
5547
5548 * info.el (Info-set-mode-line): Remove the file extension from
5549 Info-current-file if there is one (Bug#13016).
5550
5551 2012-12-07 Glenn Morris <rgm@gnu.org>
5552
5553 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5554 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5555 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5556 and rmail-mime-decoded. (Bug#9841)
5557
5558 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5559 (batch-unrmail, unrmail): Doc fixes.
5560 (unrmail): Respect unrmail-mbox-format.
5561 * mail/rmail.el (rmail-mbox-format): New option.
5562 (rmail-show-message-1): Respect rmail-mbox-format.
5563
5564 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5565
5566 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5567
5568 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5571 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5572 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5573 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5574 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5575 (cl-progv): Don't rely on dynamic scoping to find the body.
5576 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5577 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5578 (cl-declaim): Use backquotes.
5579 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5580 Use "cl--" prefix for the object's tag.
5581
5582 * ses.el: Use advice-add/remove.
5583 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5584 (copy-region-as-kill, yank): Use advice-add.
5585 (ses-unload-function): Use advice-remove.
5586
5587 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5588
5589 * button.el: Make them work in header-lines (bug#12817).
5590 (button-map): Add bindings for header-line and mode-line use.
5591 (button-get, button-put, button-label): `button' may now be a string.
5592 (button-activate): Don't make it a defsubst.
5593 (button--area-button-p, button--area-button-string): New functions.
5594 (make-text-button): Fix the return value when `beg' was a string.
5595 (push-button): Handle the mode-line case.
5596
5597 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5598
5599 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5600 (sql-signum): Remove. Use `cl-signum' instead.
5601 (sql-read-passwd): Remove; use read-passwd instread.
5602 (sql-get-login-ext): Use read-string.
5603 (sql-get-login): Use dolist and pcase.
5604 (sql--completion-table): Rename from sql-try-completion.
5605 Use complete-with-action.
5606 (sql-mode): Don't change abbrev-all-caps globally.
5607 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5608 (sql-postgres-completion-object): Initialize vars in their `let'.
5609 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5610 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5611 (sql-comint-interbase): Use a single append, without setq.
5612 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5613
5614 * hi-lock.el: Rework the default face and the serialize regexp code.
5615 (hi-lock--auto-select-face-defaults): Remove.
5616 (hi-lock-string-serialize-serial): Remove.
5617 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5618 make weak.
5619 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5620 equal string.
5621 (hi-lock-set-pattern): Adjust accordingly.
5622 (hi-lock--regexps-at-point): Simplify accordingly.
5623 (hi-lock--auto-select-face-defaults): Remove.
5624 (hi-lock--last-face): New var to replace it.
5625 (hi-lock-read-face-name): Rewrite (bug#11095).
5626 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5627
5628 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5629
5630 * net/tramp.el (tramp-replace-environment-variables):
5631 Hide compiler warning.
5632 (tramp-file-name-for-operation): Remove `executable-find',
5633 `start-process', `call-process' and `call-process-region'.
5634
5635 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5636
5637 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5638 compatibility.
5639
5640 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5641
5642 2012-12-06 Chong Yidong <cyd@gnu.org>
5643
5644 * ffap.el (ffap-replace-file-component): Fix typo.
5645
5646 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5649 fix open-paren-like token test (bug#12785).
5650
5651 2012-12-06 Glenn Morris <rgm@gnu.org>
5652
5653 * mail/rmailsum.el (rmail-new-summary): Tweak for
5654 rmail-maybe-display-summary changing buffer. (Bug#13066)
5655
5656 2012-12-06 Juri Linkov <juri@jurta.org>
5657
5658 * info.el (Info-fontify-node): Don't hide the last newline.
5659 (Bug#12272)
5660
5661 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5662
5663 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5664 so as to enable message-read-from-minibuffer to expand mail aliases.
5665
5666 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5667
5668 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5669 the `intangible' property.
5670 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5671
5672 2012-12-05 Deniz Dogan <deniz@dogan.se>
5673
5674 * net/rcirc.el (rcirc-urls): Update documentation.
5675 (rcirc-condition-filter): New function.
5676 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5677 and exclude consecutive duplicate URLs (Bug#6082).
5678
5679 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5680
5681 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5682 Check return code of copy command.
5683
5684 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5685 Use group `tramp'. Add version.
5686
5687 2012-12-05 Chong Yidong <cyd@gnu.org>
5688
5689 * ffap.el (ffap-url-regexp): Don't require matching at front of
5690 string (Bug#4952).
5691 (ffap-url-p): If only a substring matches, return that.
5692 (ffap-url-at-point): Use the return value of ffap-url-p.
5693 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5694 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5695 (ffap-guess-file-name-at-point): Likewise.
5696 (ffap-replace-file-component): Fix typo.
5697
5698 * info.el (info-display-manual): Add existing Info buffers, whose
5699 files may not be in Info-directory-list, to the completion.
5700 (info--manual-names): New helper function.
5701
5702 2012-12-05 Glenn Morris <rgm@gnu.org>
5703
5704 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5705 New functions, for detecting and resolving conflicts. (Bug#10709)
5706
5707 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5708
5709 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5710 (hi-lock-auto-select-face-defaults): New buffer local variable.
5711 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5712 (hi-lock-unface-buffer): Prompt user with useful defaults.
5713 With prefix arg, unhighlight all hi-lock patterns in buffer.
5714
5715 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5716
5717 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5718
5719 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5720
5721 * Makefile.in (TRAMP_SRC):
5722 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5723
5724 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5725
5726 * net/tramp-adb.el: New package.
5727
5728 2012-12-04 Chong Yidong <cyd@gnu.org>
5729
5730 * terminal.el: Move to obsolete/.
5731
5732 * longlines.el: Move to obsolete/.
5733
5734 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5735 Remove code referring to longlines mode.
5736
5737 2012-12-03 Juri Linkov <juri@jurta.org>
5738
5739 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5740
5741 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5742
5743 * textmodes/ispell.el (ispell-init-process)
5744 (ispell-start-process, ispell-internal-change-dictionary):
5745 Make sure personal dictionary name is expanded after initial
5746 `default-directory' value. Use expanded strings for
5747 keep/restart checks and for value (Bug#13019).
5748
5749 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5750
5751 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5752
5753 2012-12-03 Leo Liu <sdl.web@gmail.com>
5754
5755 * files.el (dir-locals-read-from-file): Check file non-empty
5756 before reading. (Bug#13038)
5757
5758 2012-12-03 Glenn Morris <rgm@gnu.org>
5759
5760 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5761 Remove any version extension before checking filename. (Bug#13006)
5762 (jka-compr-compression-info-list): Belated :version bump.
5763
5764 2012-12-03 Chong Yidong <cyd@gnu.org>
5765
5766 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5767
5768 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5769 (buffer-menu): Doc fix (Bug#12294).
5770
5771 2012-12-03 Roland Winkler <winkler@gnu.org>
5772
5773 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5774 of diary-show-all-entries in the diary buffer (Bug#12994).
5775
5776 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5777
5778 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5779 "<STDIN>". This is binary safe.
5780
5781 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5782
5783 * calc/calc-forms.el (math-absolute-from-iso-dt)
5784 (math-date-to-iso-dt, math-parse-iso-date-validate)
5785 (math-iso-dt-to-date): New functions.
5786 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5787 (math-fd-isoweekday): New variables.
5788 (calc-date-notation, math-parse-standard-date, math-format-date)
5789 (math-format-date-part): Add support for more formatting codes.
5790
5791 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5792
5793 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5794 current buffer's file name when called interactively (Bug#12488).
5795
5796 2012-12-02 Juri Linkov <juri@jurta.org>
5797
5798 * info.el (info-display-manual): Don't clobber an existing Info
5799 buffer (Bug#10770). Add completion (Bug#10771).
5800
5801 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5802
5803 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5804 before using it for comparison (Bug#5297).
5805
5806 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5807
5808 * textmodes/css-mode.el (css-current-defun-name): New function.
5809 (css-mode): Use it.
5810
5811 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5812 (html-mode): Use it.
5813
5814 2012-12-01 Chong Yidong <cyd@gnu.org>
5815
5816 Modularize add-log-current-defun (Bug#2224).
5817 Suggested by Jari Aalto.
5818
5819 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5820 (add-log-current-defun): Move mode-specific code to other files.
5821 (add-log-lisp-like-modes, add-log-c-like-modes)
5822 (add-log-tex-like-modes): Variables deleted.
5823
5824 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5825 (lisp-mode-variables): Use it.
5826
5827 * progmodes/cc-mode.el (c-common-init):
5828 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5829 add-log-current-defun-function.
5830
5831 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5832 (m4-mode): Use it.
5833
5834 * progmodes/perl-mode.el (perl-current-defun-name): New.
5835 (perl-mode): Use it.
5836
5837 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5838 Use lisp-current-defun-name.
5839
5840 * textmodes/tex-mode.el (tex-current-defun-name): New.
5841 (tex-common-initialization): Use it.
5842
5843 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5844 (texinfo-mode): Use it.
5845
5846 2012-12-01 Chong Yidong <cyd@gnu.org>
5847
5848 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5849 * progmodes/autoconf.el (autoconf-mode):
5850 * progmodes/js.el (js-mode):
5851 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5852 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5853 * progmodes/perl-mode.el (perl-mode):
5854 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5855 * textmodes/css-mode.el (css-mode):
5856 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5857 (sgml-tags-invisible, sgml-guess-indent):
5858 * textmodes/tex-mode.el (tex-common-initialization)
5859 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5860 (doctex-mode, plain-tex-mode, latex-mode):
5861 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5862
5863 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5864
5865 * vc/vc-hg.el (vc-hg-next-revision):
5866 Ensure use of default "tip" output format. (Bug#6968)
5867
5868 2012-12-01 Kim F. Storm <storm@cua.dk>
5869
5870 * startup.el (fancy-startup-tail): Add a clickable link
5871 (Bug#2176).
5872
5873 2012-12-01 Chong Yidong <cyd@gnu.org>
5874
5875 * startup.el (fancy-startup-tail): Improve the message about
5876 auto-save files (Bug#2176).
5877
5878 * files.el (recover-session): Improve the descriptive message, and
5879 use substitute-command-keys.
5880
5881 2012-12-01 Glenn Morris <rgm@gnu.org>
5882
5883 * ido.el (ido-file-internal):
5884 Handle other-window, other-frame for dired. (Bug#13036)
5885
5886 2012-11-30 Glenn Morris <rgm@gnu.org>
5887
5888 * icomplete.el (icomplete-separator): Fix :version.
5889
5890 2012-11-30 Chong Yidong <cyd@gnu.org>
5891
5892 * shell.el (shell): For C-u M-x shell, use an inactive shell
5893 buffer as the default (Bug#1975).
5894 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5895 (shell-mode): Use them to reapply ansi colorization if Shell mode
5896 is re-enabled.
5897
5898 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5899
5900 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5901
5902 2012-11-30 Samuel Bronson <naesten@gmail.com>
5903
5904 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5905 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5906
5907 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5908
5909 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5910 by move-to-column (Bug#3234).
5911
5912 2012-11-30 Chong Yidong <cyd@gnu.org>
5913
5914 * longlines.el (longlines-wrap-line, longlines-encode-region):
5915 Preserve text properties (Bug#1425).
5916
5917 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5918
5919 * vc/vc.el (vc-register): Allow registering a file which is
5920 already registered with a different backend (Bug#10589).
5921
5922 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5923 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * icomplete.el: Change separator; add ido-style commands.
5926 (icomplete-show-key-bindings): Remove custom var.
5927 (icomplete-get-keys): Remove function.
5928 (icomplete-forward-completions, icomplete-backward-completions):
5929 New commands.
5930 (icomplete-minibuffer-map): New var.
5931 (icomplete-minibuffer-setup): Use it.
5932 (icomplete-exhibit): Don't delay if the list of completions is known.
5933 (icomplete-separator): New custom.
5934 (icomplete-completions): Use it.
5935 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5936 (minibuffer-force-complete-and-exit): New command.
5937 (minibuffer--complete-and-exit): New function extracted from
5938 minibuffer-complete-and-exit.
5939 (minibuffer-complete-and-exit): Use it.
5940
5941 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5942 error message when the file doesn't exist (bug#12974).
5943
5944 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5945
5946 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5947
5948 2012-11-29 Glenn Morris <rgm@gnu.org>
5949
5950 * files.el (hack-dir-local-variables): Warn if try to set
5951 coding via dir-locals, since it doesn't work. (Bug#7169)
5952
5953 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5954 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5955 Set buffer-local value of desktop-save-buffer.
5956 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5957 New functions.
5958 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5959 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5960
5961 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5962 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5963 Doc fix.
5964 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5965 Doc fixes.
5966
5967 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5968
5969 * calc/calc-forms.el (calc-date-notation): Fix regexp
5970 used to find time codes. Fix symbol for seconds.
5971
5972 2012-11-27 Glenn Morris <rgm@gnu.org>
5973
5974 * emacs-lisp/derived.el (derived-mode-make-docstring):
5975 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5976
5977 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5978
5979 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5980 lexically scoped variables (bug#13005).
5981
5982 2012-11-27 Glenn Morris <rgm@gnu.org>
5983
5984 * vc/vc-hooks.el (vc-mistrust-permissions):
5985 Default to t, to avoid data-loss. (Bug#11490)
5986
5987 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5988
5989 * progmodes/python.el (python-indent-guess-indent-offset):
5990 If indentation is guessed make python-indent-offset buffer-local.
5991
5992 Fix Imenu regression.
5993 * progmodes/python.el (python-nav-beginning-of-defun):
5994 Fix forward movement when statement(s) separates point from defun.
5995 (python-imenu-prev-index-position): New function.
5996
5997 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5998
5999 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6000
6001 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6002 Don't set buffer-file-type. Return nil. (Bug#12989)
6003
6004 2012-11-27 Glenn Morris <rgm@gnu.org>
6005
6006 * hippie-exp.el (hippie-expand-try-functions-list):
6007 Re-autoload it. (Bug#12982)
6008
6009 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6010
6011 * descr-text.el (describe-char-padded-string):
6012 Call internal-char-font only on GUI frames. (Bug#11964)
6013
6014 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6015
6016 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6017 and obsoletion message.
6018
6019 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6022 the constructs to keep outside of the `cl-block' (bug#12977).
6023
6024 2012-11-27 Chong Yidong <cyd@gnu.org>
6025
6026 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6027 keep reading until we get the up-event anyway, in order to process
6028 the up-event for mouse-1-click-follows-link (Bug#12971).
6029
6030 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6031
6032 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6033 base function is not yet defined (bug#12965).
6034 (ad-activate-advised-definition): Use ad-compile-function.
6035 (ad-activate): Use cond.
6036
6037 2012-11-25 Leo Liu <sdl.web@gmail.com>
6038
6039 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6040 (Bug#12979)
6041
6042 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6043
6044 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6045 reftex-section-info-function in order to be compatible with
6046 Texinfo integration.
6047
6048 * textmodes/reftex.el (reftex-section-pre-regexp)
6049 (reftex-section-post-regexp, reftex-section-info-function):
6050 New variable.
6051 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6052 reftex-section-post-regexp, and reftex-section-info-function in order
6053 to be compatible with Texinfo integration.
6054
6055 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6056 use reftex-section-pre-regexp variable in order to be compatible with
6057 Texinfo integration.
6058
6059 2012-11-25 Chong Yidong <cyd@gnu.org>
6060
6061 * faces.el: Make face-spec-set more analogous to setq.
6062 (face-spec-set): Change the third arg to specify whether this
6063 function is being called via defface, customize, or a third party.
6064 Set the appropriate symbol properties. Clear the override spec if
6065 setting via Custom. Initialize face if necessary. (Bug#4988)
6066 (face-spec-recalc): Allow theme faces to completely replace the
6067 defface spec, in the same way as custom faces (Bug#8454).
6068
6069 * cus-face.el (custom-declare-face): Move face initialization to
6070 face-spec-set.
6071 (custom-theme-set-faces): Don't initialize the face name here, as
6072 that is now done in face-spec-set.
6073
6074 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6075 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6076 Simplify by using the new arg to face-spec-set.
6077
6078 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6079 reset face-override-spec too, and use custom-declare-face.
6080
6081 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6082
6083 * term/ns-win.el (ns-initialize-window-system): Move creation of
6084 fontsets here (Bug#11964).
6085
6086 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6087
6088 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6089 cell renaming.
6090
6091 2012-11-24 Chong Yidong <cyd@gnu.org>
6092
6093 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6094 obsolete.
6095
6096 * custom.el (custom-theme-set-variables): Use a topological sort
6097 for ordering by custom dependencies (Bug#12952).
6098 (custom--sort-vars, custom--sort-vars-1): New functions.
6099
6100 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6103 lexical-binding (bug#12938).
6104
6105 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6106
6107 * image-mode.el (image-transform-check-size): Use assertions only
6108 for images of type imagemagick.
6109
6110 Otherwise no error, image-transform-fit-to-{width,height} is
6111 silently ignored, as before. Doc fix.
6112
6113 2012-11-24 Chong Yidong <cyd@gnu.org>
6114
6115 * faces.el (color-defined-p): Doc fix (Bug#12853).
6116
6117 2012-11-24 Juri Linkov <juri@jurta.org>
6118
6119 * dired.el (dired-mark): Add optional arg `interactive'.
6120 Check for `use-region-p' if `interactive' is non-nil.
6121 (dired-unmark, dired-flag-file-deletion): Add optional arg
6122 `interactive'. Call `dired-mark' with the arg `interactive'.
6123 (Bug#10624)
6124
6125 * wdired.el: Revert 2012-10-17 change partly and replace it with
6126 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6127 (wdired-finish-edit): Add marks for new file names to
6128 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6129 after `revert-buffer'.
6130 (wdired-do-renames): Remove calls to `dired-remove-file',
6131 `dired-add-file', `dired-add-entry'. (Bug#11795)
6132
6133 2012-11-24 Alan Mackenzie <acm@muc.de>
6134
6135 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6136
6137 Fix bugs in the state cache. Enhance a debugging mechanism.
6138 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6139 "brace at column zero" strategy for C++.
6140 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6141 (c-parse-state-point): New variable.
6142 (c-record-parse-state-state): Record old parse state with
6143 `copy-tree'. Record previous value of point.
6144 (c-debug-parse-state-double-cons): New debugging function.
6145 (c-debug-parse-state): Call the above new function.
6146 (c-toggle-parse-state-debug): Output a confirmatory message.
6147
6148 * progmodes/cc-mode.el (c-before-change, c-after-change):
6149 Call c-invalidate-state-cache from `c-before-change' instead of
6150 `c-after-change'.
6151
6152 2012-11-23 Chong Yidong <cyd@gnu.org>
6153
6154 * find-cmd.el (find-constituents): Add executable, ipath,
6155 readable, samefile, writable, daystart, regextype (Bug#12856).
6156
6157 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6158
6159 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6160
6161 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6162
6163 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6164 definition. This fixes a bootstrap failure.
6165 (calc-gregorian-switch): In menu, put dates before regions.
6166 This is easier to follow, lines up better in the menu, and lets us
6167 coalesce regions that switch at the same time. Give country
6168 names, not "Vatican", as that's better for non-expert users.
6169 Use names that are stable between the date of switch and now, e.g.,
6170 Bohemia and Moravia (which existed then and now) and not
6171 Czechoslovakia (which didn't exist then and doesn't exist now).
6172 What is now the U.S. mostly did not switch at the same time as
6173 Britain, so omit the U.S. Correct spelling of "Britain".
6174 Catholic Switzerland was too much of a mess, so omit it.
6175
6176 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6177
6178 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6179 after the variable is changed.
6180
6181 2012-11-21 Daniel Colascione <dancol@dancol.org>
6182
6183 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6184 in SQL declarations for font-lock.
6185 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6186
6187 2012-11-21 Glenn Morris <rgm@gnu.org>
6188
6189 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6190 (face-italic-p): Add optional argument "inherit".
6191
6192 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6193 Remove -p suffix from names, for consistency with other set-face-*.
6194 (set-face-inverse-video): Fix interactive spec.
6195 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6196 * textmodes/table.el (table--update-cell-face):
6197 Use set-face-inverse-video rather than now obsolete alias.
6198
6199 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6200
6201 * simple.el (line-move): Don't call line-move-partial if
6202 scroll-conservatively is in effect. (Bug#12927)
6203
6204 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6205
6206 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6207 Fallback on completion-at-point rather than
6208 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6209 (eshell-cmpl-initialize): Setup completion-at-point.
6210
6211 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6212
6213 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6214
6215 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6216
6217 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6218 are remote, check out-of-band property for both.
6219
6220 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6223 code rewrite.
6224
6225 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6226
6227 More minor time fixes.
6228 * calendar/time-date.el: Commentary fix.
6229 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6230 too much other code depends on (0 0) time stamps.
6231 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6232 Add a couple of FIXME comments.
6233
6234 Minor cleanup for times as lists of four integers.
6235 * files.el (dir-locals-directory-cache):
6236 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6237 Doc fixes.
6238 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6239 * ps-bdf.el (bdf-file-newer-than-time):
6240 Process four-integers time stamps, not two. Doc fixes.
6241
6242 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 * uniquify.el (uniquify-managed): Use defvar-local.
6245 (rename-buffer, create-file-buffer): Advise with advice-add.
6246 (uniquify-unload-function): Unadvise accordingly.
6247
6248 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6249 (trace-buffer): Don't purecopy.
6250 (trace-entry-message, trace-exit-message): Add `context' arg.
6251 (trace--timer): New var.
6252 (trace-make-advice): Adjust for use in nadvice.
6253 Add `context' argument. Delay `display-buffer' via a timer.
6254 (trace-function-internal): Use advice-add.
6255 (trace--read-args): New function.
6256 (trace-function-foreground, trace-function-background): Use it.
6257 (trace-function): Rename to trace-function-foreground and redefine as
6258 an alias to that new name.
6259 (untrace-function, untrace-all): Adjust to the use of nadvice.
6260
6261 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6262
6263 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6264
6265 * subr.el (called-interactively-p-functions): New var.
6266 (internal--called-interactively-p--get-frame): New macro.
6267 (called-interactively-p, interactive-p): Rewrite in Lisp.
6268 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6269 (called-interactively-p-functions): Use it.
6270 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6271 (called-interactively-p-functions): Use it.
6272 * allout.el (allout-called-interactively-p): Don't assume
6273 called-interactively-p is a subr.
6274
6275 2012-11-20 Glenn Morris <rgm@gnu.org>
6276
6277 * profiler.el (profiler-report-mode-map): Add a menu.
6278 No need to bind `q' because we derive from special-mode.
6279 (profiler-report-find-entry): Handle calls from the menu-bar.
6280
6281 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * emacs-lisp/byte-run.el (defun-declarations-alist):
6284 Allow a compiler-macro to be a lambda expression.
6285
6286 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6287 eval-when-compile.
6288 (python-syntax-context): Add compiler-macro.
6289 (python-font-lock-keywords): Simplify with De Morgan.
6290
6291 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6292
6293 * files.el (load-file): Require match in minibuffer selection, as was
6294 the case in Emacs-20 before we changed the spec to allow .elc files
6295 (bug#12935).
6296
6297 * json.el: Don't require cl since we don't use it.
6298 * color.el: Don't require cl.
6299 (color-complement): `caddr' -> `nth 2'.
6300
6301 * calendar/time-date.el (time-to-seconds): De-obsolete.
6302
6303 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6304
6305 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6306 year numbers.
6307 (math-date-to-julian-dt): Adjust the initial approximation for the
6308 year to deal with the new definition of the DATE.
6309
6310 2012-11-19 Daniel Colascione <dancol@dancol.org>
6311
6312 * term/w32-win.el (cygwin-convert-path-from-windows):
6313 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6314
6315 2012-11-18 Chong Yidong <cyd@gnu.org>
6316
6317 * filecache.el (file-cache--read-list): New function.
6318 (file-cache-add-directory-list, file-cache-add-file-list)
6319 (file-cache-delete-file-list, file-cache-delete-directory-list):
6320 Use it to read a list of files or directories (Bug#12846).
6321 (file-cache-add-file, file-cache-add-directory)
6322 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6323 (file-cache-delete-directory): Print an message.
6324
6325 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6326
6327 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6328 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6329
6330 2012-11-18 Glenn Morris <rgm@gnu.org>
6331
6332 * image.el (insert-image, insert-sliced-image): Doc fix.
6333
6334 2012-11-18 Chong Yidong <cyd@gnu.org>
6335
6336 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6337 (Bug#12810).
6338
6339 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6340
6341 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6342 response when the target file is in a subdirectory (Bug#12757).
6343
6344 2012-11-18 Chong Yidong <cyd@gnu.org>
6345
6346 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6347
6348 2012-11-18 Glenn Morris <rgm@gnu.org>
6349
6350 * emacs-lisp/cl-lib.el (face-underline-p):
6351 Use set-face-underline rather than the alias set-face-underline-p.
6352
6353 * window.el (with-temp-buffer-window): Doc fix.
6354 * subr.el (with-output-to-temp-buffer):
6355 Add doc xref to with-temp-buffer-window.
6356
6357 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6358
6359 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6360 * calc/calc.el (math-format-date-cache): Declare.
6361
6362 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6363
6364 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6365 It also uses January 1, 1 AD as its day number 1.
6366 * calc/calc-forms.el (math-julian-date-beginning)
6367 (math-julian-date-beginning-int): Implement this.
6368
6369 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6370
6371 * descr-text.el (quail-find-key):
6372 * dired.el (desktop-file-name):
6373 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6374 * generic-x.el (comint-mode, comint-exec):
6375 * image-dired.el (widget-forward):
6376 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6377 (speedbar-change-expand-button-char)
6378 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6379 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6380 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6381 (widget-field-action, widget-value-set):
6382 * speedbar.el (imenu--make-index-alist):
6383 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6384 (ring-length, ring-insert):
6385 * vcursor.el (compare-windows-skip-whitespace):
6386 * woman.el (dired-get-filename):
6387 Declare functions.
6388
6389 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6390
6391 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6392
6393 * calc/calc.el (calc-gregorian-switch): New variable.
6394
6395 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6396 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6397 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6398 (math-leap-year-p): Add option to distinguish between Julian
6399 and Gregorian calendars.
6400 (math-day-number): Use `math-day-in-year' to do the computations.
6401 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6402 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6403 to do the computations.
6404 (math-date-to-dt): Use `math-date-to-julian-dt' and
6405 `math-date-to-gregorian-dt' to do the computations.
6406 (calcFunc-weekday, math-format-date-part): Use the new version of
6407 the DATE to determine the weekday.
6408 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6409 when necessary.
6410
6411 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6412
6413 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6414 Cygwin; otherwise use 'file:'. (Bug#12914)
6415 (cygwin-convert-path-from-windows): Declare, to avoid
6416 byte-compiler warnings.
6417
6418 2012-11-17 Andreas Politz <politza@fh-trier.de>
6419
6420 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6421 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6422 prefix and negative numeric prefix args (Bug#12795).
6423
6424 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6425
6426 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6427 Don't signal an error with a score that is too low to add to the
6428 list of top scores. (Bug#12779)
6429
6430 2012-11-17 Chong Yidong <cyd@gnu.org>
6431
6432 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6433
6434 * filecache.el (file-cache-add-file): Handle relative file name in
6435 the argument (Bug#12694).
6436
6437 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6438
6439 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6440
6441 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6444
6445 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6446
6447 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6448
6449 * window.el (enlarge-window, shrink-window): Don't mention return
6450 value in doc-string (Bug#12896).
6451 (window--display-buffer): Don't resize frames - it won't work
6452 with all window managers and defeat pop-up-frame-alist.
6453 (display-buffer-alist): In doc-string explain that CONDITION can
6454 be a function and which arguments are passed to it (Bug#12854).
6455 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6456 expressions (Bug#12854).
6457 (display-buffer): Pass ACTION argument to
6458 display-buffer-assq-regexp.
6459
6460 2012-11-16 Glenn Morris <rgm@gnu.org>
6461
6462 * window.el (fit-frame-to-buffer-bottom-margin)
6463 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6464
6465 * faces.el (face-underline-p): Use face-attribute-specified-or.
6466
6467 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6468
6469 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6470
6471 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6472
6473 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6474
6475 2012-11-16 Glenn Morris <rgm@gnu.org>
6476
6477 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6478 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6479
6480 * faces.el (face-underline-p): Doc fix. Handle :underline being
6481 things other than `t' (a string, a list).
6482 (face-inverse-video-p): Doc fix.
6483 (set-face-underline): Rename it back from set-face-underline-p.
6484 Doc fix. Allow interactive input of values other than t.
6485 (read-face-attribute): Apply formatting to :underline,
6486 since like :box and :stipple it can take list values.
6487
6488 * term.el (ansi-term): Don't let C-x escape-char binding
6489 clobber the more standard C-c binding. (Bug#12842)
6490
6491 * subr.el (set-temporary-overlay-map): Doc fix.
6492
6493 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6494
6495 * window.el (record-window-buffer)
6496 (display-buffer-record-window): When copying the markers to
6497 window-point preserve window-point-insertion-type. (Bug#12588)
6498
6499 2012-11-16 Glenn Morris <rgm@gnu.org>
6500
6501 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6502 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6503 Use new names for hooks rather than obsolete aliases.
6504
6505 2012-11-15 Daniel Colascione <dancol@dancol.org>
6506
6507 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6508 prefix instead of "file:" so that when FILE-NAME begins with "//",
6509 as it does when the target file is on a network share, url-handler
6510 isn't confused.
6511
6512 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6513
6514 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6515 a preactivated advice from an old advice.el; they're not compatible!
6516
6517 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6518
6519 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6520 Fix string-spec case.
6521
6522 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6523
6524 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6527 (advice--buffer-local-function-sample): New var.
6528 (advice--set-buffer-local, advice--buffer-local): New functions.
6529 (add-function, remove-function): Use them.
6530
6531 2012-11-15 Drew Adams <drew.adams@oracle.com>
6532
6533 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6534
6535 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6536
6537 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6538 potential binding of print-gensym to t, and prettify (back)quotes in
6539 case they appear in args's default values (bug#12884).
6540
6541 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6544 (advice-eval-interactive-spec): New function.
6545 (advice--make-interactive-form): Support around advice (bug#12844).
6546
6547 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6548
6549 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6550 more strict. Add docstring.
6551 (ruby-expression-expansion-re): Extract from
6552 `ruby-match-expression-expansion'.
6553 (ruby-syntax-propertize-function): After everything else, search
6554 for expansions in string literals, mark their insides as
6555 whitespace syntax and save match data for font-lock.
6556 (ruby-font-lock-keywords): Use the 2nd group from expression
6557 expansion matches.
6558 (ruby-match-expression-expansion): Use the match data saved to the
6559 text property in ruby-syntax-propertize-function.
6560
6561 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6562
6563 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6564 (bug#12879).
6565
6566 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6567
6568 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6569 start/end keyword a bit harder. Works with different values of N.
6570 Add more comments.
6571 (ruby-end-of-block): Update accordingly.
6572
6573 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6574
6575 * woman.el (woman-file-name): Don't mess with unread-command-events
6576 (bug#12861).
6577
6578 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6579 Remove out of date self-require hack.
6580 (ad-do-advised-functions): Use simple `dolist'.
6581 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6582 (ad-advice-definition): Redefine as functions.
6583 (ad-advice-classes): Move before first use.
6584 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6585 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6586 (ad--defalias-fset): Remove functions.
6587 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6588 (ad-get-orig-definition): Rewrite.
6589 (ad-make-advised-definition-docstring): Change base docstring.
6590 (ad-real-orig-definition): Rewrite.
6591 (ad-map-arglists): Change name of called function.
6592 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6593 (ad-make-advised-definition): Simplify.
6594 (ad-assemble-advised-definition): Tweak for new calling context.
6595 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6596 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6597 function and call ad-activate if needed.
6598 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6599 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6600 (ad-compile-function): Compile ad-Advice-*.
6601 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6602 (ad-start-advice, ad-stop-advice): Remove.
6603
6604 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6605
6606 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6607 period before class method names, not after. Remove handling of
6608 one impossible case. Add comments.
6609
6610 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6611
6612 * emacs-lisp/advice.el: Remove support for freezing.
6613 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6614 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6615 Remove support for `freeze'.
6616
6617 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6618 override the default.
6619 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6620 cl--dotimes/dolist.
6621 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6622 `cl' is loaded.
6623
6624 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6625 from add-advice.
6626 (advice--strip-macro): New function.
6627 (advice--defalias-fset): Use them to handle macros.
6628 (advice-add): Use them.
6629 (advice-member-p): Correctly handle macros.
6630
6631 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6632
6633 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6634 Never font-lock the beginning of singleton class as heredoc.
6635
6636 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6639
6640 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6641
6642 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6643 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6644 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6645
6646 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6647
6648 Fix end-of-defun misbehavior.
6649 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6650 python-beginning-of-defun-function. Handle nested defuns
6651 correctly.
6652 (python-nav-end-of-defun): Rename from
6653 python-end-of-defun-function. Ensure forward movement.
6654 (python-info-current-defun): Reimplement to work as intended
6655 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6656 parent defuns as soon as possible.
6657
6658 2012-11-13 Glenn Morris <rgm@gnu.org>
6659
6660 * progmodes/flymake.el (flymake-error-bitmap)
6661 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6662 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6663
6664 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6665
6666 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6667 backward, always stop at indentation. Reverts the change from
6668 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6669
6670 2012-11-13 Glenn Morris <rgm@gnu.org>
6671
6672 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6673 Add ibuffer-filter-by-derived-mode.
6674
6675 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6676 the same name shadowing each other.
6677
6678 * window.el (with-temp-buffer-window): Doc tweak.
6679
6680 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6681
6682 * help.el (temp-buffer-max-height):
6683 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6684 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6685
6686 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6687
6688 * emacs-lisp/nadvice.el: New package.
6689 * subr.el (special-form-p): New function.
6690 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6691 (elp-all-instrumented-list): Remove var.
6692 (elp-not-profilable): Remove elp-wrapper.
6693 (elp-profilable-p): Use autoloadp and special-form-p.
6694 (elp--advice-name): New const.
6695 (elp-instrument-function): Use advice-add.
6696 (elp--instrumented-p): New predicate.
6697 (elp-restore-function): Use advice-remove.
6698 (elp-restore-all, elp-reset-all): Use mapatoms.
6699 (elp-set-master): Use elp--instrumented-p.
6700 (elp--make-wrapper): Rename from elp-wrapper, return a function
6701 suitable for advice-add. Use cl-inf.
6702 (elp-results): Use mapatoms+elp--instrumented-p.
6703 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6704 (debug-function-list): Remove var.
6705 (debug): Rename arg, and then let-bind it explicitly inside.
6706 (debugger-setup-buffer): Rename arg.
6707 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6708 (debugger-frame-number): Adjust to new debug-on-entry setup.
6709 (debug--implement-debug-on-entry): Rename from
6710 implement-debug-on-entry, add argument.
6711 (debugger-special-form-p): Remove, use special-form-p instead.
6712 (debug-on-entry): Use advice-add.
6713 (debug--function-list): New function.
6714 (cancel-debug-on-entry): Use it, along with advice-remove.
6715 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6716 (debugger-list-functions): Use debug--function-list instead of
6717 debug-function-list.
6718 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6719 (ad-special-form-p): Remove, use special-form-p instead.
6720 (ad-set-advice-info): Use add-function and remove-function.
6721 (ad--defalias-fset): Adjust accordingly.
6722
6723 2012-11-10 Glenn Morris <rgm@gnu.org>
6724
6725 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6726 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6727 (report-emacs-bug-create-existing-bugs-buffer)
6728 (report-emacs-bug-parse-query-results)
6729 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6730
6731 * term.el (term-default-fg-color, term-default-bg-color):
6732 Make obsolete, rather than just saying "deprecated" in the doc.
6733
6734 * term.el (term): Rename from `term-face'.
6735 (term-current-face, ansi-term-color-vector)
6736 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6737 Update all users.
6738
6739 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6740
6741 * server.el (server-create-window-system-frame): Handle Nextstep
6742 specially (Bug#12780).
6743
6744 2012-11-10 Glenn Morris <rgm@gnu.org>
6745
6746 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6747 Unautoload, and make obsolete. (Bug#7449)
6748
6749 2012-11-10 Chong Yidong <cyd@gnu.org>
6750
6751 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6752 rename from diff-remove-trailing-whitespace (Bug#12831).
6753
6754 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6757 miscompilation of trace.el.
6758
6759 2012-11-10 Glenn Morris <rgm@gnu.org>
6760
6761 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6762
6763 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6764
6765 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6766 (bug#12812).
6767
6768 2012-11-10 Chong Yidong <cyd@gnu.org>
6769
6770 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6771 a defcustom with an appropriate :set function.
6772 (minibuffer-default--in-prompt-regexps): New function.
6773
6774 2012-11-10 Glenn Morris <rgm@gnu.org>
6775
6776 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6777 (define-modify-macro): Doc fixes.
6778
6779 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6780 (gv-define-simple-setter): Update doc of `fix-return'.
6781
6782 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6785 twice when `fix-return' is set (bug#12813).
6786
6787 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6788 gv-define-simple-setter (bug#12812).
6789
6790 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6791 (bug#12756).
6792
6793 2012-11-10 Glenn Morris <rgm@gnu.org>
6794
6795 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6796
6797 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6798 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6799 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6800 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6801
6802 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6803
6804 2012-11-10 Leo Liu <sdl.web@gmail.com>
6805
6806 * ido.el (ido-set-matches-1): Improve flex matching performance by
6807 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6808
6809 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6810
6811 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6812 (ad--defalias-fset): New function.
6813 (ad-safe-fset): Remove.
6814 (ad-make-freeze-definition): Use cl-letf*.
6815
6816 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6817
6818 * subr.el (dolist): Don't bind VAR in RESULT.
6819
6820 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6821 (fset, documentation): Don't save real def since we don't advise.
6822 (ad-do-advised-functions): Remove problematic `result-form'.
6823 (ad-safe-fset): `ad-real-fset' => `fset'.
6824 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6825 uses CL's dolist internally.
6826 (ad-arglist): Remove unused arg `name'.
6827 (ad-docstring, ad-make-advised-docstring):
6828 `ad-real-documentation' => `documentation'.
6829 (warning-suppress-types): Declare.
6830 (ad-set-arguments): Simple CSE.
6831 (ad-recover-normality): Sanity check.
6832
6833 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6834 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6835
6836 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6837
6838 * ses.el: symbol to coordinate mapping is made by symbol property
6839 `ses-cell'. This means that the same mapping is done for all SES
6840 sheets. That is good enough for cells with standard A1 names, but
6841 not for named cell. So a hash map is added for the latter.
6842 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6843 (ses-sym-rowcol): Use hashmap for named cell.
6844 (ses-is-cell-sym-p): New defun.
6845 (ses-decode-cell-symbol): New defun.
6846 (ses-create-cell-variable): Add cell to hashmap when name is not
6847 A1-like.
6848 (ses-rename-cell): Check that cell new name is not already in
6849 spreadsheet with the use of ses-is-cell-sym-p
6850 (ses-rename-cell): Use hash map for named cells, but accept also
6851 renaming back to A1-like.
6852
6853 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6854
6855 * emacs-lisp/advice.el: Use new dynamic docstrings.
6856 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6857 Use dynamic-docstring-function instead of ad-advice-info.
6858 (ad--make-advised-docstring): New function extracted from
6859 ad-make-advised-docstring.
6860 (ad-make-advised-docstring): Use it.
6861 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6862 from sql-help.
6863 (sql-help): Use it with dynamic-docstring-function.
6864
6865 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6866
6867 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6868
6869 * files.el (hack-one-local-variable--obsolete): New function.
6870 (hack-one-local-variable): Use it for obsolete settings.
6871
6872 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6873 the new name.
6874
6875 * progmodes/js.el (js--filling-paragraph): New var.
6876 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6877 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6878 less sneaky.
6879
6880 2012-11-08 Julien Danjou <julien@danjou.info>
6881
6882 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6883 `auto-mode-alist' (Bug#12835).
6884
6885 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6888 (perl--prettify-symbols-alist): New const.
6889 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6890 New functions.
6891 (perl-font-lock-keywords-2): Use them.
6892 (perl-electric-noindent-p): New function.
6893 (perl-mode): Use it to set up electric-indent-mode.
6894 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6895 (perl-mode-map): Remove bindings for them.
6896 (perl-imenu-generic-expression, perl-outline-level):
6897 Match functions&packages in column>0.
6898
6899 * env.el (env--substitute-vars-regexp): New const.
6900 (substitute-env-vars): Use it. Add `only-defined' arg.
6901 * net/tramp.el (tramp-replace-environment-variables): Use it.
6902
6903 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6904 Byte-compile *before* eval in eval-and-compile.
6905 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6906 (byte-compile-file-form-autoload): Don't hide actual definition.
6907 (byte-compile-maybe-guarded): Accept `functionp' as well.
6908
6909 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6910
6911 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6912
6913 * notifications.el (notifications-get-server-information-method):
6914 New defconst.
6915 (notifications-get-capabilities): Fix docstring.
6916 (notifications-get-server-information): New defun.
6917
6918 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6919
6920 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6921 readability.
6922
6923 * textmodes/ispell.el: Experimental support for support debugging.
6924 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6925 buffer for ispell.
6926 (ispell-print-if-debug): New function to print stuff to
6927 `ispell-debug-buffer' if debugging is enabled.
6928 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6929 show some debugging info.
6930 (ispell-buffer-with-debug): New function that creates a debugging
6931 buffer and calls `ispell-buffer' with debugging enabled.
6932
6933 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6934 comment in autoconf mode. (Bug#12768)
6935
6936 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6937
6938 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6939 frame-first-window, frame-root-window, frame-selected-window,
6940 minibuffer-selected-window, minibuffer-window,
6941 window-absolute-pixel-edges, window-at, window-body-height,
6942 window-body-width, window-display-table, window-combination-limit,
6943 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6944 window-inside-edges, window-inside-pixel-edges, window-left-child,
6945 window-left-column, window-margins, window-next-buffers,
6946 window-next-sibling, window-new-normal, window-new-total,
6947 window-normal-size, window-parameter, window-parameters, window-parent,
6948 window-pixel-edges, window-point, window-prev-buffers,
6949 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6950 window-start, window-text-height, window-top-child, window-top-line,
6951 window-total-height, window-total-width and window-use-time to the list
6952 of functions without side-effects.
6953 (toplevel): Add window-valid-p to the list of error-free functions
6954 without side-effects.
6955
6956 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6957
6958 * textmodes/ispell.el (ispell-program-name):
6959 Update spellchecker parameters when customized.
6960
6961 2012-11-04 Glenn Morris <rgm@gnu.org>
6962
6963 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6964
6965 2012-11-04 Chong Yidong <cyd@gnu.org>
6966
6967 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6968 same-window-* variables.
6969
6970 2012-11-04 Juri Linkov <juri@jurta.org>
6971
6972 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6973 (isearch-describe-key, isearch-describe-mode): Use a display
6974 action instead of binding same-window-* variables (Bug#10040).
6975
6976 2012-11-03 Glenn Morris <rgm@gnu.org>
6977
6978 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6979 Rename handler properties back from cl-- to cl-. (Bug#12788)
6980
6981 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6982
6983 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6984
6985 * term/pc-win.el: Don't load term/internal from here.
6986
6987 * loadup.el: Load term/internal from here.
6988
6989 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6990
6991 * progmodes/python.el (inferior-python-mode): Fix hang in
6992 jit-lock (Bug#12645).
6993
6994 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6995
6996 * window.el (switch-to-visible-buffer)
6997 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6998
6999 2012-11-03 Glenn Morris <rgm@gnu.org>
7000
7001 * emacs-lisp/cl-lib.el (cl--random-time):
7002 Rename from cl-random-time. (Bug#12773)
7003 (cl--gensym-counter, cl--random-state): Update callers.
7004 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7005
7006 2012-11-03 Chong Yidong <cyd@gnu.org>
7007
7008 * cus-start.el: Make cursor-type customizable (Bug#11633).
7009
7010 2012-11-02 Glenn Morris <rgm@gnu.org>
7011
7012 * filecache.el: No need to load find-lisp when compiling.
7013 (find-lisp-find-files): Autoload it.
7014 (file-cache-add-directory-recursively): Don't require find-lisp.
7015
7016 * image.el (image-type-from-file-name): Trivial simplification.
7017
7018 * emacs-lisp/bytecomp.el (byte-compile-eval):
7019 Decouple "noruntime" and "cl-functions" warnings.
7020
7021 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7022
7023 * play/gomoku.el (gomoku-display-statistics): Update mode line
7024 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7025
7026 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7027
7028 * window.el (quit-restore-window): If the window has been
7029 created on an existing frame and ended up as the sole window on
7030 that frame, do not delete it (Bug#12764).
7031
7032 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7033
7034 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7035 Rename from sh--inside-arithmetic-expression, handle more cases
7036 (bug#11263).
7037
7038 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7039 (sh-font-lock-open-heredoc): Use it (bug#12770).
7040
7041 2012-10-30 Glenn Morris <rgm@gnu.org>
7042
7043 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7044
7045 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7046
7047 2012-10-29 Chong Yidong <cyd@gnu.org>
7048
7049 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7050 function key is stored in a keyboard macro (Bug#4894).
7051
7052 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7053
7054 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7057 header comments".
7058 (diff-unified->context, diff-context->unified)
7059 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7060
7061 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7062
7063 * files.el (find-alternate-file): Only ask one question (bug#12487).
7064
7065 2012-10-29 Chong Yidong <cyd@gnu.org>
7066
7067 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7068 Suggested by Dan Nicolaescu (Bug#6326).
7069
7070 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7071
7072 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7073
7074 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7075
7076 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7077
7078 * face-remap.el (face-remap-add-relative): Handle the case where a
7079 face-remapping-alist entry is a cons cell (Bug#12762).
7080
7081 2012-10-29 Kevin Ryde <user42@zip.com.au>
7082
7083 * woman.el (woman-parse-numeric-value): Handle picas correctly
7084 (Bug#12639).
7085
7086 2012-10-29 Glenn Morris <rgm@gnu.org>
7087
7088 * emacs-lisp/cl.el (defsetf): Doc fix.
7089
7090 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7093 syntax to the matching opener, if any (bug#12547).
7094 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7095 matching open as a "case-(".
7096 (sh-smie-rc-grammar): Add a corresponding rule for it.
7097
7098 2012-10-28 Daniel Hackney <dan@haxney.org>
7099
7100 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7101 "PKGNAME-autoloads.el" in case we created it.
7102
7103 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7104
7105 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7106 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7107 (completion--twq-all): Disable too-strict assertions.
7108
7109 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7110
7111 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7112
7113 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7114 text to match the real keybindings.
7115
7116 2012-10-27 Juri Linkov <juri@jurta.org>
7117
7118 * wdired.el (wdired-keep-marker-rename): New defcustom.
7119 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7120 (Bug#11795)
7121
7122 * dired.el (dired-keep-marker-rename): Add reference to
7123 `wdired-keep-marker-rename' in the docstring.
7124 Add default character value ?R to display initially in
7125 Customization UI instead of ?@.
7126
7127 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7128
7129 * window.el (display-buffer): In doc-string describe
7130 window-height and window-width alist entries.
7131
7132 * time.el (display-time-world): Restore fit-window-to-buffer
7133 behavior.
7134
7135 2012-10-27 Chong Yidong <cyd@gnu.org>
7136
7137 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7138
7139 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7140
7141 * minibuffer.el (completion-category-overrides): New completion
7142 category `bookmark' (bug#11131).
7143
7144 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7145
7146 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7147 Silence bogus compiler warnings for ad-do-it.
7148
7149 * bookmark.el (bookmark-completing-read): Set the completion category
7150 to `bookmark' (bug#11131).
7151
7152 2012-10-26 Bastien <bzg@altern.org>
7153 Stefan Monnier <monnier@iro.umontreal.ca>
7154
7155 * face-remap.el: Use lexical-binding.
7156 (text-scale-adjust): Improve docstring. Use itself for the temporary
7157 overlay-map bindings, so as to repeat the "Use..." message each time.
7158
7159 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7160
7161 * emacs-lisp/macroexp.el (macroexp--expand-all):
7162 Obey byte-compile-warning-enabled-p (bug#12486).
7163
7164 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7165 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7166
7167 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7168
7169 * mouse.el (mouse-drag-line): Move last form into preceding when
7170 clause (Bug#12731).
7171
7172 * help.el (resize-temp-buffer-window): Fix doc-string.
7173
7174 2012-10-25 David Engster <deng@randomsample.de>
7175
7176 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7177 Remove. This feature is already integrated in imenu.
7178
7179 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7180 always loaded. Require `speedbar' unconditionally.
7181
7182 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7183
7184 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7185
7186 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7187
7188 * net/ldap.el (ldap-search-internal): The official ldif format starts
7189 with a "version: 1" header (bug#12724).
7190
7191 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7192 (bug#12721).
7193
7194 2012-10-25 Glenn Morris <rgm@gnu.org>
7195
7196 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7197
7198 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7199
7200 * minibuffer.el (minibuffer-force-complete): Use one more marker
7201 for the temporary-overlay-map command (bug#12619).
7202
7203 2012-10-24 Chong Yidong <cyd@gnu.org>
7204
7205 * time.el (display-time-world-mode): Derive from special-mode.
7206 (display-time-world): Use display-buffer (Bug#12708).
7207 (display-time-world-mode-map): Variable deleted.
7208 (display-time-world-display): Wrap the final delete-char inside
7209 inhibit-read-only.
7210
7211 2012-10-24 Chong Yidong <cyd@gnu.org>
7212
7213 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7214 Doc fix.
7215
7216 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7217
7218 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7219
7220 * minibuffer.el (completion--all-sorted-completions-location): New var.
7221 (completion--cache-all-sorted-completions)
7222 (completion--flush-all-sorted-completions): Use it.
7223 (completion-in-region, completion-in-region--postch)
7224 (completion-at-point, completion-help-at-point): Use markers in
7225 completion-in-region--data (bug#12619).
7226
7227 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7228
7229 * progmodes/compile.el (compilation-start): Try to handle common
7230 quoting of `cd' argument (bug#12640).
7231
7232 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7233 (bug#12671).
7234
7235 2012-10-23 Glenn Morris <rgm@gnu.org>
7236
7237 * progmodes/gud.el (gud-menu-map):
7238 Check gdb-active-process is bound. (Bug#12358)
7239
7240 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * repeat.el (repeat): Set real-this-command (bug#12232).
7243
7244 * htmlfontify.el (hfy-post-html-hook):
7245 * filesets.el (filesets-cache-fill-content-hook):
7246 * arc-mode.el (archive-extract-hook):
7247 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7248 * net/rcirc.el (rcirc-sentinel-functions)
7249 (rcirc-receive-message-functions, rcirc-activity-functions)
7250 (rcirc-print-functions):
7251 * net/dbus.el (dbus-event-error-functions):
7252 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7253 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7254 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7255 * term/sun.el (sun-raw-prefix-hooks):
7256 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7257
7258 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7259
7260 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7261 Set `tramp-chunksize' to 1. This improves the performance.
7262 (tramp-smb-wait-for-output): Add timeout to
7263 `tramp-accept-process-output' calls.
7264
7265 2012-10-23 Chong Yidong <cyd@gnu.org>
7266
7267 * faces.el (font-list-limit): Define as an obsolete variable.
7268
7269 * startup.el (command-line):
7270 * cus-start.el: Don't refer to font-list-limit.
7271
7272 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7273
7274 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7275
7276 * subr.el (internal-temp-output-buffer-show): Rename from
7277 temp-output-buffer-show, since previously compiled files expect this name.
7278
7279 2012-10-23 Glenn Morris <rgm@gnu.org>
7280
7281 * image.el (image-type-from-file-name): If multiple types match,
7282 return the first one that is supported. (Bug#9045)
7283
7284 2012-10-22 Glenn Morris <rgm@gnu.org>
7285
7286 * image.el (imagemagick-enabled-types): Doc fix.
7287
7288 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7289
7290 * progmodes/which-func.el (which-func-current): The hash-table may have
7291 an explicit nil (bug#12338).
7292
7293 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * electric.el (electric-pair-delete-selection-self-insert-function):
7296 Rename to electric-pair-will-use-region, return a boolean.
7297 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7298
7299 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7300 (delete-selection-pre-hook): Use use-region-p.
7301 (delete-selection-self-insert-function): Remove.
7302 (self-insert-command): Obey self-insert-uses-region-functions.
7303 (self-insert-iso): Revert to previous setting, since we don't actually
7304 know what that command does.
7305 (delete-selection-self-insert-hooks): Remove.
7306
7307 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7308
7309 * delsel.el (delete-selection-helper): New function, extracted from
7310 delete-selection-pre-hook.
7311 (delete-selection-pre-hook): Use it.
7312 (delete-selection-self-insert-function): New function.
7313 (delete-selection-self-insert-hooks): New hook.
7314 (self-insert-command, self-insert-iso): Use it.
7315 * electric.el (electric-pair-syntax): New function, extracted from
7316 electric-pair-post-self-insert-function.
7317 (electric-pair-post-self-insert-function): Use it.
7318 (electric-pair-delete-selection-self-insert-function): New function.
7319 (electric-pair-mode): Require delsel and setup
7320 delete-selection-self-insert-hooks (bug#11520).
7321
7322 2012-10-20 Chong Yidong <cyd@gnu.org>
7323
7324 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7325 no changes to show (Bug#12586).
7326
7327 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7328 list explicitly (Bug#12571).
7329
7330 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7331
7332 * progmodes/flymake.el (flymake-create-temp-inplace):
7333 Use file-truename.
7334
7335 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7336
7337 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7338
7339 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7340
7341 * calc/calc-units.el (math-extract-units): Properly extract powers
7342 of units.
7343
7344 2012-10-20 Daniel Colascione <dancol@dancol.org>
7345
7346 * frame.el (make-frame): Set x-display-name as we used to in order
7347 to unbreak creating an X11 frame from an Emacs daemon started
7348 without a display.
7349
7350 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7353 the same completion-field (bug#12221).
7354
7355 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7356
7357 * emacs-lisp/debug.el (debug): Record height of debugger window
7358 also when debugger will be back (Bug#8789).
7359
7360 2012-10-18 Chong Yidong <cyd@gnu.org>
7361
7362 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7363 Convert to defcustom.
7364 (gdb-get-source-file): Don't bind pop-up-windows.
7365
7366 * progmodes/gud.el (gud-display-line): Don't specially re-use
7367 other frames for the gdb-mi case (Bug#12648).
7368
7369 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * emacs-lisp/advice.el: Clean up commentary a bit.
7372 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7373 (byte-code-function-p): Never redefine.
7374
7375 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7376
7377 2012-10-18 Glenn Morris <rgm@gnu.org>
7378
7379 * dired.el (dired-sort-toggle): Some ls implementations only allow
7380 a single option string. (Bug#12666)
7381
7382 * minibuffer.el (completion-cycle-threshold): Doc fix.
7383
7384 2012-10-17 Kenichi Handa <handa@gnu.org>
7385
7386 * international/mule.el (set-keyboard-coding-system):
7387 Recover input meta mode when the new coding system doesn not use 8-bit.
7388 Supply TERMINAL arg to set-input-meta-mode.
7389
7390 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7391
7392 * wdired.el (wdired-old-marks): New variable.
7393 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7394 (wdired-do-renames): Move point with renamed file and don't lose
7395 mark status (Bug#11795).
7396
7397 2012-10-16 Juri Linkov <juri@jurta.org>
7398
7399 * replace.el (query-replace-help): Mention multi-buffer replacement
7400 keys in the Help message. (Bug#12655)
7401
7402 2012-10-15 Chong Yidong <cyd@gnu.org>
7403
7404 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7405
7406 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7407
7408 * window.el (display-buffer): Doc fix.
7409
7410 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7411 Adjust the msft regexp to the output of Studio 2010, and move msft
7412 before edg-1. See the discussion on emacs-devel,
7413 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7414 for the details.
7415
7416 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7419 (oset): Move uses of object-class-fast macro after its definition.
7420
7421 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7422
7423 2012-10-13 Chong Yidong <cyd@gnu.org>
7424
7425 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7426 enabled, re-enable it (Bug#11963).
7427
7428 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7429
7430 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7431 non-nil, restore window configuration (Bug#12623).
7432
7433 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7434
7435 * help-fns.el (describe-variable, describe-function-1):
7436 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7437
7438 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7439
7440 2012-10-12 Glenn Morris <rgm@gnu.org>
7441
7442 * mail/rmailsum.el (rmail-header-summary):
7443 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7444
7445 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7446
7447 * progmodes/python.el (python-mode-map):
7448 Replace subtitute-key-definition with proper command remapping.
7449 (python-nav--up-list): Fix behavior for blocks on the same level.
7450
7451 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7454
7455 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7456 changes to the format of load-history.
7457
7458 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7459 completion-ignore-case in case that var is buffer-local (bug#12615).
7460
7461 2012-10-11 Kenichi Handa <handa@gnu.org>
7462
7463 * international/eucjp-ms.el: Re-generated.
7464
7465 2012-10-10 Kenichi Handa <handa@gnu.org>
7466
7467 * select.el (xselect--encode-string): If a coding is specified for
7468 selection, and that is compatible with COMPOUND_TEXT, use it.
7469
7470 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7471
7472 * window.el (switch-to-buffer-preserve-window-point): New option.
7473 (switch-to-buffer):
7474 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7475
7476 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7477
7478 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7479 Don't document nil as a useful value (bug#12583).
7480
7481 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7482
7483 * net/tramp.el (tramp-debug-message):
7484 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7485 (with-tramp-progress-reporter): Rename from
7486 `tramp-with-progress-reporter'.
7487 (with-tramp-file-property, with-tramp-connection-property):
7488 Move from tramp-cache.el, rename from `with-file-property' and
7489 `with-connection-property', respectively.
7490
7491 * net/tramp-cache.el: Remove `with-file-property' and
7492 `with-connection-property'.
7493
7494 * net/tramp.el:
7495 * net/tramp-gvfs.el:
7496 * net/tramp-sh.el:
7497 * net/tramp-smb.el: Adapt callees.
7498
7499 * net/trampver.el: Update release number.
7500
7501 2012-10-09 Glenn Morris <rgm@gnu.org>
7502
7503 * w32-fns.el (set-message-beep):
7504 * term/w32-win.el (set-message-beep): Update declarations.
7505
7506 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7509 (mode-line-widen, mode-line-input-method-map)
7510 (mode-line-coding-system-map, mode-line-remote)
7511 (mode-line-unbury-buffer, mode-line-bury-buffer)
7512 (mode-line-next-buffer, mode-line-previous-buffer):
7513 Replace save-selected-window+select-window => with-selected-window.
7514
7515 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7516 * progmodes/cc-vars.el (bq-process): Remove, unused.
7517
7518 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7519
7520 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7521
7522 Implemented `backward-up-list'-like navigation.
7523 * progmodes/python.el (python-nav-up-list)
7524 (python-nav-backward-up-list): New functions.
7525 (python-mode-map): Define substitute key for backward-up-list to
7526 python-nav-backward-up-list.
7527
7528 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7529
7530 * progmodes/python.el (python-fill-paragraph): Rename from
7531 python-fill-paragraph-function. Fixed fill-paragraph for
7532 decorators (Bug#12605).
7533
7534 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7535
7536 * progmodes/python.el (python-shell-output-filter): Handle extra
7537 carriage return in OSX (Bug#12409).
7538
7539 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7540
7541 Fix shell handling of unbalanced quotes and parens in output.
7542 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7543 (python-syntax-propertize-function): Use it.
7544 (python-shell-output-syntax-table): New var.
7545 (inferior-python-mode): Prevent unbalanced parens/quotes from
7546 previous output mess with current input context.
7547
7548 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7549
7550 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7551 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7552
7553 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7554
7555 * ffap.el (ffap-replace-file-component): Support Tramp file name
7556 syntax, not only ange-ftp's one.
7557
7558 2012-10-08 Glenn Morris <rgm@gnu.org>
7559
7560 * cus-start.el (message-log-max): Set :version.
7561
7562 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7563
7564 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7565
7566 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7567 the minibuffer window (Bug#10851).
7568
7569 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7570
7571 Enhancements on forward-sexp movement.
7572 * progmodes/python.el (python-nav-beginning-of-statement)
7573 (python-nav-end-of-statement): Return point-marker.
7574 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7575 (python-info-current-symbol)
7576 (python-info-statement-starts-block-p): Rename from
7577 python-info-beginning-of-block-p.
7578 (python-info-statement-ends-block-p): Rename from
7579 python-info-end-of-block-p.
7580 (python-info-beginning-of-statement-p)
7581 (python-info-end-of-statement-p)
7582 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7583 New functions.
7584
7585 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7586
7587 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7588 frame-selected-windows.
7589
7590 2012-10-08 Daniel Colascione <dancol@dancol.org>
7591
7592 * battery.el (battery-status-function): Check for
7593 w32-battery-status itself, not system-time windows-nt.
7594
7595 * frame.el: Require cl-lib.
7596 (display-format-alist): New variable mapping frame types to
7597 functions that initialize them.
7598 (window-system-for-display): New function: interprets
7599 display-format-alist.
7600 (make-frame-on-display): Remove existing display-selection logic
7601 and just forward to make-frame, which will now DTRT.
7602 (make-frame): Restructure to use window-system-for-display to
7603 figure out how to create a frame on a given display.
7604 (display-mouse-p): Look for frame-type w32, not a particular
7605 system-type.
7606
7607 * loadup.el: Load w32 lisp code when we have the w32 feature.
7608
7609 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7610 system-type windows-nt.
7611
7612 * server.el (server-create-window-system-frame): Look for window
7613 type.
7614 (server-proces-filter): Only force a window system when windows-nt
7615 _and_ w32. Explain why.
7616
7617 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7618 of window systems we configure for the mode.
7619
7620 * startup.el (command-line): Mark window system is initialized
7621 after we've done it.
7622
7623 * common-win.el (x-select-text): Look for w32, not windows-nt.
7624
7625 * ns-win.el: Require cl-lib. Add ourselves to
7626 display-format-alist.
7627 (ns-initialize-window-system): Assert we're not initialized twice.
7628
7629 * w32-win.el: Enable lexical binding; require cl-lib; add
7630 ourselves to display-format-alist.
7631 (w32-handle-dropped-file): Convert incoming dropped files from
7632 Windows paths to Cygwin ones before passing them on to the rest of
7633 Emacs.
7634 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7635 (w32-initialize-window-system): Assert we're not initialized twice.
7636
7637 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7638 (x-initialize-window-system): Assert we're not initialized twice.
7639
7640 * w32-common-fns.el: New File.
7641 (w32-version, w32-using-nt, w32-get-clipboard-data)
7642 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7643 (w32-charset-info-alist, x-last-selected, text)
7644 (x-get-selection-value, x-selection-value): Move here.
7645
7646 * w32-fns.el: Require w32-common-fns.
7647 (w32-version, w32-using-nt, w32-get-clipboard-data)
7648 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7649 (w32-charset-info-alist, x-last-selected, text)
7650 (x-get-selection-value, x-selection-value): Move to
7651 w32-common-fns.
7652
7653 * w32-vars.el:
7654 (w32-allow-system-shell, w32-system-shells): Define only in
7655 non-cygwin case.
7656
7657 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7658
7659 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7660 (read-passwd): Remove a few more potential sources of leaks.
7661
7662 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7663
7664 * progmodes/python.el (inferior-python-mode)
7665 (python-shell-make-comint): Fix initialization of local
7666 variables copied from parent buffer.
7667
7668 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7669
7670 * term/ns-win.el (ns-read-file-name): Update declaration to match
7671 nsfns.m.
7672 (ns-respond-to-change-font): Change fontsize separately so we are sure
7673 it is set when font is acted upon.
7674
7675 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7676
7677 Enhancements to indentation.
7678 * progmodes/python.el (python-indent-context): Give priority to
7679 inside-string context. Make comments indentation markers.
7680 (python-indent-region): Do not mess with strings, unless it's the
7681 enclosing set of quotes.
7682
7683 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7684
7685 * window.el (internal--before-save-selected-window)
7686 (internal--after-save-selected-window): New functions extracted from
7687 save-selected-window. Make sure we return the `alist' we construct.
7688 (save-selected-window): Use them.
7689
7690 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7691 Use with-selected-window.
7692
7693 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7694 forms that define macros (bug#12593).
7695
7696 2012-10-07 Kenichi Handa <handa@gnu.org>
7697
7698 * international/mule-conf.el (compound-text-with-extensions):
7699 Add :mime-charset property as x-ctext.
7700
7701 2012-10-07 Stefan Merten <smerten@oekonux.de>
7702
7703 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7704 (rst-indent-literal-normal, rst-indent-literal-minimized)
7705 (rst-indent-comment): Correct :version tag.
7706 (rst-official-cvs-rev): Correct version string.
7707
7708 2012-10-07 Glenn Morris <rgm@gnu.org>
7709
7710 * mail/rmailmm.el (rmail-mime-process-multipart):
7711 Do not confuse a multipart message with an epilogue
7712 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7713
7714 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7715
7716 Fix shell output retrieval and comint-prompt-regexp init.
7717 * progmodes/python.el (inferior-python-mode):
7718 (python-shell-make-comint): Fix initialization of
7719 comint-prompt-regexp from copied file local variables.
7720 (python-shell-fetched-lines): Remove var.
7721 (python-shell-output-filter-in-progress): Rename from
7722 python-shell-fetch-lines-in-progress.
7723 (python-shell-output-filter-buffer): Rename from
7724 python-shell-fetch-lines-string.
7725 (python-shell-fetch-lines-filter): Delete function.
7726 (python-shell-output-filter): New function.
7727 (python-shell-send-string-no-output): Use them.
7728
7729 2012-10-07 Glenn Morris <rgm@gnu.org>
7730
7731 * hi-lock.el (hi-lock-process-phrase):
7732 Try to make it less fragile. (Bug#7161)
7733
7734 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7735
7736 2012-10-06 Glenn Morris <rgm@gnu.org>
7737
7738 * ehelp.el (electric-help-mode): Use help-mode rather than
7739 non-existent mode `help'.
7740 (electric-help-map): Use button-buffer-map. (Bug#10917)
7741
7742 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7743 (reftex-create-bibtex-footer): Fix custom types.
7744
7745 * progmodes/sh-script.el (sh-indent-after-continuation):
7746 Add explicit :group.
7747
7748 * textmodes/rst.el (rst-preferred-decorations)
7749 (rst-shift-basic-offset): Clarify obsolescence versions.
7750
7751 * profiler.el (profiler): Add missing group :version tag.
7752 * avoid.el (mouse-avoidance-banish-position):
7753 * proced.el (proced-renice-command):
7754 * calc/calc.el (calc-ensure-consistent-units):
7755 * calendar/icalendar.el (icalendar-import-format-uid):
7756 * net/tramp.el (tramp-save-ad-hoc-proxies):
7757 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7758 * progmodes/flymake.el (flymake-error-bitmap)
7759 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7760 * progmodes/sh-script.el (sh-indent-after-continuation):
7761 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7762 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7763 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7764 (vhdl-array-index-record-field-in-sensitivity-list)
7765 (vhdl-indent-comment-like-next-code-line):
7766 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7767 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7768 (reftex-cite-key-separator, reftex-create-bibtex-header)
7769 (reftex-create-bibtex-footer):
7770 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7771 (rst-indent-literal-normal, rst-indent-literal-minimized)
7772 (rst-indent-comment): Add missing custom :version tags.
7773
7774 * calendar/timeclock.el (timeclock-modeline-display):
7775 Add missing obsolete alias for renamed user option.
7776
7777 * strokes.el (strokes-modeline-string):
7778 * emulation/crisp.el (crisp-mode-modeline-string):
7779 * eshell/esh-mode.el (eshell-status-in-modeline):
7780 Aliases to defcustoms must come before the defcustom.
7781
7782 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7783 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7784 (cal-tex-cursor-week-monday): Doc fixes.
7785 (cal-tex-cursor-week2-summary): Doc fix.
7786 Rename from cal-tex-cursor-week-at-a-glance.
7787
7788 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7789 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7790
7791 * calendar/calendar.el (calendar-mode-map):
7792 Add cal-tex-cursor-week2-summary.
7793
7794 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7797
7798 * subr.el (read-passwd-map): New var.
7799 (read-passwd): Use `read-string' again.
7800 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7801
7802 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7803
7804 * register.el (append-to-register, prepend-to-register):
7805 Deactivate mark, as does `copy-to-register' (bug#12389).
7806
7807 2012-10-06 Chong Yidong <cyd@gnu.org>
7808
7809 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7810
7811 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7812
7813 * international/characters.el: Fix simple mistake ((car chars) ->
7814 elt), delete duplicated code.
7815
7816 2012-10-06 Glenn Morris <rgm@gnu.org>
7817
7818 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7819
7820 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7821
7822 * color.el (color-hsl-to-rgb): Fix incorrect results for
7823 small and large hue values. (Bug#12559)
7824
7825 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7826
7827 Enhancements to docstring formatting when filling paragraphs.
7828 * progmodes/python.el (python-fill-docstring-style): Rename from
7829 python-fill-string-style. Added new style.
7830 (python-fill-string): Use new style. Better checks for
7831 docstrings.
7832
7833 2012-10-05 Glenn Morris <rgm@gnu.org>
7834
7835 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7836
7837 * color.el (color-name-to-rgb, color-rgb-to-hex)
7838 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7839 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7840 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7841 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7842
7843 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7844
7845 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7846
7847 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7848 to get the correct size across symlinks.
7849
7850 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7851
7852 2012-10-04 Juri Linkov <juri@jurta.org>
7853
7854 * replace.el (query-replace-interactive): Declare obsolete.
7855 (query-replace-read-from): Add the last incremental search string
7856 to the list of default values accessible via M-n.
7857 (map-query-replace-regexp): Use `read-regexp'.
7858 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7859 (map-query-replace-regexp, replace-string, replace-regexp):
7860 Fix docstrings to replace mentions of `query-replace-interactive'
7861 with alternatives. (Bug#12526)
7862
7863 2012-10-04 Juri Linkov <juri@jurta.org>
7864
7865 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7866 (dired-pop-to-buffer): Declare obsolete.
7867 (dired-mark-pop-up): Doc fix.
7868
7869 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7870
7871 Allow user to set docstring style for fill-paragraph.
7872 * progmodes/python.el
7873 (python-fill-comment-function, python-fill-string-function)
7874 (python-fill-decorator-function, python-fill-paren-function):
7875 Remove :safe for defcustoms.
7876 (python-fill-string-style): New defcustom
7877 (python-fill-paragraph-function): Enhance context detection.
7878 (python-fill-string): Honor python-fill-string-style settings.
7879
7880 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7881
7882 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7883 after setting its buffer (Bug#10805).
7884
7885 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7886
7887 Fix cornercase for string syntax.
7888 * progmodes/python.el (python-syntax-propertize-function):
7889 Simplify and enhance the regexp for unescaped quotes. Now it also
7890 matches quotes in weird situations like the single quote in
7891 "something\"'".
7892 (python-syntax-stringify): Simplify num-quotes detecting code.
7893
7894 2012-10-03 Glenn Morris <rgm@gnu.org>
7895
7896 * help-macro.el (three-step-help):
7897 Revert 2012-09-29 change. (Bug#12567)
7898
7899 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7900
7901 * menu-bar.el (kill-this-buffer): Don't do anything when
7902 `menu-frame' is not alive or visible (Bug#8184).
7903
7904 * emacs-lisp/debug.el (debug): When quitting the debugger window
7905 restore current buffer (Bug#12502).
7906
7907 2012-10-02 Chong Yidong <cyd@gnu.org>
7908
7909 * progmodes/hideif.el (hif-lookup, hif-defined):
7910 Handle semantic-c-takeover-hideif.
7911
7912 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7913
7914 Change sampling interval units from ms to ns.
7915 * profiler.el (profiler-sampling-interval): Change units
7916 from ms to ns, multiplying the default by 1000000 so that
7917 it remains 1 ms.
7918 (profiler-report-cpu-line-format): Give enough room for
7919 the maximum counters on 64-bit hosts.
7920 (profiler-report-render-calltree-1): Call them "CPU samples",
7921 not "Time (ms)", since they are not milliseconds now (and
7922 never really were).
7923
7924 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7925
7926 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7927 Fix querying BBDB for entries without a last name (Bug#11580).
7928
7929 2012-10-02 Chong Yidong <cyd@gnu.org>
7930
7931 * emacs-lisp/eieio.el: Restore Version header.
7932
7933 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7934
7935 * vc/diff-mode.el (diff--auto-refine-data): New var.
7936 (diff-hunk): Use it to delay refinement.
7937 (diff-mode): Remove overlays when we turn off font-lock.
7938
7939 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7940 (table-initialize-table-fixed-width-mode)
7941 (table-set-table-fixed-width-mode): Remove functions.
7942 (table-command-list): Move initialization into declaration.
7943 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7944 (table-with-cache-buffer): Use `declare'.
7945 (table-span-cell): Simplify via CSE.
7946 (table-fixed-width-mode): Use define-minor-mode.
7947 (table-call-interactively, table-funcall, table-apply): Remove.
7948 (table-function): New function, to replace them.
7949
7950 * bookmark.el (bookmark-search-pattern): Remove var.
7951 (bookmark-read-search-input): Remove function.
7952 (bookmark-bmenu-search): Reimplement using a minibuffer.
7953
7954 * faces.el (modeline): Remove obsolete face name.
7955
7956 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7957 and give a non-nil default value.
7958 (add-change-log-entry): Simplify accordingly.
7959
7960 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7961
7962 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7963 (vc-git-log-edit-toggle-amend): New function.
7964 (vc-git-log-edit-toggle-signoff): New function.
7965 (vc-git-log-edit-mode): New major mode.
7966 (vc-git-log-edit-mode-map): Keymap for it.
7967 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7968
7969 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7970 header names.
7971 (log-edit-toggle-header): New function.
7972 (log-edit-extract-headers): Accept function values in HEADERS alist.
7973
7974 2012-10-01 David Engster <deng@randomsample.de>
7975
7976 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7977 from symbol property and change message to be more consistent with
7978 Emacs proper.
7979 (eieio-describe-generic): Add filename for each implementation.
7980 Fix indices for generic and normal methods.
7981 (eieio-method-def, eieio-class-def): New buttons.
7982 (eieio-help-find-method-definition)
7983 (eieio-help-find-class-definition): New functions.
7984 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7985 class, constructor and method definitions.
7986
7987 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7988 information in symbol property.
7989 (scoped-class): Remove.
7990 (eieio-slot-name-index, call-next-method): Check if it is bound.
7991
7992 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7993
7994 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7995 (eieio-custom-mode): New major mode.
7996 (eieio-customize-object): Use it.
7997
7998 2012-10-01 Eric Ludlam <zappo@gnu.org>
7999
8000 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8001 specifying the expected class, and whether subclassing is allowed.
8002 (eieio-persistent-convert-list-to-object):
8003 (eieio-persistent-validate/fix-slot-value)
8004 (eieio-persistent-slot-type-is-class-p): New functions.
8005 (eieio-named::slot-missing): Doc fix.
8006
8007 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8008 Stop using unused publd variable.
8009
8010 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8011 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8012 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8013 (eieio-speedbar-handle-click): Do not specify a class for the
8014 method. Fixes method invocation order problems with EDE.
8015
8016 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8019 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8020
8021 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8022
8023 * bookmark.el (bookmark-version-control): Give tags in the
8024 :type choices (Bug#12309), and improve doc string.
8025 (bookmark-write-file): Bind `print-circle' to `t' to allow
8026 circular custom bookmark types. (Bug#12503)
8027
8028 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8029
8030 Revert the FOLLOW-SYMLINKS change for file-attributes.
8031 * files.el (remote-file-name-inhibit-cache, after-find-file):
8032 * time.el (display-time-file-nonempty-p): Undo last change.
8033
8034 * profiler.el (profiler-sampling-interval): Change default back to 1.
8035 See Stefan Monnier in
8036 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8037
8038 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8039
8040 Shell output catching a la gud-gdb.
8041 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8042 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8043 New Vars.
8044 (python-shell-fetch-lines-filter): New function.
8045 (python-shell-send-string-no-output): Use them.
8046
8047 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8048
8049 * profiler.el (profiler-sampling-interval): Rename from
8050 profiler-sample-interval.
8051 (profiler-sampling-interval): Default to 10.
8052 (profiler-find-profile): New command (was profiler-find-log).
8053 (profiler-find-profile-other-window): New command.
8054 (profiler-find-profile-other-frame): New command.
8055 (profiler-profile): Introduce API-level data structure.
8056
8057 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8058
8059 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8060 * files.el (remote-file-name-inhibit-cache):
8061 * time.el (display-time-file-nonempty-p): Use it.
8062 * files.el (after-find-file): Don't chase links before calling
8063 file-exists-p, as file-exists-p already does the right thing.
8064
8065 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8066
8067 Merge from standalone RefTeX repository.
8068
8069 The following ChangeLog entries are shortened versions of the
8070 original ones with file paths adapted. A not so strongly edited
8071 version of the original ChangeLog can be found in the commit log.
8072
8073 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8074 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8075 Correctly handle new value type returned by `reftex-citation'.
8076
8077 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8078 that entries with whitespace at various places are found.
8079 Doc fix. Include entries that are cross-referenced from cited entries.
8080 Include @String definitions in the resulting bib file. Add header
8081 and footer defined in `reftex-create-bibtex-header' and
8082 `reftex-create-bibtex-footer'.
8083 (reftex-do-citation): Make it possible again to insert
8084 non-existent entries. Save match data when asking for optional
8085 arguments. Return all keys, not just the first one.
8086 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8087 all citations in the same line.
8088 (reftex-parse-bibtex-entry): Accept additional optional argument
8089 `raw' and keep quotes or braces if it is non-nil. Match fields
8090 containing hyphens besides word constituents.
8091 (reftex-get-string-refs): New function.
8092 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8093 and ask if it should be reread in case it did.
8094 (reftex-pop-to-bibtex-entry)
8095 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8096 entries with spaces or tabs in front of arguments.
8097 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8098 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8099 Match entries containing numbers and symbol constituents.
8100 (reftex-do-citation, reftex-figure-out-cite-format):
8101 Use `reftex-cite-key-separator'.
8102
8103 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8104 (reftex-mouse-view-crossref): Explain why point is set.
8105
8106 * textmodes/reftex-global.el: Whitespace changes.
8107
8108 * textmodes/reftex-index.el: Move provide statement to end of
8109 file.
8110 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8111 (reftex-index-visit-phrases-buffer): Set marker when visiting
8112 buffer. This allows for returning from the phrases file to the
8113 file one was just editing instead of the file where the last
8114 phrases was added from.
8115 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8116 punctuation syntax as it usually is not used as string quote in
8117 TeX-related modes and may occur unmatched. The change also
8118 prevents fontification of quoted content.
8119 (reftex-index-phrases-mode): Use it.
8120
8121 * textmodes/reftex-parse.el (reftex-parse-from-file):
8122 Move backward one char if a `\' was matched after a section macro.
8123 (reftex-parse-from-file): Use beginning of match instead of end as
8124 bound.
8125
8126 * textmodes/reftex-ref.el: Adapt creation of
8127 `reftex-<package>-<macro>' functions to new structure of
8128 `reftex-ref-style-alist'.
8129 (reftex-reference): Use `reftex-ref-style-list' function.
8130 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8131 reference macro if `reftex-ref-macro-prompt' is non-nil.
8132 (reftex-reference): Pass refstyle to `reftex-format-special'.
8133 Determine reference macro by looking at
8134 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8135 Use only one special format function.
8136 (reftex-varioref-vref, reftex-fancyref-fref)
8137 (reftex-fancyref-Fref): Remove definitions. The functions are now
8138 generated from `reftex-ref-style-alist'.
8139 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8140 Remove.
8141 (reftex-format-special): New function.
8142
8143 * textmodes/reftex-sel.el
8144 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8145 of `reftex-ref-style-alist'. Remove code for testing macro type.
8146 (reftex-select-toggle-varioref)
8147 (reftex-select-toggle-fancyref): Remove.
8148 (reftex-select-cycle-ref-style-internal)
8149 (reftex-select-cycle-ref-style-forward)
8150 (reftex-select-cycle-ref-style-backward): New functions.
8151 (reftex-select-label-map): Use `v' and `V' for general cycling
8152 through reference styles. Add `p' for switching between number
8153 and page reference types.
8154
8155 * textmodes/reftex-toc.el (reftex-re-enlarge):
8156 Call `enlarge-window' only if there is something to do because in Emacs
8157 the horizontal version throws an error even if the parameter is 0.
8158
8159 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8160 (reftex-plug-into-AUCTeX): Doc fix.
8161 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8162 string. Adapt to new name.
8163 (reftex-ref-style-alist): Change structure so that it is not
8164 possible to use multiple different package names within a style.
8165 Remove the symbols for symbols for macro type distinction.
8166 Add characters for macro selection.
8167 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8168 (reftex-create-bibtex-footer): New variables.
8169 (reftex-format-ref-function): Mention third argument of special
8170 format function.
8171 (reftex-ref-style-alist, reftex-ref-style-default-list):
8172 New variables.
8173 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8174 to new implementation. Mark as obsolete. Add compatibility code
8175 for honoring the variable values in case they are set.
8176 (reftex-cite-format-builtin, reftex-bibliography-commands):
8177 Add support for ConTeXt.
8178 (reftex-format-ref-function, reftex-format-cite-function):
8179 Fix custom type.
8180 (reftex-cite-key-separator): New variable.
8181
8182 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8183 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8184 `reftex-syntax-table' because parens have to retain their paren
8185 syntax in order for parsing of BibTeX entries like @book(...) to
8186 work.
8187 (reftex-in-comment): Do not error out if `comment-start-skip' is
8188 not set. Deal correctly with escaped comment characters.
8189 (reftex-tie-multifile-symbols): Add doc string.
8190 Initialize `reftex-ref-style-list'.
8191 (reftex-untie-multifile-symbols): Add doc string.
8192 (reftex-add-index-macros): Doc fix.
8193 (reftex-ref-style-activate, reftex-ref-style-toggle)
8194 (reftex-ref-style-list): New functions.
8195 (reftex-mode-menu): Use them. Adapt to new structure of
8196 `reftex-ref-style-alist'.
8197 (reftex-select-with-char): Kill the RefTeX Select buffer when
8198 done.
8199 (reftex-remove-if): New function.
8200 (reftex-erase-all-selection-and-index-buffers)
8201 (reftex-mode-menu): Reference styles are now computed from
8202 `reftex-ref-style-alist'. Fix typo.
8203 (reftex-report-bug): New function.
8204 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8205 algorithms with O(n log n). Introduce optional argument SORT (not
8206 yet used).
8207
8208 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8209
8210 Enhancements for triple-quote string syntax.
8211 * progmodes/python.el (python-syntax-propertize-function):
8212 Match both quote cases in one regexp.
8213 (python-syntax-stringify): Handle matches properly.
8214
8215 2012-09-30 Juri Linkov <juri@jurta.org>
8216
8217 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8218 to nil around the call to `insert' to prevent
8219 directory time modification by lock_file. (Bug#2295)
8220 * tar-mode.el (tar-summarize-buffer): Idem.
8221
8222 2012-09-30 Juri Linkov <juri@jurta.org>
8223
8224 * facemenu.el (list-colors-sort): Add option "Luminance".
8225 (list-colors-sort-key): Implement it.
8226
8227 * vc/diff-mode.el (diff-refine-removed):
8228 * vc/ediff-init.el (ediff-fine-diff-A):
8229 * vc/smerge-mode.el (smerge-refined-removed):
8230 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8231
8232 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8233
8234 * term/ns-win.el (x-file-dialog): New function.
8235
8236 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8237
8238 * ido.el (ido-max-directory-size): Default to nil; the current
8239 default is small for POSIX systems, and impractical on Windows 7
8240 now that lstat returns directory sizes for NTFS.
8241
8242 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8243
8244 In buffer display functions handle window-height/window-width
8245 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8246 * window.el (window--display-buffer): New argument ALIST.
8247 Obey window-height and window-width alist entries.
8248 (window--try-to-split-window): New argument ALIST.
8249 Bind window-combination-limit to t when the window's size shall be
8250 changed and window-combination-limit equals `window-size'.
8251 (display-buffer-in-atom-window)
8252 (display-buffer-in-major-side-window)
8253 (display-buffer-in-side-window, display-buffer-same-window)
8254 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8255 (display-buffer-pop-up-window, display-buffer-below-selected)
8256 (display-buffer-at-bottom, display-buffer-in-previous-window)
8257 (display-buffer-use-some-window): Adjust all callers of
8258 window--display-buffer and window--try-to-split-window.
8259 (fit-frame-to-buffer): New option.
8260 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8261 is non-nil.
8262 (display-buffer-in-major-side-window): Evaluate window-height /
8263 window-width alist entries.
8264
8265 * help.el (temp-buffer-resize-frames)
8266 (temp-buffer-resize-regexps): Remove options.
8267 (temp-buffer-resize-mode): Adjust doc-string.
8268 (resize-temp-buffer-window): Don't consult
8269 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8270 temp-buffer-resize-frames.
8271
8272 * dired.el (dired-mark-pop-up):
8273 Call display-buffer-below-selected with a fit-window-to-buffer alist
8274 entry.
8275
8276 2012-09-30 Chong Yidong <cyd@gnu.org>
8277
8278 * server.el (server-host): Document the security implications.
8279 (server-auth-key): Doc fix.
8280
8281 * startup.el (initial-buffer-choice): Doc fix.
8282
8283 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8284
8285 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8286 restriction change.
8287
8288 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8289
8290 * help-fns.el (help-fns--obsolete): Fix last change.
8291
8292 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8293
8294 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8295 (minor-mode-map-alist): Remove redundant code.
8296
8297 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8298 visited in a buffer.
8299 (cvs-insert-visited-file): New function.
8300 (find-file-hook): Use it.
8301
8302 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8303
8304 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8305 chose face.
8306 (log-edit-empty-buffer-p): Don't require a space after a header.
8307
8308 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8309
8310 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8311
8312 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8313 a proper minor-mode.
8314
8315 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8316
8317 2012-09-29 Glenn Morris <rgm@gnu.org>
8318
8319 * winner.el (winner-mode): Remove variable (let define-minor-mode
8320 handle it).
8321 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8322 Doc fixes.
8323 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8324 (winner-mode): Use define-minor-mode.
8325
8326 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8327 the full definition in loaddefs, rather than duplicating it.
8328
8329 * help-macro.el (three-step-help): No need to autoload defcustom.
8330
8331 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8332 (inferior-lisp-program, inferior-lisp-load-command)
8333 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8334 No need to autoload defcustoms.
8335
8336 * hippie-exp.el (hippie-expand-try-functions-list)
8337 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8338 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8339 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8340 (hippie-expand-only-buffers): No need to autoload defcustoms.
8341 * progmodes/vhdl-mode.el (vhdl-line-expand):
8342 Explicitly load hippie-exp, so it does not get autoloaded
8343 while hippie-expand-try-functions-list is let-bound.
8344
8345 2012-09-28 Glenn Morris <rgm@gnu.org>
8346
8347 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8348
8349 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8350 Only "cl.el" counts as cl these days.
8351
8352 2012-09-28 Juri Linkov <juri@jurta.org>
8353
8354 Display archive errors in the echo area instead of inserting
8355 to the file buffer.
8356
8357 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8358 to STDERR-TEST that can be a regexp matching a successful output.
8359 Create a temporary file and redirect stderr to it. Search for
8360 STDERR-TEST in the stderr output and display it in the echo area
8361 if no match is found.
8362 (archive-extract-by-file): New function like
8363 `archive-extract-by-stdout' but extracting archives to files
8364 and looking for successful matches in stdout. Function body is
8365 mostly copied from `archive-rar-extract'.
8366 (archive-rar-extract): Use `archive-extract-by-file'.
8367 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8368
8369 2012-09-28 Leo Liu <sdl.web@gmail.com>
8370
8371 * pcomplete.el (pcomplete-show-completions):
8372 Use minibuffer-message to make pcomplete usable in minibuffer.
8373
8374 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8375
8376 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8377
8378 * type-break.el: Use lexical-binding.
8379 (type-break-mode): Use define-minor-mode.
8380
8381 * emacs-lisp/pcase.el (pcase--mark-used): New.
8382 (pcase--u1): Use it (bug#12512).
8383
8384 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8385 in load-history with the right file name.
8386
8387 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8388
8389 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8390 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8391 (doc-view-get-bounding-box): Make bounding box slicing work for
8392 ODF and DVI documents.
8393
8394 2012-09-28 Glenn Morris <rgm@gnu.org>
8395
8396 * type-break.el (type-break-mode, type-break-interval)
8397 (type-break-good-rest-interval, type-break-keystroke-threshold):
8398 No need to autoload.
8399 (type-break-good-rest-interval, type-break-keystroke-threshold):
8400 Add :set-after.
8401
8402 2012-09-28 Chong Yidong <cyd@gnu.org>
8403
8404 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8405 Add :version tag.
8406
8407 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8408
8409 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8410
8411 2012-09-27 Glenn Morris <rgm@gnu.org>
8412
8413 * faces.el (x-display-name): Declare (for without-x builds).
8414
8415 * linum.el (linum-format): Don't autoload it. Improve :type.
8416
8417 * progmodes/tcl.el: Don't require outline when compiling.
8418 (outline-regexp, outline-level): Declare.
8419 * textmodes/sgml-mode.el: Don't require outline when compiling.
8420 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8421
8422 * term.el (term-ansi-reset):
8423 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8424
8425 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8426 files for RCS and SCCS. (Bug#9781)
8427
8428 2012-09-27 Chong Yidong <cyd@gnu.org>
8429
8430 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8431 change; value should be t.
8432
8433 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * image-mode.el: Use lexical-binding.
8436 (image-mode-winprops): Use t to stand for the window of
8437 a buffer that's not displayed.
8438 * doc-view.el (doc-view-new-window-function): Handle the new
8439 t in winprops.
8440 (doc-view-enlarge): Make it a real nop if the size is not changed.
8441 (doc-view-display): Handle the case where the buffer is not (yet?)
8442 displayed in any window.
8443 (doc-view-saved-settings): New var.
8444 (doc-view-mode): Use it.
8445 (doc-view-fallback-mode): Set it.
8446
8447 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8448 Set lexical-binding.
8449 (minibuffer-eldef-shorten-default): New var.
8450 (minibuffer-default-in-prompt-regexps): Use it for new default.
8451 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8452
8453 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8454
8455 * international/uni-bidi.el:
8456 * international/uni-category.el:
8457 * international/uni-name.el:
8458 * international/uni-numeric.el: Regenerate.
8459
8460 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8461 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * profiler.el: New file.
8464
8465 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8468 (testcover-reinstrument): Simplify with CSE.
8469
8470 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8471
8472 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8473
8474 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8475
8476 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8477 (verilog-auto-input, verilog-auto-insert-lisp)
8478 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8479 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8480 (verilog-auto-unused, verilog-auto-wire)
8481 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8482 newline. Reported by Andrew Jones.
8483 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8484 Reported by Brad Dobbie.
8485 (verilog-batch-delete-trailing-whitespace):
8486 Create verilog-batch-delete-trailing-whitespace.
8487 Reported by Brad Dobbie.
8488 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8489 parameters from another module. Reported by Dan Katz.
8490 (verilog-auto, verilog-auto-assign-modport)
8491 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8492 AUTOINOUTMODPORT for UVM interface module shell generation.
8493 Reported by Brad Dobbie.
8494 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8495 standard behavior.
8496 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8497 Reported by Matt Martin.
8498
8499 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8500
8501 * window.el (window--resize-child-windows): When resizing child
8502 windows proportionally, process them in reverse order to
8503 preserve the "when splitting a window the new one gets the odd
8504 line" behavior.
8505 (window--resize-root-window-vertically): When resizing the
8506 minibuffer window try to affect only windows at the bottom of the
8507 frame. (Bug#12419)
8508
8509 2012-09-25 Chong Yidong <cyd@gnu.org>
8510
8511 * subr.el (declare): Doc fix.
8512
8513 * help-fns.el (help-fns--obsolete): Handle macros properly.
8514
8515 2012-09-25 Chong Yidong <cyd@gnu.org>
8516
8517 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8518 this function obsolete.
8519
8520 * calendar/cal-x.el (calendar-two-frame-setup)
8521 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8522 * calendar/calendar.el (american-calendar, european-calendar)
8523 (calendar-for-loop):
8524 * comint.el (comint-dynamic-simple-complete)
8525 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8526 * desktop.el (desktop-load-default):
8527 * dired-x.el (dired-omit-here-always)
8528 (dired-hack-local-variables, dired-default-directory):
8529 * emacs-lisp/derived.el (derived-mode-class):
8530 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8531 * emacs-lock.el (toggle-emacs-lock):
8532 * epa.el (epa-display-verify-result):
8533 * epg.el (epg-sign-keys, epg-start-sign-keys)
8534 (epg-passphrase-callback-function):
8535 * eshell/esh-util.el (eshell-for):
8536 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8537 (eshell-add-to-window-buffer-names):
8538 * files.el (locate-file-completion):
8539 * imenu.el (imenu-example--create-c-index)
8540 (imenu-example--create-lisp-index)
8541 (imenu-example--lisp-extract-index-name)
8542 (imenu-example--name-and-position):
8543 * international/mule-cmds.el (princ-list):
8544 * international/mule-diag.el (decode-codepage-char):
8545 * international/mule-util.el (detect-coding-with-priority):
8546 * iswitchb.el (iswitchb-read-buffer):
8547 * mail/mailalias.el (mail-complete):
8548 * mail/sendmail.el (mail-sent-via):
8549 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8550 (mouse-major-mode-menu):
8551 * password-cache.el (password-read-and-add):
8552 * pcomplete.el (pcomplete-parse-comint-arguments):
8553 * progmodes/sh-script.el (sh-maybe-here-document):
8554 * replace.el (query-replace-regexp-eval):
8555 * savehist.el (savehist-load):
8556 * simple.el (choose-completion-delete-max-match):
8557 * term.el (term-dynamic-simple-complete):
8558 * vc/ediff-init.el (ediff-check-version):
8559 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8560 * vc/vc.el (vc-diff-switches-list):
8561 * view.el (view-return-to-alist-update): Likewise.
8562
8563 * subr.el (eval-next-after-load, makehash, insert-string)
8564 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8565 mark obsolete.
8566 (mode-line-inverse-video): Variable deleted.
8567
8568 * international/mule-util.el (string-to-sequence): Remove.
8569
8570 * calendar/calendar.el (calendar-version):
8571 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8572 (icalendar-convert-diary-to-ical):
8573 * cus-edit.el (custom-mode):
8574 * ansi-color.el (ansi-color-unfontify-region):
8575 * international/latin1-disp.el (latin1-char-displayable-p):
8576 * progmodes/cwarn.el (turn-on-cwarn-mode):
8577 * progmodes/which-func.el (which-func-update-1):
8578 Use define-obsolete-function-alias.
8579
8580 * net/newst-backend.el (newsticker-cache-filename):
8581 * net/newst-treeview.el (newsticker-groups-filename):
8582 Fix incorrect obsolescence declaration.
8583
8584 * allout.el (allout-passphrase-hint-string): Likewise.
8585 (allout-init): Use a declare form to mark obsolete.
8586
8587 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8588 this applies to functions.
8589
8590 * iswitchb.el (iswitchb-read-buffer): Move code of
8591 iswitchb-define-mode-map here, and delete that obsolete function.
8592
8593 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8594 font-lock-reference-face.
8595
8596 2012-09-25 Glenn Morris <rgm@gnu.org>
8597
8598 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8599 Doc fixes.
8600
8601 * eshell/em-term.el (eshell-term-name):
8602 Default to term-term-name. (Bug#12485)
8603
8604 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8605
8606 * progmodes/python.el (python-shell-send-buffer): Better handling
8607 of "if __name__ == '__main__':" conditionals when sending the buffer.
8608
8609 2012-09-24 Glenn Morris <rgm@gnu.org>
8610
8611 * eshell/esh-cmd.el (eshell-find-alias-function):
8612 Tighten up file-name regexp. (Bug#12499)
8613
8614 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8615
8616 Enhancements for triple-quote string syntax.
8617 * progmodes/python.el (python-quote-syntax): Remove.
8618 (python-syntax-propertize-function): New value.
8619 (python-syntax-count-quotes, python-syntax-stringify):
8620 New functions.
8621
8622 2012-09-24 Chong Yidong <cyd@gnu.org>
8623
8624 * mail/supercite.el (sc-version): Remove obsolete function.
8625 (sc-describe): Don't mark as obsolete, since it is bound.
8626 (sc-submit-bug-report): Remove.
8627
8628 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8629 (cvs-commit-buffer-require-final-newline): Remove.
8630 (log-edit-require-final-newline)
8631 (log-edit-changelog-full-paragraphs): Default to t.
8632
8633 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8634 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8635 * vc/vc.el (vc-checkout-carefully): Likewise.
8636
8637 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8638 (emerge-version): Remove.
8639
8640 * progmodes/compile.el (compile-internal): Remove.
8641 (compilation-parse-errors-function): Fix typo.
8642
8643 * international/mule.el (set-char-table-default): Remove.
8644 (set-coding-priority, make-coding-system, generic-char-p)
8645 (charset-list, charset-bytes, charset-id): Use declare to mark
8646 functions as obsolete.
8647
8648 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8649 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8650 * vc/vc-hooks.el (vc-default-registered): Don't use
8651 vc-master-templates.
8652
8653 * font-lock.el (font-lock-reference-face):
8654 Use define-obsolete-variable-alias.
8655
8656 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8657 * calendar/calendar.el (calendar-font-lock-keywords):
8658 * calendar/diary-lib.el (diary-font-lock-keywords)
8659 (diary-fancy-font-lock-keywords):
8660 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8661 * textmodes/reftex-index.el (reftex-insert-index):
8662 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8663 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8664 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8665 * progmodes/prolog.el (prolog-font-lock-keywords):
8666 * progmodes/idlwave.el (idlwave-idl-keywords):
8667 * progmodes/ada-mode.el (ada-font-lock-keywords):
8668 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8669
8670 2012-09-24 Glenn Morris <rgm@gnu.org>
8671
8672 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8673
8674 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8675
8676 * progmodes/python.el (python-indent-line): More consistent cursor
8677 movement behavior.
8678
8679 2012-09-23 Stefan Merten <smerten@oekonux.de>
8680
8681 * textmodes/rst.el: Fix compiler warning.
8682
8683 2012-09-23 Roland Winkler <winkler@gnu.org>
8684
8685 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8686 Transcribe also LaTeX hyphenation.
8687 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8688 bibtex-reformat-previous-options.
8689
8690 2012-09-23 Roland Winkler <winkler@gnu.org>
8691
8692 * proced.el (proced-renice-command): New variable.
8693 (proced-marked-processes): New function.
8694 (proced-with-processes-buffer): New macro.
8695 (proced-send-signal): Use them.
8696 (proced-renice): New command bound to r.
8697
8698 2012-09-23 Roland Winkler <winkler@gnu.org>
8699
8700 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8701 ibuffer-saved-filter-groups has one element, shortcut the call of
8702 completing-read. (Bug#12331)
8703
8704 2012-09-23 Chong Yidong <cyd@gnu.org>
8705
8706 * bindings.el (mode-line-toggle-read-only):
8707 * bs.el (bs-toggle-readonly):
8708 * buff-menu.el (Buffer-menu-toggle-read-only):
8709 * dired.el (dired-toggle-read-only):
8710 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8711
8712 2012-09-23 Chong Yidong <cyd@gnu.org>
8713
8714 * image.el (image-type-available-p): Adapt to init-image-library
8715 argument changes.
8716
8717 2012-09-22 Juri Linkov <juri@jurta.org>
8718
8719 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8720 `dired-toggle-read-only'. (Bug#12462)
8721
8722 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8723
8724 * subr.el (temp-output-buffer-show): New function.
8725 (with-output-to-temp-buffer): Call temp-output-buffer-show
8726 instead of internal-temp-output-buffer-show.
8727
8728 2012-09-22 Chong Yidong <cyd@gnu.org>
8729
8730 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8731 (Bug#12462).
8732
8733 * repeat.el (repeat): Doc fix (Bug#12348).
8734
8735 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8736 (Bug#10909).
8737
8738 * simple.el (shell-command-on-region): Doc fix.
8739 (read-only-mode): Doc fix.
8740
8741 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8742
8743 * emacs-lisp/timer.el (run-with-idle-timer)
8744 (timer-activate-when-idle): Warn against reinvoking an idle timer
8745 from within its own timer action. (Bug#12447)
8746
8747 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8748
8749 * cus-start.el (window-combination-limit): Add new optional
8750 values.
8751 * window.el (temp-buffer-window-show)
8752 (window--try-to-split-window): Handle new values of
8753 window-combination-limit (Bug#1806).
8754 (split-window): Test window-combination-limit for t instead of
8755 non-nil.
8756 (display-buffer-at-bottom): New buffer display action function.
8757 * help.el (temp-buffer-resize-regexps): New option.
8758 (temp-buffer-resize-mode): Rewrite doc-string.
8759 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8760 Don't resize reused window. Suggested by Glenn Morris.
8761
8762 2012-09-22 Stefan Merten <smerten@oekonux.de>
8763
8764 * textmodes/rst.el: Revamp section title faces.
8765 (rst-official-version)
8766 (rst-package-emacs-version-alist): Sync with official version
8767 V1.4.0.
8768 (rst-faces-defaults, rst-set-level-default)
8769 (rst-level-face-max, rst-level-face-base-color)
8770 (rst-level-face-base-light, rst-level-face-format-light)
8771 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8772 (rst-adornment-faces-alist): Match new setup.
8773 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8774 (rst-level-5, rst-level-6): New faces.
8775
8776 2012-09-22 Chong Yidong <cyd@gnu.org>
8777
8778 * simple.el (undo): Handle indirect buffers (Bug#8207).
8779
8780 2012-09-21 Leo Liu <sdl.web@gmail.com>
8781
8782 IDO: Disable match re-ordering for buffer switching.
8783 * ido.el (ido-buffer-disable-smart-matches): New variable.
8784 (ido-set-matches-1): Use it. (Bug#2042)
8785
8786 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8787
8788 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8789 Fix 2011-05-17 change. (Bug#12418)
8790
8791 2012-09-21 Leo Liu <sdl.web@gmail.com>
8792
8793 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8794
8795 2012-09-21 Glenn Morris <rgm@gnu.org>
8796
8797 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8798 Be more robust about locating simple.el.
8799
8800 2012-09-21 Glenn Morris <rgm@gnu.org>
8801
8802 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8803
8804 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8805
8806 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8807
8808 2012-09-20 Juri Linkov <juri@jurta.org>
8809
8810 * replace.el (query-replace-read-from): Use `read-regexp' instead
8811 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8812 (occur-read-primary-args): Use `read-regexp' instead of
8813 `read-string'.
8814 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8815 `read-from-minibuffer'.
8816 * isearch.el (isearch-occur): Use `read-regexp' instead of
8817 `read-string'.
8818 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8819 `read-from-minibuffer'.
8820 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8821 of `read-string'. (Bug#7567)
8822
8823 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8824 and allow accepting a list of strings prepended to a list of
8825 standard default values. Doc fix. (Bug#12321)
8826
8827 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8828
8829 * replace.el (read-regexp): Don't add ": " when PROMPT already
8830 ends with a colon and space. (Bug#12321)
8831
8832 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8833
8834 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8835 error.
8836
8837 2012-09-20 Stefan Merten <smerten@oekonux.de>
8838
8839 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8840 Fixes feature request bug#11711.
8841 (rst-mode): Create `imenu-create-index-function'.
8842 (rst-get-stripped-line): Delete after refactoring.
8843 (rst-section-tree, rst-section-tree-rec)
8844 (rst-section-tree-point): Refactor and document properly.
8845 (rst-imenu-find-adornments-for-position)
8846 (rst-imenu-convert-cell, rst-imenu-create-index):
8847 New function.
8848
8849 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8850
8851 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8852 (macroexp--expand-all): Use it.
8853 (macroexp--funcall-and-return): Remove by folding it into its sole
8854 caller (macroexp--warn-and-return).
8855 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8856 Use macroexp--obsolete-warning.
8857
8858 * calc/calc.el: Fix last change by removing the whole chunk, since it
8859 was only needed back when Calc was not bundled.
8860
8861 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8862
8863 * emacs-lisp/debug.el (debug): Restore assignment to
8864 debugger-old-buffer removed on 2012-09-08.
8865
8866 2012-09-20 Juri Linkov <juri@jurta.org>
8867
8868 * dired-aux.el (dired-diff): Remove (require 'diff) since
8869 `diff-latest-backup-file' is now autoloaded.
8870
8871 2012-09-20 Chong Yidong <cyd@gnu.org>
8872
8873 * vc/diff.el (diff-latest-backup-file): Autoload.
8874
8875 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * calc/calc.el: Remove redundant autoload shape check.
8878 (sel-mode): Don't defvar.
8879 (calc-get-stack-element): Add `sel-mode' arg instead.
8880 (calc-top, calc-top-list): Pass it this additional argument.
8881 * calc/calc-store.el (calc-store-map):
8882 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8883 (calc-map-equation, calc-outer-product, calc-inner-product):
8884 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8885
8886 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8887
8888 2012-09-19 Juri Linkov <juri@jurta.org>
8889
8890 * dired-aux.el (dired-diff): Add (require 'diff) because
8891 `diff-latest-backup-file' is not autoloaded.
8892 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8893 of `dired-get-filename' to t to not report error when there is
8894 no default file on the current line.
8895
8896 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8899 macroexp--eval-if-compile.
8900 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8901 (macroexp--expand-all): Use them (bug#12371).
8902
8903 * doc-view.el (doc-view-guess-paper-size)
8904 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8905
8906 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8907
8908 New feature: set optimal slice from BoundingBox information.
8909 * doc-view.el (doc-view-mode-map): Add keybinding.
8910 (doc-view-menu): Add menu entry.
8911 (doc-view-set-slice): Adapt docstring.
8912 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8913 (doc-view-scale-bounding-box)
8914 (doc-view-set-slice-from-bounding-box): New functions.
8915 (doc-view-paper-sizes): New defvar.
8916
8917 2012-09-19 Glenn Morris <rgm@gnu.org>
8918
8919 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8920 (byte-compile-log-warning): Autoload. (Bug#12371)
8921
8922 * calendar/calendar.el (calendar-american-month-header)
8923 (calendar-european-month-header, calendar-iso-month-header)
8924 (calendar-month-header): New options.
8925 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8926 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8927
8928 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8929
8930 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8931
8932 2012-09-18 Juri Linkov <juri@jurta.org>
8933
8934 * dired-aux.el (dired-diff): Restore original functionality of
8935 getting the default value, but keep new feature of using the
8936 latest existing backup file (`diff-latest-backup-file').
8937
8938 2012-09-18 Juri Linkov <juri@jurta.org>
8939
8940 * dired.el (dired-mark): If the region is active in Transient Mark
8941 mode, mark all files in the active region. Doc fix.
8942 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8943 Doc fix. (Bug#10624)
8944
8945 2012-09-18 Juri Linkov <juri@jurta.org>
8946
8947 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8948 attributes for M-n are pulled from the file at point.
8949 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8950 Suggested by Drew Adams. (Bug#10624)
8951
8952 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8953
8954 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8955 whitespace after "end".
8956 (ruby-do-end-to-brace): Collapse block to one line if it fits
8957 within fill-column.
8958
8959 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8960
8961 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8962 value.
8963 (debug): Don't remove debugger window when debugger is expected
8964 to be back.
8965
8966 2012-09-18 Chong Yidong <cyd@gnu.org>
8967
8968 * custom.el (defface): Doc fix.
8969
8970 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8971
8972 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8973
8974 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8975 to initialize query-on-exit; then test that instead (bug#12288).
8976
8977 2012-09-17 Stefan Merten <smerten@oekonux.de>
8978
8979 * textmodes/rst.el: Add support for `testcover'.
8980 (rst-defcustom-testcover, rst-testcover-add-compose)
8981 (rst-testcover-add-1value): New functions.
8982 (rst-portable-mark-active-p): Replace by `use-region-p'.
8983 (rst-update-section, rst-classify-adornment)
8984 (rst-find-title-line): Mark `1value' forms.
8985 (rst-classify-adornment): Remove superfluous form.
8986 (rst-update-section, rst-get-adornments-around)
8987 (rst-adornment-complete-p, rst-get-next-adornment)
8988 (rst-adjust, rst-promote-region)
8989 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8990 (rst-find-pfx-in-region, rst-section-tree-rec)
8991 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8992 (rst-toc-node, rst-toc, rst-forward-section)
8993 (rst-iterate-leftmost-paragraphs)
8994 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8995 (rst-bullet-list-region)
8996 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8997 (rst-compile-find-conf, rst-compile)
8998 (rst-repeat-last-character): Fix style.
8999
9000 2012-09-17 Chong Yidong <cyd@gnu.org>
9001
9002 * comint.el (comint--complete-file-name-data): Don't add a space
9003 if the status is `sole'; that adds a gratuitous space in the
9004 completion-cycling case (Bug#12092).
9005
9006 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9007
9008 2012-09-17 Richard Stallman <rms@gnu.org>
9009
9010 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9011 only in the mime-shown mode, not in raw mode.
9012 (rmail-mime): Toggle off mime by displaying the message without
9013 mime processing. (Bug#12305)
9014
9015 * mail/rmail.el (rmail-retry-failure):
9016 Turn off mime processing first. (Bug#12037)
9017
9018 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9019
9020 2012-09-17 Chong Yidong <cyd@gnu.org>
9021
9022 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9023 (shell-dynamic-complete-functions): Convert to defcustom.
9024 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9025
9026 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9027 * comint.el (comint-prompt-read-only):
9028 * custom.el (defcustom):
9029 * hi-lock.el (hi-lock-mode):
9030 * ibuffer.el (ibuffer-formats):
9031 * ielm.el (ielm-prompt-read-only):
9032 * novice.el (disable-command):
9033 * saveplace.el (toggle-save-place):
9034 * speedbar.el (speedbar-supported-extension-expressions):
9035 * startup.el (auto-save-list-file-prefix, init-file-user)
9036 (after-init-hook, inhibit-startup-echo-area-message):
9037 * strokes.el (strokes-help):
9038 * time-stamp.el (time-stamp):
9039 * calendar/calendar.el (calendar, diary-file):
9040 * calendar/diary-lib.el (diary-mail-entries, diary)
9041 (diary-list-entries-hook):
9042 * calendar/holidays.el (holidays, calendar-holidays):
9043 * calendar/lunar.el (lunar-phases):
9044 * calendar/solar.el (sunrise-sunset):
9045 * emulation/edt.el (edt-load-keys):
9046 * emulation/viper.el (viper-mode):
9047 * eshell/em-alias.el (eshell-command-aliases-list):
9048 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9049 * international/ogonek.el (ogonek-information):
9050 * net/tramp-cmds.el (tramp-bug):
9051 * net/quickurl.el (quickurl-reread-hook-postfix):
9052 * play/decipher.el (decipher-font-lock-keywords):
9053 * progmodes/cc-styles.el (c-set-style):
9054 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9055 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9056 * progmodes/octave-mod.el (octave-mode):
9057 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9058 * progmodes/verilog-mode.el (verilog-read-defines):
9059 * textmodes/two-column.el (2C-mode): Likewise.
9060
9061 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9062
9063 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9064 that holds many addresses.
9065
9066 2012-09-16 Chong Yidong <cyd@gnu.org>
9067
9068 * align.el (align-areas): Call the indication function with
9069 positions instead of markers for arguments (Bug#12343).
9070
9071 * files.el (parse-colon-path): Use split-string (Bug#12351).
9072
9073 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9074 (display-buffer-function): Mark as obsolete.
9075
9076 * progmodes/compile.el (compilation-parse-errors): Accept list
9077 values similar to font-lock-keywords (Bug#12136).
9078 Suggested by Oleksandr Manzyuk.
9079 (compilation-error-regexp-alist): Doc fix.
9080
9081 2012-09-15 Glenn Morris <rgm@gnu.org>
9082
9083 * version.el (emacs-bzr-version-bzr): New function.
9084 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9085
9086 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9087 checkouts, check the parent dirstate matches the branch.
9088 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9089 empty string.
9090
9091 * version.el (emacs-bzr-version): Doc fix.
9092 (emacs-bzr-version-dirstate): New function.
9093 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9094 is local try and check that it matches the branch. If not, just
9095 use dirstate information. (Bug#12441)
9096
9097 2012-09-14 Juri Linkov <juri@jurta.org>
9098
9099 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9100 (Bug#12399)
9101
9102 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9105
9106 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9107 Remove obsolete byte-compiler hack that tried to silence some warnings.
9108 (edebug-submit-bug-report): Remove.
9109 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9110 Remove aliases, use the un-prefixed name instead.
9111 (edebug-pop-to-buffer): Consider other frames.
9112 (edebug-original-read):: Make it more obvious that it's always defined.
9113 (edebug--make-form-data-entry, edebug--form-data-name)
9114 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9115 single-dashed name, and implement with cl-defstruct.
9116 (edebug-set-form-data-entry): Use the standard accessors.
9117 (edebug-make-top-form-data-entry): Use push.
9118 (edebug-no-match): Drop useless `funcall'.
9119 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9120 to functions.
9121 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9122 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9123 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9124 (easy-menu-define, with-custom-print): Remove redundant specs.
9125 (edebug-outside-overriding-local-map)
9126 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9127 (edebug--display): Bind unread-command-events directly to nil rather
9128 than binding it to unread-command-events and later setting it to nil.
9129 (edebug--display): Kill edebug-eval-buffer here...
9130 (edebug--recursive-edit): ...rather than here.
9131 Bind standard-output and standard-input.
9132 (edebug-eval): Check cl-macroexpand-all is fboundp.
9133 (edebug-temp-display-freq-count): Fix last change.
9134
9135 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9136 * subr.el (noreturn, 1value): Add `debug' spec.
9137 * emacs-lisp/advice.el: Require cl-lib.
9138 (ad-copy-tree): Remove, use copy-tree instead.
9139 (ad-dolist): Remove use dolist or cl-dolist instead.
9140 (ad-do-return): Remove, use cl-return instead.
9141 (defadvice): Add `debug' spec.
9142
9143 2012-09-13 Juri Linkov <juri@jurta.org>
9144
9145 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9146 (Bug#12399)
9147
9148 2012-09-13 Glenn Morris <rgm@gnu.org>
9149
9150 * calc/calc.el (math-compose-expr):
9151 * calc/calc-ext.el (math-compose-expr):
9152 * progmodes/cc-defs.el (cl-macroexpand-all):
9153 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9154 (cl-macroexpand-all): Update declarations.
9155
9156 * vc/vc.el: No need to require ediff.
9157 (ediff-load-version-control): Declare.
9158 (ediff-vc-internal): Fix declaration.
9159 (vc-version-ediff): Require ediff.
9160
9161 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9162
9163 Use a more backwards-compatible timer format (Bug#12430).
9164 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9165 being right after USECS, as that better supports old code that
9166 inadvisedly looked directly at the timer vector.
9167
9168 2012-09-13 Kenichi Handa <handa@gnu.org>
9169
9170 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9171 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9172 `coding-priority' property of these language environment.
9173
9174 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9175
9176 Fix glitches caused by addition of psec to timers (Bug#12430).
9177 * image.el (image-animate-timer):
9178 * time.el (display-time-world-timer):
9179 Use timer--function and timer--args rather than raw access to
9180 timer vector.
9181
9182 2012-09-13 Glenn Morris <rgm@gnu.org>
9183
9184 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9185 If not compiling a file, try using load-file-name.
9186
9187 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9188
9189 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9190 Fix last change.
9191 (edebug-update-eval-list): Use `push'.
9192
9193 * emacs-lisp/edebug.el: Use lexical-binding.
9194 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9195 Mark unused args with underscore.
9196 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9197 (edebug-form-data): Use defvar-local.
9198 (edebug-make-before-and-after-form, edebug-make-after-form):
9199 Use backquote.
9200 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9201 Not dynamically scoped any more.
9202 (edebug--enter-trace): Add arguments `function' and `args'.
9203 Rename from edebug-enter-trace.
9204 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9205 (edebug--update-coverage): Add `after-index' and `value' args.
9206 Rename from edebug-update-coverage.
9207 (edebug-slow-after): Call it accordingly.
9208 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9209 edebug-recursive-edit.
9210 (edebug--display): Call it accordingly. Add args `value',
9211 `offset-index', and `arg-mode'. Rename from edebug-display.
9212 (edebug-debugger, edebug): Call it accordingly.
9213 (edebug-eval-display-list): Use dolist.
9214
9215 2012-09-12 Juri Linkov <juri@jurta.org>
9216
9217 * info.el (Info-search): Don't check for isearch-mode and
9218 isearch-regexp before let-binding search-spaces-regexp to
9219 Info-search-whitespace-regexp.
9220 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9221 search-whitespace-regexp if isearch-lax-whitespace or
9222 isearch-regexp-lax-whitespace is non-nil.
9223 (Info-mode): Don't set local variable search-whitespace-regexp.
9224 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9225
9226 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9229 (debugger-env-macro): Remove support for unread-command-char.
9230
9231 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9232 the temporary map re-appearing on emulation-mode-map-alists.
9233
9234 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9235 since 22.1.
9236
9237 * ehelp.el (with-electric-help): Accept functions in
9238 electric-help-form-to-execute.
9239 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9240 And replace unread-command-char -> unread-command-events.
9241
9242 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9243
9244 Sync with Tramp 2.2.6.
9245
9246 * net/tramp.el (tramp-accept-process-output): Don't use
9247 JUST-THIS-ONE in the XEmacs case.
9248
9249 * net/trampver.el: Update release number.
9250
9251 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9252
9253 * emacs-lisp/debug.el (debugger-previous-window-height):
9254 New variable.
9255 (debug): When debugger-jumping-flag is non-nil try to restore
9256 height of debugger window. (Bug#8789)
9257
9258 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9261 overriding-local-map and pre/post-command-hook here.
9262 (edebug-recursive-edit): Do it here instead (bug#12345).
9263 (edebug-outside-unread-command-char): Remove all uses of
9264 unread-command-char.
9265
9266 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9267 inhibit-debugger is bound instead.
9268
9269 2012-09-11 Bastien Guerry <bzg@gnu.org>
9270
9271 * subr.el (set-temporary-overlay-map): Add a docstring.
9272 (Bug#12346)
9273
9274 2012-09-11 Bastien Guerry <bzg@gnu.org>
9275
9276 * minibuffer.el (completion-table-subvert): Fix docstring.
9277 (Bug#12347)
9278
9279 2012-09-11 Bastien Guerry <bzg@gnu.org>
9280
9281 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9282
9283 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9284
9285 * progmodes/sql.el: Version 3.1
9286 (sql-db2-escape-newlines): New variable.
9287 (sql-escape-newlines-filter): Use it.
9288
9289 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9290
9291 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9292
9293 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9294
9295 * vc/diff-mode.el (diff-mode-menu):
9296 Bind diff-remove-trailing-whitespace.
9297
9298 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9299
9300 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9301 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9302 (emacs-lisp-byte-code-mode): New functions.
9303 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9304 (eval-defun-2): Remove bogus interactive spec.
9305 (lisp-indent-line): Remove redundant whole-exp code, now done in
9306 indent-according-to-mode.
9307 (save-match-data): Remove redundant indent data.
9308
9309 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9310 Use `declare'.
9311
9312 2012-09-09 Juri Linkov <juri@jurta.org>
9313
9314 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9315 (replace-lax-whitespace, query-replace-regexp)
9316 (query-replace-regexp-eval, replace-regexp): Doc fix.
9317 (perform-replace, replace-highlight): Let-bind
9318 isearch-lax-whitespace to replace-lax-whitespace and
9319 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9320
9321 * isearch.el (isearch-query-replace): Let-bind
9322 replace-lax-whitespace to isearch-lax-whitespace and
9323 replace-regexp-lax-whitespace to
9324 isearch-regexp-lax-whitespace. (Bug#10885)
9325
9326 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9327
9328 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9329
9330 2012-09-09 Alan Mackenzie <acm@muc.de>
9331
9332 * progmodes/cc-engine.el (c-state-cache-init):
9333 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9334 (c-record-parse-state-state):
9335 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9336
9337 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9338
9339 * register.el (register-separator): Rename from
9340 separator-register. All uses changed. Doc fix.
9341 (register): Fix version.
9342
9343 2012-09-09 Chong Yidong <cyd@gnu.org>
9344
9345 * replace.el (query-replace-map): Bind four new symbols for
9346 requesting window scrolling.
9347
9348 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9349 query-replace-map (Bug#8948).
9350
9351 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9352
9353 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9354 since they are now in query-replace-map.
9355
9356 * window.el (scroll-other-window-down): Make the arg optional.
9357
9358 2012-09-09 Chong Yidong <cyd@gnu.org>
9359
9360 * files.el (hack-local-variables-confirm): Use quit-window to kill
9361 the *Local Variables* buffer.
9362
9363 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9364
9365 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9366 not just expect to be at its beginning. Adjust callees.
9367 Succeed when do-end block has no space before the pipe character.
9368 (ruby-brace-to-do-end): When the original block is one-liner,
9369 convert to multiline. Reindent the result.
9370
9371 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9372
9373 * register.el (register): New group.
9374 (separator-register): New user option.
9375 (increment-register): Route it to `append-to-register', if
9376 register contains text. Implication is that `C-x r +' can now be
9377 used for appending to a text register (bug#12217).
9378 (append-to-register, prepend-to-register): Add separator based on
9379 `separator-register'.
9380
9381 2012-09-08 Alan Mackenzie <acm@muc.de>
9382
9383 AWK Mode: make auto-newline work when there's "==" in the pattern.
9384 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9385 correctly.
9386 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9387 Test more rigorously for "=" token.
9388
9389 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9390
9391 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9392 Only fail when reached LIMIT.
9393
9394 2012-09-08 Chong Yidong <cyd@gnu.org>
9395
9396 * dired.el (dired-mode-map): Don't bind M-=.
9397
9398 * dired-aux.el (dired-diff): Use backup file as default.
9399
9400 2012-09-08 Drew Adams <drew.adams@oracle.com>
9401
9402 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9403
9404 2012-09-08 Chong Yidong <cyd@gnu.org>
9405
9406 * subr.el (syntax-after, syntax-class): Doc fix.
9407
9408 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9409
9410 * window.el (display-buffer-in-previous-window): New buffer
9411 display action function.
9412
9413 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9414 (debugger-previous-window): New variable.
9415 (debug): Rewrite using display-buffer-in-previous-window,
9416 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9417
9418 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9419
9420 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9421
9422 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9423
9424 * progmodes/python.el (python-shell-send-string):
9425 When default-directory is remote, create temp file on remote
9426 filesystem.
9427 (python-shell-send-file): When file is remote, pass local view of
9428 file paths to remote Python interpreter. (Bug#12340)
9429
9430 2012-09-07 Chong Yidong <cyd@gnu.org>
9431
9432 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9433
9434 * files.el (after-find-file): Don't fail on a read-only buffer if
9435 require-final-newline is `visit' or `visit-save' (Bug#11156).
9436
9437 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9438
9439 * userlock.el (ask-user-about-supersession-threat):
9440 Use read-char-choice (Bug#12093).
9441
9442 2012-09-07 Chong Yidong <cyd@gnu.org>
9443
9444 * subr.el (buffer-narrowed-p): New function.
9445
9446 * ses.el (ses-widen):
9447 * simple.el (count-words--buffer-message):
9448 * net/browse-url.el (browse-url-of-buffer): Use it.
9449
9450 * simple.el (count-words-region): Don't signal an error if there
9451 is a non-nil prefix arg and the mark is not set.
9452
9453 * help.el (describe-key-briefly): Allow the message to be seen
9454 when invoked from the minibuffer (Bug#7014).
9455
9456 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9457
9458 * progmodes/ruby-mode.el (ruby-end-of-defun)
9459 (ruby-beginning-of-defun): Simplify, allow indentation before
9460 block beginning and end keywords.
9461 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9462 (ruby-end-of-defun): Expect that the point is at the beginning of
9463 the defun.
9464
9465 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9466
9467 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9468 (bug#12367).
9469 (cl--make-usage-args): Strip _ from argument names.
9470
9471 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9472
9473 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9474 obsolete alias speedbar-key-map.
9475 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9476 (vhdl-index-menu-init): Don't use obsolete variable
9477 font-lock-maximum-size.
9478
9479 2012-09-06 Chong Yidong <cyd@gnu.org>
9480
9481 * frame.el (window-system-version): Mark as obsolete.
9482
9483 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9484 of obsolete variable speedbar-key-map.
9485
9486 2012-09-06 Juri Linkov <juri@jurta.org>
9487
9488 * replace.el (replace-lax-whitespace): New defcustom.
9489 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9490 (replace-string, replace-regexp): Mention it in docstrings.
9491 (perform-replace, replace-highlight): Let-bind
9492 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9493 to the values of replace-lax-whitespace and regexp-flag.
9494 Don't let-bind search-whitespace-regexp. (Bug#10885)
9495
9496 * isearch.el (isearch-query-replace): Let-bind
9497 replace-lax-whitespace instead of let-binding
9498 replace-search-function and replace-re-search-function.
9499 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9500 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9501 (isearch-toggle-symbol): Set isearch-regexp to nil
9502 in isearch-word mode (like in isearch-toggle-word).
9503
9504 2012-09-06 Juri Linkov <juri@jurta.org>
9505
9506 * replace.el (replace-search-function)
9507 (replace-re-search-function): Set default values to nil.
9508 (perform-replace): Let-bind isearch-related variables based on
9509 replace-related values, call `isearch-search-fun' and let-bind
9510 the result to `search-function'. Remove code that sets
9511 `search-function' and `search-string' separately for
9512 `delimited-flag'.
9513 (replace-highlight): Add new argument `delimited-flag' and
9514 rename other arguments to the names used in `perform-replace'.
9515 Let-bind `isearch-word' to the argument `delimited-flag'.
9516 (Bug#10885, bug#10887)
9517
9518 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9519
9520 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9521 ruby-beginning-of-indent, simplify, allow all keywords to have
9522 indentation before them.
9523 (ruby-beginning-of-indent): Adjust for above. Search until the
9524 found point is not inside a string or comment.
9525 (ruby-font-lock-keywords): Allow symbols to start with "@"
9526 character, give them higher priority than variables.
9527 (ruby-syntax-propertize-function)
9528 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9529 matchers. Expression expansions are not comments when inside a
9530 string, and there comment syntax status is irrelevant.
9531 (ruby-match-expression-expansion): New function. Check that
9532 expression expansion is inside a string, and it's not escaped.
9533 (ruby-font-lock-keywords): Use it.
9534
9535 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9536
9537 * help.el (temp-buffer-max-height): New default value.
9538 (temp-buffer-resize-frames): New option.
9539 (resize-temp-buffer-window): Optionally resize frame.
9540
9541 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9542 (fit-frame-to-buffer): New function.
9543
9544 2012-09-05 Glenn Morris <rgm@gnu.org>
9545
9546 * emulation/cua-rect.el (cua--init-rectangles):
9547 * textmodes/picture.el (picture-mode-map):
9548 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9549 like forward-char and backward-char. (Bug#12317)
9550
9551 2012-09-05 Leo Liu <sdl.web@gmail.com>
9552
9553 * progmodes/flymake.el (flymake-warning-re): New variable.
9554 (flymake-parse-line): Use it.
9555
9556 2012-09-05 Glenn Morris <rgm@gnu.org>
9557
9558 * calendar/holidays.el (holiday-christian-holidays):
9559 Rename an entry. (Bug#12289)
9560
9561 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9562
9563 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9564 (bug#12222).
9565
9566 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9567
9568 * loadup.el: Load macroexp. Remove hack.
9569 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9570 (macroexp--expand-all): Use it to get better warnings.
9571 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9572 (internal-macroexpand-for-load): New functions.
9573 (macroexp--pending-eager-loads): New var.
9574 (emacs-startup-hook): New hack to replace one in loadup.el.
9575 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9576 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9577 (cl-psetf): Simplify.
9578 (cl-defstruct): Add indent rule.
9579
9580 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9581
9582 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9583 over `user-mail-address' for the SMTP MAIL FROM envelope.
9584 (smtpmail-via-smtp): Ditto.
9585
9586 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9587
9588 * progmodes/ruby-mode.el: Clean up keybindings.
9589 (ruby-mode-map): Don't bind ruby-electric-brace,
9590 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9591 backward-kill-word, reindent-then-newline-and-indent.
9592 (ruby-mark-defun): Remove.
9593 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9594 (ruby-mode): Set local beginning-of-defun-function and
9595 end-of-defun-function values.
9596
9597 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9598
9599 * window.el (temp-buffer-window-setup-hook)
9600 (temp-buffer-window-show-hook): New hooks.
9601 (temp-buffer-window-setup, temp-buffer-window-show)
9602 (with-temp-buffer-window): New functions.
9603 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9604 (special-display-popup-frame): Make sure the window used shows BUFFER.
9605
9606 * help.el (temp-buffer-resize-mode): Fix doc-string.
9607 (resize-temp-buffer-window): New optional argument WINDOW.
9608
9609 * files.el (recover-file, save-buffers-kill-emacs):
9610 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9611
9612 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9613
9614 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9615 remote definition of `default-directory', ensure we can connect.
9616
9617 2012-09-02 Juri Linkov <juri@jurta.org>
9618
9619 Toggle whitespace matching mode with M-s SPC.
9620 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9621
9622 * isearch.el (search-whitespace-regexp): Doc fix.
9623 Remove cons cell customization.
9624 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9625 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9626 New variables.
9627 (isearch-forward, isearch-forward-regexp): Doc fix.
9628 (isearch-toggle-lax-whitespace): New command.
9629 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9630 (re-search-forward-lax-whitespace)
9631 (re-search-backward-lax-whitespace): New functions.
9632 (isearch-whitespace-regexp): Remove function.
9633 (isearch-query-replace): Let-bind replace-search-function and
9634 replace-re-search-function.
9635 (isearch-occur): Let-bind search-spaces-regexp according to the
9636 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9637 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9638 condition for C-q SPC.
9639 (isearch-search-fun-default): Use new functions mentioned above.
9640 (isearch-search-forward, isearch-search-backward): Remove functions.
9641 (isearch-search): Don't let-bind search-spaces-regexp.
9642 (isearch-lazy-highlight-space-regexp): Remove variable.
9643 (isearch-lazy-highlight-lax-whitespace)
9644 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9645 (isearch-lazy-highlight-new-loop): Use them.
9646 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9647
9648 2012-09-02 Chong Yidong <cyd@gnu.org>
9649
9650 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9651
9652 2012-09-02 Glenn Morris <rgm@gnu.org>
9653
9654 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9655
9656 2012-09-01 Glenn Morris <rgm@gnu.org>
9657
9658 * term.el: Tidy up menu definitions.
9659 (term-mode-map): Use easymenu for In/Out, Complete menus.
9660 (term-pager-break-map): Initialize in the defvar.
9661 (term-terminal-menu, term-signals-menu): Define with easymenu.
9662 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9663 (term-pager-menu): New, extracted from term-process-pager.
9664 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9665 (term-update-mode-line): Propertize line/char and page items.
9666 (term-process-pager): Move keymap initialization elsewhere.
9667
9668 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9669
9670 * window.el (switch-to-prev-buffer): Handle additional values of
9671 BURY-OR-KILL argument. Don't switch in minibuffer window.
9672 (switch-to-next-buffer): Don't switch in minibuffer window.
9673 (quit-restore-window): New function based on quit-window.
9674 Handle additional values of former KILL argument.
9675 (quit-window): Call quit-restore-window with appropriate
9676 interpretation of KILL argument.
9677 (display-buffer-below-selected): New buffer display action
9678 function.
9679
9680 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9681
9682 * minibuffer.el (completion-at-point-functions): Complete docstring
9683 (bug#12254).
9684
9685 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9686
9687 Better seed support for (random).
9688 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9689 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9690 * play/mpuz.el, play/tetris.el, play/zone.el:
9691 * calc/calc-comb.el (math-init-random-base):
9692 * play/blackbox.el (bb-init-board):
9693 * play/life.el (life):
9694 * server.el (server-use-tcp):
9695 * type-break.el (type-break):
9696 Remove unnecessary call to (random t).
9697 * net/sasl.el (sasl-unique-id-function):
9698 Change (random t) to (random), now that the latter is more random.
9699 * play/life.el (life-initialized): Remove no-longer-needed var.
9700
9701 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9702
9703 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9704 Consider frame's buffer predicate when choosing the buffer.
9705 (Bug#12081)
9706
9707 2012-08-30 Richard Stallman <rms@gnu.org>
9708
9709 * simple.el (special-mode-map): Delete binding for `z'.
9710
9711 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9712
9713 * progmodes/compile.el (compilation-always-kill): Doc fix.
9714
9715 2012-08-30 Chong Yidong <cyd@gnu.org>
9716
9717 * window.el (display-buffer-reuse-frames): Make the obsolescence
9718 message more informative.
9719
9720 2012-08-30 Glenn Morris <rgm@gnu.org>
9721
9722 * paren.el (show-paren-delay):
9723 Add a :set function. Doc fix. (Bug#12297)
9724
9725 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9726
9727 * progmodes/compile.el (compilation-always-kill): New var.
9728 (compilation-start): Use it.
9729
9730 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9731
9732 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9733 * files.el (read-only-mode): Move to simple.el.
9734
9735 * files.el (read-only-mode): New minor mode.
9736 (toggle-read-only): Use it and mark obsolete.
9737 (find-file--read-only):
9738 * vc/vc.el (vc-next-action, vc-checkout):
9739 * vc/vc-cvs.el (vc-cvs-checkout):
9740 * obsolete/vc-mcvs.el (vc-mcvs-update):
9741 * ffap.el (ffap--toggle-read-only): Update callers.
9742
9743 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9744
9745 * eshell/esh-ext.el (eshell-external-command): Do not examine
9746 remote shell scripts.
9747 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9748
9749 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9750 "/usr/local/sbin".
9751
9752 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9753
9754 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9755
9756 2012-08-28 Leo Liu <sdl.web@gmail.com>
9757
9758 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9759 completion-at-point. (Bug#12220)
9760
9761 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9762
9763 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9764
9765 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9768 be buffer-local; add delete-trailing-whitespace (bug#12259).
9769
9770 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9771
9772 * progmodes/hideif.el (hif-compress-define-list):
9773 Fix typo. (Bug#11951)
9774
9775 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9776
9777 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9778 buffer local setting.
9779
9780 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9781 rcirc-encode-coding-system.
9782
9783 2012-08-28 Leo Liu <sdl.web@gmail.com>
9784
9785 * net/rcirc.el (rcirc-split-message): New function.
9786 (rcirc-send-message): Use it. (Bug#12051)
9787
9788 2012-08-28 Juri Linkov <juri@jurta.org>
9789
9790 * info.el (Info-fontify-node): Hide empty lines at the end of
9791 the node. (Bug#12272)
9792
9793 2012-08-27 Drew Adams <drew.adams@oracle.com>
9794
9795 * dired.el (dired-pop-to-buffer): Make window start at beginning
9796 of buffer (Bug#12281).
9797
9798 2012-08-26 Chong Yidong <cyd@gnu.org>
9799
9800 * window.el (special-display-regexps, special-display-frame-alist)
9801 (special-display-buffer-names, special-display-function)
9802 (display-buffer-reuse-frames): Mark as obsolete.
9803
9804 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9805
9806 * help.el (help-print-return-message): Don't treat
9807 display-buffer-reuse-frames specially.
9808
9809 2012-08-26 Chong Yidong <cyd@gnu.org>
9810
9811 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9812 New variable, replacing gdb-frame-parameters.
9813 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9814 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9815 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9816 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9817 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9818 the functions directly with gdb-display-buffer-other-frame-action.
9819 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9820 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9821 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9822 (gdb-display-registers-buffer): Define directly.
9823 (def-gdb-display-buffer): Macro deleted.
9824 (gdb-display-buffer): Remove second and third args, callers don't
9825 use them. Defer to the default display-buffer behavior, apart
9826 from making windows dedicated.
9827 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9828
9829 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9830
9831 * window.el (display-buffer-pop-up-frame): Handle a
9832 pop-up-frame-parameters alist entry.
9833 (display-buffer): Document it.
9834
9835 2012-08-26 Chong Yidong <cyd@gnu.org>
9836
9837 * isearch.el (search-whitespace-regexp): Make string and nil
9838 values apply to both ordinary and regexp search. Allow a cons
9839 cell value to distinguish between the two.
9840 (isearch-whitespace-regexp, isearch-search-forward)
9841 (isearch-search-backward): New functions.
9842 (isearch-occur, isearch-search-fun-default, isearch-search)
9843 (isearch-lazy-highlight-new-loop): Use them.
9844 (isearch-forward, isearch-forward-regexp): Doc fix.
9845
9846 2012-08-26 Chong Yidong <cyd@gnu.org>
9847
9848 * faces.el (help-argument-name): Always inherit from italic
9849 (Bug#12213).
9850
9851 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9852
9853 * window.el (window--even-window-heights): Even heights when
9854 WINDOW and the selected window form a vertical combination.
9855 (display-buffer-use-some-window): Provide that window used gets
9856 sized back by quit-window. (Bug#11880) and (Bug#12091)
9857
9858 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9859
9860 Fix file time stamp problem with bzr and CVS (Bug#12001).
9861 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9862 in the file's time stamp, since the version control system loses
9863 that information.
9864
9865 2012-08-22 Juri Linkov <juri@jurta.org>
9866
9867 * info.el (Info-fontify-node): Hide the suffix of the
9868 Info file name in the header line. (Bug#12187)
9869
9870 2012-08-22 Glenn Morris <rgm@gnu.org>
9871
9872 * calendar/cal-tex.el (cal-tex-weekly-common):
9873 Restore leading blank page.
9874
9875 2012-08-22 Le Wang <l26wang@gmail.com>
9876
9877 * misc.el (forward-to-word, backward-to-word): Activate or extend
9878 the region under `shift-select-mode'. (Bug#12231)
9879
9880 2012-08-22 Bastien Guerry <bzg@gnu.org>
9881
9882 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9883 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9884 gives details on why the space is never needed.
9885
9886 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9887
9888 * window.el (walk-window-tree, window-with-parameter):
9889 New optional argument MINIBUF to control whether these functions
9890 should run on the minibuffer window.
9891 (window-at-side-list): Don't operate on minibuffer window.
9892 (window-in-direction): Simplify and rewrite doc-string.
9893 (window--size-ignore): Rename to window--size-ignore-p.
9894 Update callers.
9895 (display-buffer-in-atom-window, window--major-non-side-window)
9896 (window--major-side-window, display-buffer-in-major-side-window)
9897 (delete-side-window, display-buffer-in-side-window):
9898 New functions.
9899 (window--side-check, window-deletable-p, delete-window)
9900 (delete-other-windows, split-window): Handle side windows and
9901 atomic windows appropriately.
9902 (window--display-buffer): Call display-buffer-record-window also
9903 when the window buffer did not change.
9904
9905 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9906
9907 * help-fns.el (help-fns--key-bindings):
9908 Abbreviate non-symbol remap targets. (Bug#12174)
9909
9910 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9911
9912 * dired.el (dired-mark-remembered): Don't clobber point.
9913 (Bug#11795)
9914
9915 2012-08-22 Glenn Morris <rgm@gnu.org>
9916
9917 * progmodes/bug-reference.el (bug-reference): New custom group.
9918 (bug-reference-bug-regexp): Make it a defcustom.
9919
9920 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9921
9922 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9923 (js-paren-indent-offset, js-square-indent-offset)
9924 (js-curly-indent-offset): Add :safe (Bug#12257).
9925
9926 2012-08-22 Edward O'Connor <hober0@gmail.com>
9927
9928 * json.el (json-key-format): Add error properties.
9929 (json-encode-key): New function.
9930 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9931 Use json-encode-key.
9932
9933 2012-08-22 Glenn Morris <rgm@gnu.org>
9934
9935 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9936 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9937 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9938 Update for above change.
9939
9940 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9941
9942 * cus-face.el (custom-face-attributes): Fix customize type for the
9943 :underline attribute. (Bug#11805)
9944
9945 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9946
9947 * window.el (window-point-1, set-window-point-1): Remove.
9948 (window-in-direction, record-window-buffer)
9949 (set-window-buffer-start-and-point, split-window-below)
9950 (window--state-get-1, display-buffer-record-window):
9951 Replace calls to window-point-1 and set-window-point-1 by calls to
9952 window-point and set-window-point respectively.
9953
9954 2012-08-21 Glenn Morris <rgm@gnu.org>
9955
9956 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9957 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9958 Use it.
9959
9960 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9961 (cal-tex-shortday): New function.
9962 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9963 (cal-tex-cursor-filofax-daily): Use the above.
9964
9965 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9966 New functions.
9967 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9968 (cal-tex-cursor-filofax-week): Use them.
9969
9970 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9971 New constants.
9972 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9973 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9974
9975 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9976 (cal-tex-end-document): Don't rely on buffer name.
9977
9978 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9979 Use cal-tex-vspace.
9980 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9981 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9982 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9983 Use cal-tex-arg.
9984
9985 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9986 (cal-tex-cursor-week, cal-tex-cursor-week2)
9987 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9988 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9989 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9990 (cal-tex-insert-preamble, cal-tex-b-document)
9991 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9992 Improve cal-tex-cmd usage.
9993
9994 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9995 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9996 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9997 (cal-tex-weekly-paper): New function.
9998 (cal-tex-cursor-week, cal-tex-cursor-week2)
9999 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10000 (cal-tex-cursor-day): Use it.
10001
10002 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10003 (cal-tex-cursor-filofax-week): Remove leading blank page.
10004
10005 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10006 Add autoload cookie. For now at least, don't use color, since
10007 no other cal-tex function does.
10008
10009 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10010 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10011 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10012
10013 2012-08-21 Juri Linkov <juri@jurta.org>
10014
10015 * info.el (Info-file-attributes): New variable.
10016 (info-insert-file-contents): Add file attributes to
10017 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10018 `Info-toc-nodes' when previous modtime of the Info file is less
10019 than new modtime.
10020 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10021 of info.el. (Bug#12230)
10022
10023 2012-08-20 Glenn Morris <rgm@gnu.org>
10024
10025 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10026 * calendar/holidays.el (calendar-holiday-list):
10027 Report errors with display-warning rather than beep'n'sleep.
10028
10029 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10030
10031 * net/tramp.el (tramp-accept-process-output): Accept only output
10032 from PROC. Otherwise, process filters and sentinels might be
10033 confused. (Bug#12145)
10034
10035 2012-08-20 Chong Yidong <cyd@gnu.org>
10036
10037 * descr-text.el (describe-text-properties-1): Use overlays-in to
10038 report on empty overlays (Bug#3322).
10039
10040 2012-08-20 Glenn Morris <rgm@gnu.org>
10041
10042 * mail/rmailout.el (rmail-output-read-file-name):
10043 Trap and report errors in rmail-output-file-alist elements.
10044
10045 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10046 since most non-font-lock faces are not also variables).
10047
10048 2012-08-20 Edward Reingold <reingold@iit.edu>
10049
10050 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10051 New function. (Bug12160)
10052
10053 2012-08-19 Glenn Morris <rgm@gnu.org>
10054
10055 * mail/rmailout.el (rmail-output-read-file-name):
10056 Fix previous change (when the alist is nil or does not match).
10057
10058 2012-08-19 Chong Yidong <cyd@gnu.org>
10059
10060 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10061 (Bug#12228).
10062
10063 2012-08-18 Chong Yidong <cyd@gnu.org>
10064
10065 * simple.el (yank-handled-properties): New defcustom.
10066 (yank-excluded-properties): Add font-lock-face and category.
10067 (yank): Doc fix.
10068
10069 * subr.el (remove-yank-excluded-properties):
10070 Obey yank-handled-properties. The special handling of font-lock-face
10071 and category is now done this way, instead of being hard-coded.
10072 (insert-for-yank-1): Remove font-lock-face handling.
10073 (yank-handle-font-lock-face-property)
10074 (yank-handle-category-property): New function.
10075
10076 2012-08-17 Glenn Morris <rgm@gnu.org>
10077
10078 * mail/rmailout.el (rmail-output-read-file-name):
10079 Check rmail-output-file-alist against the full message body
10080 in the correct rmail buffer. (Bug#12214)
10081
10082 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10083
10084 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10085 Eliminate superfluous prompt. (Bug#12203)
10086
10087 2012-08-17 Chong Yidong <cyd@gnu.org>
10088
10089 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10090 font spec, set the font directly (Bug#3228).
10091
10092 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10093
10094 * window.el (delete-window): Fix last fix.
10095
10096 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10097
10098 * window.el (window-valid-p): Move to window.c.
10099 (window-child, window-child-count, window-last-child)
10100 (window-normalize-window, window-combined-p)
10101 (window-combinations, window-atom-root, window-min-size)
10102 (window-sizable, window-sizable-p, window-size-fixed-p)
10103 (window-min-delta, window-max-delta, window--resizable)
10104 (window--resizable-p, window-resizable, window-total-size)
10105 (window-full-height-p, window-full-width-p, window-body-size)
10106 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10107 (minimize-window, window-deletable-p, delete-window)
10108 (delete-other-windows, set-window-buffer-start-and-point)
10109 (next-buffer, previous-buffer, split-window, balance-windows-2)
10110 (set-window-text-height, window-buffer-height)
10111 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10112 (truncated-partial-width-window-p): Minor code adjustments.
10113 In doc-strings state whether the argument window has to denote a
10114 live, valid or any window.
10115
10116 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10117
10118 * progmodes/subword.el (subword-forward-function)
10119 (subword-backward-function, subword-forward-regexp)
10120 (subword-backward-regexp): New variables.
10121 (subword-forward, subword-forward-internal, subword-backward-internal):
10122 Use new variables, eg so that different "word" definitions
10123 can be easily used. (Bug#11411)
10124
10125 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10128 for composite selectors.
10129 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10130 operation just because we can't find a previous revision.
10131
10132 2012-08-15 Chong Yidong <cyd@gnu.org>
10133
10134 * frame.el (set-frame-font): Accept font objects.
10135
10136 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10137
10138 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10139
10140 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10141
10142 * man.el (Man-overstrike-face, Man-underline-face)
10143 (Man-reverse-face): Remove variables.
10144 (Man-overstrike, Man-underline, Man-reverse): New faces.
10145 (Man-fontify-manpage): Use them instead of the variables.
10146 (Man-cleanup-manpage): Comment change.
10147 (Man-ansi-color-map): New variable.
10148 (Man-fontify-manpage): Use it.
10149 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10150
10151 Implement ANSI SGR parameters 22-27 (bug#12146).
10152 * ansi-color.el (ansi-colors): Doc fix.
10153 (ansi-color-context, ansi-color-context-region): Doc fix.
10154 (ansi-color--find-face): New function.
10155 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10156 Rename the local variable `face' to `codes' since it is now a list of
10157 ansi codes. Doc fix.
10158 (ansi-color-get-face): Remove.
10159 (ansi-color-parse-sequence): New function, derived from
10160 ansi-color-get-face.
10161 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10162 codes 22-27.
10163
10164 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10165
10166 * subr.el (read-passwd): Allow use from a minibuffer.
10167
10168 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10169
10170 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10171 inside comments and strings as identifiers.
10172
10173 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10174 expression to evaluate. This allows to evaluate expressions with
10175 embedded whitespace.
10176 (gud-tooltip-tips): Add a blank before the newline in the
10177 message-box text, for the benefit of message-box emulation on
10178 MS-Windows.
10179
10180 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10181 messages from GDB, pop them up in a tooltip to give feedback to
10182 user.
10183 (gdb-tooltip-print-1): Quote the expression to evaluate.
10184 This allows to evaluate expressions with embedded whitespace.
10185 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10186 if the TTY name is nil or empty (which happens when communicating
10187 with the inferior via pipes, e.g. on MS-Windows).
10188 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10189 don't send that to the GUD buffer.
10190
10191 2012-08-14 Glenn Morris <rgm@gnu.org>
10192
10193 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10194 Optimize away setq-default with no args, as for setq. (Bug#12195)
10195
10196 2012-08-14 Chong Yidong <cyd@gnu.org>
10197
10198 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10199
10200 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10201 (Bug#12085).
10202
10203 2012-08-14 Glenn Morris <rgm@gnu.org>
10204
10205 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10206
10207 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10208
10209 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10210 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10211 Use cached shell name.
10212
10213 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10214
10215 * progmodes/python.el (python-shell-send-string):
10216 (python-shell-send-setup-code): Do not use `format' with `message'.
10217
10218 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10219
10220 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10221 (ruby-percent-literal-beg-re): New constant.
10222 (ruby-syntax-general-delimiters-goto-beg): Rename to
10223 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10224 (ruby-syntax-propertize-general-delimiters): Rename to
10225 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10226 popular term. Adjust comments everywhere.
10227 (ruby-syntax-propertize-percent-literal): Only propertize when not
10228 inside a simple string or comment. When the literal is unclosed,
10229 leave the text after it unpropertized.
10230 (ruby-syntax-methods-before-regexp): New constant.
10231 (ruby-syntax-propertize-function): Use it to recognize regexps.
10232 Don't look at the text after regexp, just use the whitelist.
10233
10234 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10235
10236 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10237 non-nil always load the compiled file if it exists. (Bug#12197)
10238
10239 2012-08-14 Chong Yidong <cyd@gnu.org>
10240
10241 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10242 (hi-lock-set-pattern): When deciding whether to use font lock or
10243 overlays, look at font-lock-mode instead of font-lock-fontified
10244 (Bug#12168).
10245 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10246 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10247
10248 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10249
10250 * subr.el (internal--after-with-selected-window): Fix typo
10251 (Bug#12193).
10252
10253 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10254
10255 Use `completion-table-dynamic' for completion functions.
10256 * progmodes/python.el
10257 (python-shell-completion--do-completion-at-point)
10258 (python-shell-completion--get-completions):
10259 Remove functions.
10260 (python-shell-completion-complete-at-point): New function.
10261 (python-completion-complete-at-point): Use it.
10262
10263 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10264
10265 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10266 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10267
10268 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10269
10270 * subr.el (function-get): Refine `autoload' arg so it can also
10271 autoload functions for gv.el (bug#12191).
10272 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10273 autoloads macros.
10274
10275 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10276 Prefer pcase-let over destructuring-bind.
10277 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10278 Also, remove whitespace as we go, rather than after accumulating the
10279 various places.
10280
10281 * subr.el (internal--before-with-selected-window)
10282 (internal--after-with-selected-window): Fix typo seleted->selected.
10283 (with-selected-window): Adjust callers.
10284 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10285
10286 2012-08-13 Bastien Guerry <bzg@gnu.org>
10287
10288 * window.el (special-display-popup-frame): Minor docstring
10289 enhancement. (Bug#12172)
10290
10291 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10292
10293 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10294 type 1-6.
10295 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10296 extended headers.
10297
10298 * files.el (hack-local-variables-filter): Remove useless eval.
10299
10300 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10301
10302 * subr.el (with-selected-window): Fix last change.
10303
10304 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10305
10306 * subr.el (internal--before-with-seleted-window)
10307 (internal--after-with-seleted-window): New functions.
10308 (with-selected-window): Use them, to replace dependency on
10309 tty-top-frame.
10310
10311 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10312
10313 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10314 binding for `newline'.
10315 (ruby-move-to-block): When moving backward, stop at block opening,
10316 not indentation.
10317 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10318 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10319 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10320 `ruby-toggle-block'.
10321
10322 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10323
10324 * ibuffer.el (ibuffer-do-toggle-read-only):
10325 * dired.el (dired-toggle-read-only):
10326 * buff-menu.el (Buffer-menu-toggle-read-only):
10327 * bindings.el (mode-line-toggle-read-only):
10328 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10329
10330 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10331
10332 * descr-text.el (describe-char): Put the overlays over the
10333 "displayed as" character.
10334
10335 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10336
10337 * calc/calc-units.el (math-default-units-table): Give an
10338 initial value.
10339 (math-put-default-units): Add options to put composite units and
10340 unit systems in the default units table.
10341 (calc-convert-units): Send composite units to
10342 `math-put-default-units' when appropriate.
10343
10344 2012-08-11 Glenn Morris <rgm@gnu.org>
10345
10346 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10347
10348 * tutorial.el (help-with-tutorial):
10349 * emacs-lisp/copyright.el (copyright-update-directory):
10350 * emacs-lisp/autoload.el (autoload-find-generated-file)
10351 (autoload-find-file): Disable local eval: (for insurance).
10352
10353 * files.el (hack-local-variables-filter): If an eval: form is not
10354 known to be safe, and enable-local-variables is :safe, then ignore
10355 the form totally, as is done for non-eval forms. (Bug#12155)
10356 This is CVE-2012-3479.
10357
10358 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10361 (rx-form): Simplify.
10362
10363 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10364
10365 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10366 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10367 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10368 (ruby-syntax-propertize-function): Adjust for changes in
10369 `ruby-syntax-propertize-heredoc'.
10370
10371 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10372
10373 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10374 binding (use `M-;' instead).
10375 (ruby-singleton-class-p): New function.
10376 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10377
10378 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10379
10380 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10381
10382 2012-08-10 Chong Yidong <cyd@gnu.org>
10383
10384 * progmodes/python.el (python-shell-get-process-name): Don't mess
10385 with same-window-buffer-names.
10386
10387 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10388 (eshell-remove-from-window-buffer-names): Make obsolete.
10389 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10390 (eshell): Just use pop-to-buffer-same-window instead.
10391
10392 2012-08-10 Chong Yidong <cyd@gnu.org>
10393
10394 * bindings.el: Bind M-= back to count-words-region.
10395
10396 * simple.el (count-words-region): Accept a prefix arg for acting
10397 on the entire buffer.
10398 (count-words--buffer-message): New helper function.
10399
10400 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10401
10402 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10403 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10404 (event-start, event-end): Use posn-at-point to return a more
10405 informative posn.
10406 (posnp): New function.
10407 * mouse.el (popup-menu-normalize-position): Use it.
10408
10409 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10410
10411 * mouse.el (popup-menu-normalize-position): New function.
10412 (popup-menu): Use `popup-menu-normalize-position' to normalize
10413 the form for POSITION argument.
10414
10415 * term/x-win.el (x-menu-bar-open):
10416 Use the value returend from (posn-at-point) as position
10417 passed to `popup-menu'.
10418
10419 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10420
10421 * calc/calccomp.el (math-compose-expr): Add extra argument
10422 indicating that parentheses should be put around products in
10423 denominators. Give multiplication precedence over division during
10424 composition.
10425
10426 2012-08-09 Chong Yidong <cyd@gnu.org>
10427
10428 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10429 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10430 (Man-untabify-command, manual-program): Convert to defcustom
10431 (Bug#10429).
10432
10433 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10434
10435 * descr-text.el (describe-char): Don't insert extra newlines
10436 (Bug#10127).
10437
10438 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10439 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10440
10441 * align.el (align-region): Delete temporary markers (Bug#10047).
10442 Plus some code cleanups.
10443
10444 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10445
10446 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10447 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10448 (python-shell-internal-last-output): Use make-local-variable
10449 instead of make-variable-buffer-local.
10450
10451 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10452
10453 * progmodes/python.el: Enhancements to forward-sexp.
10454 (python-nav-forward-sexp): Rename from
10455 python-nav-forward-sexp-function.
10456 (python-nav--forward-sexp, python-nav--backward-sexp):
10457 New functions.
10458
10459 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10460
10461 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10462 modes and simplification modes.
10463
10464 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10465
10466 * delsel.el (delete-selection-pre-hook): Don't propagate the
10467 file-supersession signals (bug#12161).
10468
10469 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10470
10471 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10472 (cl-map-extents): Add compatibility aliases (bug#12135).
10473
10474 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10475
10476 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10477 tests by `ignore-error'.
10478 (tramp-find-shell): Open also a new shell, when cache is already
10479 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10480
10481 2012-08-08 Juri Linkov <juri@jurta.org>
10482
10483 * bookmark.el: Add `defaults' property to the bookmark record.
10484 (bookmark-current-buffer): Doc fix.
10485 (bookmark-make-record): Add `defaults' property with default values
10486 to the bookmark record.
10487 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10488 with `bookmark-insert-current-bookmark'.
10489 (bookmark-set): Get `defaults' property from the bookmark record
10490 and use it in `read-from-minibuffer'.
10491 (bookmark-insert-current-bookmark): Remove function.
10492
10493 * info.el (Info-bookmark-make-record): Add `defaults' property
10494 with values of canonical Info node name, the current Info file
10495 name and the current Info node name. (Bug#12107)
10496
10497 2012-08-08 Juri Linkov <juri@jurta.org>
10498
10499 * files.el (basic-save-buffer): Use `buffer-name' as the default
10500 of `read-file-name' when buffer is not visiting a file (bug#12128).
10501
10502 2012-08-08 Juri Linkov <juri@jurta.org>
10503
10504 * info.el (Info-isearch-search): Doc fix.
10505 (Info-search): Change search-failed message from "initial node" to
10506 "end of node" (bug#12078).
10507 (Info-isearch-search): Change `isearch-string-state' to
10508 `isearch--state-string'.
10509
10510 2012-08-08 Glenn Morris <rgm@gnu.org>
10511
10512 * language/persian.el: Remove file.
10513 * language/misc-lang.el: Move unique part of persian.el here.
10514 * loadup.el: Remove language/persian.
10515
10516 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10517
10518 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10519
10520 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10521
10522 * progmodes/python.el: Fix defsubst warning.
10523 (python-syntax-context) Rename from python-info-ppss-context.
10524 (python-syntax-context-type): Rename from
10525 python-info-ppss-context-type.
10526 (python-syntax-comment-or-string-p): Rename from
10527 python-info-ppss-comment-or-string-p.
10528
10529 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10530
10531 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10532
10533 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10534
10535 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10536 a defcustom that is quoted with backquote.
10537
10538 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10539 Fix handling of interactive spec when the body uses return.
10540 (math-do-arg-check, math-define-function-body): Use backquote forms.
10541 * calc/calc-ext.el (math-defcache): Likewise.
10542 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10543 * allout.el (allout-new-exposure): Likewise.
10544 * calc/calcalg2.el (math-tracing-integral): Likewise.
10545 * info.el (Info-last-menu-item): Likewise.
10546 * emulation/vip.el (vip-loop): Likewise.
10547 * textmodes/artist.el (artist-funcall): Likewise.
10548 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10549 Construct menu-item directly.
10550
10551 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10552 Don't declare.
10553
10554 2012-08-07 Chong Yidong <cyd@gnu.org>
10555
10556 * simple.el (deactivate-mark): Preserve text properties when
10557 saving the primary selection (Bug#8384).
10558
10559 2012-08-07 Kevin Ryde <user42@zip.com.au>
10560
10561 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10562 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10563 and continue processing (Bug#12110).
10564
10565 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10566
10567 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10568 syntax-propertize-function (bug#10095).
10569
10570 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10571
10572 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10573 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10574 describe-function-1.
10575 (describe-function-1): Use them. Move compiler macro after sig.
10576 (help-fns--compiler-macro): Use function-get. Assume we're already in
10577 standard-output. Adjust layout to new call order.
10578
10579 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10580 re-binding a symbol that has a symbol-macro (bug#12119).
10581
10582 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10583
10584 * language/persian.el: New file. (Bug#11812)
10585 * loadup.el: Add language/persian.el.
10586
10587 2012-08-06 Chong Yidong <cyd@gnu.org>
10588
10589 * window.el (window--maybe-raise-frame): New function.
10590 (window--display-buffer): Split off from here.
10591 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10592 (display-buffer-pop-up-window, display-buffer-use-some-window):
10593 Obey an inhibit-switch-frame action alist entry.
10594 (display-buffer): Update doc.
10595
10596 * replace.el (occur-after-change-function): Avoid losing focus by
10597 using the inhibit-switch-frame display parameter (Bug#12139).
10598
10599 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10600
10601 Make internal shell process buffer names start with space.
10602 * progmodes/python.el (python-shell-make-comint): Add optional
10603 argument INTERNAL.
10604 (run-python-internal): Use it.
10605 (python-shell-internal-get-or-create-process): Check for new
10606 internal buffer names.
10607
10608 2012-08-06 Glenn Morris <rgm@gnu.org>
10609
10610 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10611 Do less getting and setting of environment variables.
10612
10613 2012-08-05 Chong Yidong <cyd@gnu.org>
10614
10615 * proced.el (proced): Add substitution string to docstring to
10616 trigger autoloading of the proced library on C-h f (Bug#1768).
10617
10618 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10619 Don't show defvars which have no second argument (Bug#8638).
10620
10621 * imenu.el (imenu-generic-expression): Move documentation here
10622 from imenu--generic-function.
10623 (imenu--generic-function): Refer to imenu-generic-expression.
10624
10625 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10626
10627 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10628 indentation declaration.
10629 (viper-loop): Add indentation declaration (Bug#7025).
10630
10631 2012-08-05 Chong Yidong <cyd@gnu.org>
10632
10633 * help-fns.el (describe-variable): Add hyperlink for
10634 directory-local variables files. Improve buffer-local and
10635 permanent-local reporting; suggested by MON KEY (Bug#6644).
10636
10637 * help-mode.el (help-dir-local-var-def): New button type.
10638
10639 * files.el (kill-buffer-hook): Provide a defvar.
10640
10641 2012-08-05 Glenn Morris <rgm@gnu.org>
10642
10643 * eshell/esh-ext.el (eshell/addpath):
10644 Also update eshell-path-env. (Bug#12013)
10645
10646 2012-08-05 Chong Yidong <cyd@gnu.org>
10647
10648 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10649
10650 * fringe.el (fringe-styles): Add docstring.
10651 (fringe--check-mode): New function.
10652 (set-fringe-mode, set-fringe-style): Use it.
10653 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10654
10655 * files.el (set-auto-mode): Fix invalid setq call.
10656
10657 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10658
10659 * isearch.el: Misc simplification; use defstruct.
10660 (isearch-mode-map): Dense maps now work like sparse ones.
10661 (isearch--state): New defstruct.
10662 (isearch-string-state, isearch-message-state, isearch-point-state)
10663 (isearch-success-state, isearch-forward-state)
10664 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10665 (isearch-wrapped-state, isearch-barrier-state)
10666 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10667 replaced by defstruct's accessors.
10668 (isearch--set-state): Rename from isearch-top-state and change
10669 calling convention.
10670 (isearch-push-state): Use new isearch--get-state.
10671 (isearch-toggle-word): Disable regexp when enabling word.
10672 (isearch-message-prefix): Remove unused arg _c-q-hack.
10673 (isearch-message-suffix): Remove unused arg _ellipsis.
10674
10675 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10676
10677 * simple.el (list-processes--refresh): For a server use :host or
10678 :local as the address.
10679 (list-processes): Doc fix.
10680
10681 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10682
10683 * lisp/mpc.el: Support password in host argument.
10684 (mpc--proc-connect): Parse and use new password element.
10685 Set mpc-proc variable instead of returning process.
10686 (mpc-proc): Adjust accordingly.
10687
10688 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10689
10690 * whitespace.el (whitespace-display-mappings): Use Unicode
10691 codepoints, instead of emacs-mule codepoints. See
10692 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10693 for the details.
10694
10695 * files.el (file-truename): Don't skip symlink-chasing part on
10696 windows-nt. Incorporate the resolution of 8+3 short aliases on
10697 Windows into the loop that recursively chases symlinks.
10698 Compare directory and its parent case-insensitively on MS-Windows and
10699 MS-DOS.
10700
10701 2012-08-03 Chong Yidong <cyd@gnu.org>
10702
10703 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10704
10705 * sort.el (sort-regexp-fields): Doc fix.
10706
10707 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10708
10709 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10710 labels regex position point at the expected place.
10711
10712 2012-08-03 MON KEY <monkey@sandpframing.com>
10713
10714 * net/imap.el (imap-interactive-login, imap-authenticate)
10715 (imap-mailbox-lsub, imap-mailbox-list)
10716 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10717 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10718 (imap-parse-response): Doc fix.
10719
10720 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10721
10722 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10723 if sexp scanning does not move point (Bug#5734).
10724
10725 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10726
10727 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10728 Add listings, minted, and ctable packages.
10729 (reftex-label-alist-builtin): Move listings, minted, and ctable
10730 entries before LaTeX.
10731 (reftex-label-alist): Docfix.
10732
10733 2012-08-02 Bastien Guerry <bzg@gnu.org>
10734
10735 * replace.el (occur): Fix docstring (bug#12122).
10736
10737 2012-08-02 Glenn Morris <rgm@gnu.org>
10738
10739 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10740
10741 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10742
10743 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10744 * international/mule-cmds.el: Create
10745 inactivate-current-input-method-function as an obsolete alias for
10746 deactivate-current-input-method-function. See Katsumi Yamaoka in
10747 <http://bugs.gnu.org/10150#46>.
10748
10749 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10750
10751 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10752 of nested `if's.
10753
10754 2012-08-01 Glenn Morris <rgm@gnu.org>
10755
10756 * progmodes/autoconf.el (autoconf-definition-regexp):
10757 Add AH_TEMPLATE, adjust submatch numbering.
10758 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10759 (autoconf-current-defun-function): Update for above change.
10760 (autoconf-current-defun-function): First skip to end of current word.
10761
10762 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10763
10764 * calendar/cal-html.el (cal-html-insert-agenda-days):
10765 Fix typo. (Bug#12018)
10766
10767 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10768
10769 Shell processes: enhancements to startup and CEDET compatibility.
10770 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10771 (python-shell-make-comint): accept-process-output at startup.
10772 (run-python-internal): Set inferior-python-mode-hook to nil.
10773 (python-shell-internal-get-or-create-process): call sit-for.
10774 (python-preoutput-result): Add obsolete alias.
10775 (python-shell-internal-send-string): Use it.
10776 (python-shell-send-setup-code): Remove call to
10777 accept-process-output.
10778
10779 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10780
10781 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10782 (Bug#12108)
10783
10784 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10785
10786 * calc-mode.el (calc-basic-simplification-mode): Rename from
10787 `calc-limited-simplification-mode'.
10788 (calc-alg-simplification-mode): New function.
10789 (calc-set-simplify-mode): Adjust message.
10790
10791 * calc.el (calc-set-mode-line): Adjust mode line display for
10792 basic simplification mode.
10793
10794 * calc-help.el (calc-m-prefix-help): Update help message.
10795
10796 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10797 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10798
10799 2012-07-31 Bastien Guerry <bzg@gnu.org>
10800
10801 * man.el (man): Fix comment. (bug#12101)
10802
10803 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10804
10805 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10806 Don't return a non-nil value when no suitable buffer was found.
10807
10808 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10809
10810 * progmodes/python.el (run-python-internal): Disable font lock for
10811 internal shells.
10812
10813 2012-07-30 Stefan Merten <smerten@oekonux.de>
10814
10815 * textmodes/rst.el: Silence `checkdoc-ispell'.
10816 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10817 (rst-official-version, rst-official-cvs-rev)
10818 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10819 (rst-mode-map): New key binding.
10820
10821 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10822
10823 Update .PHONY listings in makefiles.
10824 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10825 autoloads, update-subdirs, updates, bzr-update, update-authors,
10826 compile-onefile, compile-calc, backup-compiled-files,
10827 compile-after-backup, compile-one-process, mh-autoloads,
10828 bootstrap-clean, distclean, maintainer-clean.
10829
10830 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10831
10832 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10833 (calc-set-mode-line): Don't display "AlgSimp ".
10834
10835 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10836 (calc-lim-simplify-mode): New function.
10837 (calc-set-simplify-mode): Default to 'alg.
10838 (calc-default-simplify-mode): Make algebraic simplifications
10839 the default.
10840
10841 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10842 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10843
10844 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10845 indicate new simplification modes.
10846
10847 * calc/README: Mention new default simplification mode.
10848
10849 * calc/calc.el (math-normalize-error): New variable.
10850 (math-normalize): Set `math-normalize-error' to t
10851 when there's an error.
10852
10853 * calc/calc-alg.el (math-simplify): Don't simplify when
10854 `math-normalize' returns an error.
10855
10856 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10857
10858 * international/mule-cmds.el (set-locale-environment): Revert last
10859 change, since display-graphic-p returns nil when this function is
10860 called during startup. Instead...
10861
10862 * term/w32console.el (terminal-init-w32console): ...setup the
10863 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10864
10865 2012-07-29 Juri Linkov <juri@jurta.org>
10866
10867 * simple.el (goto-line): Don't display default line number in the
10868 prompt because it should be displayed by `read-number' (bug#9952).
10869 Add the current line number to the defaults of `goto-line' to
10870 allow its easier modification by users with `M-n' (bug#9201).
10871
10872 * subr.el (read-number): Support multiple default values like in
10873 other minibuffer reading functions. Replace `read' with
10874 `string-to-number' for consistency with `number-to-string'.
10875
10876 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10877
10878 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10879 * emulation/viper-init.el (viper-deactivate-input-method-action):
10880 Rename from viper-inactivate-input-method-action.
10881 (viper-deactivate-input-method):
10882 Rename from viper-inactivate-input-method.
10883 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10884 * international/mule-cmds.el (deactivate-input-method):
10885 Rename from inactivate-input-method.
10886 Also run input-method-deactivate-hook.
10887 (deactivate-current-input-method-function):
10888 Rename from inactivate-current-input-method-function.
10889 (input-method-deactivate-hook): New hook.
10890 (input-method-inactivate-hook): Mark obsolete.
10891 (inactivate-input-method): Mark obsolete.
10892
10893 * international/quail.el (quail-activate):
10894 Also run quail-deactivate-hook.
10895 (quail-deactivate): Rename from quail-inactivate.
10896 * international/robin.el (robin-activate):
10897 Also run robin-deactivate-hook.
10898 (robin-deactivate): Rename from robin-inactivate.
10899
10900 2012-07-29 Chong Yidong <cyd@gnu.org>
10901
10902 * simple.el (indicate-copied-region): New function.
10903 (kill-ring-save): Split off from here.
10904
10905 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10906 (kill-rectangle): Set deactivate-mark to t on read-only error.
10907
10908 * register.el (copy-to-register, copy-rectangle-to-register):
10909 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10910 (append-to-register, prepend-to-register): Call indicate-copied-region.
10911
10912 2012-07-29 Juri Linkov <juri@jurta.org>
10913
10914 * simple.el (async-shell-command-buffer): New defcustom.
10915 (shell-command): Use it. (Bug#4719)
10916
10917 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10918
10919 * international/mule-cmds.el (set-locale-environment): In a
10920 console session on MS-Windows, set up keyboard and terminal
10921 encoding from the OEM codepage, not the ANSI codepage.
10922 (Bug#12055)
10923
10924 2012-07-28 Chong Yidong <cyd@gnu.org>
10925
10926 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10927 gdb-get-location.
10928
10929 2012-07-28 Leo Liu <sdl.web@gmail.com>
10930
10931 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10932 the alist (bug#12029).
10933
10934 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10935
10936 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10937 (compile-always, compile-first)
10938 ($(lisp)/calendar/cal-loaddefs.el)
10939 ($(lisp)/calendar/diary-loaddefs.el)
10940 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10941 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10942 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10943 instead of on update-subdirs.
10944 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10945
10946 2012-07-28 Chong Yidong <cyd@gnu.org>
10947
10948 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10949 directory if vc-deduce-backend returns nil (Bug#7350).
10950
10951 * simple.el (delete-trailing-lines): New option.
10952 (delete-trailing-whitespace): Obey it (Bug#11879).
10953
10954 2012-07-28 David Engster <deng@randomsample.de>
10955
10956 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10957 Explanation of new 'symbol-qnames feature in doc-strings.
10958 (xml-maybe-do-ns): Return expanded names as plain symbols if
10959 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10960 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10961
10962 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10963
10964 Consistent completion in inferior python with emacs -nw.
10965 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10966 binding in inferior-python-mode-map with "\t".
10967 (python-shell-completion-complete-at-point)
10968 (python-completion-complete-at-point): Remove interactive spec.
10969
10970 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10971
10972 * calc/calccomp.el (math-compose-expr): Undo previous change.
10973
10974 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10975
10976 * progmodes/python.el (python-mode-map): Add keybinding for
10977 run-python.
10978 (python-shell-make-comint): Fix pop-to-buffer call.
10979 (run-python): Autoload. New arg SHOW.
10980 (python-shell-get-or-create-process): Do not pop python process
10981 buffer.
10982
10983 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10984
10985 * notifications.el (notifications-on-action-signal)
10986 (notifications-on-closed-signal): Use also the bus address for the map.
10987 (notifications-notify, notifications-close-notification)
10988 (notifications-get-capabilities): Add optional argument BUS.
10989
10990 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10991
10992 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10993 Add support for the lstlisting and minted environments, and for the
10994 ctable macro.
10995 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10996 labels written in keyvals syntax.
10997
10998 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10999
11000 * calc/calccomp.el (math-compose-expr): Use parentheses when
11001 there is a product in the denominator of a fraction.
11002
11003 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11004
11005 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11006 ($(lisp)/calendar/diary-loaddefs.el)
11007 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11008 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11009 Fixes failures in parallel bootstrap because subdirs.el is being
11010 rewritten while the autoload files are built at the same time,
11011 which needs to load subdirs.el.
11012
11013 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11014
11015 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11016 (mouse-drag-line): Don't exit tracking when a switch-frame or
11017 switch-window event occurs (Bug#12006).
11018
11019 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11020
11021 * mouse.el (popup-menu): Fix last change.
11022
11023 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11024
11025 Autoload from Lisp with more care. Follow aliases when looking for
11026 function properties.
11027 * subr.el (autoloadp): New function.
11028 (symbol-file): Use it.
11029 (function-get): New function.
11030 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11031 autoload-do-load.
11032 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11033 (lisp-indent-function):
11034 * emacs-lisp/gv.el (gv-get):
11035 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11036 * emacs-lisp/byte-opt.el (byte-optimize-form):
11037 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11038 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11039 Use function-get.
11040 * emacs-lisp/cl.el: Don't propagate function properties any more.
11041
11042 * speedbar.el (speedbar-add-localized-speedbar-support):
11043 * emacs-lisp/disass.el (disassemble-internal):
11044 * desktop.el (desktop-load-file):
11045 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11046 (describe-function-1):
11047 * emacs-lisp/find-func.el (find-function-noselect):
11048 * emacs-lisp/elp.el (elp-instrument-function):
11049 * emacs-lisp/advice.el (ad-has-proper-definition):
11050 * apropos.el (apropos-safe-documentation, apropos-macrop):
11051 * emacs-lisp/debug.el (debug-on-entry):
11052 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11053 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11054 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11055
11056 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11057
11058 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11059 function, not an obsolete variable (Bug#12046).
11060
11061 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11062
11063 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11064
11065 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11066
11067 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11068 window only if it is still live (Bug#12034).
11069
11070 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11071
11072 * subr.el (redirect-frame-focus): Add advertised calling
11073 convention (Bug#12030).
11074
11075 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11076
11077 Prefer typical American spelling for "acknowledgment".
11078 * vc/add-log.el (change-log-acknowledgment): Rename from
11079 change-log-acknowledgement, with an alias for the old name.
11080
11081 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11082
11083 * calc-alg.el (math-simplify-divide): Don't cross multiply
11084 in an equation when the lhs is a variable.
11085
11086 2012-07-24 Julien Danjou <julien@danjou.info>
11087
11088 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11089 Remove, unused.
11090
11091 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11092
11093 * startup.el (command-line): Don't display an empty user name in
11094 the error message about non-existent home directory, when
11095 init-file-user was set to an empty string. See
11096 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11097 for the details and context.
11098
11099 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11100
11101 * ses.el (ses-cell-formula-aset): New macro.
11102 (ses-cell-references-aset): New macro.
11103 (ses-cell-p): New function.
11104 (ses-rename-cell): Do no longer rely on complex operations like
11105 ses-cell-set-formula or ses-set-cell to change the cell and handle
11106 the undo at the same time, but rather use lower level new macros
11107 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11108 the undo directly. Refresh the mode line.
11109
11110 2012-07-21 Leo Liu <sdl.web@gmail.com>
11111
11112 * progmodes/cc-cmds.el (c-defun-name):
11113 Use match-string-no-properties instead for consistency.
11114
11115 2012-07-20 Leo Liu <sdl.web@gmail.com>
11116
11117 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11118 (Bug#7879)
11119
11120 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11121
11122 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11123
11124 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11125 * progmodes/bug-reference.el, misearch.el: Provide themselves
11126 (bug#11915).
11127
11128 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11129 of narrowed buffer (bug#11966).
11130
11131 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11132
11133 * ses.el (ses-rename-cell): Set new name also in reference list of
11134 cells of which the renamed cell depends.
11135
11136 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11137
11138 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11139 to check whether menu-bar is shown or not. If not shown,
11140 show the menu-bar as a popup menu instead of using tmm.
11141 * mouse.el (popup-menu): Accept `point' as `position' argument.
11142
11143 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11144
11145 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11146 up inside string symbol literal (bug#11923).
11147
11148 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11149
11150 * startup.el (fancy-startup-text): Read the whole tutorial, not
11151 just its first 256 bytes. Prevents gibberish in display of the
11152 tutorial title.
11153
11154 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11155
11156 Drop idle buffer compaction due to an absence of the
11157 proved efficiency.
11158 * compact.el: Remove.
11159
11160 2012-07-19 Sam Steingold <sds@gnu.org>
11161
11162 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11163 vc-bzr-pull & vc-bzr-merge-branch.
11164 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11165 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11166 for consistency with compilation-error-regexp-alist.
11167 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11168 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11169 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11170 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11171
11172 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11173
11174 * emacs-lisp/chart.el: Use lexical-binding.
11175 (chart-emacs-storage): Don't hardcode the list of entries.
11176
11177 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11178
11179 Next round of tweaks caused by Fgarbage_collect changes.
11180 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11181
11182 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11183
11184 Compact buffers when idle.
11185 * compact.el: New file.
11186
11187 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11188
11189 * subr.el (eventp): Presume that if it looks vaguely like an event,
11190 it's an event (bug#10190).
11191
11192 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11193
11194 Enhancements to ppss related code (thanks Stefan).
11195 * progmodes/python.el (python-indent-context)
11196 (python-indent-calculate-indentation, python-indent-dedent-line)
11197 (python-indent-electric-colon, python-nav-forward-block)
11198 (python-mode-abbrev-table)
11199 (python-info-assignment-continuation-line-p): Simplify checks
11200 for ppss context.
11201 (python-info-continuation-line-p): Cleanup.
11202 (python-info-ppss-context): Do not catch 'quote.
11203 (python-info-ppss-context-type)
11204 (python-info-ppss-comment-or-string-p): Simplify.
11205
11206 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11207
11208 * progmodes/python.el: Enhancements to eldoc support.
11209 (python-info-current-symbol): New function.
11210 (python-eldoc-at-point): Use python-info-current-symbol.
11211 (python-info-current-defun): Fix cornercase on first defun scan.
11212 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11213 and signal error when no inferior python process is available.
11214
11215 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11216
11217 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11218 assume it's always t.
11219 (vc-git-registered): Remove caching, the function is only called
11220 once.
11221 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11222
11223 2012-07-18 Chong Yidong <cyd@gnu.org>
11224
11225 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11226
11227 * simple.el (count-words): Report on narrowing (Bug#9959).
11228
11229 * bindings.el: Bind M-= to count-words.
11230
11231 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11232
11233 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11234
11235 * progmodes/sh-script.el (sh-imenu-generic-expression):
11236 Capture a function with `function' keyword and without parentheses
11237 like "function FOO" (bug#11856).
11238
11239 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11240
11241 * window.el (split-window-sensibly): Make WINDOW argument
11242 optional.
11243
11244 2012-07-18 Chong Yidong <cyd@gnu.org>
11245
11246 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11247
11248 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11249 and make C-x 8 RET exit isearch (Bug#11439).
11250
11251 * international/iso-transl.el: Move isearch-mode-map key
11252 definitions to isearch.el.
11253
11254 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11255
11256 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11257 (eieio-defclass): Use gv-define-setter when possible.
11258
11259 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11260
11261 Reflect recent changes in Fgarbage_collect.
11262 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11263 reflect new format of data returned by Fgarbage_collect.
11264
11265 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11266
11267 New utility functions + python-info-ppss-context fix (Bug#11910).
11268 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11269 (python-info-ppss-comment-or-string-p): New functions.
11270 (python-info-ppss-context): Small fix for string check.
11271
11272 2012-07-17 Juri Linkov <juri@jurta.org>
11273
11274 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11275 (dired-do-async-shell-command): Don't add `*' at the end of the
11276 command (Bug#11815).
11277 (dired-do-shell-command): Doc fix.
11278 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11279 Join the individual commands using either "&" or ";" as the
11280 separator depending on the values of these trailing characters.
11281 At the end re-add the trailing "&". (Bug#10598)
11282
11283 * simple.el (async-shell-command): Sync the interactive spec with
11284 `shell-command'. Doc fix.
11285 (shell-command): Doc fix.
11286
11287 2012-07-17 Juri Linkov <juri@jurta.org>
11288
11289 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11290
11291 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11292
11293 Final renames and doc fixes for movement commands (bug#11899).
11294 * progmodes/python.el (python-nav-beginning-of-statement):
11295 Rename from python-nav-statement-start.
11296 (python-nav-end-of-statement): Rename from
11297 python-nav-statement-end.
11298 (python-nav-beginning-of-block): Rename from
11299 python-nav-block-start.
11300 (python-nav-end-of-block): Rename from python-nav-block-end.
11301
11302 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11303
11304 * progmodes/python.el (python-shell-send-string-no-output):
11305 Allow accept-process-output to quit, keeping shell process ready for
11306 future interactions (Bug#11868).
11307
11308 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11309
11310 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11311
11312 * emacs-lisp/elint.el (elint-find-args-in-code):
11313 Use help-function-arglist, so as to handle lexical byte-code.
11314
11315 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11316 change (bug#11826).
11317
11318 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11319
11320 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11321 Avoid spuriously marking the buffer as modified because of c-is-sws.
11322
11323 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11324 as not-a-comment (bug#11946).
11325
11326 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11327 for uninterned vars.
11328
11329 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11330 Use read-event since we don't really want to read chars but bytes.
11331
11332 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11333 $$..$$ but also $..$ using regexps (bug#11953).
11334 Use tex-verbatim for \url and \path.
11335 (tex-font-lock-keywords): Define as defconst like the others.
11336 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11337
11338 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11339
11340 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11341 alias for insert-char.
11342
11343 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11344
11345 * progmodes/python.el: Simplified imenu implementation.
11346 (python-nav-jump-to-defun): Remove command.
11347 (python-mode-map): Use `imenu' instead.
11348 (python-nav-list-defun-positions-cache)
11349 (python-imenu-include-defun-type, python-imenu-make-tree)
11350 (python-imenu-subtree-root-label, python-imenu-index-alist):
11351 Remove vars.
11352 (python-nav-list-defun-positions, python-nav-read-defun)
11353 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11354 (python-imenu-make-tree, python-imenu-create-index):
11355 Remove functions.
11356 (python-mode): Update to interact with imenu by setting
11357 `imenu-extract-index-name-function' only.
11358
11359 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11360
11361 * progmodes/python.el: Enhancements to navigation commands.
11362 (python-nav-backward-sentence)
11363 (python-nav-forward-sentence): Remove.
11364 (python-nav-backward-statement, python-nav-forward-statement)
11365 (python-nav-statement-start, python-nav-statement-end)
11366 (python-nav-backward-block, python-nav-forward-block)
11367 (python-nav-block-start, python-nav-block-end)
11368 (python-nav-forward-sexp-function)
11369 (python-info-current-line-comment-p)
11370 (python-info-current-line-empty-p): New functions.
11371 (python-indent-context): Use `python-nav-statement-start'.
11372
11373 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11374
11375 * eshell/em-ls.el (eshell/ls): Use `apply'.
11376
11377 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11378 multi-hops, instead of Tramp internals.
11379
11380 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11381
11382 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11383 when F1 and F2 are located on different hosts.
11384
11385 2012-07-14 Chong Yidong <cyd@gnu.org>
11386
11387 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11388 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11389 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11390 (xterm-mouse--read-event-sequence-1000)
11391 (xterm-mouse--read-event-sequence-1006): New functions. For old
11392 mouse protocol, handle M-mouse-X events correctly.
11393 (xterm-mouse-event): New arg specifying mouse protocol.
11394 (turn-on-xterm-mouse-tracking-on-terminal)
11395 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11396 sequence to toggle extended coordinates on newer XTerms.
11397 This appears to be harmless on terminals which do not support this.
11398
11399 2012-07-14 Leo Liu <sdl.web@gmail.com>
11400
11401 Add fringe bitmap indicators for flymake. (Bug#11253)
11402 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11403 (flymake-make-overlay): New arg BITMAP.
11404 (flymake-error-bitmap, flymake-warning-bitmap)
11405 (flymake-fringe-indicator-position): New user variables.
11406
11407 * fringe.el: New bitmap exclamation-mark.
11408
11409 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11410
11411 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11412 also (Bug#7879).
11413
11414 2012-07-14 Chong Yidong <cyd@gnu.org>
11415
11416 * electric.el (electric-pair-post-self-insert-function): Fix pair
11417 insertion in empty-region case (Bug#11520).
11418
11419 2012-07-14 Chong Yidong <cyd@gnu.org>
11420
11421 * bindings.el: Consolidate ctl-x-r-map bindings.
11422 Bind copy-rectangle-as-kill to C-x r w.
11423
11424 * rect.el, register.el: Move bindings to bindings.el.
11425
11426 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11427
11428 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11429
11430 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11431
11432 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11433
11434 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11435
11436 * bindings.el (top): Use `mapc' instead of `mapcar'.
11437
11438 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11439
11440 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11441
11442 * progmodes/sql.el (sql-comint): Suppress the check for program on
11443 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11444 (Bug#11908)
11445
11446 2012-07-13 Chong Yidong <cyd@gnu.org>
11447
11448 * bindings.el: Assign a non-nil permanent-local property to
11449 per-buffer variables which lack a default value (Bug#11930).
11450
11451 * help-fns.el (describe-variable): In the "automatically becomes
11452 local" notice, take note of permanent-local variables.
11453
11454 2012-07-13 Chong Yidong <cyd@gnu.org>
11455
11456 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11457 to allow printing the message when called from Lisp.
11458
11459 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11460 Remove toggle-read-only.
11461
11462 * bs.el (bs-toggle-readonly):
11463 * buff-menu.el (Buffer-menu-toggle-read-only):
11464 Remove with-no-warnings around toggle-read-only.
11465
11466 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11467 Remove with-no-warnings around toggle-read-only.
11468 (ffap-read-only, ffap-read-only-other-window)
11469 (ffap-read-only-other-frame): Callers changed.
11470
11471 * help-mode.el: Don't require view package.
11472 (help-mode-finish): Set buffer-read-only instead of calling
11473 toggle-read-only.
11474
11475 * bindings.el (mode-line-toggle-read-only):
11476 * dired.el (dired-toggle-read-only):
11477 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11478 with non-nil second arg.
11479
11480 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11481 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11482 directly.
11483
11484 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11485
11486 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11487 not incf.
11488
11489 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11490
11491 More CL cleanups and reduction of use of cl.el.
11492 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11493 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11494 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11495 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11496 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11497 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11498 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11499 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11500 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11501 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11502 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11503 * eshell/em-cmpl.el, eshell/em-banner.el:
11504 * calendar/parse-time.el: Use cl-lib.
11505 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11506 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11507 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11508 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11509 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11510 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11511 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11512 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11513 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11514 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11515 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11516 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11517 `lambda' rather than with `quote'.
11518 (eshell-do-opt): Adjust accordingly.
11519 (eshell-process-option): Simplify.
11520 * eshell/esh-var.el:
11521 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11522 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11523 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11524 to `pcase--dontcare'.
11525 * emacs-lisp/cl.el (labels): Mark obsolete.
11526 (cl--letf, letf): Move to cl-lib.
11527 (cl--letf*, letf*): Remove.
11528 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11529 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11530 (cl-progv): Rewrite.
11531 (cl--letf, cl-letf): Move from cl.el.
11532 (cl-letf*): New macro.
11533 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11534
11535 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11536
11537 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11538
11539 2012-07-11 Chong Yidong <cyd@gnu.org>
11540
11541 * vc/log-edit.el (log-edit-vc-backend): New variable.
11542 (log-edit): Doc fix.
11543
11544 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11545 argument of log-edit to set up all local variables.
11546 (vc-start-logentry): New optional arg specifying VC backend.
11547
11548 * vc/vc.el (vc-checkin): Use it.
11549 (vc-deduce-fileset): Handle Log Edit buffers.
11550 (vc-diff): Make first argument optional too.
11551
11552 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11553
11554 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11555
11556 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11557 command, just in case. The function is not needed anymore.
11558 (eshell-external-command): Do not call `eshell-remote-command'.
11559
11560 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11561
11562 Reduce use of (require 'cl).
11563 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11564 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11565 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11566 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11567 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11568 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11569 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11570 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11571 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11572 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11573 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11574 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11575 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11576 (byte-compile-unfold-bcf, byte-compile-check-variable):
11577 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11578 (byte-compile-nilconstp):
11579 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11580 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11581
11582 * emacs-lisp/gv.el (cond): Make it a valid place.
11583 (if): Simplify slightly.
11584
11585 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11586 (pcase--self-quoting-p): New function.
11587 (pcase--u1): Use it.
11588
11589 2012-07-10 Glenn Morris <rgm@gnu.org>
11590
11591 * emacs-lisp/authors.el (authors-fixed-entries):
11592 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11593
11594 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11595
11596 Rename configure.in to configure.ac (Bug#11603).
11597 * emacs-lisp/authors.el (authors-canonical-file-name):
11598 * progmodes/autoconf.el (autoconf-mode):
11599 Prefer configure.ac to configure.in.
11600
11601 2012-07-08 Chong Yidong <cyd@gnu.org>
11602
11603 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11604 Implement the mouse-1-click-follows-link handling properly.
11605
11606 * info.el (Info-link-keymap): Use follow-link mechanism for
11607 header-line links (Bug#374).
11608
11609 * simple.el (deactivate-mark): Do not set the primary selection
11610 if another program has acquired it (Bug#11772).
11611
11612 2012-07-07 Kevin Ryde <user42@zip.com.au>
11613
11614 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11615 (woman-decode-region): Replace escaped-escapes without destroying
11616 bold or underline (Bug#11552).
11617 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11618
11619 2012-07-07 Chong Yidong <cyd@gnu.org>
11620
11621 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11622 (interprogram-cut-function, interprogram-paste-function):
11623 Mention that we typically mean the clipboard.
11624
11625 2012-07-06 Glenn Morris <rgm@gnu.org>
11626
11627 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11628
11629 * files.el (toggle-read-only): Restrict message to interactive use.
11630
11631 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11632
11633 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11634
11635 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11636
11637 2012-07-06 Glenn Morris <rgm@gnu.org>
11638
11639 * Makefile.in (compile-one-process): Rename from "recompile".
11640
11641 * Makefile.in (bzr-update): "compile" is the same as "recompile
11642 autoloads", but parallelizable, so use that instead.
11643
11644 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11645
11646 * window.el (quit-window): Always restore window height when
11647 it's saved in quit-restore parameter (Bug#11810).
11648
11649 2012-07-06 Glenn Morris <rgm@gnu.org>
11650
11651 * simple.el (kill-whole-line): Doc tweak.
11652
11653 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11654
11655 * files.el (file-relative-name): Compare file names
11656 case-insensitively if on MS-Windows or MS-DOS, or if
11657 read-file-name-completion-ignore-case is non-nil. Don't use
11658 case-fold-search for this purpose. (Bug#11827)
11659
11660 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11661
11662 * calendar/cal-dst.el (calendar-current-time-zone):
11663 Return calendar-current-time-zone-cache if non-nil.
11664
11665 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11666 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11667
11668 * calendar/cal-dst.el (calendar-current-time-zone):
11669 Return calendar-current-time-zone-cache if non-nil.
11670
11671 2012-07-06 Glenn Morris <rgm@gnu.org>
11672
11673 * Makefile.in (cvs-update): Remove old alias.
11674
11675 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11676
11677 Sync with Tramp 2.2.6-pre.
11678
11679 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11680 compatible declaration.
11681
11682 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11683 Protect `list-load-path-shadows' call.
11684
11685 * net/tramp-compat.el (top): Require packages, which aren't
11686 autoloaded anymore for XEmacs. Protect call of
11687 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11688 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11689 it hurts at least for SXEmacs.
11690 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11691 standard-value for `temporary-file-directory'.
11692
11693 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11694 Redirect stderr to /dev/null.
11695 (tramp-sh-handle-write-region): uid and gid can be floats.
11696 Reported by Russell Sim <russell.sim@gmail.com>.
11697 (tramp-sh-handle-vc-registered): Hide errors.
11698 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11699 and `start-file-process'.
11700 (tramp-maybe-open-connection): Check also whether `non-essential'
11701 is bound.
11702
11703 2012-07-04 Chong Yidong <cyd@gnu.org>
11704
11705 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11706 (xml-parse-tag): Likewise, and avoid changing entity tables.
11707 (xml-syntax-table): Define from scratch, making sure not to give
11708 x2000 and other Unicode spaces whitespace syntax, since those are
11709 not spaces in XML.
11710 (xml-parse-fragment): Delete unused function.
11711 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11712 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11713 (xml-entity-ref, xml-pe-reference-re)
11714 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11715 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11716 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11717 (xml-entity-value-re): Use syntax references in regexps where
11718 possible; no need to define inside a let-binding.
11719 (xml-parse-dtd): Use xml-pe-reference-re.
11720 (xml-entity-or-char-ref-re): New defconst.
11721 (xml-parse-string, xml-substitute-special): Use it.
11722
11723 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11724
11725 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11726 (find-file--read-only): New function.
11727 (find-file-read-only, find-file-read-only-other-window)
11728 (find-file-read-only-other-frame): Use it.
11729 (insert-file-contents-literally): Don't `fset'.
11730 (get-free-disk-space): Use locate-dominating-file.
11731
11732 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11733 function is already compiled.
11734
11735 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11736
11737 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11738
11739 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11740 files on the same host.
11741
11742 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11743
11744 * help-fns.el (describe-function-1): Only call
11745 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11746
11747 2012-07-03 Chong Yidong <cyd@gnu.org>
11748
11749 * xml.el: Protect parser against XML bombs.
11750 (xml-entity-expansion-limit): New variable.
11751 (xml-parse-string, xml-substitute-special): Use it.
11752 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11753
11754 2012-07-03 Glenn Morris <rgm@gnu.org>
11755
11756 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11757 Allow linking to specific messages in debbugs reports (eg 123#5).
11758
11759 2012-07-02 Chong Yidong <cyd@gnu.org>
11760
11761 * xml.el: Fix entity and character reference expansion, allowing
11762 them to expand into markup as per XML spec.
11763 (xml-default-ns): New variable.
11764 (xml-entity-alist): Use XML spec definitions for lt and amp.
11765 (xml-parse-region): Make first two arguments optional.
11766 Discard text properties.
11767 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11768 All callers changed.
11769 (xml-parse-tag): Call xml-parse-tag-1. For backward
11770 compatibility, this function should not modify buffer contents.
11771 (xml-parse-tag-1): Fix opening-tag regexp.
11772 (xml-parse-string): Rewrite, handling entity and character
11773 references properly.
11774 (xml--entity-replacement-text): Signal an error if a parameter
11775 entity is undefined.
11776
11777 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11778
11779 * comint.el (comint-output-filter): Filter out repeated prompts.
11780
11781 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11782 and file-name-absolute-p.
11783 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11784 internal calls.
11785
11786 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11787
11788 Spelling fixes.
11789 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11790 Rename from byte-compile--refiy-function. All uses changed.
11791
11792 2012-07-01 Chong Yidong <cyd@gnu.org>
11793
11794 * xml.el (xml--parse-buffer): New function. Move most of
11795 xml-parse-region here.
11796 (xml-parse-region): Copy region into a temporary buffer, since
11797 parameter entity substitution requires changing buffer contents.
11798 Use xml--parse-buffer.
11799 (xml-parse-file): Use xml--parse-buffer.
11800 (xml-parse-dtd): Make parameter entity substitution work right.
11801 Use proper regexps for ELEMENT declarations (Bug#7172).
11802
11803 2012-06-30 Glenn Morris <rgm@gnu.org>
11804
11805 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11806
11807 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11808 Remove outdated and unnecessary dbus declarations.
11809
11810 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11811
11812 * emacs-lisp/timer.el (timer-until): Subtract results of
11813 float-time, instead of taking float-time of the result of
11814 time-subtract, since float-time signals an error for negative time
11815 arguments.
11816
11817 2012-06-30 Chong Yidong <cyd@gnu.org>
11818
11819 * xml.el (xml-*-re): Convert defvars into defconsts, and
11820 eval-and-compile them so eval-and-compile works on derivatives.
11821 (xml--entity-replacement-text): Use eval-and-comple.
11822
11823 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11824
11825 * vc/vc-git.el (vc-git-registered): Use cache property
11826 `git-registered'.
11827 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11828 `vc-git-working-revision' in order to benefit from the cache.
11829 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11830
11831 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11832
11833 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11834 removed (likely outside Emacs). (Bug#11757)
11835
11836 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11837
11838 * emacs-lisp/cl-lib.el: Require macroexp.
11839
11840 2012-06-30 Chong Yidong <cyd@gnu.org>
11841
11842 * xml.el: Implement XML parameter entities.
11843 (xml-parameter-entity-alist): New variable.
11844 (xml-parse-region, xml-parse-fragment): Preserve previous values
11845 of xml-entity-alist and xml-parameter-entity-alist, so that
11846 repeated calls on different documents do not change them.
11847 (xml-parse-tag): Fix doctype regexp.
11848 (xml--entity-replacement-text): New function.
11849 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11850 properly requires url retrieval which is unimplemented.
11851 (xml-escape-string): Doc fix.
11852
11853 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11854
11855 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11856
11857 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11858
11859 * fringe.el (fringe-mode): Doc fix.
11860
11861 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11862
11863 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11864 is non-nil.
11865 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11866 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11867
11868 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11869
11870 * calendar/cal-dst.el (calendar-current-time-zone):
11871 Return calendar-current-time-zone-cache if non-nil.
11872
11873 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11874
11875 * progmodes/which-func.el (which-func-format):
11876 Add mouse-face. (Bug#11698)
11877
11878 2012-06-29 Leo Liu <sdl.web@gmail.com>
11879
11880 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11881
11882 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11883
11884 * minibuffer.el (minibuffer-confirm-exit-commands):
11885 Add completion-at-point (bug#11725).
11886
11887 2012-06-29 Glenn Morris <rgm@gnu.org>
11888
11889 * progmodes/f90.el (f90-font-lock-keywords-2):
11890 Add some preprocessor elements. (Bug#10499)
11891
11892 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11893
11894 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11895 Use syntax-propertize (bug#11739).
11896
11897 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11898
11899 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11900
11901 2012-06-28 Julien Danjou <julien@danjou.info>
11902
11903 * term.el (term-handle-colors-array): Use a set of new faces to
11904 color the terminal. Also uses :inverse-video property.
11905 (term-default-fg-color): Set to nil by default, deprecate in favor
11906 of `term-face'.
11907 (term-default-bg-color): Set to nil by default, deprecate in favor
11908 of `term-face'.
11909 (term-current-face): Use `term-face' by default.
11910 (term-bold-attribute): Variable deleted.
11911
11912 2012-06-28 Glenn Morris <rgm@gnu.org>
11913
11914 * simple.el (completion-list-mode-finish):
11915 Don't use toggle-read-only. (Since completion-list-mode has
11916 a special mode-class, it wasn't doing anything extra anyway.)
11917
11918 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 Make inlining of other-mode interpreted functions work (bug#11799).
11921 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11922 (byte-compile): Use it to fix compilation of lexical-binding closures.
11923 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11924 function, if needed.
11925
11926 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11927
11928 * help-mode.el (help-make-xrefs): Don't just withstand
11929 cyclic-variable-indirection but any error in documentation-property.
11930
11931 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11932 memory use.
11933 * bindings.el (bindings--define-key): New function.
11934 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11935 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11936 * bindings.el: Use it to purecopy define-key bindings.
11937
11938 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11939
11940 * emacs-lisp/cl.el (flet): Mark obsolete.
11941 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11942 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11943 * progmodes/js.el (js-c-fill-paragraph):
11944 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11945 (ebrowse-switch-member-buffer-to-derived-class):
11946 * play/5x5.el (5x5-solver): Use cl-flet.
11947
11948 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11949 (cl--symbol-function): New macro.
11950 (cl--letf, cl--letf*): Use it.
11951
11952 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11953 Strip "toggle-" if any.
11954
11955 2012-06-27 Glenn Morris <rgm@gnu.org>
11956
11957 * info.el (Info-default-directory-list): Move here from paths.el.
11958 * paths.el: Remove file, which is now empty.
11959 * loadup.el: No longer load "paths".
11960
11961 * custom.el (custom-initialize-delay): Doc fix.
11962
11963 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11964 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11965 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11966 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11967 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11968 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11969 * eshell/eshell.el (eshell-defgroup): Remove alias.
11970
11971 2012-06-27 Chong Yidong <cyd@gnu.org>
11972
11973 * help.el (help-enable-auto-load): New variable.
11974
11975 * help-fns.el (help-fns--autoloaded-p): New function.
11976 (describe-function-1): Refer to a function as "autoloaded" if it
11977 was autoloaded at any time in the past. Perform autoloading if
11978 help-enable-auto-load is non-nil.
11979
11980 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11981
11982 * makefile.w32-in (compile, compile-always): Depend on
11983 update-subdirs, not on subdirs.el. Otherwise, several different
11984 sub-targets of 'bootstrap' running in parallel could
11985 simultaneously write to subdirs.el, producing a garbled file.
11986
11987 2012-06-26 Sam Steingold <sds@gnu.org>
11988
11989 * files.el (file-name-base): New convenience function.
11990 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11991 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11992 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11993 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11994 * textmodes/ispell.el, textmodes/reftex-ref.el:
11995 * textmodes/tex-mode.el: Use it.
11996 Did not touch cedet and org because they are maintained elsewhere.
11997
11998 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11999
12000 * calendar/calendar.el (calendar-exit): Don't try to delete or
12001 iconify last frame. See:
12002 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12003
12004 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12005
12006 * server.el (server-process-filter): Remember dir in the
12007 process's `server-client-directory' properties.
12008
12009 2012-06-24 Chong Yidong <cyd@gnu.org>
12010
12011 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12012 non-tag text.
12013
12014 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12015
12016 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12017
12018 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12019
12020 * help-fns.el (describe-variable): Don't croak when doc is not found.
12021 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12022 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12023 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12024 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12025 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12026 ((lambda ..) ..).
12027 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12028
12029 2012-06-23 Chong Yidong <cyd@gnu.org>
12030
12031 * info.el (Info-mouse-follow-link): Accept symbol values of
12032 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12033 (Info-fontify-node): Use Info-link-keymap for all navigation
12034 buttons, with link-args property to perform the desired action.
12035 (Info-link-keymap): Doc fix.
12036 (Info-next-link-keymap, Info-prev-link-keymap)
12037 (Info-up-link-keymap): Delete now-unused keymaps.
12038
12039 2012-06-23 Chong Yidong <cyd@gnu.org>
12040
12041 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12042
12043 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12044 system abbrevs.
12045
12046 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12047
12048 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12049
12050 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12051 (bug#11719).
12052
12053 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12054 the requote function doesn't work properly (bug#11714).
12055
12056 2012-06-23 Glenn Morris <rgm@gnu.org>
12057
12058 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12059
12060 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12061
12062 Further GV/CL cleanups.
12063 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12064 gv-expander.
12065 (gv--defun-declaration): New function.
12066 (defun-declarations-alist): Use it.
12067 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12068 (gv-place): Autoload.
12069 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12070 original definition of dotimes and dolist.
12071 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12072 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12073 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12074 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12075 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12076 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12077 to the function's definition.
12078 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12079 * window.el:
12080 * files.el:
12081 * faces.el:
12082 * env.el: Don't use CL.
12083
12084 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12085
12086 Support higher-resolution time stamps (Bug#9000).
12087
12088 * calendar/time-date.el (with-decoded-time-value): New arg
12089 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12090 (encode-time-value): New optional arg PICO. New type 3.
12091 (time-to-seconds) [!float-time]: Support the new picoseconds
12092 component if it's used.
12093 (seconds-to-time, time-subtract, time-add):
12094 Support ps-resolution time stamps as well.
12095
12096 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12097 (timerp): Timer vectors now have length 9, not 8.
12098 (timer--time): Support new-style (4-part) time stamps.
12099 (timer-next-integral-multiple-of-time): Time stamps now have
12100 picosecond resolution, so take a bit more care about rounding.
12101 (timer-relative-time, timer-inc-time): New optional arg psecs.
12102 (timer-set-time-with-usecs): Set psecs to 0.
12103 (timer--activate): Check psecs component, too.
12104
12105 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12106
12107 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12108
12109 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12110 Move the non-essential binding to the post/pre-command-hook where it is
12111 more obviously correct.
12112
12113 * subr.el (read-passwd): Don't use a history at all.
12114 * savehist.el (savehist-save): Remove password saved accidentally
12115 because of the above bug.
12116
12117 2012-06-22 Bastien Guerry <bzg@gnu.org>
12118
12119 * files.el (toggle-read-only): Display a message telling whether
12120 the buffer is read-only or not (bug#11726).
12121
12122 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12123
12124 * emacs-lisp/gv.el: New file.
12125 * subr.el (push, pop): Extend to generalized variables.
12126 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12127 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12128 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12129 gv-define-simple-setter, and gv-define-expander.
12130 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12131 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12132 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12133 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12134 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12135 gv-letplace.
12136 (cl-defstruct): Don't define setf-method any more.
12137 * emacs-lisp/cl.el (flet): Don't autoload.
12138 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12139 (define-setf-expander, defsetf, define-modify-macro)
12140 (cl-struct-setf-expander): Move from cl-lib.el.
12141 * emacs-lisp/syntax.el:
12142 * emacs-lisp/ewoc.el:
12143 * emacs-lisp/smie.el:
12144 * emacs-lisp/cconv.el:
12145 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12146 (timer--time): Use gv-define-simple-setter.
12147 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12148 to avoid coding-system problems in subr.el. Adjust all users.
12149 (macroexp--maxsize, macroexp-small-p): New functions.
12150 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12151 * scroll-bar.el (scroll-bar-mode):
12152 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12153 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12154 * winner.el (winner-configuration, winner-make-point-alist)
12155 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12156 * files.el (locate-file-completion-table): Avoid list*.
12157
12158 2012-06-22 Chong Yidong <cyd@gnu.org>
12159
12160 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12161 (dired-create-files): Doc fix (Bug#11329).
12162 (dired-do-copy): Doc fix (Bug#11334).
12163 (dired-mark-read-string): Doc fix (Bug#11553).
12164
12165 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12166 Doc fix (Bug#11326).
12167 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12168 (dired-dwim-target): Doc fix.
12169
12170 * wdired.el (wdired-mode): Doc fix.
12171
12172 2012-06-22 Glenn Morris <rgm@gnu.org>
12173
12174 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12175 (pcmpl-rpm-cache-stamp-file): New constant.
12176 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12177 (pcmpl-rpm-packages): Optionally cache list of packages.
12178
12179 * pcmpl-rpm.el (pcmpl-rpm): New group.
12180 (pcmpl-rpm-query-options): New option.
12181 (pcmpl-rpm-packages): No need to inline it.
12182 Use pcmpl-rpm-query-options.
12183
12184 * calendar/calendar.el (calendar-in-read-only-buffer):
12185 Avoid some needless mode changes.
12186
12187 2012-06-21 Chong Yidong <cyd@gnu.org>
12188
12189 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12190 (desktop-path): Remove . from the default value (Bug#10977).
12191 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12192
12193 2012-06-20 Chong Yidong <cyd@gnu.org>
12194
12195 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12196
12197 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12198
12199 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12200 (bug#11201).
12201
12202 2012-06-20 Chong Yidong <cyd@gnu.org>
12203
12204 * term.el (term-window-width): Handle the case of a missing right
12205 fringe (Bug#8837).
12206 (term-check-size): Use window-text-height (Bug#5445).
12207 (term-mode): Use define-derived-mode. Minor cleanups.
12208 Set font-lock-defaults (Bug#7692).
12209 (term-move-columns, term-insert-char, term-emulate-terminal)
12210 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12211
12212 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12213
12214 * net/ange-ftp.el (ange-ftp-get-passwd):
12215 Bind `enable-recursive-minibuffers'.
12216 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12217
12218 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12219
12220 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12221
12222 2012-06-19 Glenn Morris <rgm@gnu.org>
12223
12224 * progmodes/python.el (python-mode): Derive from prog-mode.
12225
12226 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12227
12228 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12229 (edt-user-menu-bar-update-buffers): New functions.
12230 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12231
12232 2012-06-19 Chong Yidong <cyd@gnu.org>
12233
12234 * subr.el (with-selected-window): Preserve the selected window's
12235 terminal's top-frame (Bug#4702).
12236
12237 * window.el (save-selected-window): Likewise.
12238
12239 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12240
12241 * progmodes/python.el (python-rx-constituents): Move backquote.
12242 (python-skeleton-define, python-define-auxiliary-skeleton):
12243 Use `declare'.
12244
12245 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12246
12247 * minibuffer.el (read-file-name-default): Revert the patch from
12248 2012-06-17.
12249
12250 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12251
12252 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12253 (pcase--u1, pcase--q1): Don't use apply-partially.
12254
12255 2012-06-18 Glenn Morris <rgm@gnu.org>
12256
12257 * progmodes/python.el (python-proc, python-buffer)
12258 (python-send-receive, python-send-string): Fix obsolete versions.
12259
12260 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12261
12262 * window.el (special-display-p): Completely remove stringp
12263 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12264
12265 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12266
12267 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12268
12269 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12270
12271 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12272 * net/tramp-sh.el (tramp-maybe-open-connection):
12273 Throw if `non-essential' is non-nil.
12274
12275 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12276
12277 * window.el (special-display-p): Signal an error if BUFFER-NAME
12278 is not a string (Bug#11713).
12279
12280 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12281
12282 * progmodes/python.el (python-info-beginning-of-backslash):
12283 Rename from python-info-beginning-of-backlash, as a spelling fix.
12284
12285 2012-06-17 Chong Yidong <cyd@gnu.org>
12286
12287 * term.el (term-emulate-terminal): If term-check-size is called,
12288 move point to the process mark without resetting point (Bug#4635).
12289
12290 2012-06-17 Glenn Morris <rgm@gnu.org>
12291
12292 * international/mule-cmds.el (mule-menu-keymap)
12293 (set-language-environment, set-locale-environment): Doc tweaks.
12294
12295 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12296
12297 * cus-face.el (custom-face-attributes): Add wave-style underline
12298 attribute.
12299 * faces.el (set-face-attribute): Update docstring to describe
12300 wave-style underline attribute.
12301
12302 2012-06-16 Chong Yidong <cyd@gnu.org>
12303
12304 * term/xterm.el (terminal-init-xterm): Discard input before
12305 querying background mode (Bug#10959).
12306
12307 2012-06-16 Stefan Merten <smerten@oekonux.de>
12308
12309 * textmodes/rst.el: Added and corrected some comments.
12310 (rst-re-alist-def): Improve symbol syntax.
12311 (rst-mode-syntax-table): Correct syntax entries.
12312 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12313 (rst-official-version, rst-official-cvs-rev): Update version
12314 information.
12315
12316 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12317
12318 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12319 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12320
12321 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12322
12323 * progmodes/python.el: New python.el merge.
12324 (python-guess-indent): Obsolete var.
12325 (python-indent-guess-indent-offset): New defcustom.
12326 (python-indent): Obsolete var.
12327 (python-indent-offset): New defcustom.
12328 (python-python-command, python-jython-command): Delete var.
12329 (python-shell-interpreter): New defcustom.
12330 (python-pdbtrack-do-tracking-p): Delete var.
12331 (python-pdbtrack-activate): New defcustom.
12332 (python-use-skeletons): Obsolete var.
12333 (python-skeleton-autoinsert): New defcustom.
12334 (inferior-python-filter-regexp, python-continuation-offset)
12335 (python-honour-comment-indentation, python-indent-string-contents)
12336 (python-jython-packages, python-mode-hook)
12337 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12338 (python-shell-prompt-alist)
12339 (python-source-modes): Delete defcustoms.
12340 (python-check-buffer-name, python-eldoc-setup-code)
12341 (python-eldoc-string-code, python-ffap-setup-code)
12342 (python-ffap-string-code, python-fill-comment-function)
12343 (python-fill-decorator-function, python-fill-paren-function)
12344 (python-fill-string-function, python-imenu-include-defun-type)
12345 (python-imenu-make-tree, python-imenu-subtree-root-label)
12346 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12347 (python-shell-compilation-regexp-alist)
12348 (python-shell-completion-module-string-code)
12349 (python-shell-completion-pdb-string-code)
12350 (python-shell-completion-setup-code)
12351 (python-shell-completion-string-code)
12352 (python-shell-enable-font-lock, python-shell-exec-path)
12353 (python-shell-extra-pythonpaths)
12354 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12355 (python-shell-process-environment)
12356 (python-shell-prompt-block-regexp)
12357 (python-shell-prompt-output-regexp)
12358 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12359 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12360 (python-shell-virtualenv-path): New defcustoms.
12361 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12362 (inferior-python-mode-syntax-table, python--prompt-regexp)
12363 (python-buffer, python-command python-python-command)
12364 (python-default-template, python-imports, python-indent-index)
12365 (python-indent-list, python-indent-list-length)
12366 (python-mode-running, python-pdbtrack-is-tracking-p)
12367 (python-preoutput-continuation, python-preoutput-leftover)
12368 (python-preoutput-result, python-preoutput-skip-next-prompt)
12369 (python-prev-dir/file, python-recursing)
12370 (python-saved-check-command, python-version-checked)
12371 (python-which-func-length-limit)
12372 (view-return-to-alist): Delete vars.
12373 (python-check-custom-command, python-dotty-syntax-table)
12374 (python-imenu-index-alist, python-indent-current-level)
12375 (python-indent-dedenters, python-indent-levels)
12376 (python-nav-beginning-of-defun-regexp)
12377 (python-nav-list-defun-positions-cache)
12378 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12379 (python-shell-internal-buffer)
12380 (python-skeleton-available): New vars.
12381 (def-python-skeleton): Delete macro.
12382 (python-skeleton-define): New macro.
12383 (python-define-auxiliary-skeleton, python-rx): New macros.
12384 (python-insert-class): Delete command.
12385 (python-skeleton-class): New command.
12386 (python-insert-def): Delete command.
12387 (python-skeleton-def): New command.
12388 (python-insert-for): Delete command.
12389 (python-skeleton-for): New command.
12390 (python-insert-if): Delete command.
12391 (python-skeleton-if): New command.
12392 (python-insert-try/except, python-insert-try/finally): Delete commands.
12393 (python-skeleton-try): New command.
12394 (python-insert-while): Delete command.
12395 (python-skeleton-while): New command.
12396 (python-backspace): Delete command.
12397 (python-indent-dedent-line-backspace): New command.
12398 (python-electric-colon): Delete command.
12399 (python-indent-electric-colon): New command.
12400 (python-guess-indent): Delete command.
12401 (python-indent-guess-indent-offset): New command.
12402 (python-shift-left): Delete command.
12403 (python-indent-shift-left): New command.
12404 (python-shift-right): Delete command.
12405 (python-indent-shift-right): New command.
12406 (python-find-function): Delete command.
12407 (python-nav-jump-to-defun): New command.
12408 (python-next-statement): Delete command.
12409 (python-nav-forward-sentence): New command.
12410 (python-previous-statement): Delete command.
12411 (python-nav-backward-sentence): New command.
12412 (python-fill-paragraph): Delete command.
12413 (python-fill-paragraph-function): New command.
12414 (python-send-buffer): Delete command.
12415 (python-shell-send-buffer): New command.
12416 (python-send-defun): Delete command.
12417 (python-shell-send-defun): New command.
12418 (python-send-region, python-send-region-and-go): Delete commands.
12419 (python-shell-send-region)
12420 (python-shell-switch-to-shell): New commands.
12421 (python-send-string): Delete command.
12422 (python-shell-send-string): New command.
12423 (python-switch-to-python): Delete command.
12424 (python-shell-switch-to-shell): New command.
12425 (python-describe-symbol): Delete command.
12426 (python-eldoc-at-point): New command.
12427 (python--set-prompt-regexp, python-args-to-list)
12428 (python-after-info-look, python-check-version)
12429 (python-check-comint-prompt, python-find-imports)
12430 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12431 (python-unload-function, python-expand-template)
12432 (python-maybe-jython, python-preoutput-filter)
12433 (python-pdbtrack-get-source-buffer)
12434 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12435 (python-pdbtrack-toggle-stack-tracking)
12436 (python-pdbtrack-track-stack-file, python-initial-text)
12437 (python-first-word, python-comment-line-p, python-send-command)
12438 (python-setup-brm, python-sentinel, python-set-proc)
12439 (python-skip-out, python-input-filter, python-outdent-p)
12440 (python-outline-level, python-backslash-continuation-line-p)
12441 (python-end-of-block, python-end-of-statement, python-mark-block)
12442 (python-beginning-of-block, python-beginning-of-statement)
12443 (python-blank-line-p, python-beginning-of-string)
12444 (python-open-block-statement-p): Delete functions.
12445 (python-indent-line, python-indent-line-1): Delete functions.
12446 (python-indent-line): New function.
12447 (python-indentation-levels): Delete function.
12448 (python-indent-calculate-levels): New function.
12449 (python-proc): Delete function.
12450 (python-shell-get-process): New function.
12451 (python-send-receive): Delete function.
12452 (python-shell-send-string-no-output): New function.
12453 (python-module-path): Delete function.
12454 (python-ffap-module-path): New function.
12455 (python-completion-at-point)
12456 (python-symbol-completions): Delete functions.
12457 (python-completion-complete-at-point): New function.
12458 (python-load-file): Delete function.
12459 (python-shell-send-file): New function.
12460 (python-calculate-indentation): Delete function.
12461 (python-indent-calculate-indentation): New function.
12462 (python-skip-comments/blanks): Delete function.
12463 (python-util-forward-comment): New function.
12464 (python-continuation-line-p): Delete function.
12465 (python-info-continuation-line-p): New function.
12466 (python-which-func, python-current-defun): Delete function.
12467 (python-info-current-defun): New function.
12468 (python-beginning-of-defun): Delete function.
12469 (python-nav-beginning-of-defun): New function.
12470 (python-close-block-statement-p)
12471 (python-block-end-p): Delete function.
12472 (python-info-closing-block): New function.
12473 (python-comint-output-filter-function)
12474 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12475 (python-fill-comment, python-fill-decorator, python-fill-paren)
12476 (python-fill-string, python-imenu-make-element-tree)
12477 (python-imenu-make-tree, python-imenu-tree-assoc)
12478 (python-indent-context, python-indent-dedent-line)
12479 (python-indent-line-function)
12480 (python-indent-post-self-insert-function)
12481 (python-indent-toggle-levels)
12482 (python-info-assignment-continuation-line-p)
12483 (python-info-beginning-of-backlash)
12484 (python-info-block-continuation-line-p)
12485 (python-info-closing-block-message)
12486 (python-info-line-ends-backslash-p)
12487 (python-info-looking-at-beginning-of-defun)
12488 (python-info-ppss-context, python-info-ppss-context-type)
12489 (python-nav-list-defun-positions, python-nav-read-defun)
12490 (python-nav-sentence-end, python-nav-sentence-start)
12491 (python-pdbtrack-comint-output-filter-function)
12492 (python-pdbtrack-set-tracked-buffer)
12493 (python-shell-calculate-exec-path)
12494 (python-shell-calculate-process-environment)
12495 (python-shell-completion--do-completion-at-point)
12496 (python-shell-completion--get-completions)
12497 (python-shell-completion-complete-at-point)
12498 (python-shell-completion-complete-or-indent)
12499 (python-shell-get-or-create-process)
12500 (python-shell-get-process-name)
12501 (python-shell-internal-get-or-create-process)
12502 (python-shell-internal-get-process-name)
12503 (python-shell-internal-send-string, python-shell-make-comint)
12504 (python-shell-parse-command, python-shell-send-setup-code)
12505 (python-skeleton-add-menu-items)
12506 (python-util-clone-local-variables, python-util-position)
12507 (run-python-internal, python-indentation-levels)
12508 (python-nav-beginning-of-defun)
12509 (python-completion-complete-at-point): New functions.
12510 (run-python): Change arguments. New API requirements.
12511
12512 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12513
12514 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12515 (bug#11649).
12516
12517 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12518 (macroexp--expand-all): Use it.
12519
12520 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12521 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12522 Use `cl-function' instead.
12523
12524 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12525
12526 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12527 Suggested by Stefan Monnier while discussing bug#11657.
12528
12529 2012-06-14 Sam Steingold <sds@gnu.org>
12530
12531 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12532
12533 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12534
12535 * play/doctor.el (doctor-doc): Remove parameter and use
12536 doctor-sent instead of sent.
12537 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12538
12539 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12540
12541 * files.el: Require cl-lib.
12542 (file-name-non-special): Replace case -> cl-case.
12543
12544 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12545
12546 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12547 mapping from #' to function*.
12548
12549 2012-06-13 Chong Yidong <cyd@gnu.org>
12550
12551 * mouse.el (mouse-drag-track): Do not set the mark if the user
12552 releases the mouse without selecting anything (Bug#11588).
12553
12554 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12555
12556 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12557 as well (bug#11646).
12558
12559 * loadup.el: Count byte-code functions as well.
12560
12561 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12562 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12563
12564 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12565 (bug#11649). Add cl-defun and cl-defmacro.
12566
12567 2012-06-13 Drew Adams <drew.adams@oracle.com>
12568
12569 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12570 Fix last change.
12571
12572 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12573
12574 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12575 Otherwise, it blocks in batch mode.
12576
12577 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12578
12579 * help-mode.el (bookmark-make-record-default): Declare.
12580
12581 2012-06-13 Chong Yidong <cyd@gnu.org>
12582
12583 * emacs-lisp/package.el (list-packages): Compute a list of
12584 packages that are newly-available since the last list-packages
12585 invocation.
12586 (package-menu--new-package-list): New var.
12587 (package-menu--generate, package-menu--print-info)
12588 (package-menu--status-predicate, package-menu-mark-install):
12589 Handle new status label "new".
12590
12591 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12592
12593 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12594 conversion to backquotes.
12595
12596 2012-06-12 Chong Yidong <cyd@gnu.org>
12597
12598 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12599 Rename from gud-inhibit-global-bindings.
12600
12601 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12602
12603 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12604 hook from nxml-glyph-set-hook.
12605
12606 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12607 declaration.
12608
12609 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12610
12611 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12612 Convert to defcustom.
12613
12614 2012-06-12 Drew Adams <drew.adams@oracle.com>
12615
12616 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12617 New functions.
12618 (help-mode): Use them.
12619
12620 2012-06-11 Glenn Morris <rgm@gnu.org>
12621
12622 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12623 Use preprocessor face for directives.
12624 (fortran-directive-re): Doc fix.
12625
12626 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12627
12628 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12629 conversion to backquotes (bug#11652).
12630
12631 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12632 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12633 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12634 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12635 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12636 (cl-ninth, cl-tenth): Mark them as inlinable.
12637 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12638 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12639 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12640 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12641 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12642 (cl-list*, cl-adjoin): Don't put an autoload manually.
12643 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12644 (cl--compiler-macro-list*): Add autoload cookie.
12645 (cl--compiler-macro-cXXr): New function.
12646
12647 * help-fns.el (help-fns--compiler-macro): New function extracted from
12648 describe-function-1; follow aliases and use `compiler-macro' property.
12649 (describe-function-1): Use it.
12650
12651 2012-06-11 Chong Yidong <cyd@gnu.org>
12652
12653 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12654 is uninstalled, if imagemagick is installed.
12655
12656 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12657
12658 * emacs-lisp/cl-lib.el: Use lexical-binding.
12659 (cl-map-extents, cl-maclisp-member): Remove.
12660 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12661 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12662 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12663 * emacs-lisp/cl-extra.el: Use lexical-binding.
12664 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12665 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12666 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12667 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12668 * emacs-lisp/cl-seq.el: Use lexical-binding.
12669 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12670 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12671 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12672 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12673 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12674 CL's internals.
12675
12676 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12677
12678 Sync with Tramp 2.2.6-pre.
12679
12680 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12681 `print-length' and `print-level' to nil, in order to avoid
12682 truncation. Reported by Christopher Schmidt
12683 <christopher@ristopher.com>.
12684
12685 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12686
12687 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12688 New defmacro.
12689 (tramp-compat-copy-directory): Add optional argument
12690 COPY-CONTENTS. It is not handled yet.
12691
12692 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12693 (tramp-ftp-file-name-p): Simplify.
12694
12695 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12696 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12697 connection vector.
12698
12699 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12700 (tramp-methods): Do not use `tramp-password-end-of-line'.
12701 (tramp-completion-function-alist-putty): Handle UNIX case.
12702 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12703 (tramp-do-file-attributes-with-stat)
12704 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12705 gid as real numbers. They could run out of integer range on cygwin.
12706 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12707 (tramp-sh-handle-expand-file-name): Handle hops.
12708 (tramp-open-connection-setup-interactive-shell):
12709 Use `tramp-cleanup'. Move check for busyboxes ...
12710 (tramp-find-shell): ... here. Simplify implementation.
12711 Set "remote-shell" property also for alternative shells.
12712 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12713 If failing, a regular file would be written otherwise.
12714 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12715 (tramp-find-inline-encoding): Cache the coding commands in the
12716 process cache. Apply test command on the remote side, if defined.
12717 (tramp-find-inline-compress): Cache the compress commands in the
12718 process cache.
12719 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12720 when requested. Handle hops.
12721 (tramp-current-connection): New defvar.
12722 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12723 Throw `suppress', if there was a failed connection shortly before.
12724 Handle user interrupt. (Bug#10187)
12725 (tramp-get-inline-compress, tramp-get-inline-coding):
12726 Read connection properties from the process cache.
12727
12728 * net/tramp-smb.el (tramp-smb-server-version)
12729 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12730 New defconsts.
12731 (tramp-smb-prompt): Extend for powershell prompt.
12732 (tramp-smb-file-name-handler-alist): Add handlers for
12733 `process-file', `shell-command' and `start-file-process'.
12734 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12735 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12736 (tramp-smb-file-name-p): Simplify.
12737 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12738 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12739 (tramp-smb-shell-quote-argument): New defuns.
12740 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12741 Implement using "tar". By this, time-stamps are preserved.
12742 (tramp-smb-handle-copy-file): Handle also the case of directories.
12743 (tramp-smb-do-file-attributes-with-stat)
12744 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12745 Use `tramp-get-connection-buffer').
12746 (tramp-smb-handle-rename-file): Use "rename", when source and
12747 target are on the same share.
12748 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12749 Use `tramp-smb-server-version'.
12750 (tramp-smb-wait-for-output): Remove prompt.
12751
12752 * net/tramp.el (top): Require 'cl.
12753 (tramp-methods, tramp-rsh-end-of-line):
12754 Remove `tramp-password-end-of-line' from docstring.
12755 (tramp-save-ad-hoc-proxies): New defcustom.
12756 (tramp-completion-function-alist): Adapt docstring.
12757 (tramp-default-password-end-of-line): Remove defcustom.
12758 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12759 (tramp-user-regexp, tramp-file-name-regexp-unified)
12760 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12761 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12762 (tramp-remote-file-name-spec-regexp): New defconst.
12763 (tramp-file-name-structure): Extend structure for hops.
12764 (tramp-get-method-parameter): Move up.
12765 (tramp-file-name-p, tramp-dissect-file-name)
12766 (with-parsed-tramp-file-name): Handle hops.
12767 (tramp-file-name-hop): New defun.
12768 (tramp-make-tramp-file-name): New optional arg HOP.
12769 (tramp-message-show-progress-reporter-message): New defvar.
12770 (tramp-with-progress-reporter): Use it. We cannot use
12771 `tramp-message-show-message' here, because this suppresses also
12772 error buffers.
12773 (tramp-error-with-buffer): Suppress buffer view, if
12774 `tramp-message-show-message' is nil.
12775 Use `tramp-get-connection-buffer'.
12776 (tramp-cleanup): New defun.
12777 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12778 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12779 an error unchanged.
12780 (tramp-completion-handle-file-name-all-completions): Handle hops.
12781 Fix an error when called from ido.
12782 (tramp-completion-dissect-file-name): Use better local variable
12783 name. Add hop to the vector.
12784 (tramp-handle-insert-file-contents): Use progress-reporter for the
12785 whole scenario.
12786 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12787 to `t'.
12788 (tramp-check-for-regexp): Simplify search.
12789 (tramp-enter-password): Remove it. Move implementation ...
12790 (tramp-action-password): ... here.
12791 (tramp-mode-string-to-int, tramp-local-host-p)
12792 (tramp-make-tramp-temp-file, tramp-read-passwd)
12793 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12794 Set tramp-autoload cookie.
12795
12796 * net/trampver.el: Update release number.
12797
12798 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12799 Michael Albinus <michael.albinus@gmx.de>
12800
12801 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12802 (tramp-parse-group, tramp-parse-file)
12803 (tramp-parse-shostkeys-sknownhosts): New defuns.
12804 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12805 (tramp-parse-shosts-group, tramp-parse-sconfig)
12806 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12807 (tramp-parse-sknownhosts, tramp-parse-hosts)
12808 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12809 Use them.
12810 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12811 (tramp-parse-putty-group): Don't narrow.
12812 (tramp-parse-putty): Make a loop.
12813 (tramp-file-name-handler): Catch the `suppress' signal.
12814
12815 2012-06-11 Chong Yidong <cyd@gnu.org>
12816
12817 * image.el (imagemagick-register-types): Put the ImageMagick entry
12818 at the end of image-type-file-name-regexps.
12819
12820 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12821
12822 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12823 (pcase, pcase-let*, pcase-dolist): Use them.
12824
12825 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12826
12827 * emacs-lisp/pcase.el (pcase--let*): New function.
12828 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12829 (pcase--expand): Use macroexp-let².
12830
12831 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12832
12833 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12834 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12835 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12836 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12837 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12838 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12839
12840 2012-06-10 Glenn Morris <rgm@gnu.org>
12841
12842 * mail/rmail.el (rmail-yank-current-message): Leave point at
12843 correct position. (Bug#11660)
12844
12845 2012-06-10 Chong Yidong <cyd@gnu.org>
12846
12847 * allout-widgets.el: Fix code header.
12848
12849 2012-06-10 Chong Yidong <cyd@gnu.org>
12850
12851 * cus-edit.el (customize-changed-options-previous-release):
12852 Bump to 24.1.
12853
12854 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12855
12856 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12857
12858 2012-06-09 Chong Yidong <cyd@gnu.org>
12859
12860 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12861
12862 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12863
12864 * window.el (special-display-popup-frame): Don't use
12865 window--display-buffer (Bug#11651).
12866
12867 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12868
12869 Fix parallel builds: make sure loaddefs.el is not being written
12870 while Lisp files are compiled.
12871 (compile): Don't depend on 'mh-autoloads'.
12872 (compile-CMD, compile-SH): Depend on 'autoloads'.
12873 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12874
12875 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12876
12877 2012-06-09 Chong Yidong <cyd@gnu.org>
12878
12879 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12880 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12881 Doc fixes (Bug#11225).
12882
12883 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12884
12885 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12886 a function if there's a clear indication that it has a compiler-macro.
12887 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12888 (macro-declarations-alist): Add arglist to declaration functions.
12889 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12890 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12891 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12892 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12893 Also add autoload to find the compiler macro.
12894 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12895 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12896 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12897 (cl--compiler-macro-get): New functions, replacing calls to
12898 cl-define-compiler-macro.
12899 (cl-typep) [compiler-macro]: Use macroexp-let².
12900
12901 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12902
12903 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12904 string properly, fixes Bug#11473.
12905
12906 2012-06-08 Chong Yidong <cyd@gnu.org>
12907
12908 * faces.el (set-face-attribute): Doc fix.
12909 (modify-face): Don't use :bold and :italic.
12910 (error, warning, success): Tweak definitions.
12911
12912 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12913 (custom-modified, custom-set, custom-changed, custom-themed)
12914 (custom-saved, custom-button, custom-button-mouse)
12915 (custom-button-pressed, custom-state, custom-comment-tag)
12916 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12917 (custom-group-subtitle): Use new-style face specs.
12918 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12919 (custom-set-face, custom-changed-face, custom-saved-face)
12920 (custom-button-face, custom-button-pressed-face)
12921 (custom-documentation-face, custom-state-face)
12922 (custom-comment-face, custom-comment-tag-face)
12923 (custom-variable-tag-face, custom-variable-button-face)
12924 (custom-face-tag-face, custom-group-tag-face-1)
12925 (custom-group-tag-face): Remove obsolete face alias.
12926
12927 * epa.el (epa-validity-high, epa-validity-medium)
12928 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12929 (epa-field-name, epa-field-body):
12930 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12931 (font-lock-keyword-face, font-lock-builtin-face)
12932 (font-lock-function-name-face, font-lock-variable-name-face)
12933 (font-lock-type-face, font-lock-constant-face):
12934 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12935 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12936 * speedbar.el (speedbar-button-face, speedbar-file-face)
12937 (speedbar-directory-face, speedbar-tag-face)
12938 (speedbar-selected-face, speedbar-highlight-face)
12939 (speedbar-separator-face):
12940 * whitespace.el (whitespace-newline, whitespace-space)
12941 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12942 (whitespace-line, whitespace-space-before-tab)
12943 (whitespace-space-after-tab, whitespace-indentation)
12944 (whitespace-empty):
12945 * emulation/cua-base.el (cua-global-mark):
12946 * eshell/em-prompt.el (eshell-prompt):
12947 * net/newst-plainview.el (newsticker-new-item-face)
12948 (newsticker-old-item-face, newsticker-immortal-item-face)
12949 (newsticker-obsolete-item-face, newsticker-date-face)
12950 (newsticker-statistics-face, newsticker-default-face):
12951 * net/newst-reader.el (newsticker-feed-face)
12952 (newsticker-extra-face, newsticker-enclosure-face):
12953 * net/newst-treeview.el (newsticker-treeview-face)
12954 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12955 (newsticker-treeview-immortal-face)
12956 (newsticker-treeview-obsolete-face)
12957 (newsticker-treeview-selection-face):
12958 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12959 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12960 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12961 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12962 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12963 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12964 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12965 (mpuz-text):
12966 * progmodes/vera-mode.el (vera-font-lock-number)
12967 (vera-font-lock-function, vera-font-lock-interface):
12968 * textmodes/table.el (table-cell): Use new-style face specs, and
12969 don't use the old :bold and :italic attributes.
12970
12971 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12972 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12973 (ebrowse-member-class, ebrowse-progress): Likewise.
12974 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12975 (ebrowse-file-name-face, ebrowse-default-face)
12976 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12977 (ebrowse-progress-face): Remove obsolete faces.
12978
12979 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12980 Inherit from error and warning faces respectively.
12981
12982 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12983 Likewise.
12984 (flyspell-incorrect-face, flyspell-duplicate-face):
12985 Remove obsolete aliases.
12986
12987 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12988
12989 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12990 Avoid infloop.
12991
12992 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12993
12994 * startup.el (argv, argi): Make lexically scoped.
12995 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12996 * emacs-lisp/cl-macs.el: Use lexical-binding.
12997 Rename cl-bind-* to cl--bind-*.
12998 * files.el: Don't require `cl' since it doesn't use it.
12999 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13000
13001 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13002
13003 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13004 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13005 instead of calling external sort utility.
13006 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13007
13008 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13009
13010 * descr-text.el (describe-char): Mention how to insert the
13011 character, if the current input method doesn't support it.
13012 See the discussion in this thread for the details:
13013 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13014
13015 2012-06-08 Sam Steingold <sds@gnu.org>
13016
13017 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13018 XF86Back to previous-buffer.
13019 (minibuffer-local-map): Bind them to next-history-element and
13020 previous-history-element respectively.
13021 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13022 help-go-back respectively.
13023 * info.el (Info-mode-map): Bind them to Info-history-forward and
13024 Info-history-back respectively.
13025 These are the keys next to Up on the ThinkPad keyboard.
13026
13027 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13028
13029 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13030 * emacs-lisp/cl-macs.el: Provide itself.
13031 (cl--labels-convert-cache): New var.
13032 (cl--labels-convert): New function.
13033 (cl-flet, cl-labels): New implementation with new semantics, relying on
13034 lexical-binding.
13035 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13036 (cl-closure-vars, cl--function-convert-cache)
13037 (cl--function-convert): Move from cl-macs.el.
13038 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13039 rename by removing the "cl-" prefix.
13040 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13041
13042 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13043
13044 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13045 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13046 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13047 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13048 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13049 (cl-hash-table-count): Add old compatibility aliases.
13050
13051 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13052 Use macroexpand-all-environment instead.
13053 (cl--old-macroexpand): New var.
13054 (cl--sm-macroexpand): New function.
13055 (cl-symbol-macrolet): Use it during macro expansion.
13056 (cl--function-convert-cache): New var.
13057 (cl--function-convert): New function, extracted from
13058 cl-macroexpand-all.
13059 (cl-lexical-let): Use it.
13060
13061 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13062 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13063 (cl-member): Remove old alias.
13064
13065 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13066 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13067 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13068 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13069 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13070 (cl-macroexpand-cmacs): Remove var.
13071 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13072 Use macroexpand-all instead.
13073
13074 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13075
13076 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13077 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13078 (macroexp-copyable-p): New functions and macros.
13079 * emacs-lisp/edebug.el (edebug-unwrap):
13080 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13081 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13082 (pcase--let*): Remove.
13083 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13084 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13085 macroexp-const-p instead.
13086 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13087
13088 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13089 instead of "cl-" for internal definitions. Use macroexp-const-p.
13090 (cl-old-bc-file-form): Remove var.
13091 (cl-const-exprs-p): Remove fun.
13092 (cl-labels, cl-macrolet): Use backquote.
13093 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13094 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13095 (cl-define-setf-expander): Rename from cl-define-setf-method.
13096 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13097
13098 * international/mule-cmds.el: Don't require CL.
13099 (view-hello-file): Don't use `letf'.
13100
13101 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13102
13103 * tmm.el (tmm-prompt): Use string-prefix-p.
13104 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13105 (tmm-add-prompt): Use minibuffer-completion-help.
13106 (tmm-delete-map): Remove.
13107
13108 * subr.el (kbd): Make it its own function.
13109
13110 2012-06-07 Stefan Merten <smerten@oekonux.de>
13111
13112 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13113 Silence compiler warnings. Fix versions.
13114 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13115 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13116 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13117 (rst-package-emacs-version-alist): Correct Emacs version to
13118 represent major merge with upstream.
13119 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13120
13121 2012-06-06 Glenn Morris <rgm@gnu.org>
13122
13123 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13124 Only print environment variables if set.
13125
13126 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13127
13128 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13129 (macroexp--cons): Rename from maybe-cons.
13130 (macroexp--accumulate): Rename from macroexp-accumulate.
13131 (macroexp--all-forms): Rename from macroexpand-all-forms.
13132 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13133 (macroexp--expand-all): Rename from macroexpand-all-1.
13134
13135 2012-06-06 Sam Steingold <sds@gnu.org>
13136
13137 * calendar/calendar.el (calendar-in-read-only-buffer):
13138 Call `special-mode' to enable the standard read-only keybindings.
13139
13140 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13141
13142 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13143 with "loading" messages (bug#11635).
13144
13145 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13146
13147 * files.el (enable-remote-dir-locals): New option.
13148 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13149
13150 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13151 Ensure, that the temp directory is local.
13152
13153 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13154 `temporary-file-directory'.
13155
13156 * progmodes/python.el (python-send-region): Ensure, that the
13157 temporary file is created also in the remote case.
13158
13159 2012-06-06 Glenn Morris <rgm@gnu.org>
13160
13161 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13162 (vc-rcs-update-changelog): Use it.
13163
13164 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13165
13166 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13167 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13168 (vc-sccs-diff): Replace use of the external vcdiff script.
13169
13170 2012-06-05 Glenn Morris <rgm@gnu.org>
13171
13172 * ledit.el: Move to obsolete/.
13173
13174 2012-06-05 Sam Steingold <sds@gnu.org>
13175
13176 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13177 patch (Bug#11140).
13178
13179 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13180
13181 * emacs-lisp/cust-print.el: Move to obsolete.
13182
13183 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13184 compiler-macro expansion.
13185
13186 Add native compiler-macro support.
13187 * emacs-lisp/macroexp.el (macroexpand-all-1):
13188 Support compiler-macros directly. Properly follow aliases and apply
13189 the compiler macros more thoroughly.
13190 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13191 macroexpand now properly follows aliases.
13192 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13193 (cl-compiler-macroexpand): Use new prop.
13194 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13195
13196 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13197
13198 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13199
13200 * window.el (get-lru-window, get-mru-window, get-largest-window):
13201 New argument NOT-SELECTED to avoid picking the selected window.
13202 (window--display-buffer-1, window--display-buffer-2): Replace by
13203 new function window--display-buffer
13204 (display-buffer-same-window, display-buffer-reuse-window)
13205 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13206 Use window--display-buffer.
13207 (display-buffer-use-some-window): Remove temporary dedication
13208 hack by calling get-lru-window and get-largest-window with
13209 NOT-SELECTED argument non-nil. Call window--display-buffer.
13210
13211 2012-06-05 Glenn Morris <rgm@gnu.org>
13212
13213 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13214 Replace external vcdiff script.
13215
13216 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13217
13218 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13219
13220 2012-06-04 Chong Yidong <cyd@gnu.org>
13221
13222 * image.el (imagemagick-types-inhibit): Revert last change.
13223 Add INFO and M.
13224 (imagemagick-enabled-types): Remove CIN and EPS*.
13225
13226 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13227
13228 * emacs-lisp/cl-lib.el: Rename from cl.el.
13229 * emacs-lisp/cl.el: New compatibility file.
13230 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13231 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13232 to obey the "cl-" prefix.
13233 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13234
13235 2012-06-03 Glenn Morris <rgm@gnu.org>
13236
13237 * emacs-lisp/authors.el (authors-aliases): Addition.
13238
13239 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13240 Fix :version.
13241
13242 2012-06-03 Stefan Merten <smerten@oekonux.de>
13243
13244 * textmodes/rst.el: Add comments.
13245 (rst-transition, rst-adornment): New faces.
13246 (rst-adornment-faces-alist): Make default safe to reevaluate.
13247 Fixes
13248 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13249 Improve customization tags.
13250 (rst-define-level-faces): Clarify meaning.
13251
13252 2012-06-03 Chong Yidong <cyd@gnu.org>
13253
13254 * progmodes/compile.el (compilation-mode-line-fail)
13255 (compilation-mode-line-run, compilation-mode-line-exit):
13256 New faces.
13257 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13258
13259 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13260
13261 * progmodes/which-func.el (which-func-update-ediff-windows):
13262 New function. Use it in ediff-select-hook (Bug#11478).
13263
13264 2012-06-03 Chong Yidong <cyd@gnu.org>
13265
13266 * bindings.el: Remove explicit help text from format-mode-line.
13267 It is now supplied by mode-line-default-help-echo.
13268 (mode-line-front-space, mode-line-end-spaces)
13269 (mode-line-misc-info): New variables.
13270 (mode-line-modes, mode-line-position): Move the default value to
13271 the variable definition.
13272 (mode-line-default-help-echo): New defcustom.
13273 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13274 (mode-line-modified-help-echo): New functions.
13275 (mode-line-mule-info, mode-line-modified): Use them.
13276 (mode-line-eol-desc, propertized-buffer-identification):
13277 Consistency fixes for help text.
13278 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13279 set-buffer-file-coding-system (Bug#289).
13280 (mode-line-mule-info-help-echo): Update help text.
13281
13282 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13283
13284 * simple.el (execute-extended-command): Set real-this-command
13285 (bug#11506).
13286
13287 2012-06-02 Chong Yidong <cyd@gnu.org>
13288
13289 Remove incorrect uses of "modeline" in comments, docstrings, and
13290 function/variable names (Bug#10329).
13291
13292 * cus-edit.el (mode-line):
13293 * dframe.el (dframe-mouse-hscroll):
13294 * emacs-lisp/re-builder.el:
13295 * emacs-lisp/easy-mmode.el (define-minor-mode):
13296 * frame.el (set-frame-name):
13297 * help.el (lookup-minor-mode-from-indicator):
13298 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13299 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13300 (c-toggle-hungry-state):
13301 * progmodes/antlr-mode.el (antlr-language-alist):
13302 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13303 * progmodes/vhdl-mode.el (vhdl-mode):
13304 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13305 * term/ns-win.el (ns-face-at-pos):
13306 * term/sup-mouse.el (sup-mouse-report):
13307 * textmodes/flyspell.el (flyspell-mode-line-string):
13308 * textmodes/ispell.el (ispell-highlight-face):
13309 * textmodes/reftex-global.el:
13310 * vc/vc-arch.el (vc-arch-mode-line-string):
13311 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13312 * vc/vc-git.el (vc-git-mode-line-string):
13313 * vc/vc-hooks.el (vc-display-status)
13314 (vc-default-mode-line-string):
13315 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13316
13317 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13318
13319 * dired.el (dired-sort-set-mode-line): Rename from
13320 dired-sort-set-modeline. All callers changed.
13321
13322 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13323 eshell-status-in-modeline.
13324
13325 * foldout.el (foldout-mode-line-string): Rename from
13326 foldout-modeline-string. All callers changed.
13327 (foldout-update-mode-line): Rename from foldout-update-modeline.
13328
13329 * subr.el (redraw-modeline): Make into obsolete alias.
13330
13331 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13332 timeclock-modeline-display. Make old name an alias.
13333 (timeclock-update-mode-line): Likewise. All callers changed.
13334 (timeclock-mode-line-display): No need to check before using
13335 add-hook.
13336 (timeclock-relative, timeclock-day-over-hook)
13337 (timeclock-use-elapsed, timeclock-mode-string)
13338 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13339
13340 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13341 crisp-mode-modeline-string.
13342
13343 * play/solitaire.el (solitaire-build-mode-line): Rename from
13344 solitaire-build-modeline. All callers changed.
13345
13346 * play/zone.el (zone-hiding-mode-line): Rename from
13347 zone-hiding-modeline. All callers changed.
13348 (zone): Remove unusued `modeline-hidden-level' property.
13349
13350 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13351 xscheme-modeline-initialize. All callers changed.
13352
13353 * strokes.el (strokes-lighter): Rename from
13354 strokes-modeline-string.
13355
13356 * textmodes/sgml-mode.el (html-face-tag-alist)
13357 (html-tag-face-alist): Use mode-line face instead of obsolete
13358 alias modeline.
13359
13360 2012-06-02 Stefan Merten <smerten@oekonux.de>
13361
13362 * textmodes/rst.el: Always require `cl'.
13363 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13364
13365 2012-06-02 Chong Yidong <cyd@gnu.org>
13366
13367 * image.el (imagemagick-enabled-types): Rename from
13368 imagemagick-types-enable. Add many more types.
13369 (imagemagick-types-inhibit): Change default to nil.
13370 (imagemagick-filter-types): Caller changed.
13371
13372 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13373
13374 * emacs-lisp/cl-macs.el: Use backquotes.
13375 (cl-transform-function-property): Use eval-and-compile rather than
13376 abusing `require'.
13377 (defstruct): Use declare-function instead of with-no-warnings.
13378
13379 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13380 (byte-compile-output-docform): Re-add the print-circle bindings.
13381 (byte-compile-fix-header): Use #$ just because it's shorter.
13382 (byte-compile-output-file-form): Remove defun/defmacro.
13383
13384 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13385
13386 * simple.el (choose-completion): Remove now obsolete binding for
13387 owindow.
13388
13389 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13390
13391 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13392 in order to avoid "Stack overflow in regexp matcher".
13393
13394 2012-05-31 Glenn Morris <rgm@gnu.org>
13395
13396 * image.el: For clarity, call imagemagick-register-types at
13397 top-level, rather than relying on a custom :initialize.
13398 (imagemagick-types-enable): New option. (Bug#11557)
13399 (imagemagick-filter-types): New function. (Bug#7406)
13400 (imagemagick-register-types): Use imagemagick-filter-types.
13401 If disabling support, remove elements altogether rather
13402 than using an impossible regexp.
13403 (imagemagick-types-inhibit): Give it the default init function.
13404
13405 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13406
13407 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13408 Handle arbitrary file name lengths (Bug#11585).
13409
13410 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13411
13412 * desktop.el (desktop-read): Clear previous and next buffers for
13413 all windows and bury *Messages* buffer (bug#11556).
13414
13415 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13416
13417 Add `declare' for `defun'. Align `defmacro's with it.
13418 * emacs-lisp/easy-mmode.el (define-minor-mode)
13419 (define-globalized-minor-mode): Don't autoload the var definitions.
13420 * emacs-lisp/byte-run.el: Use lexical-binding.
13421 (defun-declarations-alist, macro-declarations-alist): New vars.
13422 (defmacro, defun): Use them.
13423 (make-obsolete, define-obsolete-function-alias)
13424 (make-obsolete-variable, define-obsolete-variable-alias):
13425 Use `declare'.
13426 (macro-declaration-function): Mark obsolete.
13427 * emacs-lisp/autoload.el: Use lexical-binding.
13428 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13429
13430 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13431
13432 * textmodes/ispell.el (ispell-with-no-warnings):
13433 Define as a macro.
13434 (ispell-kill-ispell, ispell-change-dictionary):
13435 Use `called-interactively-p' for Emacs instead of obsolete
13436 `interactive-p'.
13437
13438 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13439
13440 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13441 (macro-declaration-function): Move var from C code.
13442 (macro-declaration-function): Define function with defalias.
13443 * emacs-lisp/macroexp.el (macroexpand-all-1):
13444 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13445 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13446 defun/defmacro any more.
13447 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13448 Provide fallback for unknown arglist.
13449 (byte-compile-arglist-warn): Change calling convention.
13450 (byte-compile-output-file-form): Move print-vars binding.
13451 (byte-compile-output-docform): Simplify accordingly.
13452 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13453 (byte-compile-defmacro-declaration): Remove.
13454 (byte-compile-file-form-defmumble): Generalize to defalias.
13455 (byte-compile-output-as-comment): Return byte-positions.
13456 Simplify callers accordingly.
13457 (byte-compile-lambda): Use `assert'.
13458 (byte-compile-defun, byte-compile-defmacro): Remove.
13459 (byte-compile-file-form-defalias):
13460 Use byte-compile-file-form-defmumble.
13461 (byte-compile-defalias-warn): Remove.
13462
13463 2012-05-29 Stefan Merten <smerten@oekonux.de>
13464
13465 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13466 possible. Fix authors. Improve comments. Improve loading of `cl'.
13467
13468 (rst-mode-abbrev-table): Merge definition.
13469 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13470 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13471
13472 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13473
13474 * calendar/icalendar.el
13475 (icalendar-export-region): Export UID properly.
13476
13477 2012-05-29 Leo Liu <sdl.web@gmail.com>
13478 * calendar/icalendar.el (icalendar-import-format):
13479 Add `icalendar-import-format-uid' (Bug#11525).
13480 (icalendar-import-format-uid): New.
13481 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13482 Export UID.
13483
13484 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13485
13486 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13487 different alternative patterns.
13488 (pcase-codegen): Be more careful to preserve identity.
13489 (pcase--u1): Don't forget to mark vars as used.
13490
13491 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13492 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13493 (byte-compile-from-buffer): ...rather than here.
13494
13495 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13496 functions from byte-compile-function-environment.
13497
13498 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13499
13500 * window.el (window-deletable-p): Avoid deleting the root window
13501 of a frame with an active minibuffer.
13502
13503 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13504
13505 * simple.el (choose-completion): Use quit-window (Bug#11567).
13506
13507 2012-05-29 Chong Yidong <cyd@gnu.org>
13508
13509 * whitespace.el (whitespace-cleanup): Fix usage of
13510 whitespace-empty-at-bob-regexp (Bug#11492).
13511
13512 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13513
13514 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13515 revert (Bug#11488).
13516
13517 2012-05-29 Juri Linkov <juri@jurta.org>
13518
13519 * isearch.el (isearch-mode-map): Bind `M-s _' to
13520 `isearch-toggle-symbol'. Bind `M-s c' to
13521 `isearch-toggle-case-fold'.
13522 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13523 (isearch-forward): Add `M-s _' to the docstring.
13524 (isearch-forward-symbol, isearch-toggle-case-fold)
13525 (isearch-symbol-regexp): New functions. (Bug#11381)
13526
13527 2012-05-29 Juri Linkov <juri@jurta.org>
13528
13529 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13530 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13531 a function, call it to get the regexp.
13532 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13533 property `isearch-message-prefix' instead of the string "word ".
13534 (isearch-search-fun-default): For the case of `isearch-word',
13535 return a lambda that calls re-search-forward/re-search-backward
13536 with a regexp returned by `word-search-regexp' or by the function
13537 in `isearch-word'.
13538
13539 2012-05-29 Juri Linkov <juri@jurta.org>
13540
13541 * isearch.el (isearch-search-fun-default): New function.
13542 (isearch-search-fun): Move default part to the new function
13543 `isearch-search-fun-default'.
13544 (isearch-search-fun-function): Set the default value to
13545 `isearch-search-fun-default'. (Bug#11381)
13546
13547 * comint.el (comint-history-isearch-end):
13548 Use `isearch-search-fun-default'.
13549 (comint-history-isearch-search): Use `isearch-search-fun-default'
13550 and remove spacial case for `isearch-word'.
13551 (comint-history-isearch-wrap): Remove spacial case for
13552 `isearch-word'.
13553
13554 * hexl.el (hexl-isearch-search-function):
13555 Use `isearch-search-fun-default'.
13556
13557 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13558 Use `word-search-regexp' for `isearch-word'.
13559
13560 * misearch.el (multi-isearch-search-fun):
13561 Use `isearch-search-fun-default'.
13562
13563 * simple.el (minibuffer-history-isearch-search):
13564 Use `isearch-search-fun-default' and remove spacial case for
13565 `isearch-word'.
13566 (minibuffer-history-isearch-wrap): Remove spacial case for
13567 `isearch-word'.
13568
13569 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13570 Remove spacial case for `isearch-word'.
13571 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13572
13573 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13574
13575 Decrease XEmacs incompatibilities.
13576 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13577 Use `string-match'.
13578 (flyspell-delete-region-overlays): Use alternative definition for
13579 XEmacs.
13580 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13581 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13582 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13583 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13584 `define-obsolete-face-alias' under XEmacs, but old method.
13585
13586 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13587 `with-no-warnings' definition or Emacs alias.
13588 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13589 (ispell-word): Do not use `region-p' if XEmacs.
13590
13591 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13592
13593 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13594 Check for `ispell-dictionary-base-alist' instead of full
13595 `ispell-dictionary-alist'.
13596 (ispell-init-process): Show spellchecker when starting new Ispell
13597 process.
13598
13599 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13600
13601 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13602 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13603
13604 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13605
13606 * version.el (motif-version-string, gtk-version-string)
13607 (ns-version-string): Declare.
13608
13609 2012-05-27 Juri Linkov <juri@jurta.org>
13610
13611 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13612 after the `eval-defun-1' specialcaseing
13613 like in `edebug-eval-defun' (bug#10181).
13614
13615 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13616 like in `eval-defun-1'.
13617
13618 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13619
13620 * mail/sendmail.el (mail-yank-region):
13621 Recognize rmail-yank-current-message in addition to insert-buffer.
13622 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13623 a *mail* buffer created through rmail-start-mail with sendmail as
13624 mail-user-agent.
13625
13626 2012-05-27 Chong Yidong <cyd@gnu.org>
13627
13628 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13629 Default to 256 (Bug#11267).
13630
13631 * help.el (describe-mode): Doc fix.
13632
13633 2012-05-26 Glenn Morris <rgm@gnu.org>
13634
13635 * w32-fns.el (w32-init-info): Remove.
13636 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13637
13638 * info.el (info-initialize): For self-contained NS builds, put the
13639 included info/ directory at the front. (Bug#2791)
13640
13641 * paths.el (Info-default-directory-list): Make it a defcustom,
13642 mainly so that we can use custom-initialize-delay.
13643
13644 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13645
13646 * subr.el (buffer-has-markers-at): Mark obsolete.
13647
13648 * subr.el (lambda): Use declare.
13649
13650 * emacs-lisp/lisp-mode.el (lambda):
13651 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13652
13653 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13654
13655 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13656
13657 2012-05-26 Glenn Morris <rgm@gnu.org>
13658
13659 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13660
13661 2012-05-25 Glenn Morris <rgm@gnu.org>
13662
13663 * paths.el: Remove no-byte-compile.
13664 * loadup.el: No need to load paths.el uncompiled.
13665
13666 * image.el (imagemagick-types-inhibit): Doc fix.
13667
13668 * version.el: Remove no-byte-compile and associated formatting.
13669 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13670 is ancient code from when there was an "inc-vers.el".
13671
13672 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13673
13674 * progmodes/gdb-mi.el: Minor style changes.
13675 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13676 Turn into minor modes.
13677 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13678 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13679 (gdb-shell): Remove unneeded let-binding.
13680 (gdb-get-many-fields): Eliminate O(n²) behavior.
13681
13682 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13683
13684 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13685 platforms that don't link in fontset.c.
13686
13687 2012-05-25 Juri Linkov <juri@jurta.org>
13688
13689 Use the same diff color scheme as in modern VCSes (bug#10181).
13690
13691 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13692 to avoid confusion with `diff-added' that now uses green colors.
13693 (diff-removed): Use shades of red.
13694 (diff-added): Use shades of green.
13695 (diff-changed): Leave just the yellow color.
13696 (diff-use-changed-face): New variable.
13697 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13698 how to highlight context diff changes.
13699 (diff-refine-change): Use shades of yellow.
13700 (diff-refine-removed): New face that uses shades of red.
13701 (diff-refine-added): New face that uses shades of green.
13702 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13703 `diff-refine-removed' in the call to `smerge-refine-subst'
13704 depending on the value of `diff-use-changed-face'.
13705
13706 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13707 (smerge-other): Use shades of green.
13708 (smerge-base): Use shades of yellow.
13709 (smerge-refined-change): Empty face.
13710 (smerge-refined-removed): New face that uses shades of red.
13711 (smerge-refined-added): New face that uses shades of green.
13712 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13713 args `props-r' and `props-a', and use them. Doc fix.
13714 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13715 on its value use different faces `smerge-refined-change',
13716 `smerge-refined-removed', `smerge-refined-added' in the call to
13717 `smerge-refine-subst'.
13718
13719 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13720 Add face condition `min-colors 88' with shades of red.
13721 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13722 `min-colors 88' with shades of green.
13723 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13724 `min-colors 88' with shades of yellow.
13725
13726 2012-05-24 Glenn Morris <rgm@gnu.org>
13727
13728 * paths.el (prune-directory-list, remote-shell-program): Move to...
13729 * files.el (prune-directory-list, remote-shell-program): ...here.
13730 For the latter, delay initialization, prefer ssh, just search PATH.
13731
13732 * paths.el (term-file-prefix): Move to faces.el (the only user).
13733 * faces.el (term-file-prefix): Move here, make it a defcustom.
13734
13735 * paths.el (news-directory, news-path, news-inews-program):
13736 Move to gnus/nnspool.el.
13737
13738 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13739
13740 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13741 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13742 Make the latter a defcustom, with a delayed initialization.
13743
13744 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13745 These were deleted from Gnus itself late 2010.
13746
13747 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13748
13749 * progmodes/which-func.el (which-func-ff-hook):
13750 Check against user-error, not error.
13751
13752 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13753 cl-specs.el, which no longer exists.
13754
13755 2012-05-22 Glenn Morris <rgm@gnu.org>
13756
13757 * info.el (info-emacs-bug): New command.
13758 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13759 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13760
13761 2012-05-21 Glenn Morris <rgm@gnu.org>
13762
13763 * makefile.w32-in (update-subdirs-SH):
13764 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13765
13766 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13767
13768 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13769
13770 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13771 Simplify Maven regexp, and make sure the file can't start with a space
13772 (bug#11517).
13773
13774 2012-05-21 Glenn Morris <rgm@gnu.org>
13775
13776 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13777 Scrap superfluous subshells.
13778
13779 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13780
13781 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13782 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13783
13784 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13785
13786 * calc/calc.el (calc-ensure-consistent-units): New variable.
13787
13788 * calc/calc-units.el (math-consistent-units-p)
13789 (math-check-unit-consistency): New functions.
13790 (calc-quick-units, calc-convert-units):
13791 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13792 is non-nil.
13793 (calc-extract-units): Fix typo.
13794
13795 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13796
13797 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13798
13799 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13800 (flyspell-default-deplacement-commands): Don't spell check after
13801 repeated window/frame switches (e.g. triggered by mouse-movement).
13802 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13803 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13804 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13805 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13806 Remove unused vars.
13807 (flyspell-get-casechars, flyspell-get-not-casechars):
13808 Simplify; Don't bother removing a ] just to add it back.
13809 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13810
13811 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13812
13813 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13814 New functions.
13815 (math-function-table): Add support for more C functions.
13816
13817 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13818
13819 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13820 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13821 Protect delay handling for otherchars against empty otherchars.
13822
13823 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13824
13825 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13826 their respective macro declarations.
13827 * skeleton.el (define-skeleton):
13828 * progmodes/compile.el (define-compilation-mode):
13829 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13830 (define-ibuffer-filter):
13831 * emacs-lisp/generic.el (define-generic-mode):
13832 * emacs-lisp/easy-mmode.el (define-minor-mode)
13833 (define-globalized-minor-mode):
13834 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13835 * emacs-lisp/byte-run.el (defsubst):
13836 * custom.el (deftheme): Add doc-string metadata.
13837
13838 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13839
13840 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13841
13842 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13843
13844 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13845
13846 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13847 * emacs-lisp/cl-macs.el: Idem.
13848 * emacs-lisp/cl-specs.el: Remove.
13849
13850 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13851
13852 Minor renaming of internal CL functions and variables.
13853 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13854 (cl--position): Rename from cl-position.
13855 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13856 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13857 (cl--random-state): Rename from *random-state*.
13858
13859 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13860
13861 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13862 parens around the arg list (bug#11499).
13863
13864 2012-05-17 Juri Linkov <juri@jurta.org>
13865
13866 * isearch.el (word-search-regexp, word-search-backward)
13867 (word-search-forward, word-search-backward-lax)
13868 (word-search-forward-lax): Move functions from search.c
13869 (bug#10145, bug#11381).
13870
13871 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13872
13873 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13874 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13875 Delay for otherchars as for normal word components.
13876
13877 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13878
13879 * minibuffer.el (completion--sifn-requote): Fix last change.
13880 (minibuffer-local-must-match-filename-map):
13881 Move define-obsolete-variable-alias before its var.
13882
13883 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13884
13885 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13886
13887 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13888 behavior.
13889 (completion--string-equal-p): New function.
13890 (completion--twq-all): Use it to get better assertion failure data.
13891
13892 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13893 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13894 (shell--requote-argument): New functions.
13895 (shell-completion-vars): Use them.
13896 (shell--parse-pcomplete-arguments): Rename from
13897 shell-parse-pcomplete-arguments.
13898 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13899 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13900 Obey comint-file-name-quote-list.
13901
13902 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13903 (smie-indent-keyword): Use it.
13904
13905 2012-05-14 Stefan Merten <smerten@oekonux.de>
13906
13907 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13908
13909 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13910
13911 * net/rlogin.el (rlogin-mode-map): Fix last change.
13912
13913 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13914
13915 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13916 the following \r\n using a single `process-send-string', since the
13917 Lotus SMTP server refuses to accept any commands if they are sent
13918 with two `process-send-string's (Bug#11444).
13919
13920 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13921
13922 * shell.el (shell-parse-pcomplete-arguments):
13923 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13924
13925 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13926
13927 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13928 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13929 (image-transform-width, image-transform-fit-width): New functions.
13930 (image-transform-properties): Use them.
13931 (image-transform-check-size): New function.
13932 (image-toggle-display-image): Use it (for testing).
13933 (image-transform-set-rotation): Reduce angle mod 360.
13934 Delete obsolete comment.
13935
13936 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13937
13938 * image-mode.el: Fix scaling (bug#11399).
13939 (image-transform-resize): Doc fix.
13940 (image-transform-properties): Default scale is 1 and height should
13941 be an integer.
13942
13943 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13944
13945 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13946 than hard-coding `car', to fix misbehavior when moving forward.
13947
13948 2012-05-13 Chong Yidong <cyd@gnu.org>
13949
13950 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13951 (tabulated-list-entries, tabulated-list-padding)
13952 (tabulated-list-sort-key): Make permanent-local.
13953
13954 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13955 (electric-buffer-list): Put electric buffer menu
13956 command descriptions in this docstring, instead of the docstring
13957 of electric-buffer-menu-mode. Code cleanups.
13958 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13959 Electric-buffer-menu-mode.
13960 (electric-buffer-update-highlight): Minor code cleanup.
13961
13962 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13963
13964 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13965 (Bug#11447)
13966
13967 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13968
13969 Move define-obsolete-variable-alias before the var's definition.
13970 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13971 * tooltip.el (tooltip-hook):
13972 * textmodes/reftex-toc.el (reftex-toc-map):
13973 * textmodes/reftex-sel.el (reftex-select-label-map)
13974 (reftex-select-bib-map):
13975 * textmodes/reftex-index.el (reftex-index-map)
13976 (reftex-index-phrases-map):
13977 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13978 * progmodes/meta-mode.el (meta-mode-map):
13979 * novice.el (disabled-command-hook):
13980 * loadhist.el (unload-hook-features-list):
13981 * frame.el (blink-cursor):
13982 * files.el (find-file-not-found-hooks, write-file-hooks)
13983 (write-contents-hooks):
13984 * emulation/tpu-edt.el (GOLD-map):
13985 * emacs-lock.el (emacs-lock-from-exiting):
13986 * emacs-lisp/generic.el (generic-font-lock-defaults):
13987 * emacs-lisp/chart.el (chart-map):
13988 * dos-fns.el (register-name-alist):
13989 * dired-x.el (dired-omit-files-p):
13990 * desktop.el (desktop-enable):
13991 * cus-edit.el (custom-mode-hook):
13992 * buff-menu.el (buffer-menu-mode-hook):
13993 * bookmark.el (bookmark-read-annotation-text-func)
13994 (bookmark-exit-hooks):
13995 * allout.el (allout-mode-deactivate-hook)
13996 (allout-exposure-change-hook, allout-structure-added-hook)
13997 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13998 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13999 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14000 comes before the corresponding variable's definition.
14001
14002 2012-05-12 Chong Yidong <cyd@gnu.org>
14003
14004 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14005 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14006 (Buffer-menu-mode-map): Bind it.
14007 (Buffer-menu--pretty-name): Add a mouse-face property.
14008
14009 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14010
14011 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14012 (prolog-upper-case-string, prolog-lower-case-string)
14013 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14014 (prolog-use-smie, prolog-smie-grammar): New vars.
14015 (prolog-smie-forward-token, prolog-smie-backward-token)
14016 (prolog-smie-rules): New funs.
14017 (prolog-comment-indent): Remove.
14018 (prolog-mode-variables): Use default comment indentation instead.
14019 Setup SMIE.
14020 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14021 (prolog-mode): Don't call them any more.
14022 (prolog-electric-colon, prolog-electric-dash)
14023 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14024
14025 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14026
14027 * minibuffer.el (completion--twq-all): Again, allow case differences.
14028
14029 * term.el: Move keymap initialization code to be more idiomatic.
14030 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14031 (term-terminal-menu): Move initialization into declaration.
14032 (term-escape-char): Let the user set it in her .emacs.
14033
14034 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14035 Provide SMIE-based indentation (not enabled by default yet).
14036 (sh-mode-map): Don't bind electric keys.
14037 Use electric-pair-mode instead of skeleton-pair.
14038 (sh-assignment-regexp): Fit within 80 columns.
14039 (sh-indent-supported): Specify actual shell name instead of boolean.
14040 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14041 (sh-maybe-here-document): Use it. Make obsolete.
14042 (sh-electric-here-document-mode) New minor mode.
14043 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14044 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14045 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14046 (sh-smie-rc-grammar, sh-use-smie): New vars.
14047 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14048 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14049 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14050 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14051 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14052 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14053 (sh-set-shell): Use smie-setup if requested.
14054
14055 * term.el (term-set-escape-char): Properly set term-escape-char.
14056 See http://stackoverflow.com/questions/10524656.
14057
14058 2012-05-10 Chong Yidong <cyd@gnu.org>
14059
14060 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14061 Use url-generic-parse-url, and handle host names and Windows
14062 filenames properly.
14063 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14064 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14065 URL schemes to work on.
14066 (ffap--toggle-read-only): New function.
14067 (ffap-read-only, ffap-read-only-other-window)
14068 (ffap-read-only-other-frame): Use it.
14069 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14070 necessary for ffap-url-unwrap-remote.
14071
14072 2012-05-10 Dave Abrahams <dave@boostpro.com>
14073
14074 * cus-start.el (create-lockfiles): Add it.
14075
14076 2012-05-09 Chong Yidong <cyd@gnu.org>
14077
14078 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14079 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14080
14081 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14082
14083 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14084
14085 2012-05-09 Chong Yidong <cyd@gnu.org>
14086
14087 * ansi-color.el (ansi-color-process-output): Check for validity of
14088 comint-last-output-start before using it. This avoids a bad
14089 interaction with gdb-mi's input/output buffer.
14090
14091 2012-05-09 Glenn Morris <rgm@gnu.org>
14092
14093 * files.el (dir-locals-read-from-file):
14094 Mention dir-locals in any error message.
14095
14096 2012-05-09 Chong Yidong <cyd@gnu.org>
14097
14098 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14099 package (Bug#11410).
14100
14101 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14102 variables into description.
14103
14104 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14105
14106 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14107 shell-delimiter-argument-list (bug#11348).
14108 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14109
14110 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14111
14112 * textmodes/rst.el: Silence byte-compiler warnings.
14113 (rst-re-alist, rst-reset-section-caches): Move around.
14114 (rst-re): Use `characterp', not `char-valid-p'.
14115 (font-lock-beg, font-lock-end): Declare.
14116
14117 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14118 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14119
14120 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14121
14122 2012-05-08 Glenn Morris <rgm@gnu.org>
14123
14124 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14125
14126 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14127
14128 * vc/log-edit.el: Add GNU coding standards highlighting.
14129 (log-edit-font-lock-gnu-style)
14130 (log-edit-font-lock-gnu-keywords): New vars.
14131 (log-edit-font-lock-keywords): New fun.
14132 (log-edit-mode): Don't fold case in font-lock.
14133 (log-edit-font-lock-keywords): Do not assume case-folding.
14134
14135 * imenu.el: Misc cleanup. Make docstrings out of comments.
14136 Use lexical-binding.
14137 (imenu--index-alist, imenu--last-menubar-index-alist)
14138 (imenu-menubar-modified-tick): Use defvar-local.
14139 (imenu--split-menu): Remove unused var.
14140 (imenu--cleanup-seen): Declare as global.
14141 (imenu--cleanup): Use dolist.
14142
14143 * subr.el (defvar-local): Add debug spec and doc-string position.
14144
14145 2012-05-08 Glenn Morris <rgm@gnu.org>
14146
14147 * language/burmese.el, language/cham.el, language/czech.el:
14148 * language/english.el, language/georgian.el, language/greek.el:
14149 * language/japanese.el, language/khmer.el, language/korean.el:
14150 * language/lao.el, language/misc-lang.el, language/romanian.el:
14151 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14152 * language/thai.el, language/utf-8-lang.el:
14153 Remove no-byte-compile setting.
14154
14155 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14156
14157 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14158
14159 * progmodes/make-mode.el (makefile-browse):
14160 Remove unnecessary interactive. (Bug#11324)
14161
14162 2012-05-07 Glenn Morris <rgm@gnu.org>
14163
14164 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14165
14166 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14167
14168 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14169
14170 * loadup.el: Preload newcomment.el.
14171 * newcomment.el: Move autoload-only code to toplevel.
14172
14173 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14174 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14175 Handle new :right-align column property.
14176 (tabulated-list-print-col): Idem, plus use `display' text-property to
14177 try and preserve alignment for variable pitch fonts.
14178
14179 2012-05-07 Chong Yidong <cyd@gnu.org>
14180
14181 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14182 (tabulated-list-use-header-line): New var.
14183 (tabulated-list-init-header): Use it.
14184 (tabulated-list-print-fake-header): New function.
14185 (tabulated-list-print): Use it.
14186 (tabulated-list-sort-button-map): Add non-header-line commands.
14187 (tabulated-list-init-header): Add column name property to basic
14188 labels as well.
14189 (tabulated-list-col-sort): Handle non-header-line button case.
14190 (tabulated-list--sort-by-column-name): Fix a corner case.
14191
14192 * buff-menu.el (list-buffers--refresh):
14193 Handle Buffer-menu-use-header-line.
14194
14195 2012-05-06 Chong Yidong <cyd@gnu.org>
14196
14197 * buff-menu.el: Convert to Tabulated List mode.
14198 (Buffer-menu-buffer+size-width): Make obsolete.
14199 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14200 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14201 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14202 documentation into docstring of buffer-menu.
14203 (Buffer-menu-toggle-files-only): Add an informative message.
14204 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14205 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14206 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14207 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14208 (Buffer-menu-execute, Buffer-menu-select)
14209 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14210 (Buffer-menu-bury): Use Tabulated List machinery.
14211 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14212 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14213 Delete.
14214 (list-buffers--refresh): New function.
14215 (list-buffers-noselect): Use it.
14216 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14217 (Buffer-menu--pretty-file-name): New helper functions.
14218
14219 * loadup.el: Preload tabulated-list.
14220
14221 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14222 tabulated-list-sort-column.
14223 (tabulated-list-init-header): Add the initial aligning space even
14224 if tabulated-list-padding is zero.
14225
14226 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14227
14228 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14229 whose cdr is not a cons cell correctly (bug#11038).
14230
14231 2012-05-06 Chong Yidong <cyd@gnu.org>
14232
14233 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14234 Accept additional plist in column descriptors.
14235 (tabulated-list-init-header): Obey it.
14236 (tabulated-list-get-entry): New function.
14237 (tabulated-list-put-tag): Use it. Use string-width instead of
14238 length.
14239 (tabulated-list--column-number): New function.
14240 (tabulated-list-print): Use it.
14241 (tabulated-list-print-col): New function.
14242 Set `tabulated-list-column-name' property on each column's text.
14243 (tabulated-list-print-entry): Use it.
14244 (tabulated-list-delete-entry, tabulated-list-set-col):
14245 New functions.
14246 (tabulated-list-sort-column): New command (Bug#11337).
14247
14248 * buff-menu.el (list-buffers): Move C-x C-b binding from
14249 buff-menu.el to bindings.el.
14250
14251 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14252 :advertised-binding feature.
14253
14254 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14255
14256 * progmodes/compile.el (compilation-internal-error-properties):
14257 Calculate start position correctly when end-col is set but
14258 end-line is not (Bug#11382).
14259
14260 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14261
14262 * man.el (Man-unindent): Use text-property-default-nonsticky to
14263 prevent untabify from inheriting face properties (Bug#11408).
14264
14265 2012-05-05 Stefan Merten <smerten@oekonux.de>
14266
14267 * textmodes/rst.el: Major merge with upstream development up to
14268 Docutils SVN r7399 / rst.el V1.2.1.
14269
14270 Clarify maintainership and authors.
14271
14272 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14273 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14274 (rst-official-version, rst-official-cvs-rev, rst-version)
14275 (rst-package-emacs-version-alist): New functions and variables
14276 for version information.
14277
14278 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14279 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14280 (rst-mode-syntax-table, rst-mode): New and corrected functions
14281 and variables representing reStructuredText features.
14282
14283 (rst-re): New function for reStructuredText regexes. Use in
14284 many places.
14285
14286 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14287 (rst-mode-map): Rebind keys.
14288
14289 (rst-mode-lazy, rst-font-lock-keywords)
14290 (rst-font-lock-extend-region)
14291 (rst-font-lock-extend-region-internal)
14292 (rst-font-lock-extend-region-extend)
14293 (rst-font-lock-find-unindented-line-limit)
14294 (rst-font-lock-find-unindented-line-match)
14295 (rst-adornment-level, rst-font-lock-adornment-level)
14296 (rst-font-lock-adornment-match)
14297 (rst-font-lock-handle-adornment-pre-match-form)
14298 (rst-font-lock-handle-adornment-matcher): Major revision of
14299 font-locking. Integrate with other code. Use `jit-lock-mode'.
14300
14301 (rst-preferred-adornments, rst-adjust-hook)
14302 (rst-new-adornment-down, rst-preferred-bullets)
14303 (rst-preferred-bullets, rst-indent, rst-indent-width)
14304 (rst-indent-field, rst-indent-literal-normal)
14305 (rst-indent-literal-minimized, rst-indent-comment): Change,
14306 extend and improve customization.
14307
14308 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14309 (rst-normalize-cursor-position, rst-get-decoration)
14310 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14311 (rst-rstrip, rst-toc-insert-find-delete-contents)
14312 (rst-shift-fill-region, rst-compute-bullet-tabs)
14313 (rst-debug-print-tabs, rst-debug-mark-found)
14314 (rst-shift-region-guts, rst-shift-region-right)
14315 (rst-shift-region-left, rst-use-char-classes)
14316 (rst-font-lock-keywords-function)
14317 (rst-font-lock-indentation-point)
14318 (rst-font-lock-find-unindented-line-begin)
14319 (rst-font-lock-find-unindented-line-end)
14320 (rst-font-lock-find-unindented-line)
14321 (rst-font-lock-adornment-point, rst-font-lock-level)
14322 (rst-adornment-level-alist): Remove functions and variables.
14323
14324 (rst-compare-adornments, rst-get-adornment-match)
14325 (rst-suggest-new-adornment, rst-get-adornments-around)
14326 (rst-adornment-complete-p, rst-get-next-adornment)
14327 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14328 (rst-straighten-adornments): Standardize function names to
14329 use "adornment" instead of "decoration". Correct callers.
14330 Similar standardizing in many places.
14331
14332 (rst-update-section, rst-adjust, rst-promote-region)
14333 (rst-enumerate-region, rst-bullet-list-region)
14334 (rst-repeat-last-character): Correct use of `interactive'.
14335
14336 (rst-classify-adornment, rst-find-all-adornments)
14337 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14338 (rst-find-leftmost-column, rst-repeat-last-character):
14339 Refactor functions.
14340
14341 (rst-find-title-line, rst-reset-section-caches)
14342 (rst-get-adornments-around, rst-adjust-adornment-work)
14343 (rst-arabic-to-roman, rst-roman-to-arabic)
14344 (rst-insert-list-pos, rst-insert-list-new-item)
14345 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14346 New functions.
14347
14348 (rst-all-sections, rst-section-hierarchy)
14349 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14350 New variables.
14351
14352 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14353 configuration instead of only buffer. Change where necessary.
14354
14355 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14356 (rst-shift-region, rst-adaptive-fill): New functions for
14357 indentation and filling.
14358
14359 (rst-comment-line-break, rst-comment-indent)
14360 (rst-comment-insert-comment, rst-comment-region)
14361 (rst-uncomment-region): New functions for handling comments.
14362
14363 (rst-compile): Quote shell arguments.
14364
14365 (rst-compile-pdf-preview, rst-compile-slides-preview):
14366 Delete temporary files after use.
14367
14368 2012-05-05 Glenn Morris <rgm@gnu.org>
14369
14370 * calendar/cal-html.el: Optionally include holidays in the output.
14371 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14372 (cal-html-holidays): New option.
14373 (cal-html-css-default): Add holiday entry.
14374 (holiday-in-range): Autoload it.
14375 (cal-html-htmlify-entry): Add optional class argument.
14376 (cal-html-htmlify-list): Add optional holidays argument.
14377 (cal-html-insert-agenda-days): Include holidays in the output.
14378 (cal-html-one-month): Maybe include holidays.
14379
14380 * calendar/holidays.el (holiday-in-range):
14381 Move here from cal-tex-list-holidays.
14382 * calendar/cal-tex.el (cal-tex-list-holidays):
14383 Make it an obsolete alias for holiday-in-range. Update all callers.
14384
14385 2012-05-05 Chong Yidong <cyd@gnu.org>
14386
14387 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14388 Nextstep.
14389
14390 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14391
14392 * files.el (file-auto-mode-skip): New var.
14393 (set-auto-mode-1): Use it.
14394
14395 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14396
14397 * repeat.el: Use lexical-binding.
14398 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14399 (repeat-undo-count): Remove.
14400 (repeat):
14401 * progmodes/octave-mod.el (octave-abbrev-start):
14402 * progmodes/f90.el (f90-abbrev-start):
14403 * face-remap.el (text-scale-adjust):
14404 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14405
14406 * emacs-lisp/pcase.el (pcase--let*): New function.
14407 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14408 a bit more.
14409 (pcase--split-pred): Be more clever about ruling out overlap between
14410 a predicate and some constant pattern.
14411 (pcase--q1): Use `null' instead of (eq foo nil).
14412
14413 * subr.el (setq-local, defvar-local): New macros.
14414 (kbd): Redefine as an alias.
14415 (with-selected-window): Leave unrelated frames alone.
14416 (set-temporary-overlay-map): New function.
14417
14418 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14419
14420 * subr.el (user-error): New function.
14421 * window.el (switch-to-buffer):
14422 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14423 (smerge-match-conflict):
14424 * simple.el (previous-matching-history-element)
14425 (next-matching-history-element, goto-history-element, undo-more)
14426 (undo-start):
14427 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14428 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14429 (next-file, tags-loop-scan, list-tags, complete-tag):
14430 * progmodes/compile.el (compilation-loop):
14431 * mouse.el (mouse-minibuffer-check):
14432 * man.el (Man-bgproc-sentinel, Man-goto-page):
14433 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14434 (Info-history-forward, Info-follow-reference, Info-menu)
14435 (Info-extract-menu-item, Info-extract-menu-counting)
14436 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14437 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14438 (Info-next-reference, Info-prev-reference, Info-index)
14439 (Info-index-next, Info-follow-nearest-node)
14440 (Info-copy-current-node-name):
14441 * imenu.el (imenu--make-index-alist)
14442 (imenu-default-create-index-function, imenu-add-to-menubar):
14443 * files.el (basic-save-buffer, recover-file):
14444 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14445 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14446 (checkdoc-message-text, checkdoc-defun):
14447 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14448 * cus-edit.el (customize-changed-options, customize-rogue)
14449 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14450 (custom-variable-mark-to-reset-standard)
14451 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14452 (custom-file):
14453 * completion.el (check-completion-length):
14454 * comint.el (comint-search-arg)
14455 (comint-previous-matching-input-string-position)
14456 (comint-previous-matching-input)
14457 (comint-replace-by-expanded-history-before-point, comint-send-input)
14458 (comint-copy-old-input, comint-backward-matching-input)
14459 (comint-goto-process-mark, comint-set-process-mark):
14460 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14461 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14462
14463 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14464
14465 * dabbrev.el (dabbrev--ignore-case-p): New function.
14466 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14467 Use it.
14468
14469 * files.el (automount-dir-prefix): Mark as obsolete.
14470
14471 2012-05-04 Glenn Morris <rgm@gnu.org>
14472
14473 * patcomp.el, play/bruce.el: Move to obsolete/.
14474
14475 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14476
14477 Fix minor Y10k bugs.
14478 * arc-mode.el (archive-unixdate):
14479 * autoinsert.el (auto-insert-alist):
14480 * calc/calc-forms.el (math-this-year):
14481 * emacs-lisp/copyright.el (copyright-current-year)
14482 (copyright-update-year, copyright):
14483 * tar-mode.el (tar-clip-time-string):
14484 * time.el (display-time-update):
14485 Don't assume years have 4 digits.
14486
14487 2012-05-04 Chong Yidong <cyd@gnu.org>
14488
14489 * dos-w32.el (file-name-buffer-file-type-alist)
14490 (direct-print-region-use-command-dot-com):
14491 * ffap.el (ffap-menu-regexp):
14492 * find-file.el (ff-special-constructs):
14493 * follow.el (follow-debug):
14494 * forms.el (forms--debug):
14495 * iswitchb.el (iswitchb-all-frames):
14496 * ido.el (ido-all-frames):
14497 * emacs-lisp/timer.el (timer-max-repeats):
14498 * mail/feedmail.el (feedmail-mail-send-hook)
14499 (feedmail-mail-send-hook-queued):
14500 * mail/footnote.el (footnote-signature-separator):
14501 * mail/mailabbrev.el (mail-alias-separator-string)
14502 (mail-abbrev-mode-regexp):
14503 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14504 * progmodes/idlwave.el (idlwave-libinfo-file)
14505 (idlwave-default-completion-case-is-down)
14506 (idlwave-library-routines): Convert defvars to defcustoms.
14507
14508 * mail/rmail.el (rmail-decode-mime-charset):
14509 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14510 (idlwave-shell-fix-inserted-breaks)
14511 (idlwave-shell-activate-alt-keybindings)
14512 (idlwave-shell-use-breakpoint-glyph):
14513 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14514
14515 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14516
14517 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14518
14519 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14520
14521 * progmodes/verilog-mode.el (font-lock-keywords):
14522 Fix mis-highligting auto. Reported by Craig Barner.
14523 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14524 defines from global name space. Reported by Dan Dever.
14525 (verilog-auto-reset, verilog-auto-reset-widths)
14526 (verilog-auto-tieoff): Support using unbased numbers for
14527 AUTORESET and AUTOTIEOFF.
14528 (verilog-submit-bug-report): Update variable list.
14529 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14530 parenthesis from not matching. Reported by Michael Rytting.
14531 (verilog-auto-template-lint): Fix hash error when linting modules
14532 with no used templates.
14533 (verilog-warn, verilog-warn-error)
14534 (verilog-warn-fatal): When non-interactive report multiple
14535 warnings before exiting. Suggested by Brad Dobbie.
14536 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14537 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14538 to report unused template errors. Reported by Brad Dobbie.
14539 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14540 nets, bug438. Reported by Vns Blore.
14541 (verilog-auto-inout-module, verilog-auto-reg)
14542 (verilog-read-decls, verilog-read-sub-decls-sig)
14543 (verilog-signals-edit-wire-reg, verilog-signals-with):
14544 Fix passing of Verilog data types in ANSI input/output ports
14545 such as "output logic" into the AUTOs. Special case "wire" and
14546 "reg" for backwards compatibility presuming Verilog 2001.
14547 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14548 (verilog-preprocess): Fix replication of preprocess output.
14549 Reported by Brad Dobbie.
14550 (verilog-auto-inst-interfaced-ports):
14551 Create verilog-auto-inst-interfaced-ports, bug429.
14552 Reported by Julian Gorfajn.
14553 (verilog-after-save-font-hook)
14554 (verilog-before-save-font-hook): New variable.
14555 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14556 (verilog-save-font-mods): Wrap disabling fontification, reported
14557 by David Rogoff.
14558 (verilog-do-indent, verilog-pretty-declarations-auto)
14559 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14560 Reported by Pierre-David Pfister.
14561 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14562 of class declarations, bug292. Reported by Kevin Heilman.
14563 (verilog-read-decls): Fix 'parameter type' not appearing in
14564 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14565 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14566 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14567 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14568 Reported by David Kravitz.
14569
14570 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14571
14572 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14573 assignment with tests in ifs and for loops.
14574 (verilog-extended-complete-re, verilog-complete-reg): Change so
14575 that DPI inport functions don't look like fuction declarations.
14576 (verilog-pretty-expr): Don't line up assignment
14577 operations to the test and increment in if and for loops
14578 (verilog-extended-complete-re, verilog-complete-reg): Change so
14579 that DPI inport functions don't look like fuction declarations.
14580
14581 2012-05-03 Kenichi Handa <handa@m17n.org>
14582
14583 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14584 decoding, and show a warning message without signaling an error
14585 (Bug#11282).
14586
14587 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14588
14589 * emacs-lisp/bytecomp.el
14590 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14591 since cconv.el might have introduced :fun-body, internal-make-closure,
14592 and friends for bytecomp to handle (bug#11391).
14593 * custom.el (defcustom): Avoid ((λ ..) ..).
14594
14595 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14596
14597 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14598
14599 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14600
14601 * notifications.el (dbus-debug):
14602 * term/linux.el (gpm-mouse-enable):
14603 * term/screen.el (xterm-register-default-colors): Declare.
14604
14605 2012-05-02 Chong Yidong <cyd@gnu.org>
14606
14607 * cus-start.el (gc-cons-percentage, exec-suffixes)
14608 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14609 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14610 (make-cursor-line-fully-visible, void-text-area-pointer)
14611 (font-list-limit): Add customization data.
14612
14613 * allout.el (allout-exposure-change-functions)
14614 (allout-structure-added-functions)
14615 (allout-structure-deleted-functions)
14616 (allout-structure-shifted-functions): Rename abnormal hooks from
14617 *-hook, and convert to defcustoms.
14618 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14619 Convert to defcustoms.
14620 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14621
14622 * allout-widgets.el: Hook callers changed.
14623
14624 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14625
14626 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14627 the yanked message in preference to the default value of
14628 buffer-file-coding-system.
14629
14630 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14631
14632 * window.el (display-buffer--action-function-custom-type):
14633 Fix entry.
14634
14635 2012-05-02 Alan Mackenzie <acm@muc.de>
14636
14637 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14638
14639 2012-05-01 Glenn Morris <rgm@gnu.org>
14640
14641 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14642
14643 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14644
14645 * cus-edit.el (custom-variable-documentation): Simplify with format.
14646
14647 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14648 Stefan Monnier <monnier@iro.umontreal.ca>
14649
14650 * simple.el (suggest-key-bindings, execute-extended-command):
14651 Move from keyboard.c.
14652
14653 2012-05-01 Chong Yidong <cyd@gnu.org>
14654
14655 * follow.el: Eliminate advice.
14656 (set-process-filter, process-filter, sit-for): Advice deleted.
14657 (follow-mode-off-hook): Obsolete hook removed.
14658 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14659 Vars deleted.
14660 (follow-auto): Use a :set function.
14661 (follow-mode): Rewritten. Don't advise process filters.
14662 (follow-switch-to-current-buffer-all, follow-scroll-up)
14663 (follow-scroll-down): Assume follow-mode is bound.
14664 (follow-comint-scroll-to-bottom)
14665 (follow-align-compilation-windows): New functions.
14666 (follow--window-sorter): New function.
14667 (follow-all-followers): Use it to explicitly sort windows by their
14668 positions; don't make assumptions about next-window order.
14669 (follow-windows-start-end, follow-delete-other-windows-and-split)
14670 (follow-calc-win-start): Doc fix.
14671 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14672 vertical-motion unnecessarily.
14673 (follow-adjust-window): New function.
14674 (follow-post-command-hook): Use it.
14675 (follow-call-set-process-filter, follow-call-process-filter)
14676 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14677 (follow-stop-intercept-process-output, follow-generic-filter):
14678 Functions deleted.
14679 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14680 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14681 New functions, replacing advice on scroll-bar-* commands.
14682 (follow-mwheel-scroll): New function (Bug#4112).
14683
14684 * comint.el (comint-adjust-point): New function.
14685 (comint-postoutput-scroll-to-bottom): Use it.
14686 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14687
14688 2012-05-01 Glenn Morris <rgm@gnu.org>
14689
14690 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14691 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14692 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14693 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14694 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14695 Remove no-byte-compile setting.
14696
14697 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14698
14699 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14700 all-completions code to not return a number in the last cdr.
14701
14702 2012-04-30 Leo Liu <sdl.web@gmail.com>
14703
14704 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14705 read-only error.
14706
14707 2012-04-29 Chong Yidong <cyd@gnu.org>
14708
14709 * follow.el (follow-calc-win-end): Rewrite to handle partial
14710 screen lines correctly (Bug#8390).
14711 (follow-avoid-tail-recenter): Minor cleanup.
14712
14713 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14714
14715 Avoid the obsolete `assoc' package.
14716 * speedbar.el (speedbar-refresh): Avoid adelete.
14717 (speedbar-file-lists): Simplify and avoid aput.
14718 * man.el (Man--sections, Man--refpages): New vars, replacing
14719 Man-sections-alist and Man-refpages-alist.
14720 (Man-build-section-alist, Man-build-references-alist):
14721 Use them; avoid aput.
14722 (Man--last-section, Man--last-refpage): New vars.
14723 (Man-follow-manual-reference): Use them.
14724 Use the `default' arg of completing-read.
14725 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14726
14727 2012-04-27 Chong Yidong <cyd@gnu.org>
14728
14729 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14730
14731 * startup.el (x-apply-session-resources): New function.
14732
14733 * term/ns-win.el (ns-initialize-window-system):
14734 * term/w32-win.el (w32-initialize-window-system):
14735 * term/x-win.el (x-initialize-window-system): Use it to properly
14736 set menu-bar-mode and other vars from X resources, even if the
14737 initial frame is not a window-system frame (Bug#2299).
14738
14739 * subr.el (read-key): Avoid running filter function when setting
14740 up temporary tool bar entries (Bug#9922).
14741
14742 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14743
14744 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14745 (Bug#11344)
14746
14747 2012-04-27 Chong Yidong <cyd@gnu.org>
14748
14749 * select.el (xselect--encode-string): New function, split from
14750 xselect-convert-to-string.
14751 (xselect-convert-to-string): Use it.
14752 (xselect-convert-to-filename, xselect-convert-to-os)
14753 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14754 returned strings are properly encoded (Bug#11315).
14755
14756 2012-04-27 Chong Yidong <cyd@gnu.org>
14757
14758 * simple.el (delete-active-region): Move to killing custom group.
14759
14760 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14761
14762 * progmodes/which-func.el (which-func-current): Quote %
14763 characters for mode-line processing.
14764
14765 2012-04-27 Chong Yidong <cyd@gnu.org>
14766
14767 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14768 reaching eob (Bug#11286).
14769
14770 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14771
14772 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14773 (gdb): Make it buffer-local and init to zero.
14774 (gdb-control-commands-regexp): New variable.
14775 (gdb-send): Don't wrap in "-interpreter-exec console" if
14776 gdb-control-level is positive. Increment gdb-control-level
14777 whenever the command matches gdb-control-commands-regexp, and
14778 decrement it each time the command is "end". (Bug#11279)
14779
14780 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14781
14782 * window.el (adjust-window-trailing-edge, enlarge-window)
14783 (shrink-window, window-resize):
14784 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14785 windows (Bug#11276).
14786
14787 2012-04-27 Chong Yidong <cyd@gnu.org>
14788
14789 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14790 fix "missing prefix" warning. All callers changed.
14791
14792 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14793
14794 * emacs-lisp/assoc.el: Move to obsolete/.
14795
14796 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14797
14798 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14799
14800 * term/ns-win.el (ns-define-service):
14801 * progmodes/pascal.el (pascal-goto-defun):
14802 * progmodes/js.el (js--read-tab):
14803 * progmodes/etags.el (tags-lazy-completion-table):
14804 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14805 * emacs-lisp/ewoc.el (ewoc--wrap):
14806 * emacs-lisp/assoc.el (aput, adelete, amake):
14807 * doc-view.el (doc-view-convert-current-doc):
14808 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14809
14810 2012-04-26 Chong Yidong <cyd@gnu.org>
14811
14812 * image.el (image-type-from-buffer): Only return supported image
14813 type (Bug#9045).
14814
14815 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14816 value, for symmetry with diff-end-of-hunk.
14817 (diff-split-hunk, diff-find-source-location)
14818 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14819 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14820 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14821 compute the relevant hunk or file properly (Bug#6005).
14822 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14823
14824 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14825
14826 * vc/vc-mtn.el:
14827 * vc/vc-hg.el:
14828 * vc/vc-git.el:
14829 * vc/vc-dir.el:
14830 * vc/vc-cvs.el:
14831 * vc/vc-bzr.el:
14832 * vc/vc-arch.el:
14833 * vc/vc.el: Replace lexical-let by lexical-binding.
14834 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14835 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14836 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14837
14838 2012-04-26 Chong Yidong <cyd@gnu.org>
14839
14840 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14841 (diff-mode-shared-map): Bind it to / and [remap undo].
14842
14843 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14844 (ediff-window-setup-function): Use it as the default, to set up
14845 windows based on whether the current frame is graphical (Bug#2138).
14846 (ediff-choose-window-setup-function-automatically): Make obsolete.
14847
14848 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14849
14850 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14851
14852 * ffap.el: Remove old code for obsolete package.
14853 (ffap-complete-as-file-p): Remove.
14854
14855 Use completion-table-with-quoting for comint and pcomplete.
14856 * comint.el (comint--unquote&requote-argument)
14857 (comint--unquote-argument, comint--requote-argument): New functions.
14858 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14859 (comint-quote-filename): Use regexp-opt-charset.
14860 (comint--common-suffix, comint--common-quoted-suffix)
14861 (comint--table-subvert): Remove.
14862 (comint-unquote-function, comint-requote-function): New vars.
14863 (comint--complete-file-name-data): Use them with
14864 completion-table-with-quoting.
14865 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14866 * pcomplete.el (pcomplete-arg-quote-list)
14867 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14868 (pcomplete-unquote-argument-function): Default to non-nil.
14869 (pcomplete-unquote-argument): Simplify.
14870 (pcomplete--common-quoted-suffix): Remove.
14871 (pcomplete-requote-argument-function): New var.
14872 (pcomplete--common-suffix): New function.
14873 (pcomplete-completions-at-point): Use completion-table-with-quoting
14874 and completion-table-subvert.
14875
14876 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14877 (minibuffer--double-dollars): Preserve properties.
14878 (completion--sifn-requote): New function.
14879 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14880
14881 * minibuffer.el: Add support for completion of quoted/escaped data.
14882 (completion-table-with-quoting, completion-table-subvert): New funs.
14883 (completion--twq-try, completion--twq-all): New functions.
14884 (completion--nth-completion): New function.
14885 (completion-try-completion, completion-all-completions): Use it.
14886
14887 2012-04-25 Leo Liu <sdl.web@gmail.com>
14888
14889 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14890 Use compilation-message if available to find real filename.
14891
14892 2012-04-25 Chong Yidong <cyd@gnu.org>
14893
14894 * vc/diff-mode.el (diff-setup-whitespace): New function.
14895 (diff-mode): Use it.
14896
14897 * vc/diff.el (diff-sentinel):
14898 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14899 Whitespace mode variables based on diff style (Bug#8612).
14900
14901 2012-04-25 Leo Liu <sdl.web@gmail.com>
14902
14903 * progmodes/python.el (python-send-region): Add suffix .py to the
14904 temp file.
14905
14906 * files.el (auto-mode-alist): Use javascript-mode instead.
14907
14908 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14909
14910 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14911
14912 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14913 (soap-resolve-references-for-array-type): Hack to prevent self
14914 references, see Bug#9.
14915 (soap-parse-envelope): Report the contents of the 'detail' node
14916 when receiving a fault reply.
14917 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14918
14919 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14920 (soap-inspect-simple-type): New function.
14921
14922 * net/soap-client.el (soap-simple-type): New struct.
14923 (soap-default-xsd-types, soap-default-soapenc-types)
14924 (soap-decode-basic-type, soap-encode-basic-type):
14925 support unsignedInt and double basic types.
14926 (soap-resolve-references-for-simple-type)
14927 (soap-parse-simple-type, soap-encode-simple-type): New function.
14928 (soap-parse-schema): Parse xsd:simpleType declarations.
14929
14930 * net/soap-client.el (soap-default-xsd-types)
14931 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14932 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14933 the local name of "soapenc:Array".
14934 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14935 decoding integer, byte and anyURI xsd types.
14936
14937 2012-04-25 Chong Yidong <cyd@gnu.org>
14938
14939 * cus-edit.el (custom-buffer-create-internal): Update header text.
14940
14941 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14942
14943 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14944 settings on 'system-type', not on 'window-system'. On MS-Windows,
14945 set interactive-mode on in GDB.
14946
14947 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14948
14949 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14950 (ruby-syntax-propertize-regexp): Remove.
14951 (ruby-syntax-propertize-function): Split regexp into chunks.
14952 Match following code directly.
14953
14954 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14955
14956 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14957 (ruby-syntax-propertize-regexp): New function.
14958 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14959 by a special keyword.
14960
14961 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14962 (ruby-syntax-general-delimiters-goto-beg)
14963 (ruby-syntax-propertize-general-delimiters): New functions.
14964 (ruby-syntax-propertize-function): Use them to handle GDL.
14965 (ruby-font-lock-keywords): Move old handling of GDL...
14966 (ruby-font-lock-syntactic-keywords): .. to here.
14967 (ruby-calculate-indent): Adjust indentation for GDL.
14968
14969 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14970
14971 * notifications.el (top): Remove unneeded declarations.
14972 (notifications-specification-version): Change to "1.2".
14973 (notifications-interface, notifications-notify-method)
14974 (notifications-close-notification-method): Fix docstring.
14975 (notifications-get-capabilities-method): New defconst.
14976 (notifications-notify): Add :action-items, :resident and
14977 :transient hints. Change "image_data" to "image-data" and
14978 "image_path" to "image-path".
14979 (notifications-get-capabilities): New defun.
14980
14981 2012-04-24 Leo Liu <sdl.web@gmail.com>
14982
14983 * progmodes/python.el: Move hideshow setup to the end.
14984
14985 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14986
14987 * window.el (handle-select-window): Clear echo area since this is
14988 no more done by read_char (Bug#11304).
14989
14990 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14991
14992 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14993 and `/ M' to filter-derived-mode.
14994 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14995 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14996 (ibuffer-mark-by-mode): Use default rather than initial-input.
14997 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14998
14999 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15000
15001 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15002 (ibuffer-filter-by-derived-mode): New filter.
15003 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15004
15005 2012-04-23 Andreas Politz <politza@fh-trier.de>
15006
15007 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15008
15009 2012-04-23 Chong Yidong <cyd@gnu.org>
15010
15011 * cus-edit.el (customize-apropos, customize-apropos-options):
15012 Disable matching of non-option variables (Bug#11176).
15013 (customize-option, customize-option-other-window)
15014 (customize-changed-options): Doc fix.
15015 (customize-apropos-options, customize-apropos-faces)
15016 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15017
15018 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15019 Fix word list splitting (Bug#11132).
15020 (apropos-symbol, apropos-keybinding, apropos-label)
15021 (apropos-property, apropos-function-button)
15022 (apropos-variable-button, apropos-misc-button): New faces.
15023 (apropos-symbol-face, apropos-keybinding-face)
15024 (apropos-label-face, apropos-property-face, apropos-match-face):
15025 Variables removed (Bug#8396).
15026 (apropos-library-button, apropos-format-plist, apropos-print)
15027 (apropos-print-doc, apropos-describe-plist): Callers changed.
15028
15029 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15030
15031 * net/xesam.el (xesam-mode-map): Use let-bound map in
15032 initialization. (Bug#11292)
15033
15034 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15035
15036 Preserve ispell session localwords when switching back to
15037 original buffer.
15038
15039 * textmodes/ispell.el (ispell-buffer-session-localwords):
15040 New buffer-local variable to hold buffer session localwords.
15041 (ispell-kill-ispell): Add option 'clear to delete session
15042 localwords.
15043 (ispell-command-loop, ispell-change-dictionary)
15044 (ispell-buffer-local-words): Preserve session localwords when
15045 needed.
15046
15047 * textmodes/flyspell.el (flyspell-process-localwords)
15048 (flyspell-do-correct): Preserve session localwords when needed.
15049
15050 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15051
15052 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15053 using obsolete `translation-table-for-input'.
15054 (ispell-word, ispell-process-line, ispell-complete-word):
15055 Use plain `insert' instead of removed `ispell-insert-word'.
15056
15057 2012-04-22 Chong Yidong <cyd@gnu.org>
15058
15059 * cus-edit.el (custom-variable-menu)
15060 (custom-variable-reset-saved, custom-face-menu)
15061 (custom-face-reset-saved): If there is no saved value, make the
15062 "reset-saved" operation bring back the default (Bug#9509).
15063 (custom-face-state): Properly detect themed faces.
15064
15065 * faces.el (face-spec-set): Stop supporting deprecated form of
15066 third arg.
15067
15068 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15069
15070 Move functions from C to Lisp. Make non-blocking method calls
15071 the default. Implement further D-Bus standard interfaces.
15072
15073 * net/dbus.el (dbus-message-internal): Declare function.
15074 Remove unneeded function declarations.
15075 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15076 (dbus-message-type-method-return, dbus-message-type-error)
15077 (dbus-message-type-signal): Declare variables. Remove local
15078 definitions.
15079 (dbus-interface-dbus, dbus-interface-peer)
15080 (dbus-interface-introspectable, dbus-interface-properties)
15081 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15082 Adapt docstring.
15083 (dbus-interface-objectmanager): New defconst.
15084 (dbus-call-method, dbus-call-method-asynchronously)
15085 (dbus-send-signal, dbus-method-return-internal)
15086 (dbus-method-error-internal, dbus-register-service)
15087 (dbus-register-signal, dbus-register-method): New defuns, moved
15088 from dbusbind.c
15089 (dbus-call-method-handler, dbus-setenv)
15090 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15091 New defuns.
15092 (dbus-call-method-non-blocking): Make it an obsolete function.
15093 (dbus-unregister-object, dbus-unregister-service)
15094 (dbus-handle-event, dbus-register-property)
15095 (dbus-property-handler): Obey the new structure of
15096 `bus-registered-objects'.
15097 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15098 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15099 Use `dbus-call-method'.
15100
15101 2012-04-22 Chong Yidong <cyd@gnu.org>
15102
15103 * cus-edit.el (custom-commands, custom-reset-menu)
15104 (Custom-reset-standard): Tweak labels.
15105 (custom-reset-button-menu): Change default to t.
15106 (custom-buffer-create-internal): For the custom-reset-button-menu
15107 case, put the revert button first.
15108 (custom-group-subtitle): New face.
15109 (custom-group-value-create): Align docstring to a specific column.
15110
15111 * wid-edit.el (widget-documentation-link-add): Don't handle
15112 indentation in this function.
15113 (widget-documentation-string-indent-to): New function.
15114 (widget-documentation-string-value-create): Use it.
15115
15116 * autorevert.el (auto-revert):
15117 * epg-config.el (epg):
15118 * ibuffer.el (ibuffer):
15119 * mpc.el (mpc):
15120 * ses.el (ses):
15121 * eshell/eshell.el (eshell):
15122 * net/ange-ftp.el (ange-ftp):
15123 * progmodes/ebnf2ps.el (postscript):
15124 * progmodes/flymake.el (flymake):
15125 * progmodes/prolog.el (prolog):
15126 * progmodes/verilog-mode.el (verilog-mode):
15127 * progmodes/which-func.el (which-func):
15128 * term/xterm.el (xterm):
15129 * textmodes/picture.el (picture):
15130 * textmodes/tildify.el (tildify):
15131 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15132 customization buffers.
15133
15134 2012-04-22 Alan Mackenzie <acm@muc.de>
15135
15136 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15137 Adding a ) can hide the resulting (..) from searches. Fix it.
15138 Bound the backward search to the position of the existing (.
15139
15140 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15141
15142 * progmodes/verilog-mode.el (verilog-mode): Check whether
15143 which-func-modes is t before adding verilog-mode.
15144 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15145
15146 2012-04-21 Leo Liu <sdl.web@gmail.com>
15147
15148 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15149
15150 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15151
15152 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15153 filling of the last column of a table (Bug#5635).
15154 (woman-find-next-control-line): New arg, specifying an additional
15155 regexp component for the control line.
15156 (woman2-roff-buffer): Use it.
15157 (woman-break-table): New function.
15158 (woman2-TS): Use it.
15159
15160 2012-04-21 Chong Yidong <cyd@gnu.org>
15161
15162 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15163 (woman-horizontal-escapes, woman-negative-vertical-space)
15164 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15165 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15166
15167 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15168
15169 * minibuffer.el (completion-file-name-table): Complete user names.
15170
15171 2012-04-20 Leo Liu <sdl.web@gmail.com>
15172
15173 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15174 and pcase-let*.
15175
15176 2012-04-20 Chong Yidong <cyd@gnu.org>
15177
15178 * server.el (server-execute): Respect initial-buffer-choice if it
15179 is a string and there are no files to open (Bug#2825).
15180 (server-create-window-system-frame, server-create-tty-frame):
15181 Don't switch buffers here.
15182 (server-process-filter): Only try to open a window system frame if
15183 compiled with graphical support (Bug#8314).
15184
15185 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15186
15187 * battery.el (battery-echo-area-format): Display remaining time
15188 for sysfs backend too (Bug#11269).
15189 (battery-linux-sysfs): Fix conditional for the charge.
15190
15191 2012-04-20 Chong Yidong <cyd@gnu.org>
15192
15193 * progmodes/gdb-mi.el (gdb): Revert previous change.
15194 (gdb-inferior-io--init-proc): New function.
15195 (gdb-init-1): Use it.
15196 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15197 responsible for allocating a new pty and hooking it to gdb when
15198 the old pty gets an EIO due to process exit.
15199 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15200 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15201 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15202
15203 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15204
15205 * window.el (window-min-size, window-sizable, window-min-delta)
15206 (window-max-delta, window--resizable, window-resizable)
15207 (window-total-size, window-full-height-p, window-full-width-p)
15208 (window-in-direction, window--resize-mini-window, window-resize)
15209 (window--resize-child-windows-normal)
15210 (window--resize-child-windows, window--resize-siblings)
15211 (window--resize-this-window, adjust-window-trailing-edge)
15212 (enlarge-window, shrink-window): Doc fixes.
15213
15214 2012-04-20 Chong Yidong <cyd@gnu.org>
15215
15216 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15217 New function to call delete-process on the gdb-inferior buffer's pty.
15218 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15219 pty process (Bug#11273).
15220 (gdb-update): New arg to suppress talking to the gdb process.
15221 (gdb-done-or-error): Use it.
15222 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15223 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15224 sentinel not being called.
15225
15226 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15227
15228 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15229
15230 2012-04-20 Glenn Morris <rgm@gnu.org>
15231
15232 * net/network-stream.el (open-network-stream): Doc fix.
15233
15234 2012-04-20 Chong Yidong <cyd@gnu.org>
15235
15236 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15237
15238 2012-04-20 Alan Mackenzie <acm@muc.de>
15239
15240 Ensure searching for keywords is case sensitive.
15241
15242 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15243 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15244 (c-defun-name, c-mark-function, c-cpp-define-name)
15245 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15246 (c-context-line-break): Bind case-fold-search to nil.
15247
15248 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15249 Bind case-fold-search to nil.
15250
15251 2012-04-20 Chong Yidong <cyd@gnu.org>
15252
15253 * mail/sendmail.el (mail-bury): Call return action with the right
15254 Rmail buffer (Bug#11242).
15255
15256 * server.el (server-process-filter): Handle corner case where both
15257 tty and nowait options are present (Bug#11102).
15258
15259 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15260
15261 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15262 (top level): Put into the executable the ident-style '$Id:' tag on
15263 windows-nt as well.
15264
15265 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15266
15267 * electric.el (electric-indent-post-self-insert-function): Check that
15268 electric-indent-mode is enabled in current buffer.
15269
15270 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15271
15272 * imenu.el (imenu-progress-message): Restore; it is "used" in
15273 erc/erc-imenu.el and net/snmp-mode.el.
15274
15275 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15276
15277 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15278 (mouse-avoidance-nudge-mouse): Remove unused binding.
15279
15280 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15281
15282 * descr-text.el (describe-char):
15283 * progmodes/python.el (python-describe-symbol):
15284 Don't call `toggle-read-only', set `buffer-read-only'.
15285
15286 * imenu.el (imenu-default-goto-function): Mark unused args.
15287 (imenu-progress-message): Remove obsolete macro; all callers changed.
15288
15289 * subr.el (keymap-canonicalize): Remove unused binding.
15290 (read-passwd): Mark unused arg.
15291
15292 * tutorial.el (tutorial--display-changes): Remove unused binding.
15293 (tutorial--save-tutorial-to): Remove unused variable.
15294
15295 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15296 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15297 (package-generate-autoloads, package-menu--generate)
15298 (package-menu--find-upgrades): Remove unused bindings.
15299
15300 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15301 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15302 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15303 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15304 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15305 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15306 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15307 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15308 (cua-delete-char-rectangle): Mark unused args.
15309 (cua-align-rectangle): Remove unused binding.
15310
15311 * mail/rmail.el (compilation--message->loc)
15312 (epa--find-coding-system-for-mime-charset): Declare.
15313
15314 * net/dbus.el (dbus-register-service): Declare.
15315 (dbus-name-owner-changed-handler): Remove unused binding.
15316
15317 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15318 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15319 (nxml-scan-backward-within): Mark unused arg.
15320 (nxml-dynamic-markup-word): Remove unused binding.
15321
15322 * mouse.el (mouse-menu-major-mode-map):
15323 * emacs-lisp/authors.el (authors-scan-change-log)
15324 (authors-add-to-author-list):
15325 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15326 * emacs-lisp/smie.el (smie-auto-fill):
15327 * mail/sendmail.el (mail-bury):
15328 * mail/unrmail.el (unrmail):
15329 * net/tls.el (open-tls-stream):
15330 * textmodes/picture.el (picture-mouse-set-point):
15331 Remove unused bindings.
15332
15333 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15334
15335 * net/tramp.el (tramp-action-password): Let-bind
15336 `enable-recursive-minibuffers' to t.
15337
15338 2012-04-18 Sam Steingold <sds@gnu.org>
15339
15340 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15341 instead of 'string to accommodate values like [f11].
15342 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15343 * progmodes/gdb-mi.el: Likewise.
15344
15345 2012-04-18 Leo Liu <sdl.web@gmail.com>
15346
15347 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15348 current buffer.
15349 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15350 LOCAL is nil.
15351
15352 2012-04-18 Chong Yidong <cyd@gnu.org>
15353
15354 * simple.el (line-move): Use forward-line if in batch mode
15355 (Bug#11053).
15356
15357 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15358
15359 * files.el (after-find-file): Do not try to add a final newline if
15360 the buffer is read-only (Bug#11156).
15361
15362 2012-04-17 Richard Stallman <rms@gnu.org>
15363
15364 * mail/rmail.el (rmail-start-mail):
15365 Pass (rmail-mail-return...) for the return-action.
15366 Pass (rmail-yank-current-message...) for the yank-action.
15367 (rmail-yank-current-message): New function.
15368 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15369 (rmail-reply): Likewise.
15370 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15371
15372 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15373 buffer, not the last. Reject temp buffers. Use the rmail-mode
15374 buffer, not newbuf.
15375
15376 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15377
15378 * server.el (server-ensure-safe-dir): Simplify.
15379
15380 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15381
15382 * emacs-lisp/smie.el: Provide smarter auto-filling.
15383 (smie-auto-fill): New function.
15384 (smie-setup): Use it.
15385
15386 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15387
15388 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15389
15390 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15391 (comment-indent): Use it.
15392
15393 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15394
15395 * ses.el: The overall change is to add cell renaming, that is
15396 setting fancy names for cell symbols other than name matching
15397 "\\`[A-Z]+[0-9]+\\'" regexp .
15398 (ses-localvars): Add ses--renamed-cell-symb-list.
15399 (ses-create-cell-variable): New defun.
15400 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15401 (ses-relocate-formula): Relocate formulas only for cells the
15402 symbols of which are not renamed, i.e. symbols whose names do not
15403 match regexp "\\`[A-Z]+[0-9]+\\'".
15404 (ses-relocate-all): Relocate values only for cells the symbols of
15405 which are not renamed.
15406 (ses-load): Create cells variables as the (ses-cell ...) are read,
15407 in order to check row col consistency with cell symbol name only
15408 for cells that are not renamed.
15409 (ses-replace-name-in-formula): New defun.
15410 (ses-rename-cell): New defun.
15411
15412 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15413
15414 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15415 New option (bug#11118).
15416 (perl-calculate-indent): Respect it.
15417
15418 2012-04-17 Glenn Morris <rgm@gnu.org>
15419
15420 * dired-aux.el (dired-mark-read-string): Doc fix.
15421
15422 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15423
15424 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15425 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15426
15427 2012-04-17 Glenn Morris <rgm@gnu.org>
15428
15429 * mouse.el (mouse-drag-track):
15430 * speedbar.el (speedbar-frame-mode):
15431 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15432
15433 2012-04-16 Leo Liu <sdl.web@gmail.com>
15434
15435 * progmodes/python.el: Trivial cleanup.
15436
15437 2012-04-16 Glenn Morris <rgm@gnu.org>
15438
15439 * vc/vc.el (vc-string-prefix-p):
15440 * vc/pcvs-util.el (cvs-string-prefix-p):
15441 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15442 * mpc.el (mpc-string-prefix-p):
15443 Make all of these into obsolete aliases for string-prefix-p.
15444 Update callers.
15445 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15446
15447 * textmodes/two-column.el: Move custom options to the start.
15448 (frame-width): Remove compat definition.
15449 (2C-associate-buffer, 2C-dissociate):
15450 Use with-current-buffer rather than save-excursion.
15451 (2C-dissociate): Force a mode-line update.
15452 (2C-autoscroll): Use ignore-errors.
15453
15454 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15455 Autoload trivia.
15456
15457 * emacs-lisp/cl-extra.el (*random-state*):
15458 Remove unnecessary declaration.
15459
15460 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15461
15462 * play/cookie1.el (cookie-snarf):
15463 Give an explicit error if input file cannot be read.
15464
15465 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15466
15467 * progmodes/perl-mode.el (c-macro-expand):
15468 Remove unnecessary autoload (it is in loaddefs.el).
15469
15470 * textmodes/picture.el (picture-desired-column)
15471 (picture-update-desired-column): Convert comments to doc-strings.
15472 (picture-substitute): Remove function.
15473 (picture-mode-map): Initialize in the defvar.
15474
15475 * woman.el: Remove eval-after-load for tar-mode.
15476 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15477 (woman-tar-extract-file): Autoload it.
15478
15479 * frame.el (automatic-hscrolling): Make this alias obsolete.
15480
15481 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15482
15483 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15484 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15485 (ispell-dictionary-base-alist): Revert to original XEmacs
15486 friendly version for default. [:alpha:] will be added in
15487 `ispell-set-spellchecker-params' if needed.
15488
15489 2012-04-16 Chong Yidong <cyd@gnu.org>
15490
15491 * image.el (imagemagick--file-regexp): New variable.
15492 (imagemagick-register-types): Use it.
15493 (imagemagick-types-inhibit): Add :set function. Allow new value
15494 of t to inhibit all types.
15495
15496 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15497 so we can preload it.
15498
15499 * loadup.el (fboundp): Preload regexp-opt, needed by
15500 imagemagick-register-types.
15501
15502 2012-04-15 Chong Yidong <cyd@gnu.org>
15503
15504 * frame.el (scrolling): Remove nearly unused customization group.
15505
15506 * scroll-all.el (scroll-all-mode): Move to windows group.
15507
15508 2012-04-15 Chong Yidong <cyd@gnu.org>
15509
15510 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15511
15512 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15513
15514 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15515 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15516
15517 2012-04-15 Glenn Morris <rgm@gnu.org>
15518
15519 * simple.el (process-file-side-effects): Doc fix.
15520
15521 2012-04-15 Glenn Morris <rgm@gnu.org>
15522
15523 * international/mule-cmds.el (set-language-environment): Doc fix.
15524
15525 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15526
15527 * server.el (server-auth-key, server-generate-key): Doc fixes.
15528 (server-get-auth-key): Doc fix. Use `string-match-p'.
15529 (server-start): Reflow docstring.
15530
15531 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15532
15533 * server.el (server-generate-key): `called-interactively-p'
15534 requires a parameter.
15535
15536 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15537
15538 * server.el (server-auth-key): New variable.
15539 (server-generate-key, server-get-auth-key): New function.
15540 (server-start): Use the new variable and functions to allow
15541 setting a permanent server key (bug#9423).
15542
15543 2012-04-14 Leo Liu <sdl.web@gmail.com>
15544
15545 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15546
15547 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15548
15549 Spelling fixes.
15550 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15551 Emacs uses American spelling.
15552
15553 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15554
15555 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15556 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15557 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15558 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15559
15560 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15561
15562 * progmodes/which-func.el (which-func-modes): Change default.
15563
15564 2012-04-14 Kim F. Storm <storm@cua.dk>
15565
15566 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15567 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15568
15569 2012-04-14 Chong Yidong <cyd@gnu.org>
15570
15571 * custom.el (custom-theme-set-variables): Doc fix.
15572
15573 2012-04-14 Glenn Morris <rgm@gnu.org>
15574
15575 * international/mule.el (set-auto-coding-for-load): Doc fix.
15576
15577 2012-04-14 Alan Mackenzie <acm@muc.de>
15578
15579 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15580 imenu work again for Objective C Mode. Correct the *-index values,
15581 these having been disturbed by a previous change in 2011-08.
15582
15583 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15584 Correct two search limits.
15585
15586 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15587
15588 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15589
15590 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15591
15592 * international/characters.el: Fix sorting.
15593
15594 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15595
15596 * international/characters.el: Add more missing Latin case pairs.
15597
15598 2012-04-14 Glenn Morris <rgm@gnu.org>
15599
15600 * files.el (dir-locals-set-class-variables): Doc fix.
15601
15602 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15603
15604 * international/characters.el: Add set-case-syntax-pair call for
15605 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15606 counterpart. (Bug#11209)
15607
15608 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15609
15610 2012-04-14 Glenn Morris <rgm@gnu.org>
15611
15612 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15613
15614 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15615
15616 * textmodes/ispell.el (ispell-dictionary-base-alist):
15617 Add data for Hebrew.
15618
15619 2012-04-14 Chong Yidong <cyd@gnu.org>
15620
15621 * net/rcirc.el (rcirc-cmd-quit):
15622 Revert 2012-03-18 change (Bug#11192).
15623
15624 2012-04-14 Glenn Morris <rgm@gnu.org>
15625
15626 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15627
15628 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15629
15630 * minibuffer.el (completion-in-region-mode-map):
15631 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15632
15633 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15634
15635 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15636
15637 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15638
15639 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15640 to allow `C-M-f' and `C-M-b' to move to the nearest path
15641 separator (bug#9511).
15642
15643 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15644
15645 * avoid.el: Require cl when compiling. And also move the
15646 `provide' to the end.
15647
15648 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15649
15650 * avoid.el (mouse-avoidance-banish-position): New variable.
15651 (mouse-avoidance-banish-destination): Use it (bug#10165).
15652
15653 2012-04-13 Leo Liu <sdl.web@gmail.com>
15654
15655 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15656
15657 2012-04-13 Ken Brown <kbrown@cornell.edu>
15658
15659 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15660 this is no longer needed now that cygstart understands file:// URLs.
15661 (browse-url-filename-alist): For the same reason, don't modify
15662 file:// URLs on Cygwin.
15663
15664 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15665
15666 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15667 the region on shift if the binding is already shifted (bug#11221).
15668
15669 2012-04-12 Glenn Morris <rgm@gnu.org>
15670
15671 * mail/mailpost.el: Move to obsolete/.
15672
15673 2012-04-12 Drew Adams <drew.adams@oracle.com>
15674
15675 * imenu.el (imenu--generic-function): Ignore invisible definitions
15676 (bug#10123).
15677
15678 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15679
15680 * hexl.el (hexl-bits): New variable.
15681 (hexl-options): Mention the variable in the doc string.
15682 (hexl-rulerise, hexl-line-displen): New functions.
15683 (hexl-mode): Mention the new variable.
15684 (hexl-mode, hexl-current-address, hexl-current-address):
15685 Use the displen.
15686 (hexl-ascii-start-column): New function.
15687 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15688 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15689
15690 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15691
15692 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15693 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15694 the encoding, as expected by hunspell.
15695
15696 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15697
15698 * battery.el (battery--linux-sysfs-regexp): New const.
15699 (battery-status-function): Use it. Remove yeeloong special case.
15700 (battery-yeeloong-sysfs): Remove.
15701 (battery-echo-area-format): Remove yeeloong special case.
15702
15703 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15704
15705 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15706 Reported by Noah Friedman.
15707
15708 * subr.el (read-passwd): Use read-string.
15709
15710 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15711
15712 * vcursor.el (vcursor-move): Increase the priority of the overlay
15713 (bug#9663).
15714
15715 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15716
15717 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15718 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15719
15720 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15721
15722 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15723 define-minor-mode (bug#10760).
15724
15725 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15726
15727 * progmodes/grep.el (rgrep): Tweak the find command line so
15728 that directories matching `grep-find-ignored-files' won't be
15729 pruned (bug#10351).
15730
15731 2012-04-11 Chong Yidong <cyd@gnu.org>
15732
15733 * startup.el (command-line): Remove support for long-obsolete
15734 variable font-lock-face-attributes.
15735
15736 2012-04-11 Glenn Morris <rgm@gnu.org>
15737
15738 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15739
15740 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15741
15742 * window.el (window--state-get-1): Obey window-point-insertion-type.
15743
15744 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15745
15746 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15747 to previous function when point is on the first character of a
15748 function. Take care of that in `narrow-to-defun' (bug#6157).
15749
15750 2012-04-11 Glenn Morris <rgm@gnu.org>
15751
15752 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15753 not just file-errors.
15754
15755 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15756 (vc-bzr-sha1): Use internal sha1.
15757
15758 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15759
15760 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15761
15762 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15763
15764 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15765 that start in the middle of the line (bug#10496).
15766
15767 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15768
15769 * battery.el (battery-linux-proc-acpi): Only one battery is
15770 discharged at a time, but that seems to confuse battery.el when
15771 computing `rate-type' for the battery not being discharged
15772 (bug#10332).
15773
15774 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15775
15776 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15777
15778 * international/quail.el: Use dolist and simplify.
15779 (quail-define-package, quail-update-keyboard-layout)
15780 (quail-define-rules): Use dolist.
15781 (quail-insert-kbd-layout, quail-get-translation): CSE.
15782
15783 * tmm.el: Use dolist, remove left over hook.
15784 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15785 Use dolist.
15786 (calendar-load-hook): Don't mess with it.
15787
15788 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15789 Use derived-mode-p. Run the diff asynchronously.
15790
15791 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15792
15793 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15794
15795 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15796
15797 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15798 (list-dynamic-libraries--loaded): New function.
15799 (list-dynamic-libraries--refresh): Use it.
15800
15801 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15802
15803 * progmodes/python.el (python-fill-paragraph):
15804 Make python-fill-region in a multiline string work when font-lock is
15805 disabled (bug#7018).
15806
15807 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15808
15809 * language/european.el (cp775): Add oem/legacy (en)coding on
15810 DOS/MS Windows for the Baltic languages. There are still plenty
15811 of texts written in this encoding/codepage (bug#6519).
15812
15813 2012-04-10 Glenn Morris <rgm@gnu.org>
15814
15815 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15816 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15817
15818 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15819
15820 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15821 next-line "n" and previous-line "p" in order to make recentf more
15822 consistent with ibuffer, dired or org-mode (bug#9387).
15823
15824 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15825
15826 * image.el (put-image): Return the overlay created instead of the
15827 optional input string (bug#7834). Note that this may break code
15828 that is (for some reason or other) depending on `put-image'
15829 returning the string.
15830
15831 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15832
15833 * simple.el (zap-to-char): Allow zapping using input methods
15834 (bug#1580).
15835
15836 * textmodes/fill.el (fill-region): Leave point and mark where they
15837 were before filling (bug#5399).
15838
15839 2012-04-09 Glenn Morris <rgm@gnu.org>
15840
15841 * version.el (emacs-bzr-get-version):
15842 Handle lightweight checkouts of local branches.
15843
15844 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15845
15846 * international/characters.el: Recover lost case pairs. (Bug#11209)
15847
15848 2012-04-09 Chong Yidong <cyd@gnu.org>
15849
15850 * custom.el (custom-variable-p): Return nil for non-symbol
15851 arguments instead of signaling an error.
15852 (user-variable-p): Obsolete alias for custom-variable-p.
15853
15854 * apropos.el (apropos-variable):
15855 * files-x.el (read-file-local-variable):
15856 * simple.el (set-variable):
15857 * woman.el (woman-mini-help):
15858 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15859
15860 2012-04-09 Glenn Morris <rgm@gnu.org>
15861
15862 * startup.el (normal-top-level): Don't look for leim-list.el
15863 in places where it will not be found. (Bug#910)
15864
15865 * international/mule-cmds.el (set-default-coding-systems):
15866 * files.el (normal-mode):
15867 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15868 This function was removed with ucs-tables.el in 2008.
15869
15870 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15871
15872 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15873 ispell-encoding8-command to "-i", without a trailing space.
15874 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15875 separate command-line arguments, to specify the encoding, since
15876 that's how hunspell expects it.
15877
15878 2012-04-08 Glenn Morris <rgm@gnu.org>
15879
15880 * loadup.el: Load bindings before cus-start.
15881 This reduces somewhat the number of "rogue" settings in emacs -Q.
15882
15883 2012-04-07 Glenn Morris <rgm@gnu.org>
15884
15885 * version.el (emacs-bzr-get-version): New function.
15886 (emacs-bzr-version): New variable.
15887 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15888 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15889
15890 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15891
15892 * international/uni-bidi.el, international/uni-category.el:
15893 * international/uni-combining.el, international/uni-decimal.el:
15894 * international/uni-decomposition.el, international/uni-digit.el:
15895 * international/uni-lowercase.el, international/uni-mirrored.el:
15896 * international/uni-name.el, international/uni-numeric.el:
15897 * international/uni-titlecase.el, international/uni-uppercase.el:
15898 Update for Unicode 6.1.
15899
15900 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15901
15902 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15903
15904 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15905
15906 * window.el (shrink-window): Mention the `window-min-height'
15907 variable in the doc string.
15908
15909 2012-04-05 Bastien Guerry <bzg@altern.org>
15910
15911 * color.el (color-lighten-name): Fix typo.
15912
15913 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15914
15915 * server.el (server--on-display-p): New function.
15916 (server--on-display-p): Use it.
15917
15918 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15919
15920 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15921 (bug#11145).
15922
15923 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15924
15925 * comint.el (comint--common-quoted-suffix): Check string boundary
15926 before comparing (bug#11158).
15927 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15928
15929 2012-04-04 Chong Yidong <cyd@gnu.org>
15930
15931 * minibuffer.el (completion-extra-properties): Doc fix.
15932
15933 * subr.el (delayed-warnings-hook): Doc fix.
15934
15935 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15936
15937 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15938 selection (Bug#11159).
15939 (epa-insert-keys): Inform that the default public key will be
15940 exported if no key is selected.
15941
15942 2012-04-04 Richard Stallman <rms@gnu.org>
15943
15944 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15945
15946 2012-04-03 Chong Yidong <cyd@gnu.org>
15947
15948 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15949 mail-insert-file, not its obsolete alias mail-attach-file.
15950
15951 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15952
15953 * notifications.el (notifications-notify): Fix docstring.
15954
15955 2012-04-02 Glenn Morris <rgm@gnu.org>
15956
15957 * emacs-lisp/authors.el (authors-aliases): Another addition.
15958
15959 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15960
15961 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15962 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15963 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15964
15965 2012-04-01 Chong Yidong <cyd@gnu.org>
15966
15967 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15968 Handle root directory properly.
15969 (copy-directory): Caller changed.
15970
15971 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15972 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15973
15974 2012-03-31 Glenn Morris <rgm@gnu.org>
15975
15976 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15977
15978 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15979
15980 * calendar/calendar.el (calendar-window-list)
15981 (calendar-hide-window): Restore. (Bug#11140)
15982 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15983
15984 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15985
15986 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15987
15988 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15989 Check if file is a symlink (Bug#10489).
15990
15991 * files.el (copy-directory): Likewise.
15992
15993 2012-03-30 Chong Yidong <cyd@gnu.org>
15994
15995 * image.el (imagemagick-types-inhibit)
15996 (imagemagick-register-types): Doc fix.
15997
15998 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15999
16000 * textmodes/ispell.el (ispell-get-extended-character-mode):
16001 Disable extended-char-mode for hunspell. hunspell does not support it
16002 and treats ~word as ordinary words in pipe mode.
16003
16004 2012-03-30 Glenn Morris <rgm@gnu.org>
16005
16006 * tutorial.el (help-with-tutorial): Ensure local variables don't
16007 happen to make the buffer read-only. (Bug#11127)
16008
16009 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16010
16011 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16012 (perl-calculate-indent): Return `noindent' in strings.
16013
16014 2012-03-28 Sam Steingold <sds@gnu.org>
16015
16016 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16017 instead of the broken adhockery which does not prevent calendar
16018 buffers from being displayed at random after exit.
16019 (calendar-window-list, calendar-hide-window): Remove the broken
16020 adhockery.
16021
16022 2012-03-28 Glenn Morris <rgm@gnu.org>
16023
16024 * replace.el (query-replace-map): Doc fix.
16025
16026 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16027
16028 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16029 contents. (Bug#11109)
16030
16031 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16032
16033 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16034 (bug#11077).
16035 (avl-tree--check, avl-tree--check-node): New funs.
16036
16037 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16038
16039 * window.el (switch-to-visible-buffer): New option.
16040 (switch-to-prev-buffer, switch-to-next-buffer):
16041 Observe switch-to-visible-buffer. Make sure that checking for a window
16042 showing a buffer already is done on the same frame.
16043
16044 2012-03-27 Glenn Morris <rgm@gnu.org>
16045
16046 * startup.el (mail-host-address): Doc fix.
16047
16048 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16049
16050 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16051 than 197 variables.
16052
16053 2012-03-26 Ami Fischman <ami@fischman.org>
16054
16055 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16056
16057 2012-03-26 Glenn Morris <rgm@gnu.org>
16058
16059 * files.el (save-buffers-kill-emacs): Doc fix.
16060
16061 * startup.el (normal-top-level, command-line, command-line-1):
16062 Give them doc strings.
16063
16064 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16065
16066 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16067 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16068
16069 2012-03-25 Chong Yidong <cyd@gnu.org>
16070
16071 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16072 theme if it was previously enabled before (Bug#11031).
16073
16074 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16075 spec with custom-face-get-current-spec if its :shown-value is not
16076 determined yet (Bug#9337).
16077 (customize-create-theme, custom-theme-revert): Doc fixes.
16078
16079 * button.el (button-at): Minor addition to docstring.
16080
16081 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16082
16083 * vc/vc.el (vc-merge): Fix a prompt.
16084
16085 2012-03-24 Chong Yidong <cyd@gnu.org>
16086
16087 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16088 point (Bug#9623).
16089
16090 * button.el (button-at): Minor addition to docstring.
16091
16092 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16093
16094 * newcomment.el (comment-choose-indent): No space after BOL.
16095
16096 2012-03-22 Sam Steingold <sds@gnu.org>
16097
16098 * window.el (switch-to-prev-buffer): Revert last patch because the
16099 bug turned out to be an advertised feature (Elisp manual 28.14).
16100
16101 2012-03-22 Glenn Morris <rgm@gnu.org>
16102
16103 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16104 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16105
16106 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16107
16108 * net/network-stream.el (network-stream-open-starttls): Make error
16109 message under Windows be less misleading.
16110
16111 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16112
16113 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16114 understands (bug#9942).
16115
16116 2012-03-22 Chong Yidong <cyd@gnu.org>
16117
16118 * simple.el (end-of-visible-line): Handle return value of
16119 next-single-property-change properly (Bug#9371).
16120
16121 2012-03-22 Kenichi Handa <handa@m17n.org>
16122
16123 * international/quail.el (quail-insert-kbd-layout): Fix previous
16124 change. To avoid unwanted bidi reordering, use
16125 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16126
16127 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16128
16129 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16130 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16131 (ruby-beginning-of-indent): Be more careful with the difference
16132 between word-boundary and symbol boundary.
16133 (ruby-mode-syntax-table): Make : a symbol constituent.
16134
16135 2012-03-21 Andreas Politz <politza@fh-trier.de>
16136
16137 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16138
16139 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16140
16141 * progmodes/etags.el (tags-completion-at-point-function):
16142 Improve last fix.
16143
16144 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16145
16146 2012-03-21 Sam Steingold <sds@gnu.org>
16147
16148 * progmodes/etags.el (tags-completion-at-point-function):
16149 Avoid the error when point is inside the pattern.
16150
16151 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16152
16153 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16154 line (Bug#10855).
16155
16156 2012-03-21 Drew Adams <drew.adams@oracle.com>
16157
16158 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16159
16160 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16161
16162 * ido.el (ido-set-current-directory, ido-read-internal)
16163 (ido-choose-completion-string, ido-completion-help): Handle nil
16164 value of ido-completion-buffer (Bug#11008).
16165
16166 2012-03-21 Sam Steingold <sds@gnu.org>
16167
16168 * window.el (switch-to-prev-buffer): Do not switch to a visible
16169 window previous buffer, just like with the frame previous buffers.
16170
16171 2012-03-21 Chong Yidong <cyd@gnu.org>
16172
16173 * faces.el (make-face, make-empty-face, copy-face):
16174 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16175 Doc fixes.
16176
16177 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16178
16179 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16180 (widget-complete): Remove broken use of it.
16181
16182 2012-03-20 Chong Yidong <cyd@gnu.org>
16183
16184 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16185 Use string-width and truncate-string-width to handle arbitrary
16186 characters.
16187
16188 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16189
16190 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16191 to draw rectangles, not squares. (Regression introduced by revno
16192 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16193
16194 2012-03-18 Chong Yidong <cyd@gnu.org>
16195
16196 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16197 it is not yet defined (for temacs).
16198
16199 2012-03-18 Leo Liu <sdl.web@gmail.com>
16200
16201 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16202 prefix.
16203
16204 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16205
16206 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16207 (ispell-choices-win-default-height, ispell-silently-savep)
16208 (ispell-dictionary-alist, ispell-encoding8-command)
16209 (ispell-check-version, ispell-aspell-find-dictionary)
16210 (ispell-valid-dictionary-list, ispell-words-keyword)
16211 (ispell-get-word, ispell-internal-change-dictionary)
16212 (ispell-region, ispell-skip-region-list)
16213 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16214 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16215 (ispell-message-text-end, ispell-message)
16216 (ispell-buffer-local-parsing): Doc fix.
16217
16218 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16219
16220 * htmlfontify.el: Add support for code block fontification for ODT
16221 export (Bug #9914).
16222 (hfy-optimisations): Define new option
16223 `body-text-only'
16224 (hfy-fontify-buffer): Honor above setting.
16225 (hfy-begin-span, hfy-end-span): New routines factored out form
16226 `hfy-fontify-buffer'.
16227 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16228 that permit insertion of custom tags.
16229 (hfy-fontify-buffer): Use above handlers.
16230 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16231 (hfy-face-to-css): Re-defined to be a variable.
16232 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16233 over multiple runs. This is made possible by having the caller let
16234 bind a special variable `hfy-user-sheet-assoc'.
16235 (htmlfontify-string): New defun.
16236 (hfy-compile-face-map): Make sure that the last char in the
16237 buffer is correctly fontified.
16238 (hfy-face-resolve-face): Whitespace only change.
16239
16240 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16241
16242 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16243 message more clear.
16244
16245 2012-03-16 Leo Liu <sdl.web@gmail.com>
16246
16247 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16248
16249 2012-03-16 Alan Mackenzie <acm@muc.de>
16250
16251 Further optimize the handling of large macros.
16252
16253 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16254 limit to a call of `c-literal-limits'.
16255 (c-determine-+ve-limit): New function.
16256 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16257 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16258 In CASE 5B, restrict a search limit to 500.
16259 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16260
16261 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16262 Restrict macro bounds to +-500 from after-change's BEG END.
16263
16264 2012-03-16 Leo Liu <sdl.web@gmail.com>
16265
16266 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16267
16268 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16269
16270 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16271 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16272
16273 2012-03-16 Glenn Morris <rgm@gnu.org>
16274
16275 * view.el (view-buffer, view-buffer-other-window)
16276 (view-buffer-other-frame): Doc fixes re special mode-class.
16277
16278 * subr.el (eval-after-load): If named feature is provided not from
16279 a file, run after-load forms. (Bug#10946)
16280
16281 * calendar/calendar.el (calendar-insert-at-column):
16282 Handle non-unit-width characters a bit better. (Bug#10978)
16283
16284 2012-03-15 Chong Yidong <cyd@gnu.org>
16285
16286 * emacs-lisp/ring.el (ring-extend): New function.
16287 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16288
16289 * comint.el (comint-read-input-ring)
16290 (comint-add-to-input-history): Grow comint-input-ring lazily.
16291
16292 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16293
16294 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16295 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16296
16297 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16298 (imenu-add-to-menubar): Don't add a redundant index.
16299 (imenu-update-menubar): Handle a dynamically composed keymap.
16300
16301 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16302
16303 * mail/sendmail.el (mail-encode-header):
16304 Bind rfc2047-encode-encoded-words to nil.
16305
16306 2012-03-13 Glenn Morris <rgm@gnu.org>
16307
16308 * calendar/calendar.el (calendar-string-spread):
16309 Handle non-unit-width characters a bit better. (Bug#10978)
16310
16311 2012-03-13 Leo Liu <sdl.web@gmail.com>
16312
16313 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16314 directory and file as argument (Bug#10822).
16315
16316 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16317
16318 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16319 For dynamically generated code, follow $PC.
16320 (gdb-disassembly-handler-custom): Handle no function name case.
16321
16322 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16323
16324 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16325 * emulation/ws-mode.el (ws-query-replace):
16326 * sort.el (sort-regexp-fields):
16327 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16328
16329 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16330
16331 * dabbrev.el: Fix cycle completion order (bug#10963).
16332 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16333 (dabbrev-completion): Don't use an obarray; provide
16334 a cycle-sort-function.
16335
16336 2012-03-12 Leo Liu <sdl.web@gmail.com>
16337
16338 * simple.el (kill-new): Use equal-including-properties for comparison.
16339 (kill-do-not-save-duplicates): Doc fix.
16340
16341 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16342
16343 * dabbrev.el: Fix cycle completion (bug#10963).
16344 Use lexical binding and wrap to 80 columns.
16345 (dabbrev-completion): Delay computing the list of completions.
16346
16347 2012-03-12 Kenichi Handa <handa@m17n.org>
16348
16349 * international/quail.el (quail-insert-kbd-layout): Surround each
16350 row by LRO and PDF instead of inserting many LRMs. Pad the left
16351 and right of each non-spacing marks. Insert invisible space
16352 between lower and upper characters to prevent composition.
16353
16354 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16355
16356 * minibuffer.el (minibuffer-complete): Don't get confused when the
16357 function is run twice via different commands (bug#10958).
16358 (complete-with-action): Fix docstring.
16359
16360 2012-03-12 Chong Yidong <cyd@gnu.org>
16361
16362 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16363 (nxml-completion-at-point-function): New function.
16364 (nxml-mode): Use it.
16365 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16366
16367 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16368 Load generated autoloads file before byte compiling (Bug#10970).
16369 (package--make-autoloads-and-compile): New helper fun.
16370
16371 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16372
16373 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16374
16375 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16376
16377 * autorevert.el (auto-revert-handler): Ensure, that
16378 file-readable-p is applied only for local files or in
16379 auto-revert-tail-mode.
16380
16381 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16382
16383 * server.el (server-eval-at): Handle non-tcp connections.
16384 Decode result string.
16385
16386 * server.el (server-msg-size): New constant.
16387 (server-reply-print): New function.
16388 (server-eval-and-print): Use it.
16389 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16390 Handle -print-nonl.
16391
16392 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16393
16394 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16395 (Bug#10987).
16396
16397 2012-03-11 Chong Yidong <cyd@gnu.org>
16398
16399 * simple.el (goto-line): Doc fix (Bug#9938).
16400
16401 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16402
16403 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16404 when finished (Bug#10963).
16405
16406 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16407
16408 * window.el (split-window-below): Fix bug in case where
16409 split-window-keep-point is nil (Bug#10971).
16410
16411 2012-03-11 Juri Linkov <juri@jurta.org>
16412
16413 * replace.el (replace-highlight): Set isearch-word to nil
16414 unconditionally. (Bug#10887)
16415
16416 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16417
16418 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16419 mairix-replace-illegal-chars; all callers changed. Don't remove
16420 ^, ~, and = characters: they are meaningful in mairix search specs.
16421 (mairix-widget-create-query): Add usage information about mairix
16422 search forms: negating words, searching for substrings, etc.
16423
16424 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16425
16426 * international/fontset.el (font-encoding-alist): Add an entry for
16427 ksx1001 (Bug#5667).
16428
16429 2012-03-10 Richard Stallman <rms@gnu.org>
16430
16431 * mail/sendmail.el (mail-encode-header):
16432 Set rfc2047-encode-encoded-words.
16433
16434 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16435
16436 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16437 view buffer means not swapped.
16438 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16439 (rmail-write-region-annotate): Error if real text has disappeared.
16440
16441 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16442
16443 2012-03-10 Chong Yidong <cyd@gnu.org>
16444
16445 * emulation/cua-rect.el (cua--init-rectangles):
16446 * emulation/cua-base.el (cua--init-keymaps):
16447 Add delete-forward-char to remappings (Bug#9666).
16448
16449 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16450
16451 * speedbar.el (speedbar-unhighlight-one-tag-line):
16452 Avoid unhighlighting due to frame switching (Bug#10275).
16453
16454 2012-03-10 Chong Yidong <cyd@gnu.org>
16455
16456 * minibuffer.el (completion-in-region, completion-help-at-point):
16457 Give the completion field overlay a high priority (Bug#6830).
16458
16459 * dired.el (dired-goto-file): Recognize absolute file name
16460 listings (Bug#7126).
16461 (dired-goto-file-1): New helper function.
16462 (dired-toggle-read-only): Inhibit warnings.
16463
16464 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16465
16466 * net/dbus.el (dbus-property-handler): Return empty array if
16467 there are no properties.
16468
16469 2012-03-09 Leo Liu <sdl.web@gmail.com>
16470
16471 * savehist.el (savehist-printable): Stricter check for string
16472 value (Bug#10937).
16473
16474 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16475
16476 * mail/smtpmail.el (smtpmail-send-it):
16477 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16478 valid mbox format.
16479
16480 2012-03-09 Glenn Morris <rgm@gnu.org>
16481
16482 * files.el (dir-locals-find-file):
16483 Don't check result is regular, readable.
16484 (dir-locals-read-from-file): Demote errors.
16485
16486 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16487
16488 * international/quail.el (quail-insert-kbd-layout):
16489 Insert invisible LRM characters before each character in a keyboard
16490 layout cell, to prevent their reordering by bidi display engine.
16491 For details, see the discussion in
16492 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16493
16494 2012-03-08 Alan Mackenzie <acm@muc.de>
16495
16496 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16497 the starting position; make it extend the marked region when
16498 invoked repeatedly - all under appropriate circumstances.
16499 Fixes bugs #5525, #10906.
16500
16501 2012-03-08 Glenn Morris <rgm@gnu.org>
16502
16503 * files.el (locate-dominating-file, dir-locals-find-file):
16504 Undo 2012-03-06 change.
16505
16506 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16507
16508 * international/quail.el (quail-help):
16509 Force bidi-paragraph-direction be left-to-right. See discussion in
16510 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16511 for the reason.
16512
16513 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16514
16515 Avoid superfluous registering of signals. (Bug#10807)
16516
16517 * notifications.el (notifications-on-action-object)
16518 (notifications-on-close-object): New defvars.
16519 (notifications-on-action-signal, notifications-on-closed-signal):
16520 Unregister the signal if not needed any longer.
16521 (notifications-notify): Register `notifications-action-signal' or
16522 `notifications-closed-signal', if :on-action or :on-close has been
16523 passed as argument.
16524
16525 2012-03-07 Chong Yidong <cyd@gnu.org>
16526
16527 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16528 non-X platforms.
16529
16530 2012-03-06 Glenn Morris <rgm@gnu.org>
16531
16532 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16533 (x-disown-selection-internal, x-get-selection-internal):
16534 Doc fix (add arglist signatures). (Bug#10783)
16535
16536 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16537
16538 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16539 Handle breakpoints with no "type".
16540
16541 2012-03-06 Glenn Morris <rgm@gnu.org>
16542
16543 * files.el (locate-dominating-file): Add optional predicate argument.
16544 (dir-locals-find-file): Make use of above change.
16545
16546 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16547
16548 * info.el (Info-insert-dir): Also try "dir.gz".
16549
16550 2012-03-06 Glenn Morris <rgm@gnu.org>
16551
16552 * files.el (dir-locals-find-file):
16553 Ignore non-readable or non-regular files. (Bug#10928)
16554
16555 * files.el (locate-dominating-file): Doc fix.
16556
16557 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16558
16559 * calendar/calendar.el (calendar-set-mode-line):
16560 `getenv' returns a string. (Bug#10951)
16561
16562 2012-03-05 Leo Liu <sdl.web@gmail.com>
16563
16564 * simple.el (backward-delete-char-untabify): Constrain point to
16565 field (Bug#10939).
16566
16567 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16568
16569 2012-03-05 Chong Yidong <cyd@gnu.org>
16570
16571 * simple.el (count-words): If called from Lisp, return the word
16572 count, for symmetry with `count-lines'. Arglist changed.
16573 (count-words--message): Args changed. Consolidate counting code
16574 from count-words and count-words-region.
16575 (count-words-region): Caller changed.
16576 (count-lines-region): Make it an obsolete alias.
16577
16578 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16579
16580 * saveplace.el (save-place-to-alist)
16581 (save-place-ignore-files-regexp): Allow value nil to disable this
16582 feature.
16583
16584 2012-03-04 Chong Yidong <cyd@gnu.org>
16585
16586 * faces.el (face-spec-reset-face): For the default face, reset the
16587 attributes to default values (Bug#10748).
16588
16589 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16590
16591 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16592 previous patch: Check `message-send-mail-function', and not the
16593 default function (bug#10897).
16594
16595 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16596
16597 * notifications.el (notifications-on-action-signal)
16598 (notifications-on-closed-signal): Check for unique service name of
16599 incoming event. Fix error in removing entry.
16600 (top): Register for signals with wildcard service name.
16601 (notifications-notify): Use daemon unique service name for map entries.
16602
16603 2012-03-04 Chong Yidong <cyd@gnu.org>
16604
16605 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16606
16607 2012-03-04 Glenn Morris <rgm@gnu.org>
16608
16609 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16610 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16611 (expand-abbrev, define-abbrev-table): Doc fixes.
16612
16613 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16614
16615 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16616 `message-default-send-mail-function' and not `send-mail-function'
16617 when doing the prompting for `sendmail-query-once' before sending
16618 in Message buffers (bug#10897).
16619
16620 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16621 This is inconsistent with all the other stream functions, which leave
16622 the setting up to the higher levels (if so wanted) (bug#10931).
16623
16624 2012-03-02 Alan Mackenzie <acm@muc.de>
16625
16626 Depessimize the handling of very large macros.
16627
16628 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16629 (c-macro-cache-syntactic): New variables to implement a one
16630 element macro cache.
16631 (c-invalidate-macro-cache): New function.
16632 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16633 Adapt to use the new cache.
16634 (c-state-safe-place): Use better the cache of safe positions.
16635 (c-state-semi-nonlit-pos-cache)
16636 (c-state-semi-nonlit-pos-cache-limit):
16637 New variables for...
16638 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16639 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16640 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16641 Use c-state-semi-safe-place.
16642
16643 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16644 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16645
16646 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16647
16648 * jka-compr.el (jka-compr-call-process):
16649 Apply `file-accessible-directory-p' only when the default directory is
16650 not remote.
16651
16652 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16653
16654 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16655 access of FILE2, if FILE1 does not exist.
16656
16657 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16658 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16659
16660 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16661 Add "PAGER=" to `process-environment'.
16662
16663 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16664
16665 * progmodes/sql.el: Bug fix
16666 (sql-get-login-ext): Save login values in globals.
16667 (sql-get-login): Use new version of `sql-get-login-ext'.
16668 (sql-interactive-mode): Set global `sql-connection' to nil.
16669 (sql-connect): Set global values for connection.
16670 (sql-product-interactive): Save global values as buffer local.
16671
16672 2012-02-29 Leo Liu <sdl.web@gmail.com>
16673
16674 * abbrev.el (define-abbrevs): Reset sys to nil.
16675
16676 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16677
16678 * files.el (file-equal-p): Rename from `files-equal-p'.
16679 Return nil when one or both files don't exist.
16680 (file-subdir-of-p): Now only top directory must exists,
16681 return nil if it doesn't.
16682 (copy-directory): No need to test with `file-subdir-of-p' after
16683 creating dir.
16684 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16685 to `file-equal-p'.
16686
16687 2012-02-28 Glenn Morris <rgm@gnu.org>
16688
16689 * shell.el (shell-mode):
16690 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16691 * play/landmark.el (landmark-font-lock-face-O):
16692 * play/handwrite.el (handwrite):
16693 * play/gomoku.el (gomoku-O):
16694 * net/browse-url.el (browse-url-browser-display):
16695 * international/mule.el (define-charset):
16696 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16697 * filesets.el (filesets-find-file-delay):
16698 * eshell/em-xtra.el (eshell-xtra):
16699 * eshell/em-unix.el (eshell-grep):
16700 * emulation/viper.el (viper-mode):
16701 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16702 * emacs-lisp/easymenu.el (easy-menu-define):
16703 * calendar/timeclock.el (timeclock-use-display-time):
16704 * bs.el (bs-mode):
16705 * bookmark.el (bookmark-save-flag):
16706 Doc fix (standardize possessive apostrophe usage).
16707
16708 2012-02-27 Chong Yidong <cyd@gnu.org>
16709
16710 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16711 Fix key-binding lookup for ESC key (Bug#9146).
16712
16713 * font-lock.el (font-lock-specified-p): Rename from
16714 font-lock-spec-present. Callers changed.
16715
16716 2012-02-27 Daniel Hackney <dan@haxney.org>
16717
16718 * emacs-lisp/package.el (package-compute-transaction):
16719 Handle holding a package version to t in package-load-list.
16720
16721 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16722
16723 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16724 (tramp-get-inode, tramp-get-device): Use cached values.
16725
16726 2012-02-26 Alan Mackenzie <acm@muc.de>
16727
16728 Check there is a font-lock specification before doing initial
16729 fontification.
16730
16731 * font-core.el (font-lock-mode): Move the conditional from
16732 :after-hook to font-lock-initial-fontify.
16733 (font-lock-default-function): Move the check for a specification
16734 to font-lock-spec-present.
16735
16736 * font-lock.el (font-lock-initial-fontify): Call ...
16737 (font-lock-spec-present): New function.
16738
16739 2012-02-26 Jim Blandy <jimb@red-bean.com>
16740
16741 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16742 (gdb-send): Apply it to the operand of the '-interpreter-exec
16743 console' command, so that we can pass arguments with (say) quotes
16744 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16745
16746 2012-02-26 Chong Yidong <cyd@gnu.org>
16747
16748 * help-fns.el (describe-function-1): Clarify description of
16749 remapping (Bug#10844).
16750
16751 * files.el (files-equal-p): Doc fix.
16752 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16753 and quit the loop once a mismatch is found.
16754
16755 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16756
16757 * bs.el (bs--show-with-configuration): Don't throw an error
16758 if the window cannot be split; otherwise, subsequent calls to
16759 bs-show fail, restoring a stale window config. (Bug#10882)
16760
16761 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16762
16763 * term/ns-win.el (global-map): Bind ns-drag-file to
16764 ns-find-file (Bug#5855, Bug#10050).
16765
16766 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16767
16768 * calendar/parse-time.el (parse-time-string): Allow extractor to
16769 return nil.
16770
16771 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16772
16773 * net/tramp.el (tramp-file-name-for-operation):
16774 Add `files-equal-p' and `file-subdir-of-p'.
16775
16776 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16777 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16778 Add COPY-CONTENTS argument.
16779
16780 2012-02-25 Chong Yidong <cyd@gnu.org>
16781
16782 Add custom groups for VC backends, for consistency with vc-bzr.
16783
16784 * vc/vc-arch.el (vc-arch):
16785 * vc/vc-cvs.el (vc-cvs):
16786 * vc/vc-git.el (vc-git):
16787 * vc/vc-hg.el (vc-hg):
16788 * vc/vc-mtn.el (vc-mtn):
16789 * vc/vc-rcs.el (vc-rcs):
16790 * vc/vc-sccs.el (vc-sccs):
16791 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16792 All relevant defcustoms reassigned.
16793
16794 2012-02-25 Chong Yidong <cyd@gnu.org>
16795
16796 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16797
16798 * term/x-win.el (x-initialize-window-system): Reduce default for
16799 x-selection-timeout to 5 seconds (Bug#8869).
16800
16801 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16802
16803 * files.el (files-equal-p, file-subdir-of-p): New functions.
16804 (copy-directory): Error when trying to copy a directory on itself.
16805 Add missing copy-contents arg to tramp handler.
16806 * dired-aux.el (dired-copy-file-recursive): Same.
16807 (dired-create-files): Modify destination when source is equal to
16808 dest when copying files.
16809 Return also when dest is a subdir of source. (Bug#10489)
16810
16811 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16812
16813 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16814 (Bug#10874)
16815
16816 2012-02-23 Alan Mackenzie <acm@muc.de>
16817
16818 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16819 parameter "after-hook:" to allow the expansion to run code after
16820 the execution of the mode hooks.
16821
16822 * font-lock.el (font-lock-initial-fontify): New function extracted
16823 from font-lock-mode-internal.
16824
16825 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16826 :after-hook.
16827
16828 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16829
16830 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16831 (completion--cache-all-sorted-completions): New function.
16832 (completion-all-sorted-completions): Use it.
16833 (completion--do-completion, minibuffer-force-complete):
16834 Use it to re-instate the flush hook.
16835
16836 * icomplete.el (icomplete-completions): Replace last fix with a better
16837 one (bug#10850).
16838
16839 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16840
16841 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16842 when it might call us back infinitely (bug#10797).
16843
16844 2012-02-23 Glenn Morris <rgm@gnu.org>
16845
16846 * minibuffer.el (completion-category-overrides): Doc fix.
16847
16848 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16849
16850 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16851 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16852
16853 2012-02-23 Glenn Morris <rgm@gnu.org>
16854
16855 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16856 (authors-obsolete-files-regexps, authors-ignored-files)
16857 (authors-ambiguous-files, authors-renamed-files-alist):
16858 Add more entries.
16859
16860 2012-02-23 Juri Linkov <juri@jurta.org>
16861
16862 * isearch.el (isearch-occur): Sync interactive spec with occur's
16863 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16864
16865 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16866
16867 2012-02-22 Juri Linkov <juri@jurta.org>
16868
16869 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16870 (ucs-insert): Doc fix. Check for hex digits in the string.
16871 Don't display `nil' in the error message. (Bug#10857)
16872
16873 2012-02-22 Alan Mackenzie <acm@muc.de>
16874
16875 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16876
16877 2012-02-22 Glenn Morris <rgm@gnu.org>
16878
16879 * ffap.el (ffap-c-path):
16880 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16881
16882 2012-02-22 Chong Yidong <cyd@gnu.org>
16883
16884 * custom.el (load-theme): Doc fix.
16885
16886 2012-02-22 Glenn Morris <rgm@gnu.org>
16887
16888 * dired-x.el (dired-guess-shell-alist-default):
16889 Remove escape sequences from nroff output. (Bug#172)
16890
16891 2012-02-21 Glenn Morris <rgm@gnu.org>
16892
16893 * vc/emerge.el (emerge-defvar-local):
16894 Set `permanent-local' property rather than unused `preserved'.
16895
16896 * textmodes/picture.el (picture-delete-char): New alias.
16897 (picture-mode-map): Use it. (Bug#10860)
16898 (picture-mode): Doc fix.
16899
16900 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16901
16902 * newcomment.el (uncomment-region-default): Remove unused binding.
16903
16904 2012-02-21 Glenn Morris <rgm@gnu.org>
16905
16906 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16907 (picture-self-insert, picture-tab-chars): Doc fix.
16908 (picture-mode-map): Fix C-a, C-e.
16909
16910 2012-02-20 Glenn Morris <rgm@gnu.org>
16911
16912 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16913
16914 2012-02-20 Leo Liu <sdl.web@gmail.com>
16915
16916 * icomplete.el (icomplete-completions): Check FROM arg before
16917 passing to substring (Bug#10850).
16918
16919 2012-02-19 Chong Yidong <cyd@gnu.org>
16920
16921 * comint.el: Require ansi-color.
16922 (comint-output-filter-functions): Add ansi-color-process-output.
16923
16924 * ansi-color.el: Don't set comint-output-filter-functions; it is
16925 now in the initial value defined in comint.el.
16926 (ansi-color-apply-face-function): New variable.
16927 (ansi-color-apply-on-region): Use it.
16928 (ansi-color-apply-overlay-face): New function.
16929
16930 * shell.el (shell): No need to require ansi-color.
16931 (shell-mode): Use ansi-color-apply-face-function to highlight
16932 color escapes using font-lock-face property (Bug#10835).
16933
16934 2012-02-19 Chong Yidong <cyd@gnu.org>
16935
16936 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16937 mode-line formats (Bug#10839).
16938
16939 2012-02-18 Glenn Morris <rgm@gnu.org>
16940
16941 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16942
16943 * mail/undigest.el (unforward-rmail-message): Doc fix.
16944
16945 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16946
16947 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16948
16949 * international/characters.el (script-list): Sync with the latest
16950 Unicode Character Database.
16951
16952 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16953
16954 * international/titdic-cnv.el: Remove duplicate coding tag.
16955 * language/cham.el: Likewise.
16956 * language/tai-viet.el: Likewise.
16957
16958 2012-02-18 Glenn Morris <rgm@gnu.org>
16959
16960 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16961 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16962 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16963 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16964 * calendar/holidays.el (holiday-bahai-holidays)
16965 (calendar-holidays, list-holidays):
16966 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
16967
16968 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16969
16970 * saveplace.el (save-place-ignore-files-regexp): New variable
16971 allowing for excluding files from saving their location of point.
16972 The default value matches the temporary commit message editing
16973 files from Git, SVN, Bazaar, and Mercurial.
16974 (save-place-to-alist): Use it.
16975
16976 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16977 Stefan Monnier <monnier@iro.umontreal.ca>
16978
16979 * newcomment.el (uncomment-region-default): Don't leave extra space
16980 when an arg is provided (bug#8150).
16981
16982 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16983
16984 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16985
16986 2012-02-17 Glenn Morris <rgm@gnu.org>
16987
16988 * net/socks.el: Require network-stream. (Bug#10599)
16989
16990 2012-02-17 Kenichi Handa <handa@m17n.org>
16991
16992 * international/charprop.el:
16993 * international/uni-name.el:
16994 * international/uni-old-name.el:
16995 * international/uni-comment.el: Regenerate.
16996
16997 2012-02-16 Glenn Morris <rgm@gnu.org>
16998
16999 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17000 Interactively in calendar buffer, give an error if not on a date.
17001
17002 2012-02-15 Glenn Morris <rgm@gnu.org>
17003
17004 * shell.el (shell-delimiter-argument-list):
17005 Revert 2011-02-17 change. (Bug#8027)
17006
17007 2012-02-15 Chong Yidong <cyd@gnu.org>
17008
17009 * minibuffer.el (completion-at-point-functions): Doc fix.
17010
17011 * custom.el (defcustom): Doc fix; note use of defvar.
17012
17013 2012-02-15 Glenn Morris <rgm@gnu.org>
17014
17015 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17016 Doc fixes.
17017
17018 2012-02-14 Glenn Morris <rgm@gnu.org>
17019
17020 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17021
17022 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17023
17024 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17025 way the ports list is computed.
17026 (smtpmail-query-smtp-server): Prompt the user for a port number if
17027 we can't connect to any of the standard ports (bug#10810).
17028
17029 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17030
17031 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17032
17033 2012-02-13 Glenn Morris <rgm@gnu.org>
17034
17035 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17036
17037 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17038
17039 * net/gnutls.el (gnutls-trustfiles): New variable.
17040 (gnutls-negotiate): Use it.
17041
17042 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17043
17044 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17045 does its stuff if Gnus is running.
17046
17047 2012-02-13 Alan Mackenzie <acm@muc.de>
17048
17049 Fix a loop in c-set-fl-decl-start.
17050
17051 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17052 c-backward-syntactic-ws actually moves backwards.
17053
17054 2012-02-13 Leo Liu <sdl.web@gmail.com>
17055
17056 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17057 beginning so that all \C-o chars are removed.
17058
17059 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17060
17061 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17062
17063 2012-02-12 Alan Mackenzie <acm@muc.de>
17064
17065 Fix infinite loop with long macros.
17066 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17067
17068 2012-02-12 Chong Yidong <cyd@gnu.org>
17069
17070 * window.el (display-buffer): Doc fix (Bug#10785).
17071
17072 2012-02-12 Glenn Morris <rgm@gnu.org>
17073
17074 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17075 (x-disown-selection-internal, x-get-selection-internal):
17076 Sync docs with the xselect.c versions.
17077
17078 * allout-widgets.el: Add missing license notice.
17079
17080 2012-02-11 Glenn Morris <rgm@gnu.org>
17081
17082 * select.el (x-get-selection-internal, x-own-selection-internal)
17083 (x-disown-selection-internal):
17084 * x-dnd.el (x-get-selection-internal): Update declarations.
17085
17086 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17087
17088 * window.el (window-sides-slots):
17089 * tool-bar.el (tool-bar-position):
17090 * term/xterm.el (xterm-extra-capabilities):
17091 * ses.el (ses-self-reference-early-detection):
17092 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17093 (verilog-auto-wire-type)
17094 (verilog-auto-delete-trailing-whitespace)
17095 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17096 (verilog-auto-tieoff-declaration):
17097 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17098 (sql-oracle-statement-starters, sql-oracle-scan-on):
17099 * progmodes/prolog.el (prolog-align-comments-flag)
17100 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17101 (prolog-left-indent-regexp, prolog-paren-indent-p)
17102 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17103 (prolog-types, prolog-mode-specificators)
17104 (prolog-determinism-specificators, prolog-directives)
17105 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17106 (prolog-electric-dot-flag)
17107 (prolog-electric-dot-full-predicate-template)
17108 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17109 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17110 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17111 (prolog-program-switches, prolog-prompt-regexp)
17112 (prolog-debug-on-string, prolog-debug-off-string)
17113 (prolog-trace-on-string, prolog-trace-off-string)
17114 (prolog-zip-on-string, prolog-zip-off-string)
17115 (prolog-use-standard-consult-compile-method-flag)
17116 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17117 (prolog-imenu-max-lines, prolog-info-predicate-index)
17118 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17119 (prolog-char-quote-workaround):
17120 * progmodes/cc-vars.el (c-defun-tactic):
17121 * net/tramp.el (tramp-encoding-command-interactive)
17122 (tramp-local-end-of-line):
17123 * net/soap-client.el (soap-client):
17124 * net/netrc.el (netrc-file):
17125 * net/gnutls.el (gnutls):
17126 * minibuffer.el (completion-category-overrides)
17127 (completion-cycle-threshold)
17128 (completion-pcm-complete-word-inserts-delimiters):
17129 * man.el (Man-name-local-regexp):
17130 * mail/feedmail.el (feedmail-display-full-frame):
17131 * international/characters.el (glyphless-char-display-control):
17132 * eshell/em-ls.el (eshell-ls-date-format):
17133 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17134 (lisp-lambda-list-keyword-parameter-indentation)
17135 (lisp-lambda-list-keyword-parameter-alignment):
17136 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17137 * dired-x.el (dired-omit-verbose):
17138 * cus-theme.el (custom-theme-allow-multiple-selections):
17139 * calc/calc.el (calc-highlight-selections-with-faces)
17140 (calc-lu-field-reference, calc-lu-power-reference)
17141 (calc-note-threshold):
17142 * battery.el (battery-mode-line-limit):
17143 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17144 (archive-7z-update):
17145 * allout.el (allout-prefixed-keybindings)
17146 (allout-unprefixed-keybindings)
17147 (allout-inhibit-auto-fill-on-headline)
17148 (allout-flattened-numbering-abbreviation):
17149 * allout-widgets.el (allout-widgets-auto-activation)
17150 (allout-widgets-icons-dark-subdir)
17151 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17152 (allout-widgets-theme-dark-background)
17153 (allout-widgets-theme-light-background)
17154 (allout-widgets-item-image-properties-emacs)
17155 (allout-widgets-item-image-properties-xemacs)
17156 (allout-widgets-run-unit-tests-on-load)
17157 (allout-widgets-time-decoration-activity)
17158 (allout-widgets-hook-error-post-time)
17159 (allout-widgets-track-decoration):
17160 Add missing :version tags to new defcustoms and defgroups.
17161
17162 * progmodes/sql.el (sql-ansi-statement-starters)
17163 (sql-oracle-statement-starters): Add custom type.
17164
17165 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17166 (prolog-system-version): Give it a type.
17167
17168 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17169
17170 * term/pc-win.el (x-select-text, x-selection-owner-p)
17171 (x-own-selection-internal, x-disown-selection-internal)
17172 (x-get-selection-internal): Sync doc strings and argument lists
17173 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17174
17175 2012-02-11 Leo Liu <sdl.web@gmail.com>
17176
17177 * progmodes/python.el (python-end-of-statement): Fix infinite
17178 loop. (Bug#10788)
17179
17180 2012-02-10 Glenn Morris <rgm@gnu.org>
17181
17182 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17183 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17184
17185 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17186
17187 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17188 about SMTP before checking the From header.
17189
17190 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17191 into own function for reuse by emacsbug.el.
17192
17193 2012-02-10 Leo Liu <sdl.web@gmail.com>
17194
17195 * subr.el (condition-case-unless-debug): Rename from
17196 condition-case-no-debug. All callers changed.
17197 (with-demoted-errors): Fix caller.
17198
17199 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17200 * nxml/rng-valid.el (rng-do-some-validation):
17201 * emacs-lisp/package.el (package-refresh-contents)
17202 (package-menu-execute):
17203 * desktop.el (desktop-create-buffer):
17204 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17205
17206 2012-02-10 Glenn Morris <rgm@gnu.org>
17207
17208 * textmodes/bibtex.el:
17209 Add missing :version tags for new/changed defcustoms.
17210
17211 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17212
17213 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17214
17215 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17216 (smtpmail-via-smtp): Use it, or fall back on the From address.
17217 (smtpmail-send-it): Ditto.
17218
17219 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17220
17221 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17222 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17223 (byte-compile-tmp-var): New const.
17224 (byte-compile-defvar): Use it to minimize .elc size.
17225 Just use `defvar' rather than simulate it (bug#10761).
17226
17227 2012-02-09 Glenn Morris <rgm@gnu.org>
17228
17229 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17230
17231 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17232 Add :version tags.
17233
17234 * progmodes/compile.el (compilation-error-screen-columns)
17235 (compilation-first-column, compilation-filter-start): Doc fixes.
17236
17237 * vc/log-view.el (log-view-toggle-entry-display):
17238 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17239
17240 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17241 (report-emacs-bug-can-use-xdg-email):
17242 (report-emacs-bug-insert-to-mailer): Doc fixes.
17243 (report-emacs-bug): Message fix.
17244
17245 * net/browse-url.el (browse-url-can-use-xdg-open)
17246 (browse-url-xdg-open): Doc fixes.
17247
17248 * electric.el (electric-indent-mode, electric-pair-mode)
17249 (electric-layout-rules, electric-layout-mode): Doc fixes.
17250 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17251
17252 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17253
17254 * server.el (server-unselect-display): Don't inadvertently kill
17255 the current buffer. (Bug#10729)
17256
17257 2012-02-08 Glenn Morris <rgm@gnu.org>
17258
17259 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17260 (sql-list-table): Doc fixes.
17261
17262 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17263 Comment out (does nothing).
17264
17265 * completion.el (dynamic-completion-mode):
17266 * dirtrack.el (dirtrack-debug-mode):
17267 * electric.el (electric-layout-mode):
17268 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17269 * face-remap.el (text-scale-mode, buffer-face-mode):
17270 * iimage.el (iimage-mode):
17271 * image-mode.el (image-transform-mode):
17272 * minibuffer.el (completion-in-region-mode):
17273 * scroll-lock.el (scroll-lock-mode):
17274 * simple.el (next-error-follow-minor-mode):
17275 * tar-mode.el (tar-subfile-mode):
17276 * tooltip.el (tooltip-mode):
17277 * vcursor.el (vcursor-use-vcursor-map):
17278 * wid-browse.el (widget-minor-mode):
17279 * emulation/tpu-edt.el (tpu-edt-mode):
17280 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17281 * international/iso-ascii.el (iso-ascii-mode):
17282 * language/thai-util.el (thai-word-mode):
17283 * mail/supercite.el (sc-minor-mode):
17284 * net/goto-addr.el (goto-address-mode):
17285 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17286 * progmodes/cwarn.el (cwarn-mode):
17287 * progmodes/flymake.el (flymake-mode):
17288 * progmodes/glasses.el (glasses-mode):
17289 * progmodes/hideshow.el (hs-minor-mode):
17290 * progmodes/pascal.el (pascal-outline-mode):
17291 * textmodes/enriched.el (enriched-mode):
17292 * vc/smerge-mode.el (smerge-mode):
17293 Doc fixes (minor mode argument).
17294
17295 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17296
17297 * ls-lisp.el (ls-lisp-sanitize): New function.
17298 (ls-lisp-insert-directory): Use it to fix or remove any elements
17299 in file-alist with missing attributes. (Bug#4673)
17300
17301 2012-02-07 Alan Mackenzie <acm@muc.de>
17302
17303 Fix spurious recognition of c-in-knr-argdecl.
17304
17305 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17306 putative K&R region.
17307
17308 2012-02-07 Alan Mackenzie <acm@muc.de>
17309
17310 * progmodes/cc-engine.el (c-forward-objc-directive):
17311 Prevent looping in "#pragma mark @implementation".
17312
17313 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17314
17315 * notifications.el (notifications-on-closed-signal): Make `reason'
17316 optional. (Bug#10744)
17317
17318 2012-02-07 Glenn Morris <rgm@gnu.org>
17319
17320 * emacs-lisp/easy-mmode.el (define-minor-mode):
17321 Doc fixes for the macro and the mode it defines.
17322
17323 * image.el (imagemagick-types-inhibit): Doc fix.
17324
17325 * cus-start.el (imagemagick-render-type): Add it.
17326
17327 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17328
17329 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17330 Set the default at load time, too, so that `font-lock-fontify-buffer'
17331 can be called without setting up the entire mode first. This fixes
17332 a bug in `mm-inline-text' with C MIME parts.
17333
17334 2012-02-06 Chong Yidong <cyd@gnu.org>
17335
17336 * simple.el (list-processes--refresh): Delete exited processes
17337 (Bug#8094).
17338
17339 * comint.el (comint-next-prompt): next-single-char-property-change
17340 and prev-single-char-property-change never return nil (Bug#8657).
17341
17342 * custom.el (defcustom): Doc fix (Bug#9711).
17343
17344 2012-02-05 Chong Yidong <cyd@gnu.org>
17345
17346 * cus-edit.el (custom-variable-reset-backup): Quote the value
17347 before storing it in the customized-value property (Bug#6712).
17348 (custom-display): Add a customization type tag.
17349 (custom-buffer-create-internal): Improve tooltip message.
17350
17351 * wid-edit.el (widget-field-value-get): New optional arg to
17352 suppress trailing whitespace truncation.
17353 (character): Use it (Bug#2689).
17354
17355 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17356
17357 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17358 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17359
17360 2012-02-05 Chong Yidong <cyd@gnu.org>
17361
17362 * cus-edit.el (custom-variable-value-create): For mismatched
17363 types, show the current value (Bug#7600).
17364
17365 * custom.el (defcustom): Doc fix.
17366
17367 2012-02-05 Glenn Morris <rgm@gnu.org>
17368
17369 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17370
17371 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17372
17373 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17374 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17375 (pp-last-sexp): Use `looking-at-p'.
17376
17377 2012-02-04 Glenn Morris <rgm@gnu.org>
17378
17379 * files.el (revert-buffer):
17380 Doc fix (mention revert-buffer-in-progress-p).
17381
17382 * emacs-lisp/ert-x.el (ert-simulate-command):
17383 Check deferred-action-list (which is obsolete) is bound.
17384
17385 * subr.el (with-wrapper-hook): Doc fixes.
17386
17387 * simple.el (filter-buffer-substring-functions)
17388 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17389
17390 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17391
17392 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17393 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17394
17395 2012-02-04 Leo Liu <sdl.web@gmail.com>
17396
17397 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17398
17399 2012-02-04 Glenn Morris <rgm@gnu.org>
17400
17401 * image.el (image-extension-data): Add obsolete alias.
17402
17403 * isearch.el (isearch-update): Doc fix.
17404
17405 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17406
17407 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17408
17409 2012-02-03 Glenn Morris <rgm@gnu.org>
17410
17411 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17412 (image-animate-timeout): Doc fix.
17413
17414 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17415
17416 2012-02-02 Glenn Morris <rgm@gnu.org>
17417
17418 * server.el (server-auth-dir): Doc fix.
17419 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17420
17421 * subr.el (run-mode-hooks): Doc fix.
17422
17423 2012-02-02 Juri Linkov <juri@jurta.org>
17424
17425 * image-mode.el (image-toggle-display-image): Remove tautological
17426 `major-mode' from the `derived-mode-p' test.
17427
17428 2012-02-02 Kenichi Handa <handa@m17n.org>
17429
17430 * composite.el (compose-region): Cancel previous change.
17431
17432 2012-02-02 Kenichi Handa <handa@m17n.org>
17433
17434 * composite.el (compose-region, compose-string): Signal error for
17435 a null string component (Bug#6988).
17436
17437 2012-02-01 Chong Yidong <cyd@gnu.org>
17438
17439 * view.el (view-buffer-other-window, view-buffer-other-frame):
17440 Handle special modes like view-buffer (Bug#10650).
17441 (view-buffer): Simplify.
17442
17443 * frame.el (set-frame-font): Tweak meaning of third argument.
17444
17445 * dynamic-setting.el (font-setting-change-default-font):
17446 Use set-frame-font (Bug#9982).
17447
17448 2012-02-01 Glenn Morris <rgm@gnu.org>
17449
17450 * progmodes/compile.el (compilation-internal-error-properties):
17451 Respect compilation-first-column in the "*compilation*" buffer.
17452
17453 * emacs-lisp/easy-mmode.el (define-minor-mode):
17454 Relax :variable's test for a named function.
17455
17456 2012-01-31 Alan Mackenzie <acm@muc.de>
17457
17458 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17459 off by one error.
17460
17461 2012-01-31 Chong Yidong <cyd@gnu.org>
17462
17463 * frame.el (set-frame-font): New arg ALL-FRAMES.
17464
17465 * menu-bar.el (menu-set-font): Use set-frame-font.
17466
17467 * faces.el (face-spec-reset-face): Don't apply unspecified
17468 attribute values to the default face.
17469
17470 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17471
17472 * progmodes/cwarn.el (cwarn): Remove dead link.
17473 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17474 Remove * from defcustom docstrings.
17475 (turn-on-cwarn-mode): Make obsolete.
17476 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17477 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17478
17479 2012-01-31 Glenn Morris <rgm@gnu.org>
17480
17481 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17482 Fix :variable handling of mode a symbol not equal to modefun.
17483 Allow named functions to be used as the cdr of :variable.
17484
17485 2012-01-30 Glenn Morris <rgm@gnu.org>
17486
17487 * emacs-lisp/authors.el (authors-fixed-entries):
17488 Remove reference to deleted file rnewspost.el.
17489
17490 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17491
17492 * window.el (window-with-parameter): Remove unused variable `windows'.
17493 (window--side-check): Remove unused variable `code'.
17494 (window--resize-siblings): Remove unused variable `first'.
17495 (adjust-window-trailing-edge): Remove unused variable `failed'.
17496 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17497 Use `let', not `let*'.
17498 (balance-windows-2): Remove unused variable `found'.
17499 (window--state-put-2): Remove unused variable `splits'.
17500 (window-state-put): Remove unused variable `selected'.
17501 (same-window-p): Use `string-match-p'.
17502 (display-buffer-assq-regexp): Remove unused variable `value'.
17503 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17504 Mark argument ALIST as ignored.
17505 (pop-to-buffer): Remove unused variable `old-window'.
17506
17507 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17508
17509 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17510 and .lzma compressed files.
17511
17512 2012-01-29 Chong Yidong <cyd@gnu.org>
17513
17514 * frame.el (window-system-default-frame-alist): Doc fix.
17515
17516 * dynamic-setting.el (font-setting-change-default-font): Don't
17517 change the default face if SET-FONT argument is non-nil (Bug#9982).
17518
17519 2012-01-29 Samuel Bronson <naesten@gmail.com>
17520
17521 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17522
17523 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17524
17525 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17526 breakpoints in files outside current directory (Bug#6098).
17527
17528 2012-01-29 Chong Yidong <cyd@gnu.org>
17529
17530 * progmodes/python.el: Require ansi-color at top-level.
17531
17532 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17533 Define and use in Emacs Lisp mode (Bug#9360).
17534 (lisp-mode-abbrev-table): Add doc.
17535 (lisp-mode-variables): Don't set local-abbrev-table.
17536 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17537
17538 2012-01-28 Roland Winkler <winkler@gnu.org>
17539
17540 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17541
17542 2012-01-28 Roland Winkler <winkler@gnu.org>
17543
17544 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17545 (bibtex-set-dialect): Use it. Either set global values of
17546 dialect-dependent variables or bind these variables buffer-locally
17547 (Bug#10254).
17548 (bibtex-mode): Call bibtex-set-dialect via
17549 hack-local-variables-hook.
17550 (bibtex-dialect): Update docstring.
17551 Add safe-local-variable predicate.
17552 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17553 bibtex-set-dialect.
17554 (bibtex-mode-map): Define menu for each dialect.
17555 (bibtex-entry): Fix docstring.
17556
17557 2012-01-28 Chong Yidong <cyd@gnu.org>
17558
17559 * eshell/esh-arg.el (eshell-quote-argument): New function.
17560
17561 * eshell/esh-ext.el (eshell-invoke-batch-file):
17562 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17563 first arg to eshell-parse-command (Bug#10523).
17564
17565 2012-01-28 Drew Adams <drew.adams@oracle.com>
17566
17567 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17568 `default-directory' is non-nil.
17569
17570 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17571
17572 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17573 line that displays system-configuration-options. (Bug#9924)
17574
17575 2012-01-28 Drew Adams <drew.adams@oracle.com>
17576
17577 * descr-text.el (describe-char): Show information about POS, in
17578 addition to information about the character at POS. Improve and
17579 update the doc string. Change "code point" to "code point in
17580 charset", to avoid confusion with the character's Unicode code
17581 point shown above that. (Bug#10129)
17582
17583 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17584
17585 * descr-text.el (describe-char): Show the raw character, not only
17586 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17587 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17588 for the reasons.
17589
17590 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17591
17592 * emacs-lisp/package.el (package-install):
17593 Run package-refresh-contents if there is no archive yet (Bug#9798).
17594
17595 2012-01-28 Chong Yidong <cyd@gnu.org>
17596
17597 * emacs-lisp/package.el (package-maybe-load-descriptor):
17598 New function, split from package-maybe-load-descriptor.
17599 (package-maybe-load-descriptor): Use it.
17600 (package-download-transaction): Fully load required packages
17601 inside the loop, so that `require' calls work (Bug#10593).
17602 (package-install): No need to call package-initialize now.
17603
17604 2012-01-28 Chong Yidong <cyd@gnu.org>
17605
17606 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17607
17608 * tooltip.el (tooltip-mode): Doc fix.
17609 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17610
17611 * frame.el (set-cursor-color): Doc fix (Bug#352).
17612
17613 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17614 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17615
17616 * cus-edit.el (custom-buffer-create-internal): Fix search button
17617 action (Bug#10542).
17618 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17619
17620 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17621
17622 * dired.el (dired-mark-files-regexp):
17623 Include any subdirectory components. (Bug#10445)
17624
17625 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17626
17627 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17628 Handle [host]:port syntax. (Bug#10533)
17629
17630 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17631
17632 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17633
17634 2012-01-26 Glenn Morris <rgm@gnu.org>
17635
17636 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17637 * term.el (term-raw-escape-map): Use Control-X-prefix.
17638 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17639
17640 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17641
17642 * window.el (window-state-get, window--state-get-1): Don't deal
17643 with fixed-sizeness of windows. Simplify code.
17644
17645 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17646
17647 * window.el (window--state-get-1, window--state-put-2):
17648 Don't save and restore the mark.
17649
17650 2012-01-25 Chong Yidong <cyd@gnu.org>
17651
17652 * custom.el (custom-variable-p): Doc fix.
17653
17654 2012-01-25 Glenn Morris <rgm@gnu.org>
17655
17656 * dired.el (dired-goto-file): Handle some of the more common
17657 characters that `ls -b' escapes. (Bug#10596)
17658
17659 * progmodes/compile.el (compilation-next-error-function):
17660 Respect compilation-first-column in the "*compilation*" buffer.
17661 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17662
17663 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17664
17665 2012-01-24 Glenn Morris <rgm@gnu.org>
17666
17667 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17668
17669 2012-01-24 Julien Danjou <julien@danjou.info>
17670
17671 * color.el (color-rgb-to-hsl): Fix value computing.
17672 (color-hue-to-rgb): New function.
17673 (color-hsl-to-rgb): New function.
17674 (color-clamp, color-saturate-hsl, color-saturate-name)
17675 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17676 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17677
17678 2012-01-24 Glenn Morris <rgm@gnu.org>
17679
17680 * vc/vc-rcs.el (vc-rcs-create-tag):
17681 * vc/vc-sccs.el (vc-sccs-create-tag):
17682 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17683
17684 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17685
17686 * eshell/esh-util.el (eshell-read-hosts-file):
17687 Skip comment lines. (Bug#10549)
17688
17689 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17690
17691 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17692
17693 * subr.el (display-delayed-warnings): Doc fix.
17694 (collapse-delayed-warnings): New function to collapse identical
17695 adjacent warnings.
17696 (delayed-warnings-hook): Add it.
17697
17698 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17699
17700 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17701
17702 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17703 (tramp-default-user-alist): Don't add "pscp".
17704 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17705 property "login-as", if set. (Bug#10530)
17706
17707 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17708
17709 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17710 "plink1" and "psftp". (Bug#10530)
17711
17712 2012-01-21 Kenichi Handa <handa@m17n.org>
17713
17714 * international/mule-cmds.el (prefer-coding-system): Show a
17715 warning message if the default value of file-name-coding-system
17716 was not changed.
17717
17718 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17719
17720 * windmove.el (windmove-reference-loc):
17721 Fix windmove-reference-loc miscalculation.
17722
17723 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17724
17725 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17726 default unit.
17727
17728 2012-01-21 Glenn Morris <rgm@gnu.org>
17729
17730 * international/mule.el (auto-coding-alist): Add .tbz.
17731
17732 * files.el (local-enable-local-variables): Doc fix.
17733 (inhibit-local-variables-regexps): Rename from
17734 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17735 Doc fix. Add some extensions from auto-coding-alist.
17736 (inhibit-local-variables-suffixes):
17737 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17738 (inhibit-local-variables-p):
17739 New function, extracted from set-auto-mode-1.
17740 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17741 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17742 (hack-local-variables): Doc fix. Make the mode-only case
17743 respect enable-local-variables and friends.
17744 Respect inhibit-local-variables-regexps for file-locals, but
17745 not for directory-locals.
17746 (set-visited-file-name):
17747 Take account of inhibit-local-variables-regexps.
17748 Whether it applies may change as the file name is changed.
17749 * jka-cmpr-hook.el (jka-compr-install):
17750 * jka-compr.el (jka-compr-uninstall):
17751 Update for inhibit-first-line-modes-suffixes name change.
17752
17753 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17754
17755 * help-macro.el (make-help-screen): Temporarily restore original
17756 binding for minor-mode-map-alist (Bug#10454).
17757
17758 2012-01-19 Julien Danjou <julien@danjou.info>
17759
17760 * color.el (color-name-to-rgb): Use the white color to find the max
17761 color component value and return correctly computed values.
17762 (color-name-to-rgb): Add missing float conversion for max value.
17763
17764 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17765
17766 * window.el (window--state-get-1, window-state-get): Do not use
17767 special state value for window-persistent-parameters.
17768 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17769 (window--state-put-2): Reset all window parameters to nil before
17770 assigning values of persistent parameters.
17771
17772 2012-01-18 Alan Mackenzie <acm@muc.de>
17773
17774 Eliminate sluggishness and hangs in fontification of "semicolon
17775 deserts".
17776
17777 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17778 Change value 10000 -> 3000.
17779 (c-state-safe-place): Reformulate so it doesn't stack up an
17780 infinite number of wrong entries in c-state-nonlit-pos-cache.
17781 (c-determine-limit-get-base, c-determine-limit): New functions to
17782 determine backward search limits disregarding literals.
17783 (c-find-decl-spots): Amend commenting.
17784 (c-cheap-inside-bracelist-p): New function which detects "={".
17785
17786 * progmodes/cc-fonts.el
17787 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17788 backward search.
17789 (c-font-lock-declarations): Fix an occurrence of point being
17790 undefined. Check additionally for point being in a bracelist or
17791 near a macro invocation without a semicolon so as to avoid a
17792 fruitless time consuming search for a declarator. Give a more
17793 precise search limit for declarators using the new
17794 c-determine-limit.
17795
17796 2012-01-18 Glenn Morris <rgm@gnu.org>
17797
17798 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17799 (set-auto-mode): Doc fixes.
17800
17801 2012-01-17 Glenn Morris <rgm@gnu.org>
17802
17803 * isearch.el (search-nonincremental-instead): Fix doc typo.
17804
17805 * dired.el (dired-insert-directory): Handle newlines in directory name.
17806 (dired-build-subdir-alist): Unescape newlines in directory name.
17807
17808 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17809
17810 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17811 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17812 (tramp-action-terminal): Use it. (Bug#10530)
17813
17814 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17815
17816 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17817
17818 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17819
17820 * window.el (window-state-ignored-parameters): Remove variable.
17821 (window--state-get-1): Rename argument MARKERS to IGNORE.
17822 Handle persistent window parameters. Make copy of clone-of
17823 parameter only if requested. (Bug#10348)
17824 (window--state-put-2): Install a window parameter only if it has
17825 a non-nil value or an existing parameter shall be overwritten.
17826
17827 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17828
17829 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17830
17831 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17832
17833 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17834 don't pass the (nil) value of `upnode' to string-match.
17835
17836 2012-01-14 Chong Yidong <cyd@gnu.org>
17837
17838 * startup.el (command-line): Fix X resource class for cursorColor.
17839 Fix values recognized by the cursorBlink resource.
17840
17841 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17842
17843 * epg.el (epg--make-temp-file): Avoid permission race condition
17844 when running on old Emacs versions (bug#10403).
17845
17846 2012-01-14 Glenn Morris <rgm@gnu.org>
17847
17848 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17849
17850 2012-01-13 Alan Mackenzie <acm@muc.de>
17851
17852 Fix filling for when filladapt mode is enabled.
17853
17854 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17855 c-mask-paragraph, pass in `fill-paragraph' rather than
17856 `fill-region-as-paragraph'. (This is a reversion of a previous
17857 change.)
17858 * progmodes/cc-mode.el (c-basic-common-init):
17859 Make fill-paragraph-handle-comment buffer local and set it to nil.
17860
17861 2012-01-13 Glenn Morris <rgm@gnu.org>
17862
17863 * dired.el (dired-switches-escape-p): New function.
17864 (dired-insert-directory): Use dired-switches-escape-p.
17865 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17866
17867 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17868
17869 2012-01-12 Glenn Morris <rgm@gnu.org>
17870
17871 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17872 changes in adaptive-fill-regexp. (Bug#10276)
17873
17874 2012-01-11 Alan Mackenzie <acm@muc.de>
17875
17876 Fix Emacs bug #10463 - put `widen's around the critical spots.
17877
17878 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17879 widen around each invocation of c-state-pp-to-literal. Remove an
17880 unused let variable.
17881
17882 2012-01-11 Glenn Morris <rgm@gnu.org>
17883
17884 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17885 Doc fix.
17886
17887 2012-01-10 Chong Yidong <cyd@gnu.org>
17888
17889 * net/network-stream.el (network-stream-open-starttls):
17890 Avoid emitting a confusing error message when the server gives a bad
17891 response to the capability command.
17892
17893 2012-01-10 Glenn Morris <rgm@gnu.org>
17894
17895 * mail/unrmail.el (unrmail): Tweak previous change.
17896
17897 2012-01-09 Chong Yidong <cyd@gnu.org>
17898
17899 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17900
17901 2012-01-08 Alan Mackenzie <acm@muc.de>
17902
17903 Optimize font locking in long enum definitions.
17904
17905 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17906 arm to a cond form to handle enums.
17907 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17908 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17909
17910 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17911
17912 * files.el (move-file-to-trash): Preserve default file modes on error.
17913 (Bug#10401)
17914
17915 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17916
17917 * faces.el (set-face-attribute): Clarify the meaning of the nil
17918 frame (bug#10294).
17919
17920 * subr.el (with-selected-frame): Mention that the selected frame
17921 is restored (bug#9980).
17922
17923 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17924 (bug#9759).
17925
17926 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17927 (password-read): Don't autoload unused function.
17928
17929 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17930
17931 * progmodes/which-func.el (which-func-mode): Turn into a
17932 non-interactive function and mark as obsolete (bug#10428).
17933
17934 2012-01-06 Chong Yidong <cyd@gnu.org>
17935
17936 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17937 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17938 functions, along with 1 and -1.
17939
17940 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17941
17942 * time.el (display-time-load-average)
17943 (display-time-default-load-average): Doc fixes. See the thread
17944 starting at
17945 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17946 for the details.
17947
17948 2012-01-06 Glenn Morris <rgm@gnu.org>
17949
17950 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17951 has no messages. (Bug#10377)
17952
17953 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17954 than Info-edit. (Bug#10385)
17955
17956 * time.el (display-time-load-average, display-time-next-load-average):
17957 Doc fixes.
17958
17959 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17960 local setting of buffer-read-only to the input buffer. (Bug#10419)
17961
17962 * calendar/calendar.el (calendar-mode):
17963 Locally set scroll-margin to 0. (Bug#10379)
17964
17965 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17966
17967 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17968
17969 2012-01-05 Glenn Morris <rgm@gnu.org>
17970
17971 * eshell/em-unix.el (diff-no-select): Autoload it.
17972 (eshell/diff): Use diff-no-select. (Bug#10420)
17973
17974 2012-01-05 Chong Yidong <cyd@gnu.org>
17975
17976 * shell.el (shell-dynamic-complete-functions): Revert last change.
17977 (shell-command-completion-function): New function.
17978 (shell-completion-vars): Use it to implement
17979 shell-completion-execonly (Bug#10417).
17980
17981 * custom.el (enable-theme): Don't set custom-safe-themes.
17982
17983 * cus-theme.el (custom-theme-merge-theme):
17984 Ignore custom-enabled-themes and custom-safe-themes.
17985
17986 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17987
17988 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17989 first prompt in `sql-interacive-mode'.
17990 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17991 keywords.
17992 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17993 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17994 context of original buffer. Invoke `sql-login-hook'.
17995
17996 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17997
17998 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17999 letters in cite-prefix.
18000
18001 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18002
18003 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18004
18005 2012-01-03 Chong Yidong <cyd@gnu.org>
18006
18007 * shell.el (shell-dynamic-complete-functions):
18008 Put pcomplete-completions-at-point, so as to try
18009 comint-filename-completion first (Bug#10417).
18010
18011 2012-01-02 Richard Stallman <rms@gnu.org>
18012
18013 * battery.el (battery-status-function):
18014 Detect when to use battery-yeeloong-sysfs.
18015 (battery-echo-area-format): Add string for Yeeloong.
18016 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18017 (battery-yeeloong-sysfs): New function.
18018
18019 2012-01-02 Chong Yidong <cyd@gnu.org>
18020
18021 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18022 (dirtrack): Merge code for handling relative filenames in prompt
18023 from shell-dir-cookie-watcher.
18024 (dirtrack-debug-message): New arg to avoid excess format calls.
18025
18026 * shell.el (shell-dir-cookie-re): Variable deleted.
18027 (shell-dir-cookie-watcher): Function deleted.
18028 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18029 with dirtrack-mode.
18030
18031 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18032
18033 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18034 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18035 libgnutls-26.dll.
18036
18037 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18038
18039 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18040
18041 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18042
18043 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18044 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18045
18046 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18047
18048 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18049 also for alternative shells.
18050 (tramp-open-connection-setup-interactive-shell): Check, whether
18051 the shell is a busybox.
18052 (tramp-send-command): Don't suppress multiple prompts for
18053 busyboxes, it hurts.
18054
18055 2011-12-28 Chong Yidong <cyd@gnu.org>
18056
18057 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18058 (gdb-get-source-file): Move mode line update to
18059 gdb-get-source-file (Bug#10087).
18060
18061 2011-12-25 Chong Yidong <cyd@gnu.org>
18062
18063 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18064 gud-gdb-marker-filter without taking it as an argument.
18065 (gud-gdb-run-command-fetch-lines): Caller changed.
18066 (gud-gdb-completion-function): New variable.
18067 (gud-gdb-completion-at-point): Use it.
18068 (gud-gdb-completions-1): Split from gud-gdb-completions.
18069
18070 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18071 function as separate arguments.
18072 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18073 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18074 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18075 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18076 (gdb-stopped, def-gdb-auto-update-trigger)
18077 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18078 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18079 Callers changed.
18080 (gud-gdbmi-completions): New function.
18081 (gdb): Use it for generating the completion table.
18082
18083 2011-12-24 Alan Mackenzie <acm@muc.de>
18084
18085 Introduce a mechanism to widen the region used in context font
18086 locking. Use this to protect declarations from losing their contexts.
18087
18088 * progmodes/cc-langs.el (c-before-font-lock-functions):
18089 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18090 (c-before-context-fontification-functions): New defvar, a list of
18091 functions to be run just before context (etc.) font locking.
18092
18093 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18094 New, functionality extracted from
18095 c-neutralize-syntax-in-and-mark-CPP.
18096 (c-in-after-change-fontification): New variable.
18097 (c-after-change): Set c-in-after-change-fontification.
18098 (c-set-fl-decl-start): Rejig its interface, so it can be called
18099 from both after-change and context fontifying.
18100 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18101 New functions.
18102 (c-standard-font-lock-fontify-region-function): New variable.
18103 (c-font-lock-fontify-region): New function.
18104
18105 2011-12-24 Juri Linkov <juri@jurta.org>
18106
18107 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18108 (Bug#10348)
18109
18110 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18111
18112 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18113 existence of source file. (Bug#10325)
18114
18115 2011-12-23 Alan Mackenzie <acm@muc.de>
18116
18117 Fix unstable fontification inside templates.
18118
18119 * progmodes/cc-langs.el (c-before-font-lock-functions):
18120 Newly created from the singular version. The (c c++ objc) entry now
18121 additionally has c-set-fl-decl-start. The other languages (apart
18122 from AWK) have that as a single entry.
18123
18124 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18125 The functionality for "local" declarations has been extracted to
18126 c-set-fl-decl-start.
18127
18128 * progmodes/cc-mode.el (c-common-init, c-after-change):
18129 Changes due to pluralisation of c-before-font-lock-functions.
18130 (c-set-fl-decl-start): New function, extracted from
18131 c-font-lock-enclosing-decls and enhanced.
18132
18133 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18134
18135 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18136
18137 2011-12-22 Juri Linkov <juri@jurta.org>
18138
18139 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18140
18141 2011-12-22 Chong Yidong <cyd@gnu.org>
18142
18143 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18144
18145 2011-12-21 Drew Adams <drew.adams@oracle.com>
18146
18147 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18148
18149 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18150
18151 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18152
18153 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18154
18155 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18156 highlighting and support. Fix up comments for capitalization.
18157 (cfengine-mode-debug): New var.
18158 (cfengine3-mode): Change the modeline indicator to "CFE3".
18159 (cfengine3-font-lock-keywords): Improve defun highlighting.
18160 (cfengine2-actions): Rename from `cfengine-actions'.
18161 (cfengine2-font-lock-keywords): Rename from
18162 `cfengine-font-lock-keywords'.
18163 (cfengine2-imenu-expression): Rename from
18164 `cfengine-imenu-expression'.
18165 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18166 (cfengine2-beginning-of-defun): Rename from
18167 `cfengine-beginning-of-defun'.
18168 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18169 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18170 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18171 modeline indicator to "CFE2".
18172 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18173 (cfengine-mode-abbrevs): Mark obsolete.
18174
18175 2011-12-21 Chong Yidong <cyd@gnu.org>
18176
18177 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18178 filename argument.
18179
18180 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18181
18182 * window.el (window-normalize-buffer-to-display): Remove.
18183 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18184
18185 2011-12-19 Chong Yidong <cyd@gnu.org>
18186
18187 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18188 Don't signal an error in a predicate function; return non-nil.
18189 (vc-dir-mark-file): Move the error here.
18190 (vc-dir-mark-unmark): If acting on the region, keep going if one
18191 of the entries cannot be marked/unmarked.
18192 (vc-dir-mark-all-files): If current entry is a directory, mark
18193 only child files, as documented.
18194
18195 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18196
18197 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18198 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18199 addition.
18200
18201 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18202
18203 * term/ns-win.el (ns-get-selection-internal)
18204 (ns-store-selection-internal): Declare.
18205 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18206 Declare as obsolete.
18207 (ns-get-pasteboard, ns-paste-secondary):
18208 Use ns-get-selection-internal.
18209 (ns-set-pasteboard, ns-copy-including-secondary):
18210 Use ns-store-selection-internal.
18211
18212 2011-12-17 Chong Yidong <cyd@gnu.org>
18213
18214 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18215 (vc-deduce-fileset): Doc fix.
18216
18217 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18218
18219 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18220
18221 2011-12-13 Sam Steingold <sds@gnu.org>
18222
18223 * man.el (Man-getpage-in-background): When running under a
18224 window-system, ignore $MANWIDTH and $COLUMNS.
18225
18226 2011-12-15 Kenichi Handa <handa@m17n.org>
18227
18228 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18229 (setup-ethiopic-environment-internal): Comment out key-binding for
18230 ethio-toggle-punctuation.
18231
18232 2011-12-13 Alan Mackenzie <acm@muc.de>
18233
18234 Add the switch statement to AWK Mode.
18235
18236 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18237 "default" to the keywords regexp.
18238
18239 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18240 expression as the rest.
18241 (c-nonlabel-token-key): Allow string literals for AWK.
18242 Refactor for the other modes.
18243
18244 Large brace-block initialisation makes CC Mode slow: Fix.
18245 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18246 routines. Limit backward searching in c-font-lock-enclosing.decl.
18247
18248 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18249 pp-state and literal type in addition to the limits.
18250 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18251 (c-state-literal-at): Use the above new defun.
18252 (c-slow-in-literal, c-fast-in-literal): Remove.
18253 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18254
18255 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18256 being in a literal. Add a limit for backward searching.
18257
18258 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18259 c-slow-in-literal.
18260
18261 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18262
18263 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18264
18265 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18266
18267 * window.el (delete-other-windows): Use correct frame in call to
18268 window-with-parameter.
18269
18270 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18271
18272 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18273 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18274 (makefile-gmake-statements, makefile-makepp-statements):
18275 Use it and add new makepp keywords.
18276 (makefile-makepp-font-lock-keywords): Add new patterns.
18277 (makefile-match-function-end): Match new [...] and [[...]].
18278
18279 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18280
18281 * ses.el (ses-call-printer-return, ses-cell-property-get)
18282 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18283 (ses-create-cell-variable, ses-reset-header-string)
18284 (ses-cell-set-formula, ses-repair-cell-reference-all)
18285 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18286 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18287 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18288 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18289 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18290 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18291 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18292 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18293 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18294 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18295 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18296 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18297
18298 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18299
18300 * ses.el: The overall change is to add cell renaming, that is
18301 setting fancy names for cell symbols other than name matching
18302 "\\`[A-Z]+[0-9]+\\'" regexp .
18303 (ses-create-cell-variable): New defun.
18304 (ses-relocate-formula): Relocate formulas only for cells the
18305 symbols of which are not renamed, i.e. symbols whose names do not
18306 match regexp "\\`[A-Z]+[0-9]+\\'".
18307 (ses-relocate-all): Relocate values only for cells the symbols of
18308 which are not renamed.
18309 (ses-load): Create cells variables as the (ses-cell ...) are read,
18310 in order to check row col consistency with cell symbol name only
18311 for cells that are not renamed.
18312 (ses-replace-name-in-formula): New defun.
18313 (ses-rename-cell): New defun.
18314
18315 2011-12-11 Chong Yidong <cyd@gnu.org>
18316
18317 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18318 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18319
18320 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18321
18322 * window.el (other-window): Fix docstring.
18323
18324 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18325
18326 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18327 `from' or `to' address before taking its substring.
18328 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18329 encoded name is chopped in the middle of the encoded string, and
18330 thus displayed encoded.
18331
18332 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18333
18334 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18335
18336 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18337
18338 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18339 to use texinfo-update-node and commands that call it if the
18340 Texinfo file uses @node lines without next/prev/up pointers.
18341 Correct outdated description about texinfo-master-menu.
18342 (texinfo-all-menus-update, texinfo-master-menu)
18343 (texinfo-update-node, texinfo-every-node-update)
18344 (texinfo-multiple-files-update): Doc fix. Warn against updating
18345 all the @node lines.
18346 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18347 argument is numeric. Explain better in the doc string what the
18348 function really does.
18349 (texinfo-insert-master-menu-list): Improve the error message
18350 displayed if there's no menu in the Top node.
18351 (Bug#2975) See also this thread:
18352 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18353
18354 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18355
18356 * speedbar.el (speedbar-supported-extension-expressions):
18357 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18358
18359 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18360
18361 * printing.el (pr-mode-alist):
18362 * simple.el (filter-buffer-substring-functions)
18363 (completion-list-insert-choice-function):
18364 * window.el (window-with-parameter, window-atom-root)
18365 (window-sides-slots, window-size-fixed, window-min-delta)
18366 (window-max-delta, window--resize-mini-window)
18367 (window--resize-child-windows-normal, window-tree)
18368 (delete-other-windows, quit-window, split-window)
18369 (display-buffer-record-window, special-display-buffer-names)
18370 (special-display-regexps, special-display-popup-frame)
18371 (same-window-p, split-window-sensibly)
18372 (display-buffer-overriding-action, display-buffer-alist)
18373 (display-buffer-base-action, display-buffer, switch-to-buffer)
18374 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18375 (fit-window-to-buffer, recenter-positions)
18376 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18377 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18378 and remove unneeded backslashes in docstrings.
18379
18380 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18381
18382 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18383
18384 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18385 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18386 end in ".mk".
18387 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18388 when reading the makefile (bug#10116).
18389
18390 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18391
18392 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18393 (bug#10116).
18394
18395 2011-12-06 Glenn Morris <rgm@gnu.org>
18396
18397 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18398
18399 2011-12-06 Chong Yidong <cyd@gnu.org>
18400
18401 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18402
18403 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18404
18405 * textmodes/table.el (table-shorten-cell): Fix typo.
18406
18407 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18408
18409 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18410
18411 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18412
18413 * descr-text.el (describe-char): Fix display of strong
18414 right-to-left characters and directional embeddings and overrides.
18415
18416 * simple.el (what-cursor-position): Fix display of codepoints of
18417 strong right-to-left characters.
18418
18419 2011-12-05 Chong Yidong <cyd@gnu.org>
18420
18421 * faces.el (read-color): Doc fix.
18422
18423 2011-12-05 Glenn Morris <rgm@gnu.org>
18424
18425 * align.el (align--set-marker): Add doc-string.
18426 Don't try to move something that is not a marker. (Bug#10216)
18427
18428 2011-12-04 Glenn Morris <rgm@gnu.org>
18429
18430 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18431 overly zealous deletion of trailing whitespace.
18432
18433 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18434
18435 * server.el (server-delete-client): On Windows, do not try to delete
18436 the only terminal.
18437 (server-process-filter): On Windows, treat requests for a tty frame as
18438 if they were for a GUI frame if the running server is in GUI mode.
18439
18440 2011-12-03 Glenn Morris <rgm@gnu.org>
18441
18442 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18443
18444 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18445
18446 * electric.el: Streamline electric-indent's hook.
18447 (electric-indent-chars): Revert to simple list.
18448 (electric-indent-functions): New var.
18449 (electric-indent-post-self-insert-function): Use it.
18450
18451 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18452 there's no inferior buffer (bug#10196).
18453 (prolog-consult-compile): Don't use toggle-read-only.
18454
18455 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18456
18457 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18458 interrupt. (Bug#10187)
18459
18460 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18461
18462 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18463 (bug#9160).
18464
18465 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18466 (bug#10191).
18467
18468 2011-12-02 Juri Linkov <juri@jurta.org>
18469
18470 * info.el (Info-search): Display "end of manual" when Isearch
18471 reaches the end of single-file Info manual. (Bug#9918)
18472
18473 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18474
18475 * isearch.el (isearch-message-prefix): Run the input method part
18476 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18477
18478 2011-12-02 Juri Linkov <juri@jurta.org>
18479
18480 * isearch.el (isearch-occur): Use `word-search-regexp' for
18481 `isearch-word'.
18482 (isearch-search-and-update): Add condition for `isearch-word' and
18483 call `word-search-regexp'. (Bug#10145)
18484
18485 2011-12-01 Glenn Morris <rgm@gnu.org>
18486
18487 * eshell/em-hist.el (eshell-hist-initialize):
18488 Handle eshell-history-size nil and HISTSIZE set or unset.
18489 (eshell-history-file-name, eshell-history-size): Fix custom type.
18490
18491 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18492
18493 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18494
18495 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18496
18497 * progmodes/verilog-mode.el (verilog-pretty-expr):
18498 Rework verilog-pretty-expr to handle new assignment operators in system
18499 verilog, such as += *= and the like.
18500 (verilog-assignment-operator-re): Regular expression to find the
18501 assigment operator in a verilog assignment.
18502 (verilog-assignment-operation-re): Regular expression to find an
18503 assignment statement for pretty-expr.
18504 (verilog-in-attribute-p): Query returns true if point is in an
18505 attribute context; used to skip these for expression line up from
18506 pretty-expr.
18507 (verilog-in-parameter-p): Query returns true if point is in an
18508 parameter definition context; used to skip these for expression
18509 line up from pretty-expr.
18510 (verilog-in-parenthesis-p): Query returns true if point is in a
18511 parenthetical expression, specifically ( ) but not [ ] or { };
18512 used by pretty-expr.
18513 (verilog-just-one-space): If there is no space, don't add one.
18514 (verilog-get-lineup-indent-2): Specifically skip just attribute
18515 contexts for expression lineup, rather than skipping all
18516 parenthetical expressions.
18517 (verilog-calculate-indent): Fix comment, and fix indent.
18518 (verilog-do-indent): Indent declarations in lists (suggested by
18519 Joachim Lechner).
18520 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18521 skeleton items.
18522 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18523 by Alain Mellan).
18524
18525 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18526
18527 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18528 parameters with embedded comments. Reported by Ray Stevens.
18529 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18530 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18531 Reported by Tim Holt.
18532 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18533 instantiated by upper module causing wrong expansion until AUTOed a
18534 second time. Reported by K C Buckenmaier.
18535 (verilog-diff-auto): Fix showing .* as a difference when
18536 `verilog-auto-star-save' off. Reported by Dan Dever.
18537 (verilog-auto-reset, verilog-read-always-signals)
18538 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18539 temporary signals in reset list if
18540 verilog-auto-reset-blocking-in-non is nil, and match assignment
18541 style to each signal's assignment type, bug381.
18542 Reported by Thomas Esposito.
18543 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18544 (verilog-uvm-statement-re): Support UVM indentation and
18545 highlighting, with old OVM keywords only.
18546 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18547 Support AUTOTIEOFF creating non-wire data types.
18548 Suggested by Jonathan Greenlaw.
18549 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18550 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18551 (verilog-inject-sense, verilog-read-inst-pins)
18552 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18553 Fix mismatching parenthesis inside commented out code when deleting
18554 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18555 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18556 non-numeric vector width. Reported by Alex Reed.
18557 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18558 detecting signals with parameter widths. Reported by Alex Reed.
18559 (verilog-auto-delete-trailing-whitespace):
18560 With `verilog-auto-delete-trailing-whitespace' remove trailing
18561 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18562 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18563 Fix verilog-scan-cache corruption when running user AUTO expansion
18564 hooks that call indentation routines.
18565 (verilog-simplify-range-expression): Fix typo ignoring lower case
18566 identifiers.
18567 (verilog-delete-auto): Fix delete-autos to also remove user created
18568 automatics, as long as they start with AUTO.
18569 (verilog-batch-diff-auto, verilog-diff-auto)
18570 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18571 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18572 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18573 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18574 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18575 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18576 is disabled and its cache will get corrupt, causing AUTOS not to
18577 expand. Instead use only -quick functions.
18578 (verilog-scan-region): Fix scanning over escaped quotes.
18579 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18580 (verilog-re-search-backward-quick)
18581 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18582 related functions now ignore strings, to fix misparsing of strings
18583 with magic comments embedded in them.
18584 (verilog-read-auto-template):
18585 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18586 Reported by Brad Dobbie.
18587 (verilog-read-auto-template):
18588 Fix 'verilog-auto-inst-template-numbers' with comments.
18589 Reported by Brad Dobbie.
18590 (verilog-auto-inst, verilog-auto-inst-param)
18591 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18592 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18593 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18594 debugging templates without merge conflicts, bug357.
18595 Reported by Brad Dobbie.
18596 (verilog-read-auto-template):
18597 Fix verilog-auto-inst-template-numbers with multiple templates.
18598 Reported by Brad Dobbie.
18599 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18600 abbrevs so user won't be asked to save.
18601 (verilog-read-auto-lisp-present): Fix to start at beginning of
18602 buffer in case called outside of verilog-auto.
18603 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18604 to "X-2". Reported by Matthew Myers.
18605 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18606 all inputs from module templates. Reported by Leith Johnson.
18607 (verilog-module-inside-filename-p): Fix locating programs as with
18608 modules.
18609 (verilog-auto-inst-port): Fix vl-width expressions when using
18610 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18611 (verilog-decls-get-regs, verilog-decls-get-signals,
18612 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18613 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18614 verilog-read-decls): Combine reg and wire structures into one var
18615 structure to represent SystemVerilog concepts.
18616 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18617 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18618 (verilog-auto-wire-type, verilog-insert-definition):
18619 Add verilog-auto-wire-type and AUTOLOGIC to support using
18620 SystemVerilog "logic" keyword instead of "wire"/"reg".
18621 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18622 to declares outputs that also have assignments (presumably in an
18623 ifdef or generate if so there's not a driver conflict).
18624 Reported by Matthew Myers.
18625 (verilog-auto-declare-nettype, verilog-insert-definition):
18626 Add verilog-auto-declare-nettype to fix declarations using
18627 `default_nettype none. Reported by Julian Gorfajn.
18628 (verilog-read-always-signals-recurse, verilog-read-decls)
18629 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18630 malformed end statement, bug325. Reported by Joshua Wise and
18631 Andrew Drake.
18632 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18633 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18634 when expanding .* in interfaces, bug320.
18635 Reported by Pierre-David Pfister.
18636 (verilog-read-module-name): Fix import statements between module
18637 name and open parenthesis, bug317.
18638 Reported by Pierre-David Pfister.
18639 (verilog-simplify-range-expression): Fix simplification of
18640 multiplications inside AUTOWIRE connections, bug303.
18641 (verilog-auto-inst-port): Support parameter expansion in
18642 multidimensional arrays.
18643 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18644 after "assert property". Reported by Julian Gorfajn.
18645 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18646 with multiplication, bug303.
18647 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18648 Reported by Jan Frode Lonnum.
18649
18650 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18651
18652 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18653 (hfy-shell-file-name, hfy-shell):
18654 * international/fontset.el (x-decompose-font-name): Fix typos.
18655
18656 2011-11-29 Ken Brown <kbrown@cornell.edu>
18657
18658 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18659 (gdb-version): Remove defvar.
18660 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18661 (gdb-gud-context-command, gdb-non-stop-handler)
18662 (gdb-current-context-command, gdb-stopped): Use it.
18663 (gdb-init-1): Enable pretty printing here.
18664 (gdb-non-stop-handler): Don't enable pretty-printing here.
18665 Check to see if the target supports non-stop mode; if not, turn off
18666 non-stop mode. Use the following.
18667 (gdb-check-target-async): New defun.
18668 (gud-watch, gdb-stopped): Fix whitespace.
18669 (gdb-get-source-file): Don't try to display the source file if
18670 `gdb-main-file' is nil.
18671
18672 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18673
18674 * align.el: Try to generate fewer markers (bug#10047).
18675 (align--set-marker): New macro.
18676 (align-region): Use it.
18677
18678 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18679
18680 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18681
18682 2011-11-29 Chong Yidong <cyd@gnu.org>
18683
18684 * indent.el (indent-for-tab-command, indent-according-to-mode):
18685 Doc fix.
18686 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18687
18688 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18689
18690 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18691 aware of remote file names. (Bug#10124)
18692
18693 2011-11-29 Chong Yidong <cyd@gnu.org>
18694
18695 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18696
18697 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18698
18699 * files.el (find-file): Don't use force-same-window (bug#10144).
18700 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18701 use pop-to-buffer if the selected window can't be used.
18702 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18703
18704 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18705
18706 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18707 special-mode-map.
18708
18709 2011-11-28 Chong Yidong <cyd@gnu.org>
18710
18711 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18712
18713 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18714
18715 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18716 gdb-get-source-file-list on gdb-create-source-file-list.
18717
18718 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18719
18720 * whitespace.el (whitespace-newline): Use a different foreground
18721 color for 16-color light-background displays.
18722
18723 2011-11-24 Chong Yidong <cyd@gnu.org>
18724
18725 * window.el (display-buffer--special-action): Doc fix.
18726
18727 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18728
18729 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18730 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18731 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18732 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18733 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18734 (avl-tree-stack-first):
18735 * emacs-lisp/cconv.el (cconv--analyse-use):
18736 * net/gnutls.el (gnutls-negotiate): Fix typos.
18737
18738 2011-11-24 Glenn Morris <rgm@gnu.org>
18739
18740 * lpr.el (lpr-windows-system, lpr-lp-system):
18741 * mail/binhex.el (binhex-begin-line):
18742 * progmodes/grep.el (grep-history, grep-find-history):
18743 * textmodes/flyspell.el:
18744 * vc/pcvs-defs.el (cvs-global-menu):
18745 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18746 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18747 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18748
18749 * net/tls.el: Fix case of "GnuTLS".
18750
18751 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18752
18753 * version.el (emacs-build-system): Give it a doc-string.
18754
18755 2011-11-24 Juri Linkov <juri@jurta.org>
18756
18757 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18758
18759 2011-11-24 Glenn Morris <rgm@gnu.org>
18760
18761 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18762 if called on a non-mime message just toggle the headers. (Bug#8006)
18763
18764 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18765
18766 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18767 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18768 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18769 (allout-rebullet-heading, allout-open-sibtopic)
18770 (allout-toggle-current-subtree-encryption)
18771 (allout-toggle-subtree-encryption, allout-encrypt-string)
18772 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18773 (allout-distinctive-bullets-string, allout-auto-activation):
18774 * window.el (window-normalize-buffer-to-display):
18775 * progmodes/verilog-mode.el (verilog-batch-indent):
18776 * textmodes/bibtex.el (bibtex-field-braces-opt)
18777 (bibtex-field-strings-opt):
18778 * vc/cvs-status.el (cvs-tree-merge):
18779 Fix typos.
18780
18781 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18782
18783 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18784 `non-essential' to t, in order to avoid remote connections.
18785
18786 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18787
18788 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18789 On MS-DOS and MS-Windows, compare with loaddefs.el
18790 case-insensitively.
18791
18792 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18793
18794 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18795
18796 2011-11-23 Glenn Morris <rgm@gnu.org>
18797
18798 * paths.el (rmail-file-name): Reformat the doc-string so that it
18799 is picked up.
18800
18801 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18802 (rmail-auto-file): Ignore case in the "special" field names,
18803 as mail-fetch-field does for all others.
18804
18805 * mail/rmail.el (rmail-forward):
18806 * mail/rmailkwd.el (rmail-set-label):
18807 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18808 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18809
18810 * mail/rmail.el (rmail-current-message): Doc fix.
18811
18812 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18813
18814 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18815
18816 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18817
18818 2011-11-22 Glenn Morris <rgm@gnu.org>
18819
18820 * mail/rmailmm.el (test-rmail-mime-handler)
18821 (test-rmail-mime-bulk-handler)
18822 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18823
18824 2011-11-21 Juri Linkov <juri@jurta.org>
18825
18826 * calc/calc.el (calc-read-key-sequence):
18827 Let-bind `input-method-function' to nil. (Bug#10018)
18828
18829 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18830
18831 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18832 Tell the caller that the next line needs recomputation, even
18833 though it doesn't start a sexp (bug#10094).
18834
18835 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18836
18837 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18838
18839 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18840
18841 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18842 Use force-same-window.
18843
18844 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18845
18846 * descr-text.el (describe-char-unicode-data):
18847 * json.el (json-string-escape):
18848 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18849 (Footnote-unicode, Footnote-style-p):
18850 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18851
18852 2011-11-20 Chong Yidong <cyd@gnu.org>
18853
18854 * window.el (replace-buffer-in-windows): Restore interactive spec.
18855
18856 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18857
18858 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18859
18860 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18861 (byte-compile-global-not-obsolete-vars): New var.
18862 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18863 Use it.
18864 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18865
18866 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18867
18868 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18869 * progmodes/pascal.el (electric-pascal-equal):
18870 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18871 * xml.el (xml-substitute-special): Fix typos.
18872
18873 2011-11-20 Glenn Morris <rgm@gnu.org>
18874
18875 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18876 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18877 Doc fixes.
18878 (rmail-decode-mime-charset): Mark as obsolete.
18879
18880 * mail/rmailsum.el (rmail-message-regexp-p-1):
18881 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18882 Before using mime functions, check they are set. (Bug#10077)
18883
18884 2011-11-19 Juri Linkov <juri@jurta.org>
18885
18886 * info.el (Info-finder-find-node): Use `package--builtins' instead
18887 of `package-alist'. Use node names formed by the pattern "Keyword "
18888 and the keyword name.
18889
18890 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18891
18892 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18893
18894 2011-11-19 Juri Linkov <juri@jurta.org>
18895
18896 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18897 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18898 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18899 `old-history', `old-history-forward'. Add let-binding
18900 `window-selected'. Remove calls to `kill-buffer',
18901 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18902 before calling `Info-find-node', so `Info-find-node-2' will reread
18903 the Info file. Restore window positions only when `window-selected'
18904 is non-nil.
18905
18906 2011-11-19 Juri Linkov <juri@jurta.org>
18907
18908 * isearch.el (isearch-lazy-highlight-new-loop):
18909 Remove condition `(not isearch-error)'. (Bug#9918)
18910
18911 * misearch.el (multi-isearch-search-fun): Add condition
18912 `(not bound)' to ignore lazy-highlighting search.
18913 Add the search-failed message "end of multi" when the end of
18914 multi-sequence is reached. Uncapitalize the search-failed
18915 message "Repeat for next buffer".
18916
18917 * info.el (Info-search): Add the search-failed message
18918 "end of the manual" when the end of the manual is reached
18919 in Isearch mode.
18920
18921 2011-11-19 Juri Linkov <juri@jurta.org>
18922
18923 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18924 Use non-destructive `remove' instead of `delete' because
18925 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18926 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18927
18928 2011-11-19 Juri Linkov <juri@jurta.org>
18929
18930 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18931 to nil instead of binding `search-ring' and `regexp-search-ring'.
18932 (Bug#9185)
18933
18934 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18935
18936 * simple.el (line-move): Force movement by logical lines for any
18937 hscrolled window, not only when auto-hscroll-mode is on.
18938 (line-move-visual): Update doc string to that effect. (Bug#10076)
18939
18940 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18941
18942 * language/european.el (macintosh): Define as alias for mac-roman.
18943
18944 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18945
18946 * mail/rmailmm.el (rmail-mime-display-header)
18947 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18948 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18949 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18950 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18951 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18952 of a raw aref.
18953 (rmail-mime-entity-segment): To get past the tagline, move forward
18954 2 more lines, to account for the 2 empty lines that precede and
18955 follow the line with the buttons.
18956 (rmail-mime-update-tagline): Move one more line, to get past the
18957 empty line that follows the buttons in the tagline. (Bug#9520)
18958
18959 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18960
18961 * window.el (window-max-delta-1, window-min-delta-1)
18962 (window-min-size-1, window-state-get-1, window-state-put-1)
18963 (window-state-put-2): Use "window--" prefix.
18964
18965 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18966
18967 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18968 (smie-warning-count): New var.
18969 (smie-set-prec2tab): Use it.
18970 (smie-bnf->prec2): Improve warnings. Add docstring.
18971 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18972 (smie-bnf--set-class): New function.
18973 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18974 corner case.
18975
18976 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18977 (compilation-error-properties, compilation-move-to-column):
18978 Handle compilation-first-column while in the target buffer.
18979
18980 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18981 Don't hardcode point-min==1.
18982
18983 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18984 (eshell-rewrite-for-command): Remove workaround.
18985 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18986 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18987 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18988
18989 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18990
18991 2011-11-17 Glenn Morris <rgm@gnu.org>
18992
18993 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18994 Ignore buffer-local generated-autoload-file if it is the same
18995 as the global value. (Bug#10049)
18996
18997 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18998
18999 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19000 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19001 (reftex-toc-previous-heading, reftex-toc-max-level)
19002 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19003 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19004 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19005 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19006 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19007 (reftex-toc-rename-label, reftex-toc-visit-location)
19008 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19009 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19010 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19011 leaving "*toc*" only for references to the buffer.
19012
19013 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19014
19015 * window.el (window-resize, delete-window, split-window):
19016 Replace window-splits by window-combination-resize.
19017 * cus-start.el (window-splits): Replace by window-combination-resize.
19018
19019 2011-11-17 Glenn Morris <rgm@gnu.org>
19020
19021 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19022 Make bash entry derive from sh entry, not shell entry.
19023
19024 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19025
19026 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19027 local file name.
19028
19029 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19030
19031 * menu-bar.el (menu-bar-file-menu):
19032 * printing.el (pr-ps-utility):
19033 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19034 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19035 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19036 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19037 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19038 (icalendar--convert-cyclic-to-ical)
19039 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19040 (icalendar--convert-ical-to-diary)
19041 (icalendar--convert-recurring-to-diary)
19042 (icalendar--convert-non-recurring-all-day-to-diary)
19043 (icalendar-import-format-sample):
19044 * progmodes/idlw-shell.el (idlwave-shell-mode):
19045 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19046 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19047 (vhdl-ps-print-init): Fix typos.
19048
19049 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19050
19051 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19052 FSF and collapse date sequence, obscure author/maintainer email address
19053 better, remove extra version line, track relocation of author's webpage.
19054
19055 * progmodes/python.el (python-pdbtrack-input-prompt)
19056 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19057 regular python pdb prompts. Adjustments shamelessly taken exactly as
19058 suggested in EmacsWiki page (tiny change):
19059 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19060
19061 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19062
19063 * expand.el (expand-pos, expand-index, expand-point):
19064 Remove redundant info from docstring.
19065 (expand-add-abbrevs): Doc fix.
19066 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19067 (expand-sample-perl-mode-expand-list): Fix typos.
19068
19069 * net/dbus.el (dbus-event-member-name):
19070 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19071 * term/pc-win.el (msdos-create-frame-with-faces):
19072 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19073
19074 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19075
19076 * window.el (split-window, window-state-get-1)
19077 (window-state-put-1, window-state-put-2): Rename occurrences of
19078 window-nest to window-combination-limit.
19079 * cus-start.el (window-nest): Rename to window-combination-limit.
19080
19081 2011-11-16 Chong Yidong <cyd@gnu.org>
19082
19083 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19084 regexp (Bug#10033).
19085
19086 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19087
19088 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19089 `completing-read' will remove *Completions* and will preserve
19090 current-buffer for us.
19091 (tmm-add-prompt): Users of *Completions* will always (re)set its
19092 major mode.
19093 (tmm-old-comp-map): Remove.
19094
19095 2011-11-16 Glenn Morris <rgm@gnu.org>
19096
19097 * mail/rmailedit.el: Require rmailmm when compiling.
19098 (rmail-old-mime-state): New declaration.
19099 (rmail-edit-current-message): If editing a mime message,
19100 edit the "raw" message from the mbox buffer.
19101 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19102
19103 2011-11-15 Glenn Morris <rgm@gnu.org>
19104
19105 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19106 which wasn't being used. Add optional arg to force given state.
19107 (rmail-mime): Add optional arg to force given state.
19108
19109 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19110
19111 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19112 * frame.el (display-mm-dimensions-alist):
19113 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19114 (outline-move-subtree-down):
19115 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19116 (newsticker--treeview-do-get-node):
19117 * net/quickurl.el (quickurl-list-buffer-name):
19118 * progmodes/dcl-mode.el (dcl-mode):
19119 * progmodes/gdb-mi.el (gdb-mapcar*):
19120 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19121
19122 2011-11-15 Glenn Morris <rgm@gnu.org>
19123
19124 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19125 in a boolean sense, so just make it a boolean, and fix the doc.
19126 (rmail-show-mime-function, rmail-mime-feature)
19127 (rmail-require-mime-maybe): Doc fixes.
19128 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19129
19130 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19131
19132 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19133
19134 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19135 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19136 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19137 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19138
19139 2011-11-15 Glenn Morris <rgm@gnu.org>
19140
19141 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19142 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19143 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19144 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19145 (rmail-mime, rmail-show-mime): Doc fixes.
19146
19147 * term/ns-win.el (mode-line-frame-identification):
19148 Leave it alone. (Bug#10051)
19149
19150 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19151
19152 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19153 Handle empty buffers. (Bug#9978)
19154
19155 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19156
19157 * international/mule.el (define-charset):
19158 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19159 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19160 * progmodes/verilog-mode.el (verilog-backward-token):
19161 * textmodes/ispell.el (lookup-words):
19162 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19163
19164 2011-11-14 Glenn Morris <rgm@gnu.org>
19165
19166 * progmodes/executable.el
19167 (executable-make-buffer-file-executable-if-script-p):
19168 Handle file-modes returning nil.
19169
19170 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19171 message - not necessary, and causes problems. (Bug#9831)
19172
19173 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19174
19175 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19176
19177 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19178 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19179 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19180
19181 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19182
19183 * window.el (window-resize, delete-window): Use window-splits
19184 variable instead of function.
19185 (window-state-get-1, window-state-put-2, window-state-put):
19186 Don't deal with windows' splits status.
19187
19188 2011-11-12 Glenn Morris <rgm@gnu.org>
19189
19190 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19191 (apropos-documentation): Doc fixes.
19192
19193 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19194
19195 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19196 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19197
19198 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19199
19200 * electric.el (electric-indent-post-self-insert-function): Make it
19201 possible for a char to only indent in some circumstances.
19202 (electric-indent-mode): Simplify.
19203
19204 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19205
19206 * window.el (windows-with-parameter): Remove unused function.
19207 (windows-at-side): Rename to window-at-side-list.
19208 (window-check, window-atom-check, window-atom-check-1)
19209 (window-side-check, window-size-ignore, window-size-fixed-1)
19210 (window-in-direction-2): Prefix with "window--".
19211 (window-tree-1): Rename to window--subtree, fix doc-string.
19212
19213 2011-11-11 Glenn Morris <rgm@gnu.org>
19214
19215 * subr.el (eval-after-load): If FILE is already loaded,
19216 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19217
19218 2011-11-10 Glenn Morris <rgm@gnu.org>
19219
19220 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19221 Call svn via vc-svn-command rather than vc-do-command.
19222 (vc-svn-command): Add --non-interactive. (Bug#9993)
19223 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19224
19225 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19226 Add toggle-read-only. (Bug#7292)
19227 * files.el (toggle-read-only): Mention that it should only
19228 be used interactively. (Bug#10006)
19229
19230 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19231
19232 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19233 Adjust regexp for OCaml warnings.
19234
19235 * electric.el (electric-pair-post-self-insert-function): Let user
19236 turn it off buffer-locally (bug#9932).
19237
19238 * progmodes/python.el (python-beginning-of-statement):
19239 Rewrite (bug#2703).
19240
19241 * progmodes/compile.el: Better handle TABs (bug#9749).
19242 (compilation-internal-error-properties)
19243 (compilation-next-error-function): Obey the target buffer's
19244 compilation-error-screen-columns.
19245
19246 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19247
19248 * progmodes/meta-mode.el: Remove obsolete comments.
19249 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19250 Fix typos in docstrings.
19251
19252 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19253
19254 * window.el (window-size-fixed-p): Rewrite doc-string.
19255 (window-resizable-p): Rename to window--resizable-p. Update callers.
19256 (window--resizable): New function. Make all callers of
19257 window-resizable call window--resizable instead.
19258 (window-resizable): Rewrite in terms of window--resizable.
19259
19260 2011-11-08 Glenn Morris <rgm@gnu.org>
19261
19262 * progmodes/delphi.el (delphi-mode-syntax-table):
19263 Let define-derived-mode define a proper syntax table. (Bug#9994)
19264
19265 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19266
19267 * window.el: Stay away from defsubst.
19268 (window-list-no-nils): Remove.
19269 (window-state-get-1, window-state-get): Use backquote instead.
19270
19271 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19272
19273 * emacs-lisp/find-func.el (find-function-read):
19274 Fix incorrect use of default argument in `completing-read'.
19275
19276 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19277
19278 * window.el (display-buffer-function, special-display-function):
19279 Mention display-buffer-record-window but do not mention
19280 help-setup parameter in doc-strings.
19281 (window-min-delta): Fix doc-string typo.
19282
19283 2011-11-08 Chong Yidong <cyd@gnu.org>
19284
19285 * window.el (window-total-height, window-total-width): Doc fix.
19286 (window-body-size): Move from C.
19287 (window-body-height, window-body-width): Move to C.
19288
19289 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19290
19291 * window.el: Make special-display like display-buffer-alist (bug#9532).
19292 (display-buffer--special-action): New function, morphed
19293 from display-buffer--special.
19294 (display-buffer): Use it to handle special-display-buffers at higher
19295 priority (just after display-buffer-alist).
19296 (display-buffer-fallback-action, display-buffer--other-frame-action)
19297 (pop-to-buffer-same-window): Remove display-buffer--special.
19298
19299 2011-11-07 Glenn Morris <rgm@gnu.org>
19300
19301 * calendar/cal-menu.el (cal-menu-set-date-title):
19302 Do nothing if not in a calendar. (Bug#9976)
19303
19304 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19305
19306 * files.el (find-file): Always use selected-window.
19307
19308 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19309
19310 * window.el (window-combinations): Make WINDOW argument
19311 mandatory. Rewrite doc-string.
19312 (walk-window-subtree, window-atom-check, window-min-delta)
19313 (window-max-delta, window--resize-this-window)
19314 (window--resize-root-window-vertically, window-tree)
19315 (balance-windows, window-state-put): Rewrite doc-strings as to
19316 not mention the term "subwindow".
19317 (window--resize-subwindows-skip-p): Rename to
19318 window--resize-child-windows-skip-p.
19319 (window--resize-subwindows-normal): Rename to
19320 window--resize-child-windows-normal.
19321 (window--resize-subwindows): Rename to
19322 window--resize-child-windows.
19323 (window-or-subwindow-p): Rename to window--in-subtree-p.
19324
19325 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19326
19327 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19328 Ensure that mbox format messages end in two newlines (Bug#9974).
19329
19330 2011-11-06 Chong Yidong <cyd@gnu.org>
19331
19332 * window.el (window-combination-p): Function deleted; its
19333 side-effect is not used in any existing code.
19334 (window-combinations, window-combined-p): Call window-*-child
19335 directly.
19336
19337 2011-11-05 Chong Yidong <cyd@gnu.org>
19338
19339 * window.el (window-valid-p): Rename from window-any-p.
19340 (window-size-ignore, window-state-get): Callers changed.
19341 (window-normalize-window): Rename from window-normalize-any-window.
19342 New arg LIVE-ONLY, replacing window-normalize-live-window.
19343 (window-normalize-live-window): Delete.
19344 (window-combination-p, window-combined-p, window-combinations)
19345 (walk-window-subtree, window-atom-root, window-min-size)
19346 (window-sizable, window-sizable-p, window-size-fixed-p)
19347 (window-min-delta, window-max-delta, window-resizable)
19348 (window-resizable-p, window-full-height-p, window-full-width-p)
19349 (window-current-scroll-bars, window-point-1, set-window-point-1)
19350 (window-at-side-p, window-in-direction, window-resize)
19351 (adjust-window-trailing-edge, maximize-window, minimize-window)
19352 (window-deletable-p, delete-window, delete-other-windows)
19353 (record-window-buffer, unrecord-window-buffer)
19354 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19355 (quit-window, split-window, window-state-put)
19356 (set-window-text-height, fit-window-to-buffer)
19357 (shrink-window-if-larger-than-buffer): Callers changed.
19358
19359 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19360
19361 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19362 rfc2047-decode-string.
19363 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19364 warnings.
19365
19366 * window.el (window-body-height, window-body-width): Mention in
19367 the doc string that the return values are in frame's canonical
19368 units. (Bug#9949)
19369
19370 2011-11-03 Alan Mackenzie <acm@muc.de>
19371
19372 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19373 change in cc-engine.el.
19374
19375 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19376
19377 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19378
19379 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19380
19381 * window.el (quit-window): Call unrecord-window-buffer after
19382 showing another buffer in the window. (Bug#9937)
19383 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19384
19385 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19386
19387 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19388 Accept status with more than 9 shelves. (Bug#9935)
19389 Reported by Colin D Bennett <colin@gibibit.com>.
19390
19391 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19392
19393 * help.el (with-help-window): Don't reference
19394 temp-buffer-show-specifiers in doc-string.
19395
19396 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19397
19398 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19399 menu-item.
19400
19401 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19402
19403 * whitespace.el: New version 13.2.2.
19404 (whitespace-newline-mode): Disable properly. Reported by Sarah
19405 <EmacsWiki>.
19406
19407 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19408
19409 * net/newst-treeview.el: Remove "Time-stamp".
19410 (newsticker--group-manage-orphan-feeds): Do not call
19411 newsticker--treeview-tree-update.
19412 (newsticker-treeview-update, newsticker-treeview):
19413 Call newsticker--treeview-tree-update if necessary.
19414
19415 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19416
19417 * window.el (window-iso-combination-p, window-iso-combined-p)
19418 (window-iso-combinations): Remove "iso-" infix.
19419 Suggested by Chong Yidong.
19420 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19421 (window-max-delta-1, window-resize, window--resize-siblings)
19422 (window--resize-this-window, adjust-window-trailing-edge)
19423 (split-window, balance-windows-1)
19424 (shrink-window-if-larger-than-buffer):
19425 * calendar/calendar.el (calendar-generate-window):
19426 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19427
19428 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19429
19430 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19431 in place (bug#9907).
19432 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19433 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19434 (eshell-structure-basic-command, eshell-rewrite-while-command)
19435 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19436 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19437 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19438 (eshell-do-pipelines-synchronously, eshell-eval-command):
19439 Use backquotes and prefer setq to set.
19440 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19441 (eshell-macrop): Use functionp.
19442 (eshell-do-eval): Handle multiple expressions in `while' body.
19443
19444 2011-10-30 Chong Yidong <cyd@gnu.org>
19445
19446 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19447 instead of set-mark (Bug#9810).
19448
19449 2011-10-30 Chong Yidong <cyd@gnu.org>
19450
19451 * window.el (split-window-below, split-window-right): Rename from
19452 split-window-above-each-other and split-window-side-by-side
19453 respectively. All callers changed.
19454 (split-window-sensibly, split-window-sensibly): Use them.
19455 (split-window-keep-point): Doc fix.
19456
19457 * isearch.el: Add isearch-scroll property to split-window-below
19458 and split-window-right.
19459
19460 * follow.el (follow-mode):
19461 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19462 * progmodes/ada-xref.el (ada-gdb-application):
19463 * emulation/vip.el (vip-buffer-in-two-windows):
19464 * image-dired.el (image-dired-dired-with-window-configuration):
19465 * dired-x.el (dired-do-find-marked-files):
19466 * dired.el (dired-pop-to-buffer):
19467 * bs.el (bs--show-with-configuration):
19468 * vc/emerge.el (emerge-setup-windows):
19469 * textmodes/two-column.el (2C-two-columns):
19470 * textmodes/reftex-toc.el (reftex-toc):
19471 * progmodes/gdb-mi.el (gdb-setup-windows):
19472 * progmodes/fortran.el (fortran-window-create):
19473 * net/newst-treeview.el (newsticker--treeview-window-init):
19474 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19475 * emulation/tpu-edt.el (tpu-gold-map):
19476 * emulation/crisp.el (crisp-mode-map):
19477 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19478
19479 2011-10-29 Chong Yidong <cyd@gnu.org>
19480
19481 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19482
19483 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19484
19485 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19486 forged Ispell output (Bug#7904).
19487
19488 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19489
19490 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19491
19492 * doc-view.el: Avoid ugly errors about not finding nil.
19493 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19494 (doc-view-dvipdf-program, doc-view-unoconv-program)
19495 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19496 Avoid nil or absolute file name as default value.
19497 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19498
19499 2011-10-28 Alan Mackenzie <acm@muc.de>
19500
19501 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19502
19503 2011-10-28 Alan Mackenzie <acm@muc.de>
19504
19505 Amend the handling of c-beginning/end-of-defun in nested declaration
19506 scopes.
19507
19508 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19509 cc-langs.el. Change it to a defcustom.
19510
19511 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19512 cc-vars.el.
19513
19514 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19515 Prevent "class foo : bar" being spuriously recognized as a label.
19516
19517 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19518 Add parameter `inclusive' (to include enclosing braces in the region).
19519 (c-widen-to-enclosing-decl-scope): New function.
19520 (c-while-widening-to-decl-block): New macro.
19521 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19522 outward for defun boundaries, and correspondingly change symbol
19523 `respect-enclosure' to `go-outward'.
19524 (c-declaration-limits): Change algorithm to report only the "innermost"
19525 defun's boundaries.
19526
19527 2011-10-28 Deniz Dogan <deniz@dogan.se>
19528
19529 * net/rcirc.el (rcirc-mode): Use hard newlines.
19530
19531 2011-10-28 Alan Mackenzie <acm@muc.de>
19532
19533 Amend to indent and fontify macros "which include their own semicolon"
19534 correctly, using the "virtual semicolon" mechanism.
19535
19536 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19537
19538 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19539 Recode to scan one line at a time rather than having \n and \r
19540 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19541 (c-forward-label): Amend for virtual semicolons.
19542 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19543
19544 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19545 of the new C macros.
19546
19547 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19548 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19549 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19550 (c-opt-cpp-macro-define): Make into a full language variable.
19551 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19552 AWK Mode (including \n, \r) removed, no longer needed.
19553
19554 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19555 Invoke c-make-macro-with-semi-re.
19556
19557 * progmodes/cc-vars.el (c-macro-with-semi-re):
19558 (c-macro-names-with-semicolon): New variables.
19559 (c-make-macro-with-semi-re): New function.
19560
19561 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19562
19563 * vc/log-edit.el: Fill empty field rather than adding new one.
19564 (log-edit-add-field): New function.
19565 (log-edit-insert-changelog): Use it.
19566
19567 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19568
19569 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19570
19571 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19572
19573 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19574 (gdb--check-interpreter): New function.
19575 (gdb): Use it.
19576
19577 2011-10-27 Glenn Morris <rgm@gnu.org>
19578
19579 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19580 (least-positive-float, least-negative-float)
19581 (least-positive-normalized-float, least-negative-normalized-float)
19582 (float-epsilon, float-negative-epsilon):
19583 Remove unnecessary declarations.
19584
19585 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19586 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19587 (least-positive-float, least-negative-float)
19588 (least-positive-normalized-float, least-negative-normalized-float)
19589 (float-epsilon, float-negative-epsilon): Add doc-strings,
19590 based on those in cl.texi.
19591
19592 * files.el (set-visited-file-name): If the major-mode changed,
19593 reload the local variables. (Bug#9796)
19594
19595 2011-10-27 Chong Yidong <cyd@gnu.org>
19596
19597 * subr.el (change-major-mode-after-body-hook): New hook.
19598 (run-mode-hooks): Run it.
19599
19600 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19601 Use change-major-mode-before-body-hook.
19602
19603 * simple.el (fundamental-mode):
19604 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19605 change introducing fundamental-mode-hook.
19606
19607 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19608
19609 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19610
19611 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19612
19613 * ido.el (ido-file-name-all-completions-1): Do not require
19614 tramp.el explicitly. (Bug#7583)
19615
19616 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19617
19618 * progmodes/octave-mod.el:
19619 * progmodes/octave-inf.el: Update maintainer.
19620
19621 2011-10-26 Chong Yidong <cyd@gnu.org>
19622
19623 * subr.el (with-wrapper-hook): Rewrite doc.
19624
19625 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19626
19627 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19628 filenames "/method:foo:". (Bug#9793)
19629
19630 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19631
19632 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19633 (bug#9865).
19634
19635 2011-10-24 Glenn Morris <rgm@gnu.org>
19636
19637 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19638
19639 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19640
19641 * notifications.el: Add the requirement of a running D-Bus session
19642 bus to the Commentary.
19643
19644 2011-10-24 Juri Linkov <juri@jurta.org>
19645
19646 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19647 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19648 (Bug#9364)
19649
19650 2011-10-24 Juri Linkov <juri@jurta.org>
19651
19652 * info.el (Info-following-node-name-re): Add newline to the list
19653 of allowed characters for leading space. (Bug#9824)
19654
19655 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19656
19657 * progmodes/octave-inf.el (inferior-octave-mode-map):
19658 Fix C-c C-h binding.
19659 * progmodes/octave-mod.el (octave-help): Remove.
19660
19661 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19662
19663 Sync with Tramp 2.2.3.
19664
19665 * net/tramp-cache.el (top): Pacify byte-compiler using
19666 `init-file-user' and `site-run-file'.
19667
19668 * net/trampver.el: Update release number.
19669
19670 2011-10-23 Chong Yidong <cyd@gnu.org>
19671
19672 * files.el (toggle-read-only): Remove obsolete comment about
19673 version control.
19674
19675 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19676 for toggle-read-only. Note that this hasn't called vc-next-action
19677 since 2008-05-02, though it wasn't documented at the time.
19678
19679 * vc/ediff-init.el (ediff-toggle-read-only-function):
19680 Use toggle-read-only.
19681
19682 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19683
19684 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19685 of c-parse-state.
19686
19687 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19688 correct faulty logical expression.
19689 (c-parse-state-state, c-record-parse-state-state):
19690 (c-replay-parse-state-state): New defvar/defuns.
19691 (c-debug-parse-state): Use new functions.
19692
19693 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19694
19695 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19696 last fix. Use window-in-direction correctly.
19697
19698 2011-10-21 Chong Yidong <cyd@gnu.org>
19699
19700 * progmodes/idlwave.el (idlwave-mode):
19701 * progmodes/vera-mode.el (vera-mode): No need to set
19702 require-final-newline; that's done in prog-mode.
19703 Suggested by Stefan Monnier.
19704
19705 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19706
19707 * mouse.el (mouse-drag-window-above)
19708 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19709 (mouse-drag-mode-line-1, mouse-drag-header-line)
19710 (mouse-drag-vertical-line-rightward-window): Remove.
19711 (mouse-drag-line): New function.
19712 (mouse-drag-mode-line, mouse-drag-header-line)
19713 (mouse-drag-vertical-line): Call mouse-drag-line.
19714 * window.el (window-at-side-p, windows-at-side): New functions.
19715
19716 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19717
19718 * tar-mode.el (tar-grind-file-mode):
19719 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19720
19721 2011-10-21 Chong Yidong <cyd@gnu.org>
19722
19723 * progmodes/idlwave.el (idlwave-mode):
19724 * progmodes/vera-mode.el (vera-mode):
19725 Use mode-require-final-newline.
19726
19727 2011-10-20 Glenn Morris <rgm@gnu.org>
19728
19729 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19730
19731 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19732
19733 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19734
19735 2011-10-20 Chong Yidong <cyd@gnu.org>
19736
19737 * emulation/cua-base.el (cua-mode):
19738 * mail/footnote.el (footnote-mode):
19739 * mail/mailabbrev.el (mail-abbrevs-mode):
19740 * net/xesam.el (xesam-minor-mode):
19741 * progmodes/bug-reference.el (bug-reference-mode):
19742 * progmodes/cap-words.el (capitalized-words-mode):
19743 * progmodes/compile.el (compilation-minor-mode)
19744 (compilation-shell-minor-mode):
19745 * progmodes/gud.el (gud-tooltip-mode):
19746 * progmodes/hideif.el (hide-ifdef-mode):
19747 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19748 * progmodes/subword.el (subword-mode):
19749 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19750 * progmodes/which-func.el (which-function-mode):
19751 * term/tvi970.el (tvi970-set-keypad-mode):
19752 * term/vt100.el (vt100-wide-mode):
19753 * textmodes/flyspell.el (flyspell-mode):
19754 * textmodes/ispell.el (ispell-minor-mode):
19755 * textmodes/nroff-mode.el (nroff-electric-mode):
19756 * textmodes/paragraphs.el (use-hard-newlines):
19757 * textmodes/refill.el (refill-mode):
19758 * textmodes/reftex.el (reftex-mode):
19759 * textmodes/rst.el (rst-minor-mode):
19760 * textmodes/sgml-mode.el (html-autoview-mode)
19761 (sgml-electric-tag-pair-mode):
19762 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19763 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19764 * emulation/crisp.el (crisp-mode):
19765 * emacs-lisp/eldoc.el (eldoc-mode):
19766 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19767 minor mode behavior.
19768
19769 2011-10-19 Juri Linkov <juri@jurta.org>
19770
19771 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19772 the list of hard-coded chars with escape-glyph face.
19773
19774 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19775
19776 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19777
19778 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19779
19780 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19781 running process.
19782
19783 2011-10-19 Glenn Morris <rgm@gnu.org>
19784
19785 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19786 Ignore ignored files. (Bug#9726)
19787
19788 2011-10-19 Chong Yidong <cyd@gnu.org>
19789
19790 Doc fix for minor modes, stating that an omitted argument enables
19791 the mode unconditionally when called from Lisp.
19792
19793 * abbrev.el (abbrev-mode):
19794 * allout.el (allout-mode):
19795 * autoinsert.el (auto-insert-mode):
19796 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19797 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19798 (global-auto-revert-mode):
19799 * battery.el (display-battery-mode):
19800 * composite.el (global-auto-composition-mode)
19801 (auto-composition-mode):
19802 * delsel.el (delete-selection-mode):
19803 * desktop.el (desktop-save-mode):
19804 * dired-x.el (dired-omit-mode):
19805 * dirtrack.el (dirtrack-mode):
19806 * doc-view.el (doc-view-minor-mode):
19807 * double.el (double-mode):
19808 * electric.el (electric-indent-mode, electric-pair-mode):
19809 * emacs-lock.el (emacs-lock-mode):
19810 * epa-hook.el (auto-encryption-mode):
19811 * follow.el (follow-mode):
19812 * font-core.el (font-lock-mode):
19813 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19814 * help.el (temp-buffer-resize-mode):
19815 * hilit-chg.el (highlight-changes-mode)
19816 (highlight-changes-visible-mode):
19817 * hi-lock.el (hi-lock-mode):
19818 * hl-line.el (hl-line-mode, global-hl-line-mode):
19819 * icomplete.el (icomplete-mode):
19820 * ido.el (ido-everywhere):
19821 * image-file.el (auto-image-file-mode):
19822 * image-mode.el (image-minor-mode):
19823 * iswitchb.el (iswitchb-mode):
19824 * jka-cmpr-hook.el (auto-compression-mode):
19825 * linum.el (linum-mode):
19826 * longlines.el (longlines-mode):
19827 * master.el (master-mode):
19828 * mb-depth.el (minibuffer-depth-indicate-mode):
19829 * menu-bar.el (menu-bar-mode):
19830 * minibuf-eldef.el (minibuffer-electric-default-mode):
19831 * mouse-sel.el (mouse-sel-mode):
19832 * msb.el (msb-mode):
19833 * mwheel.el (mouse-wheel-mode):
19834 * outline.el (outline-minor-mode):
19835 * paren.el (show-paren-mode):
19836 * recentf.el (recentf-mode):
19837 * reveal.el (reveal-mode, global-reveal-mode):
19838 * rfn-eshadow.el (file-name-shadow-mode):
19839 * ruler-mode.el (ruler-mode):
19840 * savehist.el (savehist-mode):
19841 * scroll-all.el (scroll-all-mode):
19842 * scroll-bar.el (scroll-bar-mode):
19843 * server.el (server-mode):
19844 * shell.el (shell-dirtrack-mode):
19845 * simple.el (auto-fill-mode, transient-mark-mode)
19846 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19847 (line-number-mode, column-number-mode, size-indication-mode)
19848 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19849 * strokes.el (strokes-mode):
19850 * time.el (display-time-mode):
19851 * t-mouse.el (gpm-mouse-mode):
19852 * tool-bar.el (tool-bar-mode):
19853 * tooltip.el (tooltip-mode):
19854 * type-break.el (type-break-mode-line-message-mode)
19855 (type-break-query-mode):
19856 * view.el (view-mode):
19857 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19858 (global-whitespace-mode, global-whitespace-newline-mode):
19859 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19860
19861 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19862 Fix autogenerated docstring.
19863
19864 2011-10-19 Juri Linkov <juri@jurta.org>
19865
19866 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19867 by checking environment variables "DESKTOP_SESSION" and
19868 "XDG_CURRENT_DESKTOP". (Bug#9779)
19869
19870 2011-10-19 Juri Linkov <juri@jurta.org>
19871
19872 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19873 (browse-url-chromium-program, browse-url-chromium-arguments):
19874 New defcustoms.
19875 (browse-url-default-browser): Check for `browse-url-chromium' and
19876 call `browse-url-chromium-program'.
19877 (browse-url-chromium): New command. (Bug#9779)
19878
19879 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19880
19881 * facemenu.el (list-colors-duplicates): On Windows, detect more
19882 duplicates by assuming that only colors matching "^System" are
19883 special "system colors". (Bug#9722)
19884
19885 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19886
19887 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19888 to distinguish the author from the committer.
19889
19890 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19891
19892 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19893
19894 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19895
19896 * international/mule.el (sgml-html-meta-auto-coding-function):
19897 Add support for detecting encoding in HTML5 specified only as
19898 <meta charset="UTF-8">. Implementation just makes http-equiv and
19899 content-type parts from HTML4 encoding string optional. (Bug#9716)
19900
19901 2011-10-18 Glenn Morris <rgm@gnu.org>
19902
19903 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19904
19905 2011-10-18 Chong Yidong <cyd@gnu.org>
19906
19907 * faces.el (cursor): Doc fix.
19908
19909 2011-10-17 Chong Yidong <cyd@gnu.org>
19910
19911 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19912
19913 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19914
19915 * dirtrack.el (dirtrack): Support shell buffers with path
19916 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19917
19918 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19919
19920 * json.el: Bump version to 1.3 and note change in History.
19921 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19922
19923 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19924
19925 * comint.el (comint-insert-input, comint-send-input)
19926 (comint-get-old-input-default, comint-backward-matching-input)
19927 (comint-next-prompt): Use nil instead of `input' for field property of
19928 past user input (bug#114).
19929
19930 * minibuffer.el (completion--replace): Inherit surrounding properties
19931 (bug#114).
19932 (minibuffer-complete-and-exit): Use it.
19933
19934 * comint.el (comint--table-subvert): Quote the all-completions output
19935 (bug#9160).
19936
19937 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19938
19939 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19940
19941 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19942 window on right of selected. (Bug#9350) Reword other window
19943 entries and separate them from frame entries.
19944
19945 2011-10-15 Glenn Morris <rgm@gnu.org>
19946
19947 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19948 Doc fixes.
19949
19950 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19951
19952 * net/network-stream.el (network-stream-open-starttls):
19953 Improve detection of failure due to lack of TLS support.
19954
19955 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19956 putting the input text in front and in bold.
19957
19958 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19959
19960 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19961
19962 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19963 empty buffer.
19964
19965 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19966 unread-command-events rather than pushing yet-another event.
19967
19968 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19969
19970 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19971 the explanation of the possible choices. Make the options passed
19972 to completing-read shorter.
19973
19974 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
19975
19976 * textmodes/flyspell.el (flyspell-large-region): Make sure
19977 extended character mode is used if defined (Bug#1339).
19978
19979 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19980
19981 * simple.el (what-cursor-position): Fix the display of the
19982 character info for LRE, LRO, RLE, and RLO characters by appending
19983 an invisible PDF.
19984
19985 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19986
19987 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19988 even in case of error; add debug spec; simplify data flow.
19989 (with-timeout-handler): Remove.
19990
19991 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19992
19993 Fix Bug#6019, Bug#9315.
19994
19995 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19996 complete `buffer-file-name', the local file name part could look
19997 remotely (for example on VMS).
19998
19999 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20000 `tramp-run-real-handler'.
20001 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20002 already quoted by '"'.
20003
20004 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20005 Let `file-name-handler-alist' be nil, the local file name part
20006 could look remotely (for example on VMS).
20007
20008 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20009
20010 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20011 from here...
20012 (flyspell-post-command-hook): ...to here.
20013
20014 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20015
20016 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20017 if not needed.
20018 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20019 using completion. Protect against "slow" callers.
20020 Remove the "message hack".
20021
20022 2011-10-11 Juri Linkov <juri@jurta.org>
20023
20024 * isearch.el (isearch-lazy-highlight-word): New variable.
20025 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20026 Use it. (Bug#9727)
20027
20028 2011-10-11 Glenn Morris <rgm@gnu.org>
20029
20030 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20031 like f90-previous-statement does.
20032
20033 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20034
20035 * eshell/eshell.el (eshell-command): History should be saved
20036 only in interactive use, to avoid error.
20037
20038 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20039
20040 * minibuffer.el (completion-file-name-table): Fix last change,
20041 i.e. ignore normal errors but not the other ones.
20042
20043 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20044
20045 * window.el (special-display-buffer-names)
20046 (special-display-regexps): Remove some remnants of earlier
20047 changes from doc-strings.
20048 (quit-windows-on): New function.
20049
20050 * vc/vc.el (vc-revert, vc-rollback):
20051 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20052 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20053 (Bug#6183) (Bug#7074) (Bug#7447)
20054
20055 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20056
20057 * window.el (frame-auto-hide-function): Add version tag.
20058 (Bug#9699)
20059
20060 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20061
20062 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20063 condition.
20064
20065 2011-10-09 Leo Liu <sdl.web@gmail.com>
20066
20067 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20068 (Bug#9701)
20069
20070 2011-10-08 Glenn Morris <rgm@gnu.org>
20071
20072 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20073 before the first code statement zero indent. (Bug#9690)
20074
20075 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20076
20077 * simple.el (count-words-region): Always count in the region.
20078 Report the number of lines and characters too.
20079 (count-words): New command, which counts in the buffer if the
20080 region is inactive, as count-words-region used to.
20081 (count-words--message): New function. Handle plurals.
20082 (count-lines-region): Make it an alias for count-words-region.
20083
20084 * bindings.el (esc-map): Replace count-lines-region with
20085 count-words-region.
20086
20087 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20088
20089 * window.el (window--delete): Delete dedicated frame
20090 unconditionally when argument KILL is non-nil. (Bug#9699)
20091 (switch-to-buffer): Fix doc-string typo.
20092
20093 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20094
20095 * eshell/eshell.el (eshell-command): Avoid using hooks.
20096
20097 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20098
20099 * bindings.el ([M-left],[M-right]): Bind to left-word and
20100 right-word respectively.
20101
20102 2011-10-07 Glenn Morris <rgm@gnu.org>
20103
20104 * cus-start.el (debug-on-quit): Fix custom type.
20105
20106 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20107
20108 * subr.el (define-key-after): Clarify that the function is not
20109 useful for non-menu keymaps.
20110
20111 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20112
20113 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20114
20115 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20116 in current minibuffer (Fix bug with recursive minibuffers).
20117
20118 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20119
20120 * progmodes/gdb-mi.el (gdb): Doc fix.
20121
20122 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20123
20124 * window.el (frame-auto-hide-function): New option replacing
20125 frame-auto-delete. Suggested by Stefan Monnier.
20126 (window--delete): Call frame-auto-hide-function instead of
20127 investigating frame-auto-delete.
20128 (window-point-1, set-window-point-1): New functions.
20129 (window-in-direction, record-window-buffer, window-state-get-1)
20130 (display-buffer-record-window): Use window-point-1 instead of
20131 window-point.
20132 (set-window-buffer-start-and-point): Use set-window-point-1.
20133
20134 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20135
20136 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20137
20138 2011-10-05 Glenn Morris <rgm@gnu.org>
20139
20140 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20141 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20142
20143 2011-10-05 Leo Liu <sdl.web@gmail.com>
20144
20145 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20146 works with buffer object.
20147
20148 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20149
20150 * mpc.el (mpc-tool-bar-map): Add labels.
20151
20152 2011-10-04 Glenn Morris <rgm@gnu.org>
20153
20154 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20155
20156 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20157
20158 * window.el (window--delete): New function.
20159 (frame-auto-delete): Resuscitate option.
20160 (bury-buffer, replace-buffer-in-windows)
20161 (quit-window): Rewrite using window--delete.
20162 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20163 Pass display-buffer-mark-dedicated to window--display-buffer-2
20164 (Bug#9639).
20165
20166 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20167
20168 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20169 returns a list (bug#9554). Add remote file name completion.
20170 * comint.el (comint--table-subvert): Curry and get quote&unquote
20171 functions as arguments.
20172 (comint--complete-file-name-data): Adjust call accordingly.
20173 * pcomplete.el (pcomplete--table-subvert): Remove.
20174 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20175
20176 * minibuffer.el (completion-table-case-fold): Use currying.
20177 (completion--styles-type, completion--cycling-threshold-type):
20178 New constants.
20179 (completion-styles, completion-category-overrides)
20180 (completion-cycle-threshold): Use them.
20181 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20182 completion-table-case-fold.
20183
20184 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20185
20186 * minibuffer.el (completion-category-overrides): Fix type of styles
20187 and add more user friendly tags (bug#9660).
20188
20189 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20190
20191 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20192 (mule-input-method-string): New widget.
20193 (default-input-method, language-info-custom-alist): Use it.
20194
20195 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20196
20197 * pcomplete.el: Require comint.
20198 (pcomplete--common-suffix): Remove.
20199 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20200 (pcomplete--table-subvert): Sync with comint--table-subvert.
20201 (pcomplete--entries): Use comint-completion-file-name-table.
20202 * comint.el (comint-unquote-filename): Simplify.
20203 (comint-completion-file-name-table): New function (bug#9616).
20204 (comint--complete-file-name-data): Use it.
20205
20206 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20207 (pcmpl-gnu-tar-buffer): Remove.
20208 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20209 around. Make sure pcomplete-suffix-list is only changed temporarily.
20210 Don't look inside the tar's file if it's too large.
20211
20212 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20213
20214 * cus-edit.el (custom-mode-map):
20215 * epa.el (epa-key-list-mode-map):
20216 * man.el (Man-mode-map):
20217 * startup.el (splash-screen-keymap):
20218 * simple.el (special-mode-map): Use scroll-up-command and
20219 scroll-down-command.
20220
20221 * progmodes/idlw-help.el (idlwave-help-mode-map):
20222 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20223 * net/newst-plainview.el (newsticker-mode-map):
20224 * emulation/ws-mode.el (wordstar-mode-map):
20225 * emulation/vi.el (vi-com-map):
20226 * calc/calc-graph.el (calc-graph-show-dumb):
20227 * term/sun.el (terminal-init-sun):
20228 * term/ns-win.el (global-map):
20229 * progmodes/grep.el (grep-mode-map):
20230 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20231 * mail/rmail.el (rmail-mode-map):
20232 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20233
20234 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20235 custom-safe-themes as special.
20236
20237 2011-10-01 Julien Danjou <julien@danjou.info>
20238
20239 * notifications.el (notifications-notify): Fix docstring.
20240
20241 2011-10-01 Per Starbäck <per@starback.se>
20242
20243 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20244
20245 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20246
20247 * startup.el (command-line-1): Fix last fix by inserting
20248 initial-scratch-message into *scratch* before displaying it.
20249 (Bug#9605) and (Bug#9636)
20250
20251 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20252
20253 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20254 window is hscrolled, move by logical lines. (Bug#9607)
20255 (line-move-visual): Update the doc string to the above effect.
20256
20257 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20258
20259 * window.el (display-buffer-record-window): When WINDOW is the
20260 selected window use `point' instead of `window-point'. (Bug#9626)
20261
20262 * startup.el (command-line-1): Use insert-before-markers when
20263 inserting initial-scratch-message. (Bug#9605)
20264
20265 * help.el (help-window): Remove variable.
20266
20267 2011-09-29 Glenn Morris <rgm@gnu.org>
20268
20269 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20270
20271 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20272
20273 * descr-text.el (describe-char-categories): Accept category
20274 descriptions more than one line long.
20275
20276 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20277
20278 * simple.el (delete-trailing-whitespace): Fix last change.
20279
20280 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20281 Don't confuse "y => 3" as the beginning of a `y' operation.
20282
20283 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20284 object has more than 4 slots (bug#9613).
20285
20286 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20287
20288 * subr.el (with-output-to-temp-buffer):
20289 * net/quickurl.el (quickurl, quickurl-browse-url):
20290 Fix typos in docstrings.
20291
20292 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20293
20294 * minibuffer.el (completion-styles)
20295 (completion-category-overrides): Cross reference each other in doc
20296 strings.
20297
20298 2011-09-27 Glenn Morris <rgm@gnu.org>
20299
20300 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20301 to split-string. (Bug#9606)
20302
20303 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20304
20305 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20306 (bug#9615).
20307
20308 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20309
20310 * emacs-lisp/package.el (list-packages): Fix echo area message.
20311
20312 2011-09-27 Leo Liu <sdl.web@gmail.com>
20313
20314 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20315
20316 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20317
20318 * net/dbus.el (dbus-unregister-object): Don't release services for
20319 registered signals. (Bug#9581)
20320
20321 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20322
20323 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20324 function that picks between cfengine 2 and 3 support
20325 automatically. Update docs accordingly.
20326
20327 2011-09-22 Kenichi Handa <handa@m17n.org>
20328
20329 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20330 ZERO.
20331 (indian-itrans-v5-table-for-tamil): New variable.
20332 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20333
20334 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20335
20336 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20337 that's true if the current command involved collapsing of text.
20338 It's reset to false at the beginning of the next command.
20339 (allout-post-command-business): Move the cursor to the beginning
20340 of entry if the cursor is hidden and collapsing activity just
20341 happened.
20342
20343 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20344
20345 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20346 tracking (Bug#9541).
20347
20348 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20349
20350 * net/newst-reader.el (newsticker-html-renderer)
20351 (newsticker-show-news): Automatically load html rendering package
20352 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20353 because w3m-fill-column is let-bound" and the error "Symbol's value
20354 as variable is void: w3m-fill-column".
20355
20356 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20357
20358 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20359 Release services only if they are defined. (Bug#9581)
20360
20361 2011-09-23 Richard Stallman <rms@gnu.org>
20362
20363 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20364 distinguish start of paragraph from start of its text.
20365
20366 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20367
20368 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20369 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20370 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20371
20372 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20373
20374 * international/mule-diag.el (mule-diag): Insert a newline after
20375 each fontset description.
20376
20377 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20378
20379 * simple.el (delete-trailing-whitespace):
20380 Document last change; simplify.
20381
20382 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20383
20384 * simple.el (delete-trailing-whitespace): Also delete
20385 extra newlines at the end of the buffer.
20386
20387 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20388 (picture-newline): Use forward-line so as to ignore fields.
20389
20390 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20391
20392 * subr.el (with-wrapper-hook): Fix edebug spec.
20393
20394 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20395
20396 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20397 (bug#4538).
20398
20399 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20400
20401 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20402 Fix nasty bug using wrong cached values.
20403
20404 2011-09-23 Alan Mackenzie <acm@muc.de>
20405
20406 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20407
20408 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20409
20410 * window.el (pop-to-buffer): Ensure right window is selected if we
20411 chose another frame.
20412
20413 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20414
20415 * simple.el (what-cursor-position): Use get-char-property-change
20416 and next-single-char-property-change, to be able to show display
20417 properties that come from overlays as well as text properties.
20418
20419 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20420
20421 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20422
20423 * cmuscheme.el (run-scheme, switch-to-scheme):
20424 * cus-edit.el (customize-group, custom-buffer-create)
20425 (customize-browse):
20426 * info.el (info):
20427 * shell.el (shell):
20428 * mail/sendmail.el (mail):
20429 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20430
20431 2011-09-22 Richard Stallman <rms@gnu.org>
20432
20433 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20434 move back only to line beg, don't move back over blank lines.
20435
20436 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20437
20438 * files.el (copy-directory): Set directory attributes only in case
20439 they could be retrieved from the source directory. (Bug#9565)
20440
20441 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20442
20443 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20444 (hs-find-block-beginning, hs-hide-level-recursive):
20445 Ignore strings as well as comments. (Bug#9502)
20446
20447 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20448
20449 * progmodes/sql.el (sql-comint-postgres):
20450 Convert port number to a string. (Bug#9566)
20451
20452 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20453
20454 * window.el (quit-window): Undedicate window when switching to
20455 previous buffer. Reported by Thierry Volpiatto
20456 <thierry.volpiatto@gmail.com>.
20457 (special-display-popup-frame): When popping up a new frame reset
20458 its previous buffers to nil. Simplify code.
20459
20460 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20461
20462 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20463 and process filter, as done also in `shell-command'.
20464
20465 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20466
20467 * window.el (set-window-buffer-start-and-point):
20468 Call set-window-start with NOFORCE argument t.
20469 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20470 (quit-window): Reword doc-string. Handle new format of
20471 quit-restore parameter. Don't delete window if it has a
20472 previous buffer we can show instead of the present one.
20473 (display-buffer-record-window): Rewrite using a new format for
20474 the quit-restore window parameter
20475 (special-display-popup-frame, display-buffer-same-window)
20476 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20477 (display-buffer-pop-up-window, display-buffer-use-some-window):
20478 Adapt symbol passed to display-buffer-record-window.
20479 * help.el (help-window-setup): Handle new format of quit-restore
20480 parameter.
20481
20482 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20483
20484 * faces.el (face-list): Fix docstring (bug#9564).
20485
20486 * window.el (display-buffer--action-function-custom-type):
20487 Don't include internal functions in the Custom interface.
20488
20489 2011-09-20 Juri Linkov <juri@jurta.org>
20490
20491 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20492 (Info-forward-node, Info-backward-node, Info-next-preorder)
20493 (Info-last-preorder): Use it. (Bug#9528)
20494
20495 2011-09-20 Juri Linkov <juri@jurta.org>
20496
20497 * info.el (Info-last-preorder): Visit last menu item only when
20498 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20499
20500 2011-09-20 Julien Danjou <julien@danjou.info>
20501
20502 * password-cache.el (password-cache-remove): Remove entries even if the
20503 value is nil, so that password with a nil value (negative caching) is
20504 possible to invalidate.
20505
20506 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20507
20508 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20509 all whitespace around breakpoint. (Bug#9553)
20510 (f90-find-breakpoint): Only break at whitespace inside a comment.
20511
20512 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20513
20514 * minibuffer.el (completion-file-name-table): Keep track of errors.
20515 (completion-table-with-predicate): Handle the case where pred1 is nil.
20516 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20517
20518 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20519
20520 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20521 (debugger-return-value): Signal an error if the debugging context does
20522 not await any return value.
20523
20524 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20525 * image-mode.el (image-toggle-display-text)
20526 (image-toggle-display-image): Stay away from evil `intangible'.
20527
20528 2011-09-19 Leo Liu <sdl.web@gmail.com>
20529
20530 * replace.el (occur-revert-arguments): Make it permanent-local.
20531 (occur-mode): Don't call font-lock-defontify.
20532
20533 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20534
20535 * net/ldap.el (ldap-search-internal): Don't push empty search
20536 result (Bug#9508).
20537
20538 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20539
20540 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20541
20542 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20543
20544 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20545 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20546
20547 2011-09-18 Juri Linkov <juri@jurta.org>
20548
20549 * buff-menu.el (Buffer-menu-mode-map):
20550 * dired.el (dired-mode-map):
20551 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20552 (lisp-interaction-mode-map):
20553 * emacs-lisp/package.el (package-menu-mode-map):
20554 * epa.el (epa-key-list-mode-map):
20555 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20556 (menu-bar-options-menu):
20557 * outline.el (outline-mode-menu-bar-map):
20558 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20559 * vc/vc-dir.el (vc-dir-menu-map):
20560 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20561 Capitalize non-function content words in menu item strings.
20562
20563 * dired.el (dired-mode-map): Add menu item for
20564 `image-dired-dired-toggle-marked-thumbs'.
20565
20566 2011-09-18 Juri Linkov <juri@jurta.org>
20567
20568 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20569 to `isearch-case-fold-search' and restore its original value
20570 after the `isearch-mode' call.
20571
20572 2011-09-18 Juri Linkov <juri@jurta.org>
20573
20574 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20575 because `zgrep' returns 1 for successful matches (bug#9226).
20576
20577 2011-09-18 Juri Linkov <juri@jurta.org>
20578
20579 * info.el (Info-extract-menu-node-name): Check the second match
20580 for empty string (second test-case of bug#9528).
20581 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20582 intermediate nodes to the history (first test-case of bug#9528).
20583
20584 2011-09-18 Juri Linkov <juri@jurta.org>
20585
20586 * info.el (Info-mode-syntax-table): New variable.
20587 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20588
20589 2011-09-18 Juri Linkov <juri@jurta.org>
20590
20591 * info.el (Info-file-supports-index-cookies):
20592 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20593 outputs one more line for long file names (bug#4142).
20594
20595 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20596
20597 * newcomment.el (comment-normalize-vars): If prompting for
20598 comment-start, set comment-start-skip too (Bug#8424).
20599
20600 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20601
20602 * icomplete.el: Fix previous fix of Bug#5849.
20603 (icomplete-mode): Don't set completion-show-inline-help.
20604 (icomplete-minibuffer-setup): Set completion-show-inline-help
20605 locally during icompletion.
20606
20607 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20608
20609 * woman.el (woman2-process-escapes): Don't delete unrecognized
20610 escapes (Bug#7843).
20611
20612 * files.el (inhibit-first-line-modes-regexps): Add image files.
20613 (hack-local-variables-prop-line): Return nil for malformed
20614 prop-lines (Bug#9044).
20615
20616 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20617
20618 * net/tramp.el (top): Don't require 'shell.
20619 (tramp-methods): Fix docstring.
20620 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20621 Return complete remote file name. Handle "smb" case.
20622 Use `tramp-tmpdir', if defined for the respective method.
20623 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20624
20625 * net/tramp-compat.el (top): Require 'shell.
20626
20627 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20628 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20629 `tramp-current-host'.
20630 (tramp-get-remote-tmpdir): Remove.
20631
20632 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20633 `tramp-tmpdir' entries.
20634 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20635 (tramp-smb-handle-file-attributes): Ignore errors.
20636 (tramp-smb-wait-for-output): Check also for process end.
20637
20638 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20639
20640 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20641 when sending QUIT (bug#9312).
20642
20643 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20644
20645 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20646 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20647 occur-mode-display-occurrence.
20648 (occur-edit-mode): Add usage message.
20649 (occur-cease-edit): New command.
20650 (occur-after-change-function): Use text properties to find the
20651 position of the prefix text.
20652 (occur-engine): Set stickiness of prefix text properties.
20653
20654 2011-09-17 Glenn Morris <rgm@gnu.org>
20655
20656 * progmodes/etags.el (complete-tag):
20657 Fix call to completion-in-region. (Bug#9526)
20658
20659 2011-09-17 Juri Linkov <juri@jurta.org>
20660
20661 * textmodes/ispell.el (ispell-word): Add to the error message
20662 the word, ispell program name and current dictionary (bug#9121).
20663 (ispell-tex-arg-end): Capitalize "error" in the error message.
20664
20665 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20666
20667 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20668 check. (Bug#4251)
20669
20670 2011-09-17 Juri Linkov <juri@jurta.org>
20671
20672 * window.el (window-safe-min-height, window-safe-min-width):
20673 Fix typos (followup to bug#9522).
20674
20675 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20676
20677 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20678
20679 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20680
20681 * simple.el (line-move): If goal-column is set, move by logical
20682 lines, not by display lines. (Bug#971)
20683 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20684 to reflect the above change.
20685
20686 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20687
20688 * image.el (imagemagick-register-types): Use regexp-opt.
20689
20690 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20691
20692 * window.el (display-buffer-base-action): Rename from
20693 display-buffer-default-action. Make default value empty.
20694 (display-buffer-overriding-action): Convert to defvar.
20695 (display-buffer-fallback-action): New var.
20696
20697 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20698
20699 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20700 declaration.
20701 (package--add-to-archive-contents): If there is a duplicate entry
20702 with an older version, remove it.
20703 (package-menu-mark-delete, package-menu-mark-install)
20704 (package-menu-mark-unmark): Make unused args optional.
20705 (package-menu-mark-obsolete-for-deletion):
20706 Use package-menu-get-status instead of a regexp search.
20707 (package-menu-get-status): Use tabulated-list-entry.
20708 (package-menu-mark-upgrades): New command.
20709 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20710 (package-menu-execute): Do installation before deletion.
20711 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20712 instead of checking major-mode.
20713 (package-menu--find-upgrades): New function.
20714
20715 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20716
20717 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20718 passwords in the log buffer.
20719 (smtpmail-process-filter): Update the process marker so that the
20720 "broken by peer" status message is inserted in the right place.
20721
20722 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20723
20724 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20725 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20726 bibtex-completion-at-point-function.
20727 (bibtex-completion-at-point-function): Use them.
20728
20729 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20730
20731 * mpc.el (mpc-constraints-tag-lookup): New function.
20732 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20733 also to browser "album|playlist".
20734
20735 2011-09-14 Juri Linkov <juri@jurta.org>
20736
20737 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20738 (isearch-edit-string): Use length of `isearch-string' when
20739 `isearch-fail-pos' returns nil.
20740 (isearch-message): Remove duplicate code and call
20741 `isearch-fail-pos' with arg `t'.
20742
20743 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20744
20745 * replace.el (occur-mode-goto-occurrence): Don't force using other
20746 window (Bug#9499).
20747
20748 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20749
20750 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20751
20752 * window.el (display-buffer-window): Remove.
20753 (display-buffer-record-window): Use help-setup window parameter
20754 instead of variable display-buffer-window.
20755 (display-buffer-function, special-display-buffer-names)
20756 (special-display-function): Mention help-setup parameter instead
20757 of display-buffer-window in doc-string.
20758 * help.el (help-window-setup): New argument help-window.
20759 Use help-window-setup parameter instead of display-buffer-window.
20760 Reword some messages.
20761 (with-help-window): Pass window used for displaying the buffer
20762 to help-window-setup. Don't set display-buffer-window.
20763
20764 2011-09-13 Glenn Morris <rgm@gnu.org>
20765
20766 * emacs-lisp/debug.el (debugger-make-xrefs):
20767 Preserve point. (Bug#9462)
20768
20769 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20770
20771 * window.el (window-deletable-p): Use next-frame.
20772
20773 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20774
20775 * window.el (window-auto-delete): Remove.
20776 (window-deletable-p): Remove argument FORCE. Don't deal with
20777 dedication and previous buffers.
20778 (switch-to-prev-buffer): Don't delete window.
20779 (delete-windows-on): Delete a window's frame if and only if the
20780 window is dedicated.
20781 (replace-buffer-in-windows): Delete buffer's window or frame if
20782 and only if window is dedicated.
20783 (quit-window): Handle quit-restore as before last change.
20784 (bury-buffer): Delete window only if window-deletable-p returns t.
20785
20786 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20787
20788 * window.el (window-deletable-p): Never delete the last frame on a
20789 given terminal.
20790
20791 2011-09-13 Glenn Morris <rgm@gnu.org>
20792
20793 * help.el (describe-key-briefly): Copy previous standard-output change.
20794
20795 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20796
20797 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20798
20799 2011-09-13 Glenn Morris <rgm@gnu.org>
20800
20801 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20802 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20803
20804 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20805
20806 * dired-aux.el (dired-mark-read-string): Don't return default
20807 value on empty input (Bug#9361).
20808 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20809 Omit initial minibuffer contents.
20810 (dired-do-chmod): Signal an error on empty input.
20811 (dired-mark-read-string): Don't return default on empty input.
20812
20813 * files.el (file-modes-symbolic-to-number): Doc fix.
20814
20815 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20816
20817 * international/mule-cmds.el (ucs-completions): Remove.
20818 (read-char-by-name): Use complete-with-action instead; add metadata.
20819
20820 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20821
20822 * window.el (display-buffer--action-function-custom-type)
20823 (display-buffer--action-custom-type): New vars.
20824 (display-buffer-alist, display-buffer-default-action)
20825 (display-buffer-overriding-action): Add defcustom types.
20826
20827 * frame.el (delete-other-frames): Doc fix (Bug#276).
20828
20829 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20830
20831 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20832
20833 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20834
20835 Change modes that used same-window-* vars to use switch-to-buffer.
20836
20837 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20838 Use switch-to-buffer.
20839
20840 * cus-edit.el (customize-group, custom-buffer-create)
20841 (customize-browse, custom-buffer-create-other-window):
20842 Use switch-to-buffer or switch-to-buffer-other-window.
20843
20844 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20845 (Info-prev, Info-up, Info-speedbar-goto-node)
20846 (info-display-manual): Use switch-to-buffer.
20847 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20848
20849 * mail/sendmail.el (mail): Use switch-to-buffer.
20850 (mail-recover): Use switch-to-buffer-other-window.
20851
20852 * cmuscheme.el (run-scheme, switch-to-scheme):
20853 * ielm.el (ielm):
20854 * shell.el (shell):
20855 * net/rlogin.el (rlogin):
20856 * net/telnet.el (telnet, rsh):
20857 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20858
20859 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20860
20861 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20862
20863 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20864
20865 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20866 so don't mention it (bug#9301).
20867 (dired-sort-toggle-or-edit): Clarify string further.
20868
20869 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20870 match `x', `w32' and `ns', like the manual says (bug#9029).
20871
20872 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20873 (process-kill-buffer-query-function): Mention the buffer name in
20874 the query.
20875
20876 * image-mode.el (image-next-line): The line parameter is mandatory
20877 (bug#9258).
20878
20879 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20880 which can be useful (bug#9301).
20881
20882 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20883
20884 * subr.el (match-string): Mention that the current buffer should
20885 be the same as the search was done in (bug#9282).
20886
20887 * facemenu.el: Disable the remove-* commands if the mark isn't
20888 active (bug#9162).
20889
20890 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20891
20892 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20893 of display-buffer.
20894 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20895
20896 * replace.el (occur-mode-goto-occurrence)
20897 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20898 and display-buffer.
20899
20900 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20901 display-buffer.
20902
20903 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20904 special-display and same-window variables.
20905 (mail-other-window): Use switch-to-buffer-other-window.
20906 (mail-other-frame): USe switch-to-buffer-other-frame.
20907
20908 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20909 Use display-buffer-other-frame.
20910 (gdb-display-gdb-buffer): Use pop-to-buffer.
20911
20912 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20913
20914 * progmodes/python.el: Don't set same-window-buffer-names.
20915
20916 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20917
20918 * window.el (display-buffer-alist): Add *Python*.
20919
20920 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20921
20922 * window.el (display-buffer-alist): Add entry for buffers
20923 previously handled same-window-*.
20924 (display-buffer-alist, display-buffer-default-action)
20925 (display-buffer-overriding-action): Mark as risky.
20926 (display-buffer-alist): Document action function changes.
20927 (display-buffer--same-window-action)
20928 (display-buffer--other-frame-action): New variables.
20929 (switch-to-buffer, display-buffer-other-frame): Use them.
20930 (display-buffer): Rename reuse-frame entry to reusable-frames.
20931 (display-buffer-reuse-selected-window): Function deleted.
20932 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20933 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20934 (display-buffer-special): New function.
20935 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20936 display-buffer-reuse-or-pop-window. Split off special-display
20937 part into display-buffer-special.
20938 (display-buffer-use-some-window): Don't perform any special
20939 pop-up-frames handling.
20940 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20941 (display-buffer--maybe-same-window): Rename from
20942 display-buffer-maybe-same-window.
20943
20944 * info.el: Don't set same-window-regexps.
20945 (info-setup): New function.
20946 (info-other-window, info): Call it.
20947
20948 * cus-edit.el: Don't set same-window-regexps.
20949 (customize-group): New argument.
20950 (customize-group-other-window): Use it.
20951 (customize-face, customize-face-other-window): Likewise.
20952 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20953
20954 * net/rlogin.el:
20955 * net/telnet.el:
20956 * progmodes/gud.el: Don't set same-window-regexps.
20957
20958 * cmuscheme.el:
20959 * ielm.el:
20960 * shell.el:
20961 * mail/sendmail.el:
20962 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20963
20964 2011-09-10 Juri Linkov <juri@jurta.org>
20965
20966 * isearch.el (isearch-edit-string): Remove obsolete mention of
20967 `C-w' (`isearch-yank-word-or-char') from docstring.
20968 (isearch-query-replace): Fix typo in docstring (bug#9466).
20969
20970 2011-09-10 Juri Linkov <juri@jurta.org>
20971
20972 * paren.el (show-paren-function): Don't show escaped parens.
20973 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20974
20975 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20976
20977 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20978 (mm-default-file-encoding): Remove autoload forms, they are
20979 replaced with autoload cookies in mml.el and mm-encode.el.
20980 (mail-add-attachment): New command.
20981 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20982 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20983 the doc string.
20984 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20985
20986 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20987
20988 * simple.el (count-words-region): Use buffer if there's no region
20989 (bug#9429).
20990
20991 2011-09-09 Juri Linkov <juri@jurta.org>
20992
20993 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20994 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20995 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20996
20997 2011-09-09 Alan Mackenzie <acm@muc.de>
20998
20999 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21000 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21001
21002 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21003
21004 Fix for Savannah bug#9392.
21005 * simple.el (mail-encode-mml): New defvar.
21006
21007 * mail/rmail.el (mail-encode-mml): Add a defvar.
21008 (rmail-enable-mime-composing): Default to t.
21009 (rmail-forward): Use MIME method of forwarding only if both
21010 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21011 Set mail-encode-mml non-nil if the MIME method was used.
21012
21013 * mail/sendmail.el (mml-to-mime): Add autoload form.
21014 (mail-encode-mml): Add a defvar.
21015 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21016 to nil.
21017 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21018 message through mml-to-mime, and reset mail-encode-mml to nil.
21019
21020 2011-09-09 Glenn Morris <rgm@gnu.org>
21021
21022 * woman.el (woman-if-body): When processing an .el block,
21023 do not delete the next .el block as well. (Bug#9447)
21024 (woman-special-characters): Add oq, cq, and hy characters.
21025
21026 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21027
21028 * window.el (window-deletable-p): Make sure window is live before
21029 invoking window-prev-buffers.
21030
21031 2011-09-08 Leo Liu <sdl.web@gmail.com>
21032
21033 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21034
21035 2011-09-08 Juri Linkov <juri@jurta.org>
21036
21037 * progmodes/compile.el (compilation-environment): Make it
21038 a defcustom (bug#8340).
21039
21040 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21041
21042 * window.el (frame-auto-delete): Rename to window-auto-delete.
21043 Make it control auto-deletion of windows and/or frames.
21044 (window-deletable-p): New argument FORCE. Rewrite conditions
21045 for deleting window/frame. (Bug#9419)
21046 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21047 Rewrite handling of case when window/frame can be deleted.
21048 (delete-windows-on): Call window-deletable-p with new FORCE
21049 argument t. (Bug#9456)
21050
21051 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21052
21053 * help-mode.el (help-mode): Restore autoload.
21054
21055 2011-09-07 Juri Linkov <juri@jurta.org>
21056
21057 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21058 `compilation-environment'. Set buffer-local
21059 `compilation-environment' to `thisenv' later after (funcall mode).
21060 (Bug#8340)
21061
21062 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21063 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21064 instead of replacing its value. (Bug#8340)
21065
21066 2011-09-07 Juri Linkov <juri@jurta.org>
21067
21068 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21069 based on text properties put by `grep-filter' instead of matching
21070 escape sequences.
21071 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21072 to the value of `grep-error-screen-columns' (bug#9438).
21073
21074 2011-09-07 Juri Linkov <juri@jurta.org>
21075
21076 * simple.el (next-error-highlight, next-error-highlight-no-select):
21077 Doc fix (bug#9432).
21078
21079 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21080
21081 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21082 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21083
21084 2011-09-07 Leo Liu <sdl.web@gmail.com>
21085
21086 * net/rcirc.el (rcirc-mode): Conditionally initialize
21087 rcirc-input-ring.
21088
21089 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21090
21091 * emacs-lisp/find-func.el (find-function-C-source): Only set
21092 find-function-C-source-directory after checking that we found a source
21093 file there (bug#9440).
21094
21095 2011-09-06 Alan Mackenzie <acm@muc.de>
21096
21097 * isearch.el (isearch-other-meta-char): Wherever a key list is
21098 unread, "unread" the prefix arg, too. This fixes bug #8901.
21099
21100 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21101
21102 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21103
21104 2011-09-05 Juri Linkov <juri@jurta.org>
21105
21106 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21107
21108 2011-09-05 Juri Linkov <juri@jurta.org>
21109
21110 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21111 keeping point where processing of grep matches begins, and
21112 continue to delete remaining escape sequences from the same point.
21113 (grep-filter): Make leading zero optional in "0?1;31m" because
21114 git-grep emits "\033[1;31m" escape sequences unlike expected
21115 "\033[01;31m" as GNU Grep does (bug#9408).
21116 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21117
21118 2011-09-05 Juri Linkov <juri@jurta.org>
21119
21120 * subr.el (y-or-n-p): Capitalize "yes".
21121
21122 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21123
21124 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21125 `tramp-cache-unload-hook' where appropriate.
21126 (tramp-methods): Rename `tramp-remote-sh' to
21127 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21128 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21129
21130 * net/tramp-sh.el (top): Don't require 'shell.
21131 (tramp-methods): Add `tramp-remote-shell' and
21132 `tramp-remote-shell-args' entries.
21133 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21134 (tramp-sh-handle-shell-command): Remove.
21135 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21136 Use `tramp-remote-shell'.
21137
21138 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21139
21140 * mail/sendmail.el (sendmail-query-once-function): Delete.
21141 (sendmail-query-once): Save directly to send-mail-function.
21142 Update message-send-mail-function too.
21143
21144 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21145
21146 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21147
21148 * progmodes/python.el (python-mode-map): Use correct function to
21149 start python interpreter from menu-bar (as reported by Geert
21150 Kloosterman).
21151 (inferior-python-mode-map): Fix typo.
21152 (python-shell-map): Remove.
21153
21154 2011-09-03 Deniz Dogan <deniz@dogan.se>
21155
21156 * net/rcirc.el (rcirc-print): Simplify code for
21157 rcirc-scroll-show-maximum-output. There is no need to walk
21158 through all windows to find the right one.
21159
21160 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21161
21162 * help.el (help-return-method): Doc fix.
21163
21164 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21165
21166 * window.el (window-deletable-p): Don't return a non-nil value
21167 when there's a buffer that was shown in the window before.
21168 (Bug#9419)
21169 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21170 Set window's previous buffers to nil.
21171
21172 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21173
21174 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21175 newline before and after the tag line, so it doesn't interfere
21176 with determining the paragraph direction of bidirectional text.
21177
21178 2011-09-03 Leo Liu <sdl.web@gmail.com>
21179
21180 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21181
21182 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21183
21184 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21185 (pop-to-buffer): Change interactive spec. Pass second argument
21186 directly to display-buffer.
21187 (display-buffer): Fix interactive spec. Use functionp to
21188 distinguish between a function and a list of functions.
21189
21190 * abbrev.el (edit-abbrevs):
21191 * arc-mode.el (archive-extract):
21192 * autoinsert.el (auto-insert):
21193 * bookmark.el (bookmark-bmenu-list):
21194 * files.el (find-file):
21195 * view.el (view-buffer):
21196 * progmodes/compile.el (compilation-goto-locus):
21197 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21198
21199 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21200
21201 * window.el (display-buffer-alist): Doc fix.
21202 (display-buffer): Add docstring. Don't treat
21203 display-buffer-default specially.
21204 (display-buffer-reuse-selected-window)
21205 (display-buffer-same-window, display-buffer-maybe-same-window)
21206 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21207 (display-buffer-pop-up-window)
21208 (display-buffer-reuse-or-pop-window)
21209 (display-buffer-use-some-window): New functions.
21210 (display-buffer-default-action): Use them.
21211 (display-buffer-default): Delete.
21212 (pop-to-buffer-1): Fix choice of actions.
21213
21214 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21215
21216 * minibuffer.el (completion--insert-strings): Don't get confused by
21217 completion entries that end with an LF char.
21218
21219 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21220
21221 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21222
21223 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21224
21225 * window.el (display-buffer): Restore interactive spec.
21226 (display-buffer-same-window, display-buffer-other-window):
21227 New functions.
21228 (pop-to-buffer-1): New function. Use the above.
21229 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21230 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21231
21232 * view.el (view-buffer-other-window, view-buffer-other-frame):
21233 Just use pop-to-buffer.
21234
21235 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21236
21237 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21238
21239 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21240
21241 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21242
21243 2011-08-31 Richard Stallman <rms@gnu.org>
21244
21245 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21246 of the separation of rmail-view-buffer from rmail-buffer.
21247 If you say no to "replace original", the decrypt is in the
21248 view buffer. If you say yes, the decrypt goes into the
21249 rmail buffer also.
21250
21251 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21252
21253 * window.el (display-buffer-window): Rewrite doc-string.
21254 (display-buffer-record-window): New function.
21255 (display-buffer-macro-specifiers)
21256 (display-buffer-even-window-sizes, display-buffer-set-height)
21257 (display-buffer-set-width, display-buffer-in-window)
21258 (display-buffer-reuse-window, display-buffer-split-specifiers)
21259 (display-buffer-side-specifiers, display-buffer-split-window-1)
21260 (display-buffer-split-window, display-buffer-split-atom-window)
21261 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21262 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21263 (display-buffer-other-window-means-other-frame)
21264 (display-buffer-normalize-special)
21265 (display-buffer-normalize-default)
21266 (display-buffer-normalize-argument)
21267 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21268 (display-buffer-normalize-specifiers, display-buffer-frame)
21269 (display-buffer-same-window, display-buffer-same-frame)
21270 (display-buffer-other-window)
21271 (display-buffer-same-frame-other-window)
21272 (display-buffer-other-frame, pop-to-buffer-same-window)
21273 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21274 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21275 (switch-to-buffer-same-frame)
21276 (switch-to-buffer-other-window-same-frame)
21277 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21278 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21279 (display-buffer-alist-set): Remove.
21280 (display-buffer-function, special-display-buffer-names)
21281 (special-display-regexps, special-display-function):
21282 In doc-string refer to display-buffer-window and quit-restore
21283 parameter.
21284 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21285 (special-display-frame-alist, special-display-popup-frame)
21286 (same-window-buffer-names, same-window-regexps, same-window-p)
21287 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21288 (split-window-preferred-function, split-height-threshold)
21289 (split-width-threshold, window-splittable-p)
21290 (split-window-sensibly, window--try-to-split-window)
21291 (window--frame-usable-p, even-window-heights)
21292 (window--even-window-heights, window--display-buffer-1)
21293 (window--display-buffer-2, display-buffer-other-frame):
21294 Restore old Emacs 23 code, order and doc-strings where applicable.
21295 (display-buffer-default, display-buffer-assq-regexp): New functions.
21296 (display-buffer-alist): Rewrite doc-string.
21297 (display-buffer-default-action)
21298 (display-buffer-overriding-action): New variables.
21299 (display-buffer, switch-to-buffer): Rewrite.
21300 (pop-to-buffer): Restore Emacs 23 behavior but use
21301 window-normalize-buffer-to-display.
21302 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21303 Restore Emacs 23 behavior but use
21304 window-normalize-buffer-to-switch-to.
21305 (pop-to-buffer-same-window): Rewrite.
21306 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21307 Rewrite using Emacs 23 options.
21308
21309 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21310
21311 * net/tramp.el (tramp-root-regexp): Remove.
21312 (tramp-completion-file-name-regexp-unified)
21313 (tramp-completion-file-name-regexp-separate)
21314 (tramp-completion-file-name-regexp-url): Don't use leading volume
21315 letter on w32 systems. (Bug#5303, Bug#9311)
21316 (tramp-drop-volume-letter): Simplify definition.
21317 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21318
21319 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21320
21321 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21322 (bug#9356).
21323
21324 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21325
21326 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21327
21328 2011-08-29 Juri Linkov <juri@jurta.org>
21329
21330 * isearch.el (isearch-done): Don't display message "Mark saved"
21331 when arg `edit' is non-nil to prevent its flicker in the echo area.
21332
21333 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21334
21335 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21336 obsolete packages for deletion.
21337
21338 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21339
21340 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21341 (help-mode): Derive help-mode from special-mode. Don't invoke
21342 view-mode from help-mode.
21343 (help-xref-override-view-map): Remove.
21344 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21345 view-mode is not used anymore.
21346
21347 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21348
21349 * server.el (server-port): Doc fix.
21350
21351 * cus-theme.el (custom-theme-choose-mode): Inherit from
21352 special-mode (Bug#9124).
21353 (custom-theme-choose-mode-map): Add special-mode to parent.
21354
21355 2011-08-28 Alan Mackenzie <acm@muc.de>
21356
21357 * progmodes/cc-fonts.el
21358 (c-make-font-lock-BO-decl-search-function): New function.
21359 (c-basic-matchers-after - "Fontify the clauses after various
21360 keywords"): Extract the three keyword lists for the 3 erroneous
21361 constructs from the list of four, and use the new function above
21362 in place of an old one.
21363
21364 2011-08-28 Deniz Dogan <deniz@dogan.se>
21365
21366 * net/rcirc.el (rcirc-insert-prev-input)
21367 (rcirc-insert-next-input): Remove unused argument.
21368
21369 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21370
21371 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21372
21373 2011-08-27 Alan Mackenzie <acm@muc.de>
21374
21375 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21376 handle function pointer parameters properly.
21377
21378 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21379
21380 * window.el (display-buffer-reuse-window): Fix case where
21381 selected window was reused with non-nil OTHER-WINDOW argument.
21382 (Bug#9381)
21383
21384 2011-08-27 Deniz Dogan <deniz@dogan.se>
21385
21386 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21387 oftc's NickServ messages.
21388
21389 2011-08-27 Glenn Morris <rgm@gnu.org>
21390
21391 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21392
21393 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21394
21395 * emacs-lisp/package.el (package-install): Call package-initialize
21396 if called interactively.
21397
21398 2011-08-26 Leo Liu <sdl.web@gmail.com>
21399
21400 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21401
21402 2011-08-25 Juri Linkov <juri@jurta.org>
21403
21404 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21405 `search-whitespace-regexp' (bug#9364).
21406
21407 2011-08-25 Juri Linkov <juri@jurta.org>
21408
21409 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21410 `regexp-search-ring' to their global values to protect from
21411 updating by `read-from-minibuffer' (bug#9185).
21412
21413 2011-08-25 Juri Linkov <juri@jurta.org>
21414
21415 * textmodes/ispell.el (ispell-command-loop): Add newline
21416 at the end of the "Use option `i'..." line.
21417
21418 2011-08-25 Juri Linkov <juri@jurta.org>
21419
21420 * battery.el (display-battery-mode): If `battery-status-function'
21421 or `battery-mode-line-format' is nil, display the message and set
21422 `display-battery-mode' to nil (bug#9363).
21423
21424 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21425
21426 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21427 bidi-string-mark-left-to-right; they are unnecessary now.
21428
21429 2011-08-25 Deniz Dogan <deniz@dogan.se>
21430
21431 * net/quickurl.el: Documentation typo fixes.
21432
21433 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21434
21435 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21436
21437 2011-08-25 Glenn Morris <rgm@gnu.org>
21438
21439 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21440
21441 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21442 (smtpmail-via-smtp): Handle nil response from smtp.
21443
21444 2011-08-24 Juri Linkov <juri@jurta.org>
21445
21446 * proced.el (proced-marked): Inherit from `error' instead of
21447 `font-lock-warning-face'.
21448
21449 * ibuffer.el (ibuffer-marked-face): Change default face from
21450 `font-lock-warning-face' to `warning'.
21451 (ibuffer-deletion-face): Change default face from
21452 `font-lock-type-face' to `error'.
21453
21454 * battery.el (battery-update): Use the face `error' instead of
21455 `font-lock-warning-face' (bug#6117).
21456
21457 2011-08-24 Juri Linkov <juri@jurta.org>
21458
21459 * faces.el (success): Change face color from "Green3" to
21460 "ForestGreen" on light background (bug#9353).
21461
21462 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21463
21464 * window.el (quit-window): Rename from quit-restore-window.
21465 Use same arglist as old quit-window.
21466 (frame-auto-delete): Doc fix.
21467
21468 * view.el (view-mode-exit): Use quit-window.
21469
21470 2011-08-24 Juri Linkov <juri@jurta.org>
21471
21472 * isearch.el (isearch-ring-adjust1): Start visiting previous
21473 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21474 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21475 for empty search string (when the last search string is reused
21476 automatically) to adjust the isearch ring to the last element and
21477 prepare the correct index for further M-p commands (bug#9185).
21478
21479 2011-08-24 Kenichi Handa <handa@m17n.org>
21480
21481 * international/ucs-normalize.el: If decomposition property of
21482 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21483 nil.
21484 (nfd, nfkd): Likewise.
21485
21486 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21487
21488 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21489 from process filters aren't reliably transmitted to the surrounding
21490 accept-process-output.
21491 (mpc-proc-check): New function.
21492 (mpc-proc-sync): Use it (bug#8293)
21493
21494 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21495
21496 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21497 Add compatibility functions (bug#9313).
21498
21499 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21500
21501 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21502
21503 * international/uni-bidi.el: Regenerate.
21504
21505 2011-08-23 Kenichi Handa <handa@m17n.org>
21506
21507 * international/charprop.el:
21508 * international/uni-bidi.el:
21509 * international/uni-category.el:
21510 * international/uni-combining.el:
21511 * international/uni-comment.el:
21512 * international/uni-decimal.el:
21513 * international/uni-decomposition.el:
21514 * international/uni-digit.el:
21515 * international/uni-lowercase.el:
21516 * international/uni-mirrored.el:
21517 * international/uni-name.el:
21518 * international/uni-numeric.el:
21519 * international/uni-old-name.el:
21520 * international/uni-titlecase.el:
21521 * international/uni-uppercase.el: Regenerate.
21522
21523 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21524
21525 * help.el (help-window-setup): Fix message displayed when other
21526 window is reused. (Bug#9341)
21527
21528 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21529
21530 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21531 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21532
21533 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21534 Mark obsolete.
21535 * shell.el (shell-parse-pcomplete-arguments): New function.
21536 (shell-completion-vars): Use it instead (bug#9160).
21537
21538 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21539
21540 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21541 strings and comments (bug#9333).
21542
21543 * emacs-lisp/debug.el (debug-arglist): New function.
21544 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21545 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21546
21547 2011-08-22 Juri Linkov <juri@jurta.org>
21548
21549 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21550 Revert regexp that highlights output switches to its old
21551 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21552
21553 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21554 to check for empty output (bug#9226).
21555
21556 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21557
21558 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21559 symbol-constituent as the default, as that stops font-lock from
21560 working properly (Bug#8843).
21561
21562 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21563
21564 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21565 `coding-system-for-*' around the process open call to avoid
21566 auth-source side effects.
21567 (smtpmail-try-auth-methods): Expand the secret password.
21568 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21569 probe hangs.
21570
21571 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21572
21573 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21574
21575 * emacs-lisp/find-func.el (find-function-noselect): New arg
21576 lisp-only.
21577
21578 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21579 signal an error for built-in functions (Bug#6664).
21580
21581 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21582
21583 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21584 (smtpmail-try-auth-methods): Use it.
21585
21586 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21587
21588 * font-lock.el (font-lock-fontify-region)
21589 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21590 (font-lock-default-unfontify-buffer)
21591 (font-lock-default-fontify-region)
21592 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21593
21594 * progmodes/compile.el (compilation-error-properties):
21595 Fix confusion between file struct and message struct (Bug#9319).
21596 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21597 `ant' regexp.
21598
21599 * net/browse-url.el (browse-url-firefox): Don't call
21600 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21601
21602 2011-08-20 Glenn Morris <rgm@gnu.org>
21603
21604 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21605
21606 * tutorial.el (tutorial--default-keys): Update some default bindings.
21607
21608 * files.el (hack-local-variables): Fully ignore case for "mode:".
21609
21610 2011-08-20 Alan Mackenzie <acm@muc.de>
21611
21612 Resolve invalid use of a regexp in regexp-opt.
21613
21614 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21615 detection for a java annotation.
21616
21617 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21618 detection for a java annotation.
21619
21620 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21621 handling for java.
21622 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21623
21624 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21625
21626 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21627 (Bug#9274).
21628
21629 2011-08-20 Alan Mackenzie <acm@muc.de>
21630
21631 Fontify CPP expressions correctly when starting in the middle of
21632 such a construct. Mainly for when jit-lock etc. starts a chunk
21633 here.
21634
21635 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21636 variable.
21637 (c-make-font-lock-search-form): New function, extracted from
21638 c-make-font-lock-search-function.
21639 (c-make-font-lock-search-function): Use the above function.
21640 (c-make-font-lock-context-search-function): New function.
21641 (c-cpp-matchers): Enhance the preprocessor expression case with
21642 the above function
21643 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21644 which takes an expression.
21645
21646 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21647
21648 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21649
21650 * window.el (display-buffer-reuse-window)
21651 (display-buffer-pop-up-window): Don't reuse or split a side
21652 window.
21653
21654 2011-08-19 Glenn Morris <rgm@gnu.org>
21655
21656 * files.el (hack-local-variables-prop-line, hack-local-variables):
21657 Downcase "Mode:". (Bug#9331)
21658
21659 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21660
21661 * international/characters.el: Add L and R categories.
21662
21663 * subr.el (bidi-string-mark-left-to-right): Rename from
21664 string-mark-left-to-right. Use category search.
21665
21666 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21667
21668 2011-08-18 Juri Linkov <juri@jurta.org>
21669
21670 * faces.el (error, warning, success): New faces with definitions
21671 copied from old default values of `font-lock-warning-face',
21672 `compilation-warning', `compilation-info' (bug#6117).
21673
21674 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21675
21676 * progmodes/compile.el (compilation-error): Inherit from `error'.
21677 (compilation-warning): Inherit from `warning'.
21678 (compilation-info): Inherit from `success'.
21679
21680 * dired.el (dired-marked): Inherit from `warning'.
21681 (dired-flagged): Inherit from `error'.
21682
21683 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21684
21685 * mail/smtpmail.el (auth-source): Require to avoid problems with
21686 binding variables (bug#9298). Also clean up some unused
21687 autoloads.
21688
21689 * net/network-stream.el (network-stream-open-starttls):
21690 Support using starttls.el without using gnutls-cli.
21691
21692 2011-08-17 Juri Linkov <juri@jurta.org>
21693
21694 * progmodes/grep.el (rgrep): Handle the case when
21695 `grep-find-command' is a cons cell (bug#9278).
21696
21697 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21698
21699 * window.el (display-buffer-pop-up-frame): Run frame creation
21700 function with BUFFER current (as special-display-popup-frame
21701 does). Reported by Drew Adams.
21702
21703 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21704
21705 * epa-mail.el: Simplify GnuPG group expansion using
21706 epg-expand-group.
21707 (epa-mail-group-alist, epa-mail-group-modtime)
21708 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21709 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21710 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21711 Remove.
21712
21713 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21714
21715 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21716
21717 2011-08-16 Alan Mackenzie <acm@muc.de>
21718
21719 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21720 Correct, to avoid the inside of macros.
21721
21722 2011-08-16 Richard Stallman <rms@gnu.org>
21723
21724 * epa-mail.el: Handle GnuPG group definitions.
21725 (epa-mail-group-alist, epa-mail-group-modtime)
21726 (epa-mail-gnupg-conf-file): New variables.
21727 (epa-mail-parse-groups, epa-mail-sync-groups)
21728 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21729 (epa-mail-expand-recipients): New functions.
21730 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21731
21732 * mail/rmail.el (rmail-epa-decrypt): New command.
21733
21734 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21735 Don't bind buffer-read-only, just inhibit-read-only.
21736 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21737 (epa-decrypt-armor-in-region): Make error message clearer.
21738
21739 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21740
21741 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21742 and "a2b" to "ab" for `prefix'.
21743
21744 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21745
21746 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21747 filter groups.
21748 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21749 Fourquet (Bug#8804).
21750
21751 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21752
21753 * startup.el (argi): Declare as global variable (bug#9275).
21754
21755 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21756
21757 * subr.el (string-mark-left-to-right): Search the entire string
21758 for RTL script, not just the terminating character. Doc fix.
21759
21760 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21761
21762 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21763 New function.
21764 (js--regexp-literal, js-syntax-propertize-function): Remove.
21765 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21766 (js-mode-map): Don't rebind electric keys.
21767 (js-insert-and-indent): Remove.
21768 (js-mode): Setup electric-layout and electric-indent instead.
21769
21770 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21771
21772 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21773
21774 * epa.el (epa-progress-callback-function): Fix the logic of
21775 displaying progress.
21776 * epa-file.el (epa-file-insert-file-contents): Make progress
21777 display more user-friendly.
21778 (epa-file-write-region): Ditto.
21779
21780 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21781
21782 * subr.el (string-mark-left-to-right): New function.
21783
21784 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21785 Use string-mark-left-to-right.
21786 (list-buffers-noselect): Caller changed.
21787
21788 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21789 Use string-mark-left-to-right.
21790 (tabulated-list-print): Recenter after moving point.
21791
21792 2011-08-10 Juri Linkov <juri@jurta.org>
21793
21794 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21795 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21796 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21797
21798 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21799
21800 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21801 (Bug#7554).
21802
21803 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21804
21805 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21806 character. (Bug#6594)
21807
21808 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21809
21810 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21811 (image-dired--with-db-file): New macro.
21812 (image-dired-write-tags, image-dired-remove-tag)
21813 (image-dired-create-gallery-lists, image-dired-write-comments)
21814 (image-dired-get-comment, image-dired-mark-tagged-files)
21815 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21816 (image-dired-gallery-generate): Use insert-file-contents.
21817
21818 * time.el (display-time-world-list, display-time-world-display):
21819 * time-stamp.el (time-stamp-string):
21820 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21821 set-time-zone-rule (Bug#7337).
21822
21823 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21824
21825 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21826 (epg-error-to-string, epg-errors-to-string): New function.
21827 (epg-wait-for-completion): Reverse errors list.
21828 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21829 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21830 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21831 (epg-sign-keys, epg-generate-key-from-file)
21832 (epg-generate-key-from-string): Format errors by using
21833 epg-errors-to-string (bug#9255).
21834 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21835
21836 2011-08-07 Juri Linkov <juri@jurta.org>
21837
21838 * faces.el (list-faces-display): Remove extra angle bracket
21839 from `help-mode-map'.
21840
21841 * info.el (Info-history-toc-nodes): Doc fix.
21842
21843 * longlines.el (longlines-mode): Doc fix.
21844
21845 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21846
21847 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21848 of statements and in a few more cases (bug#9183).
21849
21850 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21851 New functions.
21852 (cl-transform-lambda): Use them (bug#9239).
21853
21854 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21855
21856 * window.el (display-buffer-same-window)
21857 (display-buffer-same-frame, display-buffer-other-window)
21858 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21859 (pop-to-buffer-other-window)
21860 (pop-to-buffer-same-frame-other-window)
21861 (pop-to-buffer-other-frame): Make them defuns.
21862 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21863
21864 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21865
21866 * subr.el (make-composed-keymap): Move from C. Change calling
21867 convention, and improve docstring to bring attention to a subtle point.
21868 * minibuffer.el (completing-read-default): Adjust accordingly.
21869
21870 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21871
21872 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21873 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21874
21875 * net/trampver.el: Update release number.
21876
21877 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21878
21879 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21880 "in" (bug#9190).
21881
21882 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21883
21884 * mail/sendmail.el (sendmail-query-once): Restore the current
21885 buffer after querying (bug#9074).
21886
21887 * dired.el (dired-flagged): Use different faces for marked and
21888 flagged files (bug#6117).
21889
21890 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21891 (bug#4433).
21892
21893 * ido.el (ido-mode): Switch off the message if called
21894 non-interactively.
21895
21896 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21897 before 587, since it appears that that's more likely to work for
21898 more people.
21899
21900 * cus-edit.el (custom-file): When running under emacs -q, always
21901 refuse to save the customizations, even if the .emacs file doesn't
21902 exist.
21903
21904 * info.el: Remove the `Info-beginning-of-buffer' function
21905 (bug#8325).
21906
21907 * net/network-stream.el (network-stream-open-starttls):
21908 Use `starttls-available-p' to see whether starttls.el can be used.
21909
21910 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21911
21912 * window.el (display-buffer-in-window): Don't set dedicated status
21913 of window here (Bug#9215).
21914 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21915 (display-buffer-pop-up-side-window)
21916 (display-buffer-in-side-window): Set dedicated status of window here.
21917
21918 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21919
21920 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21921 before binding generated-autoload-file.
21922
21923 2011-08-01 Deniz Dogan <deniz@dogan.se>
21924
21925 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21926
21927 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21928
21929 Sync with Tramp 2.2.2.
21930
21931 * net/trampver.el: Update release number.
21932
21933 2011-07-30 Juri Linkov <juri@jurta.org>
21934
21935 * dired-aux.el (dired-touch-initial): Remove function.
21936 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21937 current time, and `default' to the last modification time of the
21938 current marked file (bug#6887).
21939
21940 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21941
21942 * simple.el (goto-line): Use string-to-number to provide a
21943 numeric argument to read-number (bug#9163).
21944
21945 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21946
21947 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21948 connection process, it could be nil.
21949
21950 2011-07-27 Leo Liu <sdl.web@gmail.com>
21951
21952 Simplify url handling in rcirc-mode.
21953
21954 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21955 (rcirc-browse-url-at-mouse): Remove.
21956 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21957
21958 2011-07-26 Alan Mackenzie <acm@muc.de>
21959
21960 Fontify bitfield declarations properly.
21961
21962 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21963 (c-symbol-chars): Now exported as a lang variable.
21964 (c-not-primitive-type-keywords): New lang variable.
21965
21966 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21967 QT keyword "more" to prevent "more slots: ...." being spuriously
21968 parsed as a bitfield declaration.
21969
21970 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21971 Refactor and enhance to handle bitfield declarations.
21972 (c-punctuation-in): New function.
21973 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21974 declarations properly.
21975
21976 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21977
21978 * calendar/icalendar.el (icalendar--all-events): Take care of
21979 multiple vcalendars in a single file.
21980 (icalendar--convert-float-to-ical): Checkdoc fixes.
21981
21982 2011-07-25 Deniz Dogan <deniz@dogan.se>
21983
21984 * image.el (insert-image): Clarifying docstring.
21985
21986 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21987
21988 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21989 `tramp-send-command-and-check' if there is no error.
21990 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21991
21992 2011-07-22 Alan Mackenzie <acm@muc.de>
21993
21994 Prevent cc-langs.elc being loaded at run time.
21995
21996 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21997 cc-langs.
21998
21999 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22000 "(require 'cc-langs)". Quote a form so it will evaluate at
22001 (cc-mode's) compilation time.
22002
22003 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22004
22005 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22006 loading. (Bug#9114)
22007
22008 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22009
22010 * window.el (display-buffer-pop-up-window)
22011 (display-buffer-pop-up-side-window)
22012 (display-buffer-in-side-window): Call display-buffer-set-height
22013 and display-buffer-set-width after setting the new window's
22014 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22015
22016 2011-07-20 Sam Steingold <sds@gnu.org>
22017
22018 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22019 (etags-tags-included-tables): Call `convert-standard-filename' on
22020 the file names contained in TAGS so that windows Emacs can handle
22021 TAGS files created by cygwin ctags.
22022
22023 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22024
22025 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22026 which apparently didn't work.
22027
22028 2011-07-19 Roland Winkler <winkler@gnu.org>
22029
22030 * proced.el (proced-send-signal): For *Marked Processes* buffer
22031 put point at beginning of buffer.
22032
22033 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22034
22035 * proced.el (proced-format): Make header lines align with the text
22036 (bug#1779).
22037
22038 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22039
22040 * view.el (view-buffer): Allow running in `special' modes if we're
22041 visiting a file (bug#8615).
22042
22043 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22044
22045 * window.el (display-buffer-alist-of-strings-p)
22046 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22047 New functions.
22048 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22049 more accurately.
22050
22051 2011-07-18 Alan Mackenzie <acm@muc.de>
22052
22053 Fontify declarators properly when, e.g., a jit-lock chunk begins
22054 inside a declaration.
22055
22056 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22057
22058 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22059 New function.
22060 (c-complex-decl-matchers): Insert reference to
22061 c-font-lock-enclosing-decls.
22062
22063 * progmodes/cc-engine.el (c-backward-single-comment):
22064 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22065 to nil around calls to (forward-comment -1).
22066
22067 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22068
22069 * image.el (put-image): Doc typo fix.
22070
22071 * progmodes/etags.el (tags-search): Doc typo fix.
22072
22073 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22074 password if we get errors 550 to 554.
22075
22076 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22077
22078 * net/gnutls.el (gnutls-log-level): Remove.
22079
22080 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22081 indentation character (bug#6380).
22082
22083 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22084
22085 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22086 to clarify what the problem is (bug#4291).
22087
22088 * simple.el (current-kill): Clarify what
22089 `interprogram-paste-function' does (bug#7500).
22090 (auto-fill-mode): Document `auto-fill-function' in relation to
22091 `auto-fill-mode' (bug#2470).
22092
22093 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22094
22095 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22096 method if slot is read-only (bug#9035).
22097
22098 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22099
22100 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22101 * window.el (pop-to-buffer): Select window used even if it was
22102 selected before, see discussion of (Bug#8615), (Bug#6954).
22103 Pass argument NORECORD on to select-frame-set-input-focus.
22104
22105 2011-07-15 Glenn Morris <rgm@gnu.org>
22106
22107 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22108 Respect help-form.
22109
22110 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22111
22112 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22113 (gnutls-negotiate): Use it.
22114
22115 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22116
22117 * net/gnutls.el (gnutls-negotiate):
22118 Upcase `gnutls-algorithm-priority'.
22119
22120 2011-07-15 Glenn Morris <rgm@gnu.org>
22121
22122 * jka-compr.el (jka-compr-verbose): Move from here...
22123 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22124 Add missing :version tag.
22125 * info.el: No need to require jka-compr when compiling.
22126
22127 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22128
22129 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22130 (gnutls-negotiate): Use it.
22131
22132 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22133
22134 * info.el (Info-beginning-of-buffer): New command.
22135 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22136 announcing `b' as the key (bug#8325).
22137 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22138
22139 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22140
22141 * international/mule-cmds.el
22142 (describe-specified-language-support): Make the error message
22143 clearer (bug#8905).
22144
22145 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22146
22147 * isearch.el (isearch-barrier): Add a doc string, since it's
22148 mentioned in a function doc string (bug#8678).
22149
22150 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22151
22152 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22153 buffer argument (Bug#9083) and self-identifying label argument.
22154
22155 2011-07-15 Glenn Morris <rgm@gnu.org>
22156
22157 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22158
22159 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22160
22161 * man.el (Man-fontify-manpage): Fix message when formatting the
22162 man page (bug#7929).
22163
22164 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22165
22166 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22167 argument LRM; if non-nil, append an invisible LRM character to the
22168 buffer name.
22169 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22170 last argument non-nil, when formatting buffer names.
22171 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22172 paragraph direction.
22173
22174 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22175
22176 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22177 the man page name (bug#7929).
22178
22179 * image.el (put-image): Mention the `put-image' overlay property
22180 (bug#7834).
22181
22182 * scroll-bar.el (set-scroll-bar-mode): Mention that
22183 `scroll-bar-mode' lists the values (bug#7772).
22184
22185 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22186 command (bug#7729).
22187
22188 * rect.el (apply-on-rectangle): Return the point after the last
22189 operation.
22190 (string-rectangle): Go to the point after the last operation
22191 (bug#7522).
22192
22193 * printing.el (pr-toggle-region): Clarify the documentation
22194 slightly (bug#7493).
22195
22196 * time.el (display-time-update):
22197 Allow `display-time-mail-function' to return nil (bug#7158).
22198 Fix suggested by Detlev Zundel.
22199
22200 * vc/diff.el (diff): Clarify the order the file names are read
22201 (bug#7111).
22202
22203 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22204 the doc string (bug#7015).
22205
22206 * font-lock.el (font-lock-maximum-decoration): Mention what
22207 numeric levels mean (bug#6935).
22208
22209 * startup.el (initial-buffer-choice): Don't mention the `none'
22210 selection, which is against policy.
22211
22212 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22213
22214 * window.el (display-buffer-normalize-special):
22215 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22216
22217 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22218
22219 * subr.el (version<, version<=, version=): Mention "-CVS" and
22220 "-12345" alpha version numbers.
22221
22222 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22223
22224 * bindings.el: Add advertised binding for set-mark-command
22225 (Bug#5772).
22226
22227 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22228
22229 * bindings.el (mode-line-other-buffer):
22230 * bookmark.el (bookmark-bmenu-2-window):
22231 * bs.el (bs-cycle-next, bs-cycle-previous):
22232 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22233 switch-to-buffer.
22234
22235 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22236 Delete.
22237
22238 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22239
22240 * follow.el (follow-debug-message, follow-redisplay):
22241 * jka-cmpr-hook.el (with-auto-compression-mode):
22242 Fix typos in docstrings.
22243
22244 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22245
22246 * subr.el (with-silent-modifications): Clarify somewhat what the
22247 macro inhibits (bug#6525).
22248
22249 * simple.el (eval-expression): Note what it does if called
22250 interactively (bug#6495).
22251
22252 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22253
22254 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22255 Use pop-to-buffer buffer-or-name if it is nil.
22256
22257 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22258 Remove switch-to-buffer.
22259
22260 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22261
22262 * files.el (make-directory): Clarify that an error will be raised
22263 if there's an error (bug#6397).
22264
22265 * startup.el (initial-buffer-choice): Add `none' as a choice
22266 (bug#6234).
22267
22268 * subr.el (add-hook): Clarify section about buffer-local hooks
22269 (bug#6218).
22270
22271 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22272
22273 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22274
22275 * tabify.el (untabify): Preserve the current column so that point
22276 doesn't move (bug#6032).
22277
22278 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22279
22280 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22281 Rewrite to avoid awkward possessive "s" (bug#5986).
22282
22283 2011-07-13 Glenn Morris <rgm@gnu.org>
22284
22285 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22286 (dired-insert-directory): Give a message the first time
22287 if ls is found not to support --dired.
22288
22289 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22290
22291 * simple.el (toggle-truncate-lines): Clarify what is toggled
22292 (bug#5580). Text by Drew Adams.
22293
22294 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22295
22296 * simple.el (blink-matching-open): Make the error message from the
22297 last change less verbose.
22298
22299 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22300
22301 * font-lock.el (font-lock-comment-face): Use the high contrast
22302 "yellow" color for font-lock-comment-face on low color terminals
22303 using a dark background color (bug#4221).
22304
22305 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22306
22307 * dired.el (dired-insert-set-properties): Make the doc string
22308 reflect what it does now (bug#5325).
22309
22310 * simple.el (blink-matching-open): Say that we were unable to find
22311 the match within the limit, if we're limited (bug#5122).
22312
22313 * international/mule-cmds.el (prefer-coding-system): Add an
22314 example (bug#4869).
22315
22316 * progmodes/etags.el (tags-search): Document `file-list-form'
22317 (bug#4731).
22318
22319 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22320
22321 * net/browse-url.el (browse-url-default-browser)
22322 (browse-url-browser-function): Make the default browser choice a
22323 bit more logical (bug#4300). Also clean up the doc string.
22324
22325 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22326
22327 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22328 binary endings (bug#4440).
22329
22330 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22331
22332 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22333 which can be pretty annoying (bug#8971).
22334
22335 * jka-compr.el (jka-compr-verbose): New variable, and use
22336 throughout (bug#8971).
22337
22338 * info.el (Info-find-file): Fall back on the installation
22339 directory if we can't find the info node anywhere else.
22340
22341 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22342
22343 * vc/vc.el (vc-revert-file):
22344 Don't set file time-stamp in the past. (Bug#5181)
22345
22346 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22347
22348 * files.el (after-find-file): Give a better error message when
22349 trying to find a symlink that points to a file that doesn't exist
22350 (bug#4398).
22351
22352 * progmodes/cc-vars.el: Remove (probably) misleading comment
22353 (bug#4396).
22354
22355 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22356
22357 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22358
22359 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22360
22361 * mouse-sel.el: Hack restoring functionality, while keeping
22362 compatibility with 2010-07-03 changes to mouse selection.
22363 (mouse-sel-primary-overlay): New var.
22364 (mouse-sel-selection-alist): Use it.
22365 (mouse-sel-mode): Doc fix; remove points that are default features
22366 of mouse.el.
22367
22368 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22369
22370 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22371 Fix previous fix (bug#2490).
22372
22373 2011-07-12 Roland Winkler <winkler@gnu.org>
22374
22375 * textmodes/bibtex.el (bibtex-initialize):
22376 Use pop-to-buffer-same-window.
22377 (bibtex-search-entries): Fix interactive call.
22378
22379 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22380
22381 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22382 Fontise bytecomp Error lines more correctly (bug#2490).
22383 Fix suggested by Johan BockgĂ¥rd.
22384
22385 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22386
22387 * dired-x.el (dired-guess-default): Use `delete-dups'.
22388
22389 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22390
22391 * dired.el (dired-mark-prompt):
22392 * dired-aux.el (dired-read-shell-command): Doc fix.
22393
22394 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22395
22396 * mail/sendmail.el (sendmail-query-once):
22397 Use `customize-save-variable' unconditionally, now that it works under
22398 emacs -Q.
22399
22400 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22401
22402 * cus-edit.el (custom-file): Take an optional no-error variable.
22403 (customize-save-variable): Set the variable, and give a warning if
22404 running under "emacs -q".
22405
22406 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22407
22408 * loadhist.el (unload-feature-special-hooks):
22409 Add `auto-coding-functions', `fill-nobreak-predicate' and
22410 `find-directory-functions' (bug#5327).
22411
22412 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22413
22414 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22415
22416 * cus-edit.el (custom-guess-name-alist): -alist variables should
22417 use the `alist' type (bug#3120). Suggested by Drew Adams.
22418
22419 * printing.el: Add documentation to all the `pr-toggle-' commands.
22420
22421 2011-07-11 Leo Liu <sdl.web@gmail.com>
22422
22423 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22424 backends where it makes sense (bug#2623).
22425
22426 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22427
22428 * dired-x.el (dired-guess-default): Remove duplicate shell command
22429 entries (bug#2028).
22430 (dired-guess-default): Fix grammar in doc string (bug#2028).
22431 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22432
22433 * subr.el (remove-duplicates): New conveniency function.
22434
22435 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22436
22437 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22438 (bug#1526).
22439
22440 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22441
22442 * window.el (display-buffer-normalize-default): Don't invert
22443 meaning of even-window-heights. Reported by Eli Zaretskii
22444 <eliz@gnu.org>.
22445
22446 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22447
22448 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22449
22450 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22451
22452 * window.el (display-buffer): Fix arguments to
22453 display-buffer-reuse-window in last change.
22454
22455 * faces.el (link): Use a less saturated blue on light backgrounds.
22456
22457 * startup.el (fancy-startup-text, fancy-about-text)
22458 (fancy-startup-tail): Use font-lock faces, for background safety.
22459
22460 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22461
22462 * emulation/viper-cmd.el (viper-change-state-to-vi):
22463 Limit triggering of abbrev expansion (Bug#9038).
22464
22465 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22466
22467 * window.el (display-buffer-default-specifiers): Remove.
22468 (display-buffer-macro-specifiers): Remove default specifiers.
22469 (display-buffer-alist): Default to nil.
22470 (display-buffer-reuse-window): New optional argument other-window.
22471 (display-buffer-pop-up-window): Allow splitting internal
22472 windows. Check whether a live window was created.
22473 (display-buffer-other-window-means-other-frame)
22474 (display-buffer-normalize-arguments): Rename to
22475 display-buffer-normalize-argument and rewrite. Set the
22476 other-window specifier.
22477 (display-buffer-normalize-special): New function.
22478 (display-buffer-normalize-options): Rename to
22479 display-buffer-normalize-default and rewrite.
22480 (display-buffer-normalize-options-inhibit): Remove.
22481 (display-buffer-normalize-specifiers): Rewrite.
22482 (display-buffer): Process other-window specifier and call
22483 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22484 more faithfully.
22485 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22486 (display-buffer-alist-set): Don't handle 'unset default values.
22487 (display-buffer-in-window, display-buffer-alist-set):
22488 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22489 <tassilo@member.fsf.org>.
22490
22491 2011-07-09 Leo Liu <sdl.web@gmail.com>
22492
22493 * register.el (insert-register): Restore accidental change on
22494 2011-06-26. (Bug#9028)
22495
22496 2011-07-09 Glenn Morris <rgm@gnu.org>
22497
22498 * subr.el (remq): Handle the empty list. (Bug#9024)
22499
22500 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22501
22502 * mail/sendmail.el (send-mail-function): No longer delay custom
22503 initialization.
22504 * custom.el (custom-initialize-delay): Doc fix.
22505
22506 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22507
22508 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22509
22510 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22511
22512 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22513 human-friendly prompt.
22514
22515 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22516
22517 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22518 provided by a particular plugin.
22519
22520 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22521
22522 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22523 save customizations (with "emacs -Q"), just set the variable
22524 instead of erroring out.
22525
22526 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22527
22528 2011-07-08 Juri Linkov <juri@jurta.org>
22529
22530 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22531 (archive-zip-update-case): Use 7z if found by `executable-find'.
22532 The order of searching the available programs is the same as in
22533 `archive-zip-extract' (bug#8968).
22534
22535 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22536
22537 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22538 (menu-bar-options-menu): Tweak descriptions.
22539
22540 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22541
22542 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22543 menu items into verb phrases (bug#1421). Also refill to fit under
22544 80 columns.
22545
22546 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22547
22548 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22549 (Info-read-node-name): Doc fix (Bug#1084).
22550
22551 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22552 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22553 (end-of-sexp, beginning-of-sexp)
22554 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22555 (forward-symbol, forward-same-syntax, word-at-point)
22556 (sentence-at-point): Doc fix (Bug#1144).
22557
22558 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22559
22560 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22561 should cover it (bug#1281).
22562
22563 * cus-edit.el (custom-show): Mark as obsolete.
22564
22565 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22566 negotiation fails, then possibly try again with a non-encrypted
22567 connection (bug#9017).
22568
22569 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22570 be used.
22571
22572 2011-07-07 Richard Stallman <rms@gnu.org>
22573
22574 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22575 property, and handle its changed format.
22576 Look for the correct line number.
22577 Use file's line contents (but not past first =) to find
22578 correct line in message.
22579
22580 2011-07-07 Kenichi Handa <handa@m17n.org>
22581
22582 * international/characters.el (build-unicode-category-table):
22583 Delete it.
22584 (unicode-category-table): Set it by unicode-property-table-internal.
22585
22586 * international/mule-cmds.el (char-code-property-alist): Move to
22587 to src/chartab.c.
22588 (get-char-code-property): Call unicode-property-table-internal to
22589 load a file. Call get-unicode-property-internal where necessary.
22590 (put-char-code-property): Call unicode-property-table-internal to
22591 load a file. Call put-unicode-property-internal where necessary.
22592 put-unicode-property-internal where necessary.
22593 (char-code-property-description):
22594 Call unicode-property-table-internal to load a file.
22595
22596 * international/charprop.el:
22597 * international/uni-bidi.el:
22598 * international/uni-category.el:
22599 * international/uni-combining.el:
22600 * international/uni-comment.el:
22601 * international/uni-decimal.el:
22602 * international/uni-decomposition.el:
22603 * international/uni-digit.el:
22604 * international/uni-lowercase.el:
22605 * international/uni-mirrored.el:
22606 * international/uni-name.el:
22607 * international/uni-numeric.el:
22608 * international/uni-old-name.el:
22609 * international/uni-titlecase.el:
22610 * international/uni-uppercase.el: Regenerate.
22611
22612 * loadup.el: Load international/charprop.el before
22613 international/characters.
22614
22615 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22616
22617 * window.el (next-buffer, previous-buffer): Signal an error if
22618 called from a minibuffer window.
22619
22620 * bindings.el: Revert 2011-07-04 change.
22621
22622 2011-07-06 Richard Stallman <rms@gnu.org>
22623
22624 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22625 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22626 Treat markers like ints.
22627 (rmail-mime-entity): Doc fix.
22628
22629 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22630
22631 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22632 defcustom again for backwards compatibility.
22633
22634 * simple.el (shell-command-on-region): Fill.
22635
22636 * dired-aux.el (dired-kill-line): Add a doc string.
22637
22638 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22639 to "\\sw\\|\\s_" (bug#358).
22640
22641 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22642 (dired-unmark-backward): Ditto.
22643 (dired-flag-backup-files): Ditto.
22644
22645 * dired-x.el (dired-mark-sexp): Ditto.
22646
22647 2011-07-06 Richard Stallman <rms@gnu.org>
22648
22649 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22650 (rmail-mime-entity): New arg TRUNCATED.
22651 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22652 New functions.
22653 (rmail-mime-save): Warn if entity is truncated.
22654 (rmail-mime-toggle-hidden): Likewise, for showing.
22655 (rmail-mime-process-multipart): Record when an entity is truncated.
22656
22657 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22658 if ENTITY is a string.
22659
22660 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22661
22662 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22663 of faces when `M-C-x'-ing their definitions (bug#8378).
22664 Also clean up the code slightly.
22665
22666 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22667 because that makes the colors go away.
22668
22669 * mail/sendmail.el (send-mail-function): Change the default to
22670 `sendmail-query-once'.
22671 (sendmail-query-once): Add an autoload cookie.
22672
22673 * net/network-stream.el (network-stream-open-starttls): Try using
22674 a plain connection even if the server offered STARTTLS, and we
22675 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22676 capability. This should make smtpmail.el work in slightly more
22677 configurations.
22678
22679 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22680
22681 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22682 New defun.
22683 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22684
22685 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22686
22687 * progmodes/sql.el: Version 3.0
22688 (sql-product-alist): Add product :completion-object,
22689 :completion-column, and :statement attributes.
22690 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22691 (sql-mode-syntax-table): Mark all punctuation.
22692 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22693 ansi keywords.
22694 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22695 (sql-mode-oracle-font-lock-keywords): Improve.
22696 (sql-oracle-show-reserved-words): New function for development.
22697 (sql-product-font-lock): Simplify for source code buffers.
22698 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22699 New functions.
22700 (sql-highlight-product): Set product specific syntax table.
22701 (sql-mode-map): Add statement movement functions.
22702 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22703 New variable.
22704 (sql-statement-regexp, sql-beginning-of-statement)
22705 (sql-end-of-statement, sql-signum): New functions.
22706 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22707 (sql-show-sqli-buffer): Bug fix.
22708 (sql-interactive-mode): Store connection data as buffer local.
22709 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22710 with sql-interactive-mode.
22711 (sql-save-connection): Save buffer local settings.
22712 (sql-connection-menu-filter): Change menu entry name.
22713 (sql-product-interactive): Bug fix.
22714 (sql-preoutput-hold): New variable.
22715 (sql-interactive-remove-continuation-prompt): Bug fixes.
22716 (sql-debug-redirect): New variable.
22717 (sql-str-literal): New function.
22718 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22719 Redesign.
22720 (sql-oracle-save-settings, sql-oracle-restore-settings)
22721 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22722 (sql-completion-object, sql-completion-column)
22723 (sql-completion-sqlbuf): New variables.
22724 (sql-build-completions-1, sql-build-completions)
22725 (sql-try-completion): New functions.
22726 (sql-read-table-name): Use them.
22727 (sql-contains-names): New buffer local variable.
22728 (sql-list-all, sql-list-table): Use it.
22729 (sql-oracle-completion-types): New variable.
22730 (sql-oracle-completion-object, sql-sqlite-completion-object)
22731 (sql-postgres-completion-object): New functions.
22732
22733 2011-07-06 Glenn Morris <rgm@gnu.org>
22734
22735 * window.el (pop-to-buffer): Doc fix.
22736
22737 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22738
22739 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22740
22741 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22742
22743 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22744
22745 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22746
22747 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22748
22749 * button.el (button): Inherit from link face. Suggested by Dan
22750 Nicolaescu.
22751
22752 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22753
22754 * progmodes/gdb-mi.el: Fit in 80 columns.
22755 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22756 switch-to-buffer.
22757
22758 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22759 if imenu is simply not configured (bug#8941).
22760
22761 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22762
22763 * allout.el (allout-post-undo-hook): New allout outline-change
22764 event hook to signal undo activity.
22765 (allout-post-command-business): Run allout-post-undo-hook if an
22766 undo just occurred.
22767 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22768 * allout-widgets.el (allout-widgets-after-undo-function):
22769 Ensure the integrity of the current item's decoration after it has been
22770 in the vicinity of an undo.
22771 (allout-widgets-mode): Include allout-widgets-after-undo-function
22772 on the new allout-post-undo-hook.
22773
22774 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22775
22776 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22777 Let define-derived-mode define it.
22778 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22779 cycles of abbrev-table inheritance (bug#8998).
22780
22781 2011-07-05 Roland Winkler <winkler@gnu.org>
22782
22783 * textmodes/bibtex.el: Add support for biblatex.
22784 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22785 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22786 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22787 (bibtex-entry-alist, bibtex-field-alist): New variables.
22788 (bibtex-entry-field-alist): Obsolete alias for
22789 bibtex-BibTeX-entry-alist.
22790 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22791 (bibtex-set-dialect): New command.
22792 (bibtex-entry-type, bibtex-entry-head)
22793 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22794 Bind via bibtex-set-dialect.
22795 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22796 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22797 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22798 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22799 Define via bibtex-set-dialect.
22800 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22801 Obey bibtex-no-opt-remove-re.
22802 (bibtex-vec-push, bibtex-vec-incr): New functions.
22803 (bibtex-format-entry, bibtex-field-list)
22804 (bibtex-print-help-message, bibtex-validate)
22805 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22806
22807 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22808
22809 * progmodes/compile.el (compilation-goto-locus):
22810 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22811 * bs.el (bs-cycle-next, bs-cycle-previous):
22812 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22813 * bindings.el (mode-line-other-buffer):
22814 * autoinsert.el (auto-insert):
22815 * arc-mode.el (archive-extract):
22816 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22817
22818 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22819
22820 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22821 Fix check of `emacs-lock-unlockable-modes'.
22822 Coerce true values of `emacs-lock--try-unlocking' to t.
22823
22824 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22825
22826 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22827 * emacs-lock.el: New file.
22828
22829 2011-07-05 Julien Danjou <julien@danjou.info>
22830
22831 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22832 than `boundp' to check if face is set.
22833
22834 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22835
22836 * register.el (registerv-make):
22837 * window.el (window-min-height): Fix typos in docstrings.
22838
22839 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22840
22841 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22842 Update doc string.
22843
22844 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22845
22846 * server.el (server-execute): Catch quit and call
22847 `server-return-error' to pass the error back to emacsclient and
22848 close the connection (bug#8942).
22849
22850 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22851
22852 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22853 insecure exception for current topic. Also note that auto-saves
22854 are handled differently.
22855
22856 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22857 State variables for tracking auto-save inhibition situation.
22858
22859 (allout-write-contents-hook-handler): Rename from
22860 'allout-write-file-hook-handler', and describe how it depends on
22861 write-contents-functions sensitivity to non-nil value to prevent
22862 file write.
22863
22864 (allout-auto-save-hook-handler): Remove. auto-save does not check
22865 this in individual buffers, only in the starting buffer, so this
22866 is not the right way for us to inhibit auto-save in a buffer
22867 according to its condition.
22868
22869 (allout-mode): Use new allout-write-contents-hook-handler, and
22870 only with write-contents-functions. Remove auto-save provisions -
22871 they're implemented elsewhere.
22872
22873 (allout-before-change-handler): If undo is in progress, note that
22874 for attention of allout-post-command-business.
22875
22876 (allout-post-command-business): If the command we're following was
22877 an undo, check for change in the status of encrypted items and
22878 adjust auto-save inhibitions accordingly.
22879
22880 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22881 according to whether there are or aren't any plain-text topics
22882 pending encryption.
22883
22884 (allout-inhibit-auto-save-info-for-decryption):
22885 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22886 if there are plain-text topics pending encryption.
22887
22888 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22889 buffer-saved-size and some allout state to not inhibit auto-saves
22890 if there are no longer any plain-text topics pending encryption.
22891
22892 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22893 No longer provide for exemption of the current topic.
22894
22895 2011-07-04 Juri Linkov <juri@jurta.org>
22896
22897 Add 7z operations to delete and save changed members (bug#8968).
22898 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22899 New defcustoms.
22900 (archive-7z-write-file-member): New function.
22901 (archive-7z-summarize): Fix the number of dashes in the
22902 listing output.
22903
22904 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22905
22906 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22907 (bug#8958).
22908
22909 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22910
22911 * bindings.el: Ignore next-buffer and previous-buffer in
22912 minibuffer-local-map.
22913
22914 * font-lock.el (font-lock-builtin-face): Change light background
22915 color to dark slate blue (Bug#6693).
22916
22917 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22918
22919 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22920
22921 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22922
22923 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22924 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22925 Add switch-to-buffer.
22926
22927 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22928
22929 * isearch.el (isearch-search-fun-function): Clarify further the
22930 meaning of the function returned.
22931
22932 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22933
22934 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22935
22936 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22937 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22938 Use it.
22939 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22940 `tramp-default-remote-path' does not exist.
22941 (tramp-send-command-and-read): New optional argument NOERROR.
22942 (tramp-open-connection-setup-interactive-shell)
22943 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22944 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22945 (tramp-process-sentinel): Flush also process' connection property.
22946 (tramp-sh-handle-start-file-process): Do not set process
22947 sentinel. It is done now ...
22948 (tramp-maybe-open-connection): ... here. (Bug#8929)
22949
22950 2011-07-04 MON KEY <monkey@sandpframing.com>
22951
22952 * play/animate.el (animate-string): Doc fixes and allow changing
22953 the buffer name (bug#5417).
22954
22955 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22956
22957 * play/animate.el (animation-buffer-name): Rename from *animate*.
22958
22959 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22960
22961 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22962 This is simpler and helps future-proof the code.
22963 (timer-until): Use time-subtract and float-time.
22964 (timer--time-less-p): Use time-less-p.
22965
22966 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22967
22968 * type-break.el (timep): Use the value of `float-time' to avoid a
22969 byte-compiler warning.
22970
22971 * server.el (server-eval-and-print): Return any result, even nil.
22972
22973 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22974
22975 * type-break.el: Accept time formats that the builtins accept.
22976 (timep, type-break-time-difference): Accept any format that
22977 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22978 This is simpler and helps future-proof the code.
22979 (type-break-time-difference): Round rather than ignoring
22980 subseconds components.
22981
22982 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22983
22984 * info.el (Info-apropos-matches): Make non-interactive, since it
22985 doesn't seem to do anything useful as a command (bug#8829).
22986
22987 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22988
22989 * frame.el (frame-background-mode, frame-set-background-mode):
22990 Move from faces.el.
22991 (frame-default-terminal-background): New function.
22992
22993 * custom.el (custom-push-theme): Don't record faces in `changed'
22994 theme; this doesn't work correctly for per-frame face settings.
22995 (disable-theme): Use face-set-after-frame-default to reset faces.
22996 (custom--frame-color-default): New function.
22997
22998 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22999
23000 * dired.el (dired-flagging-regexp): Remove unused variable
23001 (bug#8769).
23002
23003 2011-03-29 Kevin Ryde <user42@zip.com.au>
23004
23005 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23006 `perl-Test2' extend to match possible "fail #N" rep count
23007 (bug#8377).
23008
23009 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23010
23011 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23012 `smtpmail-via-smtp' now returns the error instead of nil.
23013
23014 * isearch.el (isearch-search-fun-function): Clarify the doc string
23015 (bug#8101).
23016
23017 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23018
23019 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23020 unnecessary spaces (bug#8987).
23021
23022 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23023
23024 * net/network-stream.el (open-network-stream): Use the
23025 :end-of-capability command thoughout.
23026
23027 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23028
23029 * net/network-stream.el (open-network-stream): Add the
23030 :end-of-capability command parameter, used by pop3.el.
23031
23032 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23033
23034 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23035
23036 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23037 for list)" (bug#6475).
23038
23039 * files.el (file-expand-wildcards): Ignore non-readable
23040 sub-directories while trying to find matches instead of signaling
23041 an error (bug#6297).
23042
23043 * man.el (Man-reference-regexp): Allow matching possible
23044 word-wrapped references (bug#6289).
23045
23046 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23047 for consistency with the other vc buffers (bug#6197).
23048 (vc-checkin): Ditto.
23049
23050 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23051
23052 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23053
23054 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23055
23056 * custom.el (defcustom): Clarify that :set is only used in the
23057 Customize user interface (bug#6089).
23058
23059 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23060 associated with a file, refuse to run instead of erroring out
23061 (bug#6084).
23062
23063 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23064 the doc string, since it appears that using `fill-column' always
23065 controls the width (bug#7845).
23066
23067 * simple.el (shell-command-on-region): Say where the error output
23068 went if `shell-command-default-error-buffer' is set (bug#6857).
23069
23070 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23071
23072 * allout.el (allout-yank-processing): Adjust cursor position for
23073 backwards-deleted space.
23074
23075 (allout-rebullet-heading): Register changes with
23076 allout-exposure-changed-hook, so the modified topic is properly
23077 decorated.
23078
23079 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23080
23081 * minibuffer.el (completion-in-region): Document PREDICATE
23082 (bug#7136).
23083
23084 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23085 of keyword/argument pairs (bug#6904).
23086
23087 * replace.el (multi-occur):
23088 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23089
23090 2011-07-02 Drew Adams <drew.adams@oracle.com>
23091
23092 * dired.el (dired-mark-if): Make the message about whether it's
23093 marking or unmarking clearer (bug#8523).
23094
23095 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23096
23097 * disp-table.el (display-table-print-array): New function.
23098 (describe-display-table): Use it to print the vectors more pretty
23099 (Bug#8859).
23100
23101 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23102
23103 * window.el (window-state-get-1): Don't assign clone numbers.
23104 Add clone-of item to list of window parameters.
23105 (window-state-put-2): Don't process clone numbers.
23106 (display-buffer-alist): Fix doc-string.
23107
23108 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23109
23110 * subr.el (remq): Don't allocate if it's not needed.
23111 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23112 (keymap--merge-bindings): New functions.
23113 (keymap-canonicalize): Use them to refine the canonicalization.
23114 * minibuffer.el (minibuffer-local-completion-map)
23115 (minibuffer-local-must-match-map): Move initialization from C.
23116 (minibuffer-local-filename-completion-map): Move initialization from C;
23117 don't inherit from anything here.
23118 (minibuffer-local-filename-must-match-map): Make obsolete.
23119 (completing-read-default): Use make-composed-keymap to combine
23120 minibuffer-local-filename-completion-map with either
23121 minibuffer-local-must-match-map or
23122 minibuffer-local-filename-completion-map.
23123
23124 2011-07-01 Glenn Morris <rgm@gnu.org>
23125
23126 * type-break.el (type-break-time-sum): Use dolist.
23127
23128 * textmodes/flyspell.el (flyspell-word-search-backward):
23129 Replace CL function.
23130
23131 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23132
23133 * mouse.el (mouse--strip-first-event): New function.
23134 (function-key-map): Use it to map fringe clicks to normal clicks
23135 by default.
23136
23137 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23138 (vc-bzr-revision-completion-table): Add support for annotate and date.
23139
23140 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23141 inherit from parent.
23142
23143 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23144
23145 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23146 (dired-show-file-type): Doc fixup (bug#8818).
23147
23148 * dired.el (dired-mode): Fix up the doc string as suggested by
23149 Drew Adams (bug#8817).
23150
23151 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23152 cookie, since the manual says that it should be possible to add
23153 this function to `find-file-hook' (bug#8709).
23154
23155 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23156
23157 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23158 here. Noted Ted Zlatanov as the maintainer.
23159 (cfengine-common-settings, cfengine-common-syntax): New functions
23160 to set up common things between `cfengine-mode' and
23161 `cfengine3-mode'.
23162 (cfengine3-mode): New mode.
23163 (cfengine3-defuns cfengine3-defuns-regex
23164 (cfengine3-class-selector-regex cfengine3-category-regex)
23165 (cfengine3-vartypes cfengine3-font-lock-keywords)
23166 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23167 (cfengine3-indent-line): Add from cfengine3.el.
23168
23169 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23170
23171 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23172
23173 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23174
23175 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23176
23177 * window.el (same-window-buffer-names, same-window-regexps)
23178 (same-window-p, special-display-frame-alist)
23179 (special-display-popup-frame, special-display-function)
23180 (special-display-buffer-names, special-display-regexps)
23181 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23182 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23183 (split-window-preferred-function, split-height-threshold)
23184 (split-width-threshold, even-window-heights)
23185 (display-buffer-mark-dedicated, window-splittable-p)
23186 (split-window-sensibly, window-safely-shrinkable-p):
23187 Un-obsolete.
23188 (display-buffer): Don't spread args with function specifier
23189 because special-display-popup-frame won't like it.
23190
23191 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23192
23193 Time-stamp simplifications and fixes.
23194 These improve accuracy slightly, and future-proof the code
23195 against some potential changes to current-time format.
23196
23197 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23198 by using time-since and float-time.
23199
23200 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23201 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23202 + NNN microseconds".
23203
23204 * type-break.el (type-break-time-sum): Rewrite using time-add.
23205
23206 * play/hanoi.el (hanoi-current-time-float): Remove.
23207 All uses replaced by float-time.
23208
23209 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23210 This yields a more-accurate answer.
23211 (rng-time-to-float): Remove; no longer needed.
23212
23213 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23214
23215 * calendar/timeclock.el (timeclock-seconds-to-time):
23216 Defalias to seconds-to-time, since they're the same thing.
23217
23218 * emacs-lisp/elp.el (elp-elapsed-time):
23219 * emacs-lisp/benchmark.el (benchmark-elapse):
23220 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23221
23222 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23223
23224 * window.el (bury-buffer): Don't iconify the only frame.
23225 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23226 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23227
23228 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23229
23230 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23231 Add mouse-yank-primary.
23232
23233 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23234
23235 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23236
23237 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23238
23239 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23240 (find-library-name): Use it to find relative load names when provided
23241 absolute file name (bug#8803).
23242
23243 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23244
23245 * textmodes/flyspell.el (flyspell-word): Consider words that
23246 differ only in case as potential doublons (bug#5687).
23247
23248 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23249 Remove two rather uninteresting debugging-like messages to make
23250 debbugs.el more silent.
23251
23252 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23253 a password-like phrase.
23254
23255 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23256
23257 * progmodes/cc-guess.el: New file.
23258
23259 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23260
23261 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23262 derived from `c-basic-common-init'.
23263
23264 * progmodes/cc-mode.el (top-level): Require cc-guess.
23265 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23266
23267 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23268
23269 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23270
23271 2011-06-30 Alan Mackenzie <acm@muc.de>
23272
23273 * progmodes/cc-engine.el (c-guess-continued-construct):
23274 Correct the handling of template-args-cont, particularly for when font
23275 lock is disabled. Name this case as "CASE G".
23276
23277 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23278
23279 * allout.el (allout-yank-processing): Fix injection of extra space
23280 between bullet and non-whitespace character in first topic when
23281 pasting, ensuring that the actual spacing in the pasted topic
23282 following the bullet char is preserved. This extra space was
23283 causing pasted encrypted topics to get a decrypted status even
23284 when the content was actually still encrypted. Now the decryption
23285 status from before the paste is preserved.
23286
23287 (allout-flag-region): Set all allout overlays so they evaporate
23288 when reduced to zero length (evanescent), to prevent overlay
23289 leakage.
23290
23291 2011-06-30 Glenn Morris <rgm@gnu.org>
23292
23293 * w32-fns.el (w32-charset-info-alist): Declare.
23294
23295 * find-dired.el (find-grep-options): Simplify.
23296
23297 * term/ns-win.el (ns-set-resource): Declare.
23298
23299 * ses.el (row, col): Declare dynamic variables honestly.
23300
23301 * textmodes/reftex-parse.el (index-tags): Declare.
23302
23303 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23304
23305 * cus-edit.el (customize-push-and-save): New function.
23306
23307 * files.el (hack-local-variables-confirm): Use it.
23308
23309 * custom.el (load-theme): New arg NO-CONFIRM.
23310 Use customize-push-and-save (Bug#8720).
23311 (custom-enabled-themes): Doc fix.
23312
23313 * cus-theme.el (customize-create-theme)
23314 (custom-theme-merge-theme): Callers to load-theme changed.
23315
23316 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23317
23318 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23319 short URLs have at least one dot in them (bug #7614).
23320
23321 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23322 nil, because using a pty is apparently too slow (bug #895).
23323
23324 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23325
23326 * mail/sendmail.el (sendmail-query-once): New function.
23327 (sendmail-query-once-function): New variable.
23328
23329 2011-06-29 Glenn Morris <rgm@gnu.org>
23330
23331 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23332
23333 * ses.el (top-level): Require cl when compiling.
23334 (ses-set-localvars): Fix error statement.
23335 Call it at compile time to silence a storm of warnings.
23336
23337 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23338
23339 * window.el (normalize-live-buffer): Rename to
23340 window-normalize-buffer.
23341 (normalize-live-frame): Rename to window-normalize-frame.
23342 (normalize-any-window): Rename to window-normalize-any-window.
23343 (normalize-live-window): Rename to window-normalize-live-window.
23344 (make-window-atom): Rename to window-make-atom.
23345 (window-resize-reset): Rename to window--resize-reset.
23346 (window-resize-reset-1): Rename to window--resize-reset-1.
23347 (resize-mini-window): Rename to window--resize-mini-window.
23348 (resize-subwindows-skip-p): Rename to
23349 window--resize-subwindows-skip-p.
23350 (resize-subwindows-normal): Rename to
23351 window--resize-subwindows-normal.
23352 (resize-subwindows): Rename to window--resize-subwindows.
23353 (resize-other-windows): Rename to window--resize-siblings.
23354 (resize-this-window): Rename to window--resize-this-window.
23355 (resize-root-window): Rename to window--resize-root-window.
23356 (resize-root-window-vertically): Rename to
23357 window--resize-root-window-vertically.
23358 (normalize-buffer-to-display): Rename to
23359 window-normalize-buffer-to-display.
23360 (normalize-buffer-to-switch-to): Rename to
23361 window-normalize-buffer-to-switch-to.
23362 Correspondingly update all callers of the functions listed
23363 above.
23364 (display-buffer-alist, display-buffer-normalize-arguments)
23365 (display-buffer-normalize-options, display-buffer)
23366 (display-buffer-alist-set): Use "function" instead of
23367 "fun-with-args".
23368
23369 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23370
23371 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23372 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23373 debbugs.gnu.org. Mention acknowledgment email.
23374
23375 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23376
23377 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23378 buffer multibyteness, since it shouldn't matter.
23379
23380 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23381
23382 * window.el (display-buffer-in-side-window): Handle dedicated
23383 windows as in display-buffer-reuse-window.
23384 (display-buffer-normalize-alist): Use value of override
23385 specifier.
23386 (display-buffer-normalize-specifiers): Use value of
23387 other-window-means-other-frame specifier.
23388 (display-buffer-alist): Rewrite some texts in widgets.
23389 (display-buffer): Spread arguments when calling function
23390 specified by fun-with-args.
23391
23392 2011-06-28 Deniz Dogan <deniz@dogan.se>
23393
23394 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23395 Unnest `let'.
23396
23397 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23398 selectors (Bug#5732).
23399 (css-proprietary-nmstart-re): Use `regexp-opt'.
23400
23401 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23402
23403 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23404 (eshell-ls-date-format): New defcustom.
23405 (eshell-ls-file): Use it.
23406
23407 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23408
23409 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23410
23411 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23412
23413 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23414 (ange-ftp-make-tmp-name): New arg.
23415 (ange-ftp-file-local-copy): Use it.
23416
23417 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23418
23419 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23420 no-conversion (Bug#8870).
23421
23422 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23423
23424 * window.el (window-right, window-left, window-child)
23425 (window-child-count, window-last-child)
23426 (window-iso-combination-p, walk-window-tree-1)
23427 (window-atom-check-1, window-tree-1, delete-window)
23428 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23429 new naming conventions - window-vchild, window-hchild,
23430 window-next and window-prev are now called window-top-child,
23431 window-left-child, window-next-sibling and window-prev-sibling
23432 respectively.
23433 (resize-window-reset): Rename to window-resize-reset.
23434 (resize-window-reset-1): Rename to window-resize-reset-1.
23435 (resize-window): Rename to window-resize.
23436 (window-min-height, window-min-width)
23437 (resize-mini-window, resize-this-window, resize-root-window)
23438 (resize-root-window-vertically, adjust-window-trailing-edge)
23439 (enlarge-window, shrink-window, maximize-window)
23440 (minimize-window, delete-window, quit-restore-window)
23441 (split-window, balance-windows, balance-windows-area-adjust)
23442 (balance-windows-area, window-state-put-2)
23443 (display-buffer-even-window-sizes, display-buffer-set-height)
23444 (display-buffer-set-width, set-window-text-height)
23445 (fit-window-to-buffer): Rename all "resize-window" prefixed
23446 calls to use the "window-resize" prefix convention.
23447 (display-buffer-alist): Fix symbol for label specifier.
23448 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23449 corresponding specifier.
23450 Reported by Juanma Barranquero <lekktu@gmail.com>.
23451
23452 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23453
23454 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23455 convention.
23456 (ses-call-printer): Does not pass an empty string to formatter when the
23457 cell is empty to keep from barking printer Calc math-format-value.
23458
23459 2011-06-27 Richard Stallman <rms@gnu.org>
23460
23461 * battery.el (battery-mode-line-limit): New variable.
23462 (battery-update): Handle it.
23463
23464 * mail/rmailmm.el (rmail-mime-process-multipart):
23465 Handle truncated messages.
23466
23467 2011-06-27 Glenn Morris <rgm@gnu.org>
23468
23469 * progmodes/flymake.el (flymake-err-line-patterns):
23470 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23471
23472 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23473
23474 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23475 (ses--clean-!, ses--clean-_): New functions.
23476 (ses-range): Add configurability of readout order, and conversion
23477 to Calc vector.
23478
23479 * ses.el (ses-repair-cell-reference-all): New function.
23480 (ses-cell-symbol): Set macro as safe, so that it can be used in
23481 formulas.
23482
23483 * ses.el: Update cycle detection algorithm.
23484 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23485 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23486 (ses-set-localvars): New function.
23487 (ses-make-cell): Add property-list as a cell element.
23488 (ses-cell-property-get-fun, ses-cell-property-get)
23489 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23490 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23491 New functions.
23492 (ses-cell-property-set, ses-cell-property-pop)
23493 (ses-cell-property-get-handle): New macro.
23494 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23495 New aliases, used for code readability.
23496 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23497 cycle detection.
23498 (ses-self-reference-early-detection): New defcustom.
23499 (ses-formula-references): Robustify against self-referring cells.
23500 (ses-mode): Use ses-set-localvars.
23501 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23502 before lauching the update processing.
23503 (ses-initialize-Dijkstra-attempt): New function.
23504 (ses-recalculate-cell): Update for cycle detection based on
23505 Dijkstra algorithm.
23506
23507 * ses.el: Fix commenting and indenting convention.
23508
23509 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23510
23511 * bs.el (bs-cycle-next): Complete last change.
23512
23513 2011-06-27 Drew Adams <drew.adams@oracle.com>
23514
23515 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23516
23517 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23518
23519 * net/network-stream.el (network-stream-open-starttls):
23520 Don't re-get capabilities unless we've reestablished connection.
23521 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23522
23523 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23524 to binary to possibly avoid line encoding issues on Windows (among
23525 other things).
23526
23527 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23528
23529 * net/network-stream.el (open-network-stream): Return an :error
23530 saying what the problem was, if possible.
23531
23532 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23533 server.
23534
23535 * net/network-stream.el (network-stream-open-starttls): If we
23536 wanted to use STARTTLS, and the server offered it, but we weren't
23537 able to because we had no STARTTLS support, then close the connection.
23538 (open-network-stream): Return an :error element, if present.
23539
23540 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23541
23542 * hl-line.el (hl-line-sticky-flag): Doc fix.
23543 (global-hl-line-sticky-flag): New option (Bug#8323).
23544 (global-hl-line-highlight): Obey it.
23545
23546 * vc/vc.el (vc-revert-show-diff): Default to t.
23547
23548 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23549
23550 * allout-widgets.el (allout-widgets-post-command-business):
23551 Stop decorating intermediate isearch matches. They're not being
23552 undecorated when an isearch is continued past, and isearch
23553 automatically collapses them. This leads to "widget leaks", where
23554 decorated items accumulate in collapsed areas. Lines with lots of
23555 hidden widgets can slow down cursor travel, substantially.
23556 Too much complicated machinery would be needed to ensure undecoration,
23557 so we're doing without this nicety.
23558
23559 (allout-widgets-tally-string): Don't try to do a hash-table-count
23560 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23561 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23562 *Messages* when allout-widgets-maintain-tally is t.
23563
23564 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23565
23566 * window.el (display-buffer-normalize-argument): Rename to
23567 display-buffer-normalize-arguments. Handle special meaning of
23568 LABEL argument. Respect special-display-function when popping up
23569 a new frame. Fix code searching for a window showing the buffer
23570 on another frame.
23571 (display-buffer-normalize-specifiers):
23572 Call display-buffer-normalize-arguments.
23573 (display-buffer-in-window): Don't undedicate the window if its
23574 buffer remains the same.
23575 Reported by Drew Adams <drew.adams@oracle.com>.
23576 (display-buffer-alist): Add choice for same-window macro
23577 specfier.
23578 (display-buffer): Mention special meaning of LABEL argument in
23579 doc-string. Fix quoting. Don't pop up a new frame even as
23580 fallback.
23581
23582 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23583
23584 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23585 avoid deleting the current window in some cases (bug#8911).
23586
23587 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23588
23589 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23590 (Bug#8934)
23591
23592 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23593
23594 * net/network-stream.el (network-stream-open-starttls):
23595 Use built-in TLS support if `gnutls-available-p' is true.
23596 (network-stream-open-tls): Ditto.
23597
23598 2011-06-26 Leo Liu <sdl.web@gmail.com>
23599
23600 * register.el (registerv): New struct.
23601 (registerv-make): New function.
23602 (jump-to-register, describe-register-1, insert-register):
23603 Support the jump-func, print-func and insert-func slot of a registerv
23604 struct. (Bug#8415)
23605
23606 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23607
23608 * vc/vc.el (vc-revert-show-diff): New defcustom.
23609 (vc-diff-internal): New arg specifying diff buffer.
23610 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23611 reuse an existing *vc-diff* buffer (Bug#8927).
23612
23613 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23614
23615 2011-06-26 Glenn Morris <rgm@gnu.org>
23616
23617 * progmodes/f90.el (f90-critical-indent): New option.
23618 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23619 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23620 (f90-mode): Doc fix.
23621 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23622 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23623 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23624 (f90-match-end): Handle block, critical.
23625
23626 2011-06-25 Glenn Morris <rgm@gnu.org>
23627
23628 * calendar/diary-lib.el (diary-included-files): Doc fix.
23629 (diary-include-files): New function, extracted from
23630 diary-include-other-diary-files and diary-mark-included-diary-files.
23631 (diary-include-other-diary-files, diary-mark-included-diary-files):
23632 Just call diary-include-files.
23633 (diary-mark-entries): Reset diary-included-files on first call.
23634
23635 * calendar/diary-lib.el (diary-mark-entries)
23636 (diary-mark-included-diary-files):
23637 Visit included diary-files in temp buffers.
23638
23639 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23640 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23641 (f90-start-block-re, f90-imenu-generic-expression)
23642 (f90-looking-at-program-block-start, f90-no-block-limit):
23643 Add support for submodules.
23644
23645 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23646 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23647
23648 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23649
23650 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23651 buffer-file-type before setting its value, to avoid disastrous
23652 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23653
23654 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23655
23656 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23657
23658 * ses.el (ses-unload-function):
23659 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23660
23661 * proced.el (proced-unload-function):
23662 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23663
23664 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23665
23666 * server.el (server-create-window-system-frame): Add parameters arg.
23667 (server-process-filter): Doc fix. Handle frame-parameters.
23668
23669 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23670
23671 Fix bug#8730, bug#8781.
23672
23673 * loadhist.el (unload--set-major-mode): New function.
23674 (unload-feature): Use it.
23675
23676 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23677 (python-unload-function): New function.
23678
23679 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23680
23681 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23682
23683 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23684
23685 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23686 the candidates list.
23687
23688 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23689
23690 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23691
23692 2011-06-23 Richard Stallman <rms@gnu.org>
23693
23694 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23695 (rmail-variables): Set next-error-move-function.
23696 (rmail-what-message): Take argument POS.
23697 (rmail-next-error-move): New function.
23698
23699 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23700
23701 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23702 messages for adjacent non-terminals.
23703
23704 2011-06-23 Richard Stallman <rms@gnu.org>
23705
23706 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23707 (rmail-show-message-1): Preserve buffer modified flag.
23708 (rmail-start-mail): Don't specify use of rmail-mail-return;
23709 that's done by mail-bury now.
23710 (rmail-mail-return): Handle arg NEWBUF.
23711
23712 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23713
23714 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23715 SIZE is a number.
23716
23717 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23718
23719 * window.el (get-lru-window, get-mru-window)
23720 (get-largest-window): Never return a minibuffer window.
23721 (display-buffer-pop-up-window): Fix a bug that could lead to
23722 reusing the minibuffer window.
23723 (display-buffer): Pass original specifier argument to
23724 display-buffer-function instead of the normalized one.
23725 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23726
23727 2011-06-22 Leo Liu <sdl.web@gmail.com>
23728
23729 * minibuffer.el (completing-read-function)
23730 (completing-read-default): Move from minibuf.c.
23731
23732 2011-06-22 Richard Stallman <rms@gnu.org>
23733
23734 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23735 to Rmail even if not started by a special Rmail command.
23736
23737 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23738 Copy the buffer currently showing just one message.
23739
23740 2011-06-22 Roland Winkler <winkler@gnu.org>
23741
23742 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23743 (bibtex-clean-entry): First delete the old key so that a
23744 customized algorithm for generating the new key does not get
23745 confused by the old key.
23746 (bibtex-url): Obey regexp of first step.
23747 (bibtex-search-entries): Do not use add-to-list with local
23748 list-var.
23749
23750 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23751
23752 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23753 stored a user name, then query for the password first, instead of
23754 waiting for SMTP to give an error message and the trying again.
23755
23756 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23757
23758 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23759 BUFFER in call-process.
23760
23761 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23762
23763 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23764 QUIT twice.
23765 (smtpmail-try-auth-methods): Require user name and password from
23766 auth-source.
23767
23768 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23769
23770 * window.el (display-buffer-default-specifiers)
23771 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23772 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23773 (split-window): Normalize SIDE argument (Bug#8916).
23774
23775 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23776 (special-display-frame-alist, special-display-popup-frame):
23777 Remove duplicate declarations. These are now in window.el.
23778
23779 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23780
23781 * mail/smtpmail.el (smtpmail-via-smtp):
23782 Set :use-starttls-if-possible so that we always use STARTTLS if the
23783 server supports it. SMTP servers that support STARTTLS commonly
23784 require it.
23785
23786 * net/network-stream.el (network-stream-open-starttls): Support
23787 upgrading to STARTTLS always, even if we don't have built-in support.
23788 (open-network-stream): Add the :always-query-capabilities keyword.
23789
23790 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23791 upgrades with `open-network-stream', and rely solely on
23792 auth-source for all credentials. Big changes throughout the file,
23793 but in particular:
23794 (smtpmail-auth-credentials): Remove.
23795 (smtpmail-starttls-credentials): Remove.
23796 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23797 MAIL FROM, too.
23798
23799 * net/network-stream.el (network-stream-open-starttls):
23800 Provide support for client certificates both for external and built-in
23801 STARTTLS.
23802 (auth-source): Require.
23803 (open-network-stream): Document the :client-certificate keyword.
23804 (network-stream-certificate): Change cert-cert to cert and
23805 cert-key to key.
23806
23807 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23808
23809 * net/tramp-cache.el (top): Don't load the persistency file when
23810 "emacs -Q" has been called.
23811
23812 2011-06-21 Tim Harper <timcharper@gmail.com>
23813
23814 * term/ns-win.el (ns-initialize-window-system):
23815 Set application-specific `ApplePressAndHoldEnabled' system
23816 resource to NO as it is not yet supported by the NS port.
23817
23818 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23819
23820 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23821 (list-dynamic-libraries): ...not here.
23822
23823 2011-06-21 Leo Liu <sdl.web@gmail.com>
23824
23825 * subr.el (sha1): Implement sha1 using secure-hash.
23826
23827 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23828
23829 * window.el (display-buffer-alist): In default value do not
23830 enforce searching a window on any but the selected frame.
23831 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23832 (display-buffer-select-window): Remove function.
23833 (display-buffer-in-window): When a window on another frame gets
23834 reused, do not select it any more but just raise its frame if
23835 necessary (Bug#8851) and (Bug#8856).
23836 (display-buffer-normalize-options): Handle pop-up-frames related
23837 options more faithfully.
23838 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23839 window if it is on another frame.
23840 (display-buffer-alist, display-buffer-default-specifiers):
23841 Don't make new frame unsplittable by default.
23842 (display-buffer-normalize-argument): Fix doc-string typo and use
23843 'same-frame-other-window instead of 'other-window when associating
23844 with display-buffer-macro-specifiers.
23845
23846 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23847
23848 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23849 New functions.
23850 (5x5-mode-map, 5x5-mode-menu): Bind them.
23851 (5x5-draw-grid): Tweak the solver's rendering.
23852
23853 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23854
23855 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23856 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23857
23858 2011-06-21 Drew Adams <drew.adams@oracle.com>
23859
23860 * menu-bar.el: Use function variable instead of switch-to-buffer.
23861 (menu-bar-select-buffer-function): New variable.
23862 (menu-bar-update-buffers): Use it (bug#8876).
23863
23864 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23865
23866 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23867 variable's status.
23868
23869 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23870
23871 * x-dnd.el (x-dnd-version-from-flags)
23872 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23873 and long as number (Bug#8899).
23874 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23875
23876 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23877
23878 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23879 (completion-try-completion, completion-all-completions): Compute the
23880 metadata argument if it's missing; make it optional (bug#8795).
23881
23882 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23883 (widget-complete): Use new :completion-function property.
23884 (widget-completions-at-point): New function.
23885 (default): Use :completion-function instead of :complete.
23886 (widget-default-completions): Rename from widget-default-complete;
23887 Rewrite.
23888 (widget-string-complete, widget-file-complete, widget-color-complete):
23889 Remove functions.
23890 (file, symbol, function, variable, coding-system, color):
23891 * international/mule-cmds.el (default-input-method, charset)
23892 (language-info-custom-alist):
23893 * cus-edit.el (face): Use new property :completions.
23894
23895 * progmodes/pascal.el (pascal-completions-at-point): New function.
23896 (pascal-mode): Use it.
23897 (pascal-mode-map): Use completion-at-point.
23898 (pascal-toggle-completions): Make obsolete.
23899 (pascal-complete-word, pascal-show-completions):
23900 * progmodes/octave-mod.el (octave-complete-symbol):
23901 Redefine as obsolete alias.
23902 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23903 Signal absence of completion info for old Octave,
23904 (inferior-octave-complete): Redefine as obsolete alias.
23905 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23906 (meta-completions-at-point): Rename from meta-complete-symbol and
23907 adapt it for use on completion-at-point-functions.
23908 (meta-common-mode): Use it.
23909 (meta-looking-at-backward, meta-match-buffer): Remove.
23910 (meta-complete-symbol): Redefine as obsolete alias.
23911 (meta-common-mode-map): Use completion-at-point.
23912 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23913 (makefile-mode-map): Use completion-at-point.
23914 (makefile-completions-at-point): Rename from makefile-complete and
23915 adapt it for use on completion-at-point-functions.
23916 (makefile-mode): Use it.
23917 (makefile-complete): Redefine as obsolete alias.
23918
23919 2011-06-20 Deniz Dogan <deniz@dogan.se>
23920
23921 * net/rcirc.el: Delete trailing whitespaces once and for all.
23922
23923 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23924
23925 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23926
23927 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23928
23929 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23930
23931 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23932
23933 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23934
23935 * window.el (display-buffer-other-window-means-other-frame):
23936 Call display-buffer-normalize-alist.
23937 (display-buffer-normalize-specifiers-1): Rename to
23938 display-buffer-normalize-argument. New argument other-frame.
23939 Rewrite.
23940 (display-buffer-normalize-specifiers-2): Rename to
23941 display-buffer-normalize-options.
23942 (display-buffer-normalize-alist-1): New function.
23943 (display-buffer-normalize-specifiers-3): Rename to
23944 display-buffer-normalize-alist.
23945 Call display-buffer-normalize-alist-1.
23946 (display-buffer-normalize-options-inhibit): New variable.
23947 (display-buffer-normalize-specifiers): Rewrite calling
23948 display-buffer-normalize-alist,
23949 display-buffer-normalize-argument, and
23950 display-buffer-normalize-options. Don't call the latter if
23951 display-buffer-normalize-options-inhibit is non-nil.
23952 (frame-auto-delete): New option.
23953 (window-deletable-p): Use frame-auto-delete.
23954 (window-list-no-nils, window-state-ignored-parameters)
23955 (window-state-get-1, window-state-get, window-state-put-list)
23956 (window-state-put-1, window-state-put-2, window-state-put):
23957 New functions.
23958 (display-buffer-normalize-options): Move special-display-p group
23959 after pop-up-frame group (Bug#8851) and (Bug#8856).
23960
23961 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23962
23963 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23964 groups (Bug#8776).
23965 (rx-submatch-n): New function.
23966 (rx): Document it.
23967
23968 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23969 (Bug#8768).
23970
23971 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23972
23973 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23974
23975 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23976 anytime existing face settings are present (Bug#8889).
23977
23978 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23979 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23980 Remove unused argument.
23981
23982 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23983
23984 * window.el (display-buffer-default-specifiers):
23985 Remove pop-up-frame. Add pop-up-window-min-height,
23986 pop-up-window-min-width, and another reuse-window specifier
23987 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23988 (display-buffer-normalize-specifiers-2):
23989 Handle split-height-threshold and split-width-threshold also when
23990 pop-up-windows is unset. Add a reuse-window specifier for the
23991 case popping up a new window fails.
23992 (special-display-popup-frame): Remove double quoting.
23993 (display-buffer-normalize-specifiers-1): Fix thinko.
23994
23995 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23996
23997 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23998 according to comint-completion-addsuffix.
23999
24000 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24001 (pcomplete-suffix-list): Mark as obsolete.
24002 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24003 pcomplete-seen in the closure.
24004 (pcomplete-comint-setup): Setup completion-at-point as well.
24005 (pcomplete--entries): New function.
24006 (pcomplete--env-regexp): New var.
24007 (pcomplete-entries): Rewrite to work with partial-completion and
24008 without relying on pcomplete-suffix-list.
24009 (pcomplete-pare-list): Remove, unused.
24010
24011 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24012
24013 * window.el (display-buffer-alist): Set pop-up-window-min-height
24014 and pop-up-window-min-width in default value. Reported by
24015 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24016 other-window-means-other-frame.
24017 (display-buffer-macro-specifiers): Comment out entry for
24018 other-window specifier.
24019 (display-buffer-other-window-means-other-frame): New function.
24020 (display-buffer-normalize-specifiers-1): New arguments
24021 buffer-name and label. Treat other-window case specially.
24022 (display-buffer-normalize-specifiers-2): Treat other-window case
24023 specially.
24024 (display-buffer-normalize-specifiers-3): New function.
24025 (display-buffer-normalize-specifiers):
24026 Call display-buffer-normalize-specifiers-3.
24027
24028 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24029
24030 * window.el (same-window-p): Fix two typos introduced when
24031 adding with-no-warnings.
24032 (display-buffer-normalize-specifiers-1): Don't check
24033 pop-up-frames for 'unset initialization.
24034 (display-buffer-normalize-specifiers-2): Major rewrite using
24035 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24036 (pop-up-frames, display-buffer-reuse-frames)
24037 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24038 Suggested by David Engster <deng@randomsample.de>.
24039 (even-window-heights): Initialize to 'unset.
24040 (display-buffer-alist-set): Handle new 'unset initializations.
24041 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24042 other window case.
24043
24044 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24045
24046 * window.el (display-buffer-normalize-specifiers-1):
24047 Respect current value of pop-up-frames for most reasonable values of
24048 second argument of display-buffer (Bug#8865).
24049 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24050 (switch-to-buffer-other-window-same-frame)
24051 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24052 Adams (Bug#8875).
24053 (display-buffer): Don't check noninteractive when calling
24054 display-buffer-pop-up-frame.
24055 (display-buffer-pop-up-frame): Never pop up a frame in
24056 noninteractive mode (Bug#8857).
24057 (enlarge-window, shrink-window): Don't report an error when the
24058 window can't be resized as requested (Bug#8862).
24059
24060 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24061
24062 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24063
24064 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24065
24066 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24067
24068 2011-06-15 Alan Mackenzie <acm@muc.de>
24069
24070 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24071 for declarators, disable knr checking to speed up for normal files.
24072 2: Refactor, replacing a sequence of nested if forms by a cond form.
24073
24074 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24075
24076 * net/network-stream.el (open-network-stream): Add the keyword
24077 :always-query-capabilities for the case where you want to force a
24078 `plain' network connection, but the protocol still requires the
24079 capabilitiy command (i.e., SMTP and EHLO).
24080
24081 * subr.el (process-live-p): Rename from `process-alive-p' for
24082 consistency with other `-live-p' functions.
24083
24084 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24085
24086 * window.el (same-window-buffer-names, same-window-regexps)
24087 (special-display-frame-alist, special-display-popup-frame)
24088 (special-display-function, special-display-buffer-names)
24089 (special-display-regexps, pop-up-frame-alist)
24090 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24091 (pop-up-windows, split-window-preferred-function)
24092 (split-height-threshold, split-width-threshold, even-window-heights)
24093 (display-buffer-mark-dedicated): Don't encourage the use of
24094 display-buffer-alist from Elisp code.
24095
24096 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24097
24098 * progmodes/python.el (python-mode): Derive from prog-mode.
24099 * progmodes/ps-mode.el (ps-mode):
24100 * progmodes/mixal-mode.el (mixal-mode):
24101 * progmodes/cfengine.el (cfengine-mode):
24102 * progmodes/ld-script.el (ld-script-mode): Likewise.
24103
24104 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24105
24106 * window.el (display-buffer-alist): Trim default value to avoid
24107 popping up a new frame (Bug#8857) or reusing an arbitrary window
24108 on another frame.
24109 (display-buffer): Do not fall back on popping up a new frame in
24110 batch mode (Bug#8857).
24111
24112 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24113
24114 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24115 (custom-theme-summary): New function.
24116 (customize-themes): Use it.
24117
24118 2011-06-13 Glenn Morris <rgm@gnu.org>
24119
24120 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24121
24122 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24123
24124 * help.el (help-window): Remove variable.
24125 (help-window-point-marker, temp-buffer-max-height)
24126 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24127 (help-print-return-message): Don't set help-window.
24128 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24129 (help-window-setup-finish): Remove.
24130 (help-window-display-message, help-window-setup)
24131 (with-help-window): Major rewrite based on new
24132 display-buffer-window variable.
24133
24134 * help-mode.el (help-mode-finish): Remove help-window related
24135 code.
24136
24137 * view.el (view-exits-all-viewing-windows): Remove reference to
24138 view-return-to-alist in doc-string.
24139 (view-return-to-alist): Make obsolete.
24140 (view-buffer): Call pop-to-buffer-same-window and remove
24141 undo-window code.
24142 (view-buffer-other-window): Call pop-to-buffer-other-window and
24143 simplify code. Ignore second argument.
24144 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24145 simplify code. Ignore second argument.
24146 (view-return-to-alist-update): Make obsolete.
24147 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24148 Rewrite using quit-restore window parameters.
24149 (view-mode-exit): Rename second argument to EXIT-ONLY.
24150 Rewrite using quit-restore-window.
24151 (View-exit, View-exit-and-edit, View-leave, View-quit)
24152 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24153 appropriate arguments.
24154 (view-end-message): Use quit-restore window parameter.
24155
24156 * window.el (display-buffer-function): Rewrite doc-string.
24157 (display-buffer-window, display-buffer-alist): New variables.
24158 (display-buffer-split-specifiers)
24159 (display-buffer-side-specifiers)
24160 (display-buffer-macro-specifiers): New constants.
24161 (display-buffer-even-window-sizes, display-buffer-set-height)
24162 (display-buffer-set-width, display-buffer-select-window)
24163 (display-buffer-in-window, display-buffer-reuse-window)
24164 (display-buffer-split-window-1, display-buffer-split-window)
24165 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24166 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24167 (display-buffer-in-side-window, normalize-buffer-to-display)
24168 (display-buffer-normalize-specifiers-1)
24169 (display-buffer-normalize-specifiers-2)
24170 (display-buffer-normalize-specifiers, display-buffer-frame):
24171 New functions.
24172 (display-buffer): Major rewrite.
24173 (display-buffer-other-window, display-buffer-other-frame)
24174 (pop-to-buffer, switch-to-buffer-other-window)
24175 (switch-to-buffer-other-frame): Rewrite.
24176 (display-buffer-same-window, display-buffer-same-frame)
24177 (display-buffer-same-frame-other-window)
24178 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24179 (pop-to-buffer-other-window)
24180 (pop-to-buffer-same-frame-other-window)
24181 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24182 (switch-to-buffer-other-window-same-frame): New functions.
24183 (same-window-p, special-display-p): Rewrite disabling warnings.
24184 Make obsolete.
24185 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24186 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24187 Make obsolete
24188 (same-window-buffer-names, same-window-regexps)
24189 (special-display-frame-alist, special-display-popup-frame)
24190 (special-display-function, special-display-buffer-names)
24191 (special-display-regexps, pop-up-frame-alist)
24192 (pop-up-frame-function, split-window-preferred-function)
24193 (split-height-threshold, split-width-threshold)
24194 (even-window-heights): Make obsolete.
24195
24196 2011-06-12 Glenn Morris <rgm@gnu.org>
24197
24198 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24199 Misc simplifications.
24200
24201 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24202
24203 * window.el (window-safely-shrinkable-p): Restore function which
24204 was inadvertently removed in change from 2011-06-11. Declare as
24205 obsolete.
24206
24207 * calendar/calendar.el (calendar-generate-window):
24208 Use window-iso-combined-p instead of combination of one-window-p and
24209 window-safely-shrinkable-p.
24210
24211 2011-06-12 Glenn Morris <rgm@gnu.org>
24212
24213 * progmodes/fortran.el (fortran-mode-syntax-table):
24214 * progmodes/f90.el (f90-mode-syntax-table):
24215 Set % to punctuation. (Bug#8820)
24216 (f90-find-tag-default): Remove, no longer needed.
24217
24218 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24219
24220 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24221
24222 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24223
24224 * image.el (image-animated-p): Return animation delay in seconds.
24225 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24226 (image-animate-timeout): Remove DELAY argument. Don't assume
24227 every subimage has the same delay; get it from image-animated-p.
24228 (image-animate): Caller changed.
24229
24230 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24231
24232 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24233 to ignored backtrace functions.
24234
24235 2011-06-11 Glenn Morris <rgm@gnu.org>
24236
24237 * calendar/appt.el (appt-disp-window-function): Doc fix.
24238 (appt-check): Handle overlapping appointments. (Bug#8337)
24239
24240 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24241
24242 * window.el (window-tree-1, window-tree): New functions, moving
24243 the latter to window.el.
24244 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24245 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24246 (bw-refresh-edges): Remove.
24247 (balance-windows-1, balance-windows-2): New functions.
24248 (balance-windows): Rewrite in terms of window tree functions,
24249 balance-windows-1 and balance-windows-2.
24250 (bw-adjust-window): Remove.
24251 (balance-windows-area-adjust): New function with functionality of
24252 bw-adjust-window but using resize-window.
24253 (set-window-text-height): Rewrite doc-string.
24254 Use normalize-live-window and resize-window.
24255 (enlarge-window-horizontally, shrink-window-horizontally):
24256 Rename argument to DELTA.
24257 (window-buffer-height): New function.
24258 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24259 Rewrite using new window resize routines.
24260 (kill-buffer-and-window, mouse-autoselect-window-select):
24261 Use ignore-errors instead of condition-case.
24262 (quit-window): Call delete-frame instead of delete-windows-on
24263 for the only buffer on frame.
24264
24265 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24266
24267 * loadup.el (top-level): Load window before files for the sake
24268 of replace-buffer-in-windows.
24269
24270 * files.el (read-buffer-to-switch)
24271 (switch-to-buffer-other-window)
24272 (switch-to-buffer-other-frame, display-buffer-other-frame):
24273 Move to window.el.
24274
24275 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24276 (previous-buffer): Move to window.el.
24277
24278 * bindings.el (unbury-buffer): Move to window.el.
24279
24280 * window.el (delete-other-windows-vertically): Move after
24281 definition of delete-other-windows.
24282 (other-window, delete-windows-on, replace-buffer-in-windows):
24283 Move here from window.c.
24284 (record-window-buffer, unrecord-window-buffer)
24285 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24286 (switch-to-next-buffer): New functions.
24287 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24288 from simple.el. Call switch-to-next-buffer.
24289 (previous-buffer): Move here from simple.el.
24290 Call switch-to-prev-buffer.
24291 (bury-buffer): Move here from buffer.c. Switch to previous
24292 buffer when window cannot be deleted.
24293 (unbury-buffer): Move here from bindings.el.
24294 (ctl-x-map): Move binding for other-window from window.c to
24295 here.
24296 (read-buffer-to-switch, switch-to-buffer-other-window)
24297 (switch-to-buffer-other-frame): Move here from files.el.
24298 (normalize-buffer-to-switch-to): New functions.
24299 (switch-to-buffer): Move here from buffer.c.
24300 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24301
24302 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24303
24304 * window.el (window-min-height, window-min-width): Move here
24305 from window.c. Add defcustoms and rewrite doc-strings.
24306 (resize-mini-window, resize-window): New functions.
24307 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24308 Move here from window.c.
24309 (maximize-window, minimize-window): New functions.
24310 (delete-window, delete-other-windows, split-window): Move here
24311 from window.c.
24312 (window-split-min-size): New function.
24313 (split-window-keep-point): Mention split-window-above-each-other
24314 instead of split-window-vertically.
24315 (split-window-above-each-other, split-window-vertically):
24316 Rename split-window-vertically to split-window-above-each-other
24317 and provide defalias for old definition.
24318 (split-window-side-by-side, split-window-horizontally):
24319 Rename split-window-horizontally to split-window-side-by-side
24320 and provide defalias for the old definition.
24321 (ctl-x-map): Move bindings for delete-window,
24322 delete-other-windows and enlarge-window here from window.c.
24323 Replace bindings for split-window-vertically and
24324 split-window-horizontally by bindings for
24325 split-window-above-each-other and split-window-side-by-side.
24326
24327 * cus-start.el (all): Remove entries for window-min-height and
24328 window-min-width. Add entries for window-splits and
24329 window-nest.
24330
24331 2011-06-09 Glenn Morris <rgm@gnu.org>
24332
24333 * calendar/appt.el (appt-mode-line): New function.
24334 (appt-check, appt-disp-window): Use it.
24335
24336 * files.el (hack-one-local-variable-eval-safep):
24337 Allow minor-modes with explicit +/-1 arguments.
24338
24339 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24340
24341 * term/xterm.el (xterm): Add defgroup.
24342 (xterm-extra-capabilities): Add defcustom to supply known xterm
24343 capabilities, skip querying them, or query them (default).
24344 (terminal-init-xterm): Use it.
24345 (terminal-init-xterm-modify-other-keys): New function to set up
24346 modifyOtherKeys support to simplify `terminal-init-xterm'.
24347
24348 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24349
24350 * window.el (resize-window-reset, resize-window-reset-1)
24351 (resize-subwindows-skip-p, resize-subwindows-normal)
24352 (resize-subwindows, resize-other-windows, resize-this-window)
24353 (resize-root-window, resize-root-window-vertically)
24354 (window-deletable-p, window-or-subwindow-p)
24355 (frame-root-window-p): New functions.
24356
24357 2011-06-09 Glenn Morris <rgm@gnu.org>
24358
24359 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24360 (ange-ftp-get-files): Use it.
24361
24362 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24363
24364 * mail/sendmail.el (mail-recover-1, mail-recover):
24365 * files.el (recover-file, recover-session):
24366 Handle dired-listing-switches not being just a single short option.
24367
24368 2011-06-09 Glenn Morris <rgm@gnu.org>
24369
24370 * calendar/appt.el (appt-display-message, appt-disp-window):
24371 Handle lists of appointments.
24372
24373 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24374
24375 * window.el (one-window-p): Move down in code.
24376 Rewrite doc-string.
24377 (window-current-scroll-bars): Rewrite doc-string.
24378 Normalize live window argument.
24379 (walk-windows, get-window-with-predicate, count-windows):
24380 Rewrite doc-string. Use window-list-1.
24381 (window-in-direction-2, window-in-direction, get-mru-window):
24382 New functions.
24383
24384 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24385
24386 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24387 Doc fix (Bug#8713).
24388
24389 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24390
24391 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24392
24393 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24394
24395 * loadhist.el (unload-feature-special-hooks):
24396 Add `comint-output-filter-functions'.
24397
24398 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24399
24400 * calendar/appt.el (appt-check): Move some initializations into the let.
24401
24402 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24403
24404 * window.el (window-height): Defalias to window-total-height.
24405 (window-width): Defalias to window-body-width.
24406
24407 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24408
24409 * image-mode.el (image-toggle-animation): New command.
24410 (image-mode-map): Bind it to RET.
24411 (image-mode): Update message.
24412 (image-toggle-display-image): Avoid a spurious cache flush.
24413 (image-transform-rotation): Doc fix.
24414 (image-transform-properties): Return quickly in the normal case.
24415 (image-animate-loop): Rename from image-animate-max-time.
24416
24417 * image.el (image-animate-max-time): Move to image-mode.el.
24418 (create-animated-image): Remove unnecessary function.
24419 (image-animate): Rename from image-animate-start. New arg.
24420 (image-animate-stop): Remove; just use image-animate-timer.
24421 (image-animate-timer): Use car-safe.
24422 (image-animate-timeout): Rename argument.
24423
24424 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24425
24426 * window.el (get-lru-window, get-largest-window): Move here from
24427 window.c. Rename first argument to ALL-FRAMES.
24428 Rephrase doc-strings.
24429 (get-buffer-window-list): Rewrite using window-list-1.
24430 Rephrase doc-string.
24431 (window-safe-min-height, window-safe-min-width): New constants.
24432 (window-size-ignore, window-min-size, window-min-size-1)
24433 (window-sizable, window-sizable-p, window-size-fixed-1)
24434 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24435 (window-max-delta-1, window-max-delta, window-resizable)
24436 (window-resizable-p, window-total-height, window-total-width)
24437 (window-body-width): New functions.
24438 (window-full-height-p, window-full-width-p): Rewrite using
24439 window-total-size.
24440 (window-body-height): Rewrite using window-body-size.
24441
24442 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24443
24444 * window.el (window-right, window-left, window-child)
24445 (window-child-count, window-last-child, window-any-p)
24446 (normalize-live-buffer, normalize-live-frame)
24447 (normalize-any-window, normalize-live-window)
24448 (window-iso-combination-p, window-iso-combined-p)
24449 (window-iso-combinations)
24450 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24451 (windows-with-parameter, window-with-parameter)
24452 (window-atom-root, make-window-atom, window-atom-check-1)
24453 (window-atom-check, window-side-check, window-check):
24454 New functions.
24455 (ignore-window-parameters, window-sides, window-sides-vertical)
24456 (window-sides-slots): New variables.
24457 (window-size-fixed): Move down in code. Minor doc-string fix.
24458
24459 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24460
24461 * comint.el (comint-dynamic-complete-as-filename)
24462 (comint-dynamic-complete-filename): Correctly call
24463 completion-in-region.
24464
24465 2011-06-05 Deniz Dogan <deniz@dogan.se>
24466
24467 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24468 in last change.
24469
24470 2011-06-05 Deniz Dogan <deniz@dogan.se>
24471
24472 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24473 (rcirc): Use it to prompt for encryption.
24474
24475 2011-06-05 Roland Winkler <winkler@gnu.org>
24476
24477 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24478 (bibtex-search-entries): New command bound to C-c C-a.
24479 (bibtex-display-entries): New function.
24480
24481 2011-06-05 Roland Winkler <winkler@gnu.org>
24482
24483 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24484 (bibtex-insert-kill): After yanking insert newline if necessary.
24485 (bibtex-initialize): Call bibtex-string-files-init only once.
24486 (bibtex-mode): Do not call easy-menu-add.
24487 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24488 (bibtex-yank): Set arg properly if nil.
24489
24490 2011-06-05 Roland Winkler <winkler@gnu.org>
24491
24492 * textmodes/bibtex.el (bibtex-search-entry-globally):
24493 New variable.
24494 (bibtex-search-entry): Use it.
24495
24496 2011-06-05 Roland Winkler <winkler@gnu.org>
24497
24498 * textmodes/bibtex.el (bibtex-entry-format): New option
24499 sort-fields.
24500 (bibtex-format-entry, bibtex-reformat): Honor this option.
24501 (bibtex-parse-entry): Return fields in proper order.
24502
24503 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24504
24505 * doc-view.el (doc-view-remove-if): Move computation of result out
24506 of `dolist' to silence misleading lexical-binding warning.
24507
24508 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24509
24510 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24511 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24512
24513 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24514
24515 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24516 "SunOS 5.10".
24517
24518 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24519
24520 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24521 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24522 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24523 (tramp-parse-putty):
24524 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24525 (tramp-completion-function-alist-ssh)
24526 (tramp-completion-function-alist-telnet)
24527 (tramp-completion-function-alist-su)
24528 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24529 cookie.
24530
24531 * net/tramp-ftp.el:
24532 * net/tramp-sh.el:
24533 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24534 load "tramp.el" `tramp-set-completion-function'.
24535
24536 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24537
24538 * shell.el: Require and use pcomplete.
24539 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24540 (shell-completion-vars): Set pcomplete-default-completion-function.
24541
24542 2011-06-04 Deniz Dogan <deniz@dogan.se>
24543
24544 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24545 `memq' (Bug#8799).
24546
24547 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24548
24549 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24550
24551 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24552
24553 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24554 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24555 * vc/log-view.el (log-view-beginning-of-defun):
24556 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24557 (smerge-refine-forward, smerge-refine-chopup-region):
24558 Silence warning for unused `dotimes' counter variables.
24559
24560 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24561
24562 * net/tramp.el (tramp-with-progress-reporter): Rename from
24563 with-progress-reporter. Use `declare'.
24564 * net/tramp-smb.el:
24565 * net/tramp-sh.el:
24566 * net/tramp-gvfs.el: Update all uses.
24567
24568 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24569
24570 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24571 buffer isn't killed before making it current.
24572
24573 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24574
24575 Silence various byte-compiler warnings.
24576 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24577 `access-type' and new obsolescence format.
24578 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24579 new format.
24580 (byte-compile-check-variable): New `access-type' argument.
24581 Only warn if the access-type is obsolete.
24582 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24583 (byte-compile-variable-set): Adjust callers.
24584 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24585 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24586 setting it as obsolete.
24587 * simple.el (minibuffer-completing-symbol):
24588 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24589 access as obsolete.
24590 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24591 obsolete yet.
24592 * international/quail.el (quail-mouse-choose-completion): Remove unused
24593 code referring to obsolete var.
24594 (quail-choose-completion-string): Remove.
24595 * server.el (server-clients-with, server-kill-buffer-query-function)
24596 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24597 * proced.el (proced-send-signal):
24598 * emacs-lisp/lisp.el (lisp-complete-symbol):
24599 Replace completion-annotate-function with completion-extra-properties.
24600
24601 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24602
24603 * simple.el (goto-line): Use read-number.
24604 (overriding-map-is-bound): Remove.
24605 (saved-overriding-map): Change default.
24606 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24607 Take the map as argument.
24608 (universal-argument, negative-argument, digit-argument): Use it.
24609 (restore-overriding-map): Adjust.
24610 (do-auto-fill): Use fill-forward-paragraph.
24611 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24612
24613 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24614 (minibuffer-inactive-mode): New major mode.
24615 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24616 the *Messages* buffer" hack.
24617 (mouse-popup-menubar): Don't burp if the event is a normal key.
24618
24619 Miscellaneous tweaks.
24620 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24621 lexical scoping as in subr.el's dolist and dotimes.
24622 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24623 Silence compiler warning.
24624 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24625 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24626 * international/ccl.el (ccl-compile): Trivial simplification.
24627 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24628 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24629 `printflag' argument.
24630 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24631 Purecopy the whole obsolescence data.
24632
24633 2011-06-01 Leo Liu <sdl.web@gmail.com>
24634
24635 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24636 improve doc-string as suggested by Marco Pessotto
24637 <melmothx@gmail.com>.
24638 (rcirc-print): Fix last change.
24639
24640 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24641
24642 * minibuffer.el (complete-with-action): Return nil for the metadata and
24643 boundaries of non-functional tables.
24644 (completion-table-dynamic): Return nil for the metadata.
24645 (completion-table-with-terminator): Add default case, using
24646 complete-with-action.
24647 (completion--metadata): New function.
24648 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24649 to try and avoid pathological performance problems.
24650 (completion--embedded-envvar-table): Return `category' metadata.
24651
24652 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24653
24654 * subr.el (process-alive-p): New tiny convenience function.
24655
24656 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24657
24658 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24659 content but also its previous major mode.
24660
24661 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24662
24663 * emacs-lisp/debug.el (debug): Restore the previous content of the
24664 *Backtrace* buffer when we exit with C-M-c.
24665
24666 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24667
24668 * minibuffer.el: Add metadata method to completion tables.
24669 (completion-category-overrides): New defcustom.
24670 (completion-metadata, completion--field-metadata)
24671 (completion-metadata-get, completion--styles)
24672 (completion--cycle-threshold): New functions.
24673 (completion-try-completion, completion-all-completions):
24674 Add `metadata' argument to choose completion-styles.
24675 (completion--do-completion): Use metadata to choose cycling.
24676 (completion-all-sorted-completions): Use metadata for sorting.
24677 Remove :completion-cycle-penalty which is not needed any more.
24678 (completion--try-word-completion): Add `metadata' argument.
24679 (minibuffer-completion-help): Check metadata for annotation function
24680 and sorting.
24681 (completion-file-name-table): Return `category' metadata.
24682 (minibuffer-completing-file-name): Make obsolete.
24683 * simple.el (minibuffer-completing-symbol): Make obsolete.
24684 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24685 completion-try-completion.
24686
24687 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24688
24689 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24690
24691 2011-05-30 Leo Liu <sdl.web@gmail.com>
24692
24693 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24694 (rcirc-print): Decode all incoming messages (bug#8744).
24695 (rcirc-decode-coding-system): Allow value nil for automatic coding
24696 system detection.
24697
24698 2011-06-01 Glenn Morris <rgm@gnu.org>
24699
24700 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24701
24702 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24703
24704 * image.el (image-animate-max-time): Allow nil and t values.
24705 Default to nil.
24706 (create-animated-image): Doc fix.
24707 (image-animate-start): Remove second arg; just use
24708 image-animate-max-time.
24709 (image-animate-timeout): Doc fix. Args changed.
24710
24711 * image-mode.el (image-toggle-display-image): Ensure that the
24712 image spec passed to the animate timer is the same object as in
24713 the buffer's display property (Bug#6981).
24714 (image-transform-properties): Doc fix.
24715
24716 * image.el (image-animate-max-time): Default to nil.
24717
24718 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24719
24720 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24721 entire buffer list (Bug#8184).
24722
24723 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24724
24725 * image.el (imagemagick-types-inhibit)
24726 (imagemagick-register-types): Doc fix.
24727
24728 2011-05-29 Deniz Dogan <deniz@dogan.se>
24729
24730 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24731 default.
24732
24733 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24734
24735 * select.el: Don't perform clipboard-manager saving in hooks;
24736 leave the hooks empty.
24737
24738 2011-05-28 Leo Liu <sdl.web@gmail.com>
24739
24740 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24741 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24742 (occur-edit-mode): New major mode (Bug#8463).
24743 (occur-after-change-function): New function.
24744 (occur-engine): Give Occur tags a read-only property.
24745
24746 2011-05-28 Kevin Ryde <user42@zip.com.au>
24747
24748 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24749
24750 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24751
24752 * bindings.el (help-echo): Make the initial non-indicator dash
24753 empty on graphical terminals (Bug#7295).
24754
24755 * files.el (auto-mode-alist): Move config rule after the
24756 in-stripping one (Bug#8547).
24757
24758 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24759
24760 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24761 setting (Bug#8740).
24762
24763 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24764
24765 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24766 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24767 (Bug#8539).
24768
24769 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24770
24771 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24772
24773 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24774
24775 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24776 (hs-hide-block-at-point, hs-find-block-beginning)
24777 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24778 (Bug#8279).
24779
24780 2011-05-28 Glenn Morris <rgm@gnu.org>
24781
24782 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24783
24784 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24785
24786 * help-fns.el (describe-function-1): If the function is a derived
24787 major mode, print the parent mode.
24788
24789 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24790 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24791
24792 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24793
24794 * minibuffer.el (completion--capf-wrapper): Check applicability before
24795 returning non-nil for non-exclusive completion data.
24796 * progmodes/etags.el (tags-completion-at-point-function):
24797 * info-look.el (info-lookup-completions-at-point): Mark as
24798 non-exclusive.
24799 (info-complete): Adjust accordingly.
24800
24801 * info-look.el: Convert to lexical-binding and completion-at-point.
24802 (info-lookup-completions-at-point): New function.
24803 (info-complete): Use it and completion-in-region.
24804
24805 2011-05-28 Drew Adams <drew.adams@oracle.com>
24806
24807 * isearch.el: Let M-e start with point at the first mismatched char.
24808 (isearch-fail-pos): New function.
24809 (isearch-edit-string): Use it.
24810
24811 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24812
24813 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24814
24815 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24816
24817 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24818 traversal functions for avl-trees.
24819 (avl-tree--stack): New struct.
24820 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24821 (avl-tree-enter): Add optional `updatefun' arg.
24822 (avl-tree--do-enter): Add optional `updatefun' arg.
24823 Change return value.
24824 (avl-tree-delete): Add optional `test' and `nilflag' args.
24825 (avl-tree--do-delete): Add `test' and `nilflag' args.
24826 Change return value.
24827 (avl-tree-member): Add optional `nilflag'
24828 (avl-tree-member-p): New function.
24829 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24830 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24831 (avl-tree-stack-empty-p): New functions.
24832
24833 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24834 avl-tree--del-balance1 and make it work both ways.
24835 (avl-tree--del-balance2): Remove.
24836 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24837 make it work both ways.
24838 (avl-tree--enter-balance2): Remove.
24839 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24840 New macros.
24841 (avl-tree--mapc, avl-tree-map): Add direction argument.
24842
24843 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24844
24845 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24846
24847 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24848
24849 * select.el: Support clipboard managers with built-in function
24850 x-clipboard-manager-save, via delete-frame-functions and
24851 kill-emacs-hook.
24852 (xselect-convert-to-targets): Add MULTIPLE target to list.
24853 (xselect-convert-to-save-targets): New function.
24854
24855 2011-05-27 Kenichi Handa <handa@m17n.org>
24856
24857 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24858 let-binding rfc2047-encode-encoded-words to nil.
24859
24860 2011-05-27 Glenn Morris <rgm@gnu.org>
24861
24862 * mail/emacsbug.el: Don't require url-util.
24863
24864 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24865
24866 * files.el (set-auto-mode):
24867 Also respect mode: entries at the end of the file. (Bug#8586)
24868
24869 2011-05-26 Glenn Morris <rgm@gnu.org>
24870
24871 * files.el (hack-local-variables-prop-line, hack-local-variables):
24872 Downcase mode names, as seems to be traditional.
24873 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24874
24875 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24876 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24877
24878 2011-05-25 Julien Danjou <julien@danjou.info>
24879
24880 * textmodes/rst.el (rst-define-level-faces): Do not define face
24881 symbol if it is already defined.
24882
24883 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24884
24885 * play/5x5.el (5x5-new-game, 5x5-randomize):
24886 Reset 5x5-solver-output to nil when a new grid is cast.
24887 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24888 these debugging traces, as defmacro breaks the compiled code.
24889
24890 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24891
24892 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24893
24894 2011-05-24 Leo Liu <sdl.web@gmail.com>
24895
24896 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24897 (vc-bzr-sha1): Adapt.
24898
24899 * sha1.el: Remove. Function `sha1' is now builtin.
24900
24901 * bindings.el: Provide sha1 feature.
24902
24903 2011-05-24 Kenichi Handa <handa@m17n.org>
24904
24905 * mail/sendmail.el: Require `rfc2047'.
24906 (mail-insert-from-field): Do not perform RFC2047 encoding.
24907 (mail-encode-header): New function.
24908 (sendmail-send-it): Set buffer-file-coding-system of the work
24909 buffer to the return value of select-message-coding-system.
24910 Call mail-encode-header.
24911
24912 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24913
24914 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24915
24916 * mail/supercite.el (sc-default-cite-frame):
24917 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24918
24919 2011-05-24 Glenn Morris <rgm@gnu.org>
24920
24921 * progmodes/python.el (brm-menu): Declare.
24922
24923 * emulation/viper.el (viper-set-hooks): Declare.
24924
24925 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24926 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24927 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24928 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24929 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24930 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24931
24932 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24933
24934 Add an :exit-function for completion-at-point.
24935
24936 * minibuffer.el (completion--done): New fun.
24937 (completion--do-completion): Use it. New arg `expect-exact'.
24938 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24939 since completion--do-completion does it for us now.
24940 (minibuffer-force-complete): Use completion--done and
24941 completion--replace. Handle sole-completion case with more care.
24942 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24943 (completion-extra-properties): New var.
24944 (completion-annotate-function): Make obsolete.
24945 (minibuffer-completion-help): Adjust accordingly.
24946 Use completion-list-insert-choice-function.
24947 (completion-at-point, completion-help-at-point):
24948 Bind completion-extra-properties.
24949 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24950 * simple.el (completion-list-insert-choice-function): New var.
24951 (completion-setup-function): Preserve it.
24952 (choose-completion): Pay attention to it, shuffle the code a bit.
24953 (choose-completion-string): New arg `insert-function'.
24954
24955 * textmodes/bibtex.el: Convert to lexical binding.
24956 (bibtex-mode-map): Use completion-at-point.
24957 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24958 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24959 (bibtex-complete): Define as obsolete alias.
24960 (bibtex-complete-internal): Remove.
24961 (bibtex-format-entry): Remove unused sub-group in regexp.
24962 * shell.el (shell--command-completion-data)
24963 (shell-environment-variable-completion):
24964 * pcomplete.el (pcomplete-completions-at-point):
24965 * comint.el (comint--complete-file-name-data): Use :exit-function
24966 instead of completion-table-with-terminator so it also works for
24967 choose-completion.
24968
24969 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24970
24971 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24972
24973 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24974 (bug#8710).
24975
24976 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24977
24978 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24979
24980 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24981 customization variable and implement: If non-nil, auto-fill will
24982 be inhibited while on topic's header line.
24983
24984 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24985
24986 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24987 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24988 always have a solution in grid size = 5 cases.
24989 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24990 (5x5-solver-output, 5x5-log-buffer): New vars.
24991 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24992 Make these variables buffer local to achieve 5x5 multi-session-ness.
24993 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24994 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24995 (5x5-solve-suggest): New funs.
24996 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24997 randomize a grid so that we ensure that there is always a solution.
24998 (5x5-make-random-grid): Allow other movement than flipping.
24999
25000 2011-05-23 Kevin Ryde <user42@zip.com.au>
25001
25002 * emacs-lisp/advice.el (ad-read-advised-function):
25003 Use `function-called-at-point' as the default, if it has
25004 advice and passes PREDICATE.
25005
25006 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25007
25008 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25009 byte-compile-lambda if it's actually a lambda.
25010
25011 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25012 Fix function quoting. Use backquote better.
25013
25014 2011-05-22 Yuanle Song <sylecn@gmail.com>
25015
25016 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25017 matching (Bug#8516).
25018
25019 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25020
25021 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25022 different face (Bug#8178).
25023
25024 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25025
25026 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25027 defface (Bug#8144).
25028
25029 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25030
25031 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25032 funcall as well (bug#8712). Warn when performing those conversions.
25033 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25034
25035 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25036
25037 2011-05-22 Glenn Morris <rgm@gnu.org>
25038
25039 * files.el (hack-local-variables-prop-line): Small simplifications.
25040 (hack-local-variables, hack-local-variables-prop-line):
25041 If MODE-ONLY, return the mode, rather than just `t'.
25042
25043 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25044
25045 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25046
25047 2011-05-21 Glenn Morris <rgm@gnu.org>
25048
25049 * files.el (hack-local-variables-prop-line, hack-local-variables):
25050 If only interested in the mode, don't bother doing the other stuff.
25051
25052 * image-mode.el (image-after-revert-hook):
25053 Redraw all frames on which the image is visible. (Bug#8567)
25054
25055 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25056
25057 * wid-edit.el (widget-checklist-match-inline):
25058 Fix 2011-04-19 change. (Bug#8649)
25059
25060 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25061
25062 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25063 Also allow singlespace after single-letter capitals followed by a dot.
25064
25065 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25066 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25067
25068 2011-05-20 Nix <nix@esperi.org.uk>
25069
25070 * files.el (basic-save-buffer-2):
25071 Fix handling of break-hardlink-on-save with non-existent files.
25072
25073 2011-05-19 Deniz Dogan <deniz@dogan.se>
25074
25075 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25076 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25077
25078 2011-05-19 Glenn Morris <rgm@gnu.org>
25079
25080 * progmodes/f90.el (f90-type-def-re):
25081 Handle "type, bind(c)". (Bug#8691)
25082
25083 * emacs-lisp/autoload.el (batch-update-autoloads):
25084 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25085
25086 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25087
25088 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25089 property for the correct connection in case of multihops.
25090
25091 2011-05-18 Glenn Morris <rgm@gnu.org>
25092
25093 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25094 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25095
25096 Rationalize calendar handling of day and month abbrev-arrays.
25097 * calendar/calendar.el (calendar-customized-p): New function.
25098 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25099 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25100 Add :set function.
25101 (calendar-abbrev-length, calendar-day-abbrev-array)
25102 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25103 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25104 Elements may no longer be nil.
25105 (calendar-day-name, calendar-month-name):
25106 Update for changed nature of abbrev arrays.
25107 * calendar/diary-lib.el (diary-name-pattern):
25108 Update for changed nature of abbrev arrays.
25109 (diary-mark-entries-1): Update calendar-make-alist calls.
25110 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25111 * calendar/cal-html.el (cal-html-day-abbrev-array):
25112 Simply inherit from calendar-day-abbrev-array.
25113
25114 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25115
25116 * progmodes/grep.el (grep-mode): Disable default
25117 compilation-directory-matcher setting (bug#8684).
25118
25119 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25120
25121 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25122 instead of "head" and "tail". There were problems with SunOS 5.9,
25123 and it performs better.
25124
25125 2011-05-17 Glenn Morris <rgm@gnu.org>
25126
25127 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25128
25129 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25130 Replace obsolete function.
25131
25132 * shell.el (pcomplete-parse-arguments-function): Declare.
25133
25134 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25135 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25136 (appt-check): Doc fixes.
25137 (appt-disp-window-function, appt-delete-window-function):
25138 Remove needless special case in custom :type.
25139 (appt-display-count): Default to 0, not nil.
25140 (appt-check): Reset appt-display-count to 0, not nil.
25141
25142 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25143
25144 * progmodes/python.el (python-font-lock-keywords):
25145 Add the Python 3.X keyword "nonlocal" (bug#8639).
25146
25147 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25148
25149 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25150
25151 2011-05-16 Kevin Ryde <user42@zip.com.au>
25152
25153 * info-look.el (makefile-automake-mode): New setups, looking in
25154 automake manual, then makefile-mode.
25155 (makefile-mode): Remove automake manual, have it just in
25156 makefile-automake-mode since there's various things different or
25157 not relevant to plain make.
25158 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25159 believe a hypothetical automake-mode would go to makefile-mode,
25160 not the other way around.
25161
25162 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25163
25164 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25165 hunk-end tags (Bug#8672).
25166
25167 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25168 vc-annotate-show-diff-revision-at-line (Bug#8671).
25169
25170 2011-05-14 Glenn Morris <rgm@gnu.org>
25171
25172 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25173 in the middle of an existing one with multiple authors. (Bug#8645)
25174 (change-log-font-lock-keywords): Also handle multiple author lines
25175 with leading tabs. (Bug#8644)
25176
25177 * calendar/appt.el (appt-check): Rename some local variables.
25178 Some simplification/reordering.
25179
25180 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25181 (feedmail-sendmail-f-doesnt-sell-me-out)
25182 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25183 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25184 (feedmail-queue-runner-message-sender): Set :version.
25185 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25186 (bbdb-dwim-net-address, vm-mail): Declare.
25187 (feedmail-binmail-gnulinuxish-template):
25188 Rename from feedmail-binmail-linuxish-template.
25189 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25190 Use insert-buffer-substring.
25191
25192 2011-05-14 Bill Carpenter <bill@carpenter.org>
25193
25194 * mail/feedmail.el (feedmail-patch-level): Increase.
25195 (feedmail-debug): New custom group.
25196 (feedmail-confirm-outgoing-timeout)
25197 (feedmail-sendmail-f-doesnt-sell-me-out)
25198 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25199 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25200 (feedmail-sender-line, feedmail-from-line)
25201 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25202 (feedmail-spray-this-address)
25203 (feedmail-spray-address-fiddle-plex-list)
25204 (feedmail-queue-use-send-time-for-date)
25205 (feedmail-queue-use-send-time-for-message-id)
25206 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25207 (feedmail-buffer-eating-function):
25208 Doc fixes.
25209 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25210 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25211 (feedmail-message-action-scroll-down): New functions.
25212 (feedmail-queue-directory, feedmail-queue-draft-directory):
25213 Use expand-file-name.
25214 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25215 Remove C-v help entry.
25216 (feedmail-queue-buffer-file-name): New variable.
25217 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25218 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25219 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25220 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25221 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25222 (feedmail-message-action-toggle-spray)
25223 (feedmail-run-the-queue-no-prompts)
25224 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25225 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25226 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25227 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25228 (feedmail-envelope-deducer, feedmail-fiddle-from)
25229 (feedmail-fiddle-sender, feedmail-default-date-generator)
25230 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25231 (feedmail-fiddle-spray-address)
25232 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25233 (feedmail-fiddle-list-of-fiddle-plexes)
25234 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25235 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25236 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25237 Change default. Doc fix.
25238 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25239 (feedmail-binmail-linuxish-template): New constant.
25240 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25241 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25242 (feedmail-send-it): Add debug call.
25243 Use feedmail-queue-buffer-file-name, and
25244 feedmail-send-it-immediately-wrapper.
25245 (feedmail-message-action-send): Add debug call.
25246 Use feedmail-send-it-immediately-wrapper.
25247 (feedmail-queue-express-to-queue): Add debug call.
25248 Run feedmail-queue-express-hook.
25249 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25250 (feedmail-message-action-help-blat):
25251 Rename from feedmail-queue-send-edit-prompt-help-first.
25252 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25253 Check line-endings. Handle errors better.
25254 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25255 Doc fix. Add debug call.
25256 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25257 Use feedmail-queue-send-edit-prompt-inner.
25258 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25259 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25260 from feedmail-queue-send-edit-prompt.
25261 (feedmail-queue-send-edit-prompt-help)
25262 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25263 (feedmail-tidy-up-slug): Add debug call.
25264 Respect feedmail-queue-slug-suspect-regexp.
25265 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25266 (feedmail-dump-message-to-queue): Add debug call.
25267 Expand queue-directory.
25268 (feedmail-dump-message-to-queue): Change message slightly.
25269 Use feedmail-say-chatter.
25270 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25271 (feedmail-send-it-immediately-wrapper): New function.
25272 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25273 Insert empty string rather than newline. Handle full-frame case.
25274 Use catch/throw. Use feedmail-say-chatter.
25275 (feedmail-fiddle-from): Try mail-host-address.
25276 (feedmail-default-message-id-generator): Doc fix.
25277 Bind system-time-locale. Handle missing end.
25278 (feedmail-fiddle-x-mailer): Add debug call.
25279 Handle feedmail-x-mailer-line being nil.
25280 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25281 Add debug call. Use buffer-substring-no-properties.
25282 (feedmail-say-debug, feedmail-say-chatter): New functions.
25283 (feedmail-find-eoh): Give an explicit error.
25284
25285 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25286
25287 * net/newst-treeview.el (newsticker-treeview-face): Change default
25288 family from helvetica to sans.
25289 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25290 etc/images/newsticker.
25291
25292 * net/newst-reader.el (newsticker-feed-face): Change default
25293 family from helvetica to sans.
25294
25295 * net/newst-plainview.el (newsticker-new-item-face)
25296 (newsticker-old-item-face, newsticker-immortal-item-face)
25297 (newsticker-obsolete-item-face, newsticker-date-face)
25298 (newsticker-statistics-face): Change default family from
25299 helvetica to sans.
25300 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25301 etc/images/newsticker.
25302
25303 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25304 (newsticker--process-auto-mark-filter-match): Tell user about
25305 auto-marking.
25306
25307 2011-05-13 Didier Verna <didier@xemacs.org>
25308
25309 Common Lisp indentation improvements on defmethod and lambda-lists.
25310 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25311 TODO entries.
25312 (lisp-lambda-list-keyword-parameter-indentation)
25313 (lisp-lambda-list-keyword-parameter-alignment)
25314 (lisp-lambda-list-keyword-alignment): New customizable user options.
25315 (lisp-indent-defun-method): Improve docstring.
25316 (extended-loop-p): Fix comment.
25317 (lisp-indent-lambda-list-keywords-regexp): New variable.
25318 (lisp-indent-lambda-list): New function.
25319 (lisp-indent-259): Use it.
25320 (lisp-indent-defmethod): Support for more than one
25321 method qualifier and properly indent methods lambda-lists.
25322 (defgeneric): Provide a missing common-lisp-indent-function property.
25323
25324 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25325
25326 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25327 bounds for the empty string (bug#8667).
25328
25329 2011-05-13 Glenn Morris <rgm@gnu.org>
25330
25331 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25332
25333 * mail/sendmail.el (sendmail-program): Try executable-find first.
25334 (sendmail-send-it): `sendmail-program' cannot be unbound.
25335
25336 * calendar/appt.el (appt-make-list): Simplify.
25337 (appt-time-msg-list): Doc fix.
25338 (appt-check): Change mode-line message at the time of the appointment.
25339
25340 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25341
25342 * progmodes/ld-script.el (ld-script-keywords)
25343 (ld-script-builtins): Update keywords list.
25344
25345 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25346
25347 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25348
25349 * shell.el (shell-completion-vars): New function.
25350 (shell-mode):
25351 * simple.el (read-shell-command): Use it.
25352 (blink-matching-open): No need for " [...]" in minibuffer-message.
25353
25354 2011-05-12 Glenn Morris <rgm@gnu.org>
25355
25356 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25357 (appt-check): Simplify.
25358
25359 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25360
25361 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25362 literal "/dev/null".
25363
25364 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25365
25366 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25367 Fix typo.
25368
25369 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25370
25371 * progmodes/which-func.el (which-function):
25372 Use add-log-current-defun instead of add-log-current-defun-function,
25373 which might not be defined (Bug#8260).
25374
25375 2011-05-12 Glenn Morris <rgm@gnu.org>
25376
25377 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25378 Let byte-compile-initial-macro-environment always take precedence.
25379
25380 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25381
25382 * net/rcirc.el: Add support for SSL/TLS connections.
25383 (rcirc-server-alist): New field `encryption'.
25384 (rcirc): Check `encryption' settings.
25385 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25386 Merge make-local-variable into `set'.
25387 (rcirc--connection-open-p): New function.
25388 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25389 the process is not a network process (e.g. running gnutls-cli).
25390 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25391 Make rcirc-(en|de)code-coding-system local here.
25392 (rcirc-mode): Merge make-local-variable into `set'.
25393 (rcirc-parent-buffer): Make permanent buffer-local.
25394 (rcirc-multiline-minor-mode): Don't do it here.
25395 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25396 there's no server buffer.
25397
25398 2011-05-11 Glenn Morris <rgm@gnu.org>
25399
25400 * newcomment.el (comment-kill): Prefix "unused" local.
25401
25402 * term/w32console.el (get-screen-color): Declare.
25403
25404 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25405 Handle symbol elements of byte-compile-initial-macro-environment.
25406
25407 2011-05-10 Leo Liu <sdl.web@gmail.com>
25408
25409 * bookmark.el (bookmark-bmenu-mode-map):
25410 Bind bookmark-bmenu-search to `/'.
25411
25412 * mail/footnote.el: Convert to utf-8 encoding.
25413 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25414 (Footnote-unicode): New function.
25415 (footnote-style-alist): Add unicode style to the list.
25416 (footnote-style): Doc fix.
25417
25418 2011-05-10 Jim Meyering <meyering@redhat.com>
25419
25420 Fix doubled-word typos.
25421 * international/quail.el (quail-insert-kbd-layout): and and -> and
25422 * kermit.el: and and -> and
25423 * net/ldap.el (ldap-search-internal): to to -> to
25424 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25425 * progmodes/js.el (js-mode): and and -> and
25426 * textmodes/artist.el (artist-move-to-xy): at at -> at
25427 (artist-draw-region-trim-line-endings): if if -> if
25428 And Safetyc -> Safety.
25429 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25430
25431 2011-05-10 Glenn Morris <rgm@gnu.org>
25432 Stefan Monnier <monnier@iro.umontreal.ca>
25433
25434 * files.el (hack-one-local-variable-eval-safep):
25435 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25436
25437 2011-05-10 Glenn Morris <rgm@gnu.org>
25438
25439 * calendar/diary-lib.el (diary-list-entries-hook)
25440 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25441 (diary-nongregorian-marking-hook, diary-list-entries)
25442 (diary-include-other-diary-files, diary-mark-entries)
25443 (diary-mark-included-diary-files): Doc fixes.
25444
25445 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25446
25447 * misc.el: Require tabulated-list.el during compilation.
25448
25449 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25450
25451 * progmodes/compile.el (compilation-start):
25452 Run compilation-filter-hook for the async case too.
25453 (compilation-filter-hook): Doc fix.
25454
25455 2011-05-09 Deniz Dogan <deniz@dogan.se>
25456
25457 * wdired.el: Remove outdated installation comment. Fix usage
25458 comment.
25459
25460 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25461
25462 * misc.el: Implement new command `list-dynamic-libraries'.
25463 (list-dynamic-libraries--loaded-only-p): New variable.
25464 (list-dynamic-libraries--refresh): New function.
25465 (list-dynamic-libraries): New command.
25466
25467 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25468
25469 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25470 Fix the ant regexp to handle end-line and end-column info from jikes.
25471 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25472 higher priority to avoid clobbering by gnu.
25473
25474 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25475
25476 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25477 if the face has existing theme settings (Bug#8454).
25478
25479 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25480
25481 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25482 Only match variables declared via `my' or `our' (Bug#8261).
25483
25484 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25485 special file names `.' and `..' (Bug#8259).
25486
25487 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25488
25489 * progmodes/grep.el (grep-mode-font-lock-keywords):
25490 Remove buffer-changing entries.
25491 (grep-filter): New function.
25492 (grep-mode): Add it to compilation-filter-hook.
25493
25494 * progmodes/compile.el (compilation-filter-hook)
25495 (compilation-filter-start): New defvars.
25496 (compilation-filter): Call compilation-filter-hook prior to
25497 updating the process mark.
25498
25499 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25500
25501 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25502
25503 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25504
25505 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25506 mailclient-send-it even if window-system is nil. (Bug#8595)
25507
25508 * term/w32console.el (terminal-init-w32console):
25509 Call get-screen-color and use its output to set the frame
25510 background-mode. (Bug#8597)
25511
25512 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25513
25514 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25515 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25516 New functions.
25517 (defgeneric, eieio--defmethod): Use them.
25518 (eieio-defgeneric): Remove.
25519 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25520
25521 2011-05-07 Glenn Morris <rgm@gnu.org>
25522
25523 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25524 Use let rather than let*.
25525 (timeclock-find-discrep): Remove unused local.
25526
25527 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25528
25529 * calendar/appt.el (appt-time-msg-list): Doc fix.
25530
25531 2011-05-06 Noah Friedman <friedman@splode.com>
25532
25533 * apropos.el (apropos-print-doc): Only use
25534 emacs-lisp-docstring-fill-column when it is bound to an integer,
25535 per that variable's documentation.
25536
25537 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25538
25539 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25540 and warnings are not silently discarded (e.g. use -d instead of -P).
25541
25542 2011-05-06 Glenn Morris <rgm@gnu.org>
25543
25544 * calendar/appt.el (appt-message-warning-time): Doc fix.
25545 (appt-warning-time-regexp): New option.
25546 (appt-make-list): Respect appt-message-warning-time.
25547
25548 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25549 New options.
25550 (diary-add-to-list): Strip comments from the displayed string.
25551 (diary-mode): Set comment-start and comment-end.
25552
25553 * vc/diff-mode.el (smerge-refine-subst): Declare.
25554 (diff-refine-hunk): Don't require smerge-mode when compiling.
25555
25556 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25557
25558 * simple.el (list-processes): Return nil as the docstring says.
25559
25560 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25561
25562 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25563 to "".
25564 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25565 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25566 determining of binary transfer. (Bug#7383)
25567
25568 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25569
25570 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25571 Fix port computation bug. (Bug#8618)
25572
25573 2011-05-05 Glenn Morris <rgm@gnu.org>
25574
25575 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25576
25577 * simple.el (shell-dynamic-complete-functions)
25578 (comint-dynamic-complete-functions): Declare.
25579
25580 * net/network-stream.el (gnutls-negotiate):
25581 * simple.el (tabulated-list-print): Fix declarations.
25582
25583 * progmodes/gud.el (syntax-symbol, syntax-point):
25584 Remove unnecessary and incorrect declarations.
25585
25586 * emacs-lisp/check-declare.el (check-declare-scan):
25587 Handle byte-compile-initial-macro-environment in bytecomp.el.
25588
25589 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25590
25591 Fix earlier half-done eieio-defmethod change (bug#8338).
25592 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25593 Streamline and change calling convention.
25594 (defmethod): Adjust accordingly and simplify.
25595 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25596 new eieio--defmethod.
25597 (slot-boundp): Minor CSE simplification.
25598
25599 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25600
25601 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25602 (glasses-make-readable): Use glasses-separate-capital-groups.
25603
25604 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25605
25606 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25607 (warning-series): Doc fix.
25608 (display-warning): Don't try to create the buffer if we just found it.
25609
25610 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25611
25612 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25613 (autoload-find-generated-file): New function.
25614 (generate-file-autoloads): Bind generated-autoload-file to
25615 buffer-file-name.
25616 (update-file-autoloads, update-directory-autoloads):
25617 Use autoload-find-generated-file. If called interactively, prompt for
25618 output file (Bug#7989).
25619 (batch-update-autoloads): Doc fix.
25620
25621 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25622
25623 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25624
25625 2011-05-04 Glenn Morris <rgm@gnu.org>
25626
25627 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25628 function, so it follows changes in calendar-date-style.
25629 (diary-fancy-date-matcher): New function.
25630 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25631 (diary-fancy-font-lock-fontify-region-function):
25632 Use diary-fancy-date-pattern as a function.
25633
25634 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25635 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25636
25637 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25638
25639 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25640 instead of positional arguments. Allow :keylist and :crlfiles
25641 arguments.
25642 (open-gnutls-stream): Call it.
25643
25644 * net/network-stream.el (network-stream-open-starttls): Adjust to
25645 call `gnutls-negotiate' with :process and :hostname arguments.
25646
25647 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25648
25649 * minibuffer.el (completion--message): New function.
25650 (completion--do-completion, minibuffer-complete)
25651 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25652 (completion--do-completion): Don't ignore completion-auto-help when in
25653 icomplete-mode.
25654
25655 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25656 internal encoding (e.g. tibetan zero is not whitespace).
25657 (global-whitespace-mode): Prefer save-current-buffer.
25658 (whitespace-trailing-regexp): Remove useless save-match-data.
25659 (whitespace-empty-at-bob-regexp): Minor simplification.
25660
25661 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25662
25663 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25664
25665 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
25666
25667 * textmodes/ispell.el (ispell-add-per-file-word-list):
25668 Use `concat' to create string for insertion.
25669
25670 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25671
25672 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25673 Avoid open-line which runs post-self-insert-hook.
25674 (bibtex-fill-entry): Remove unused `end' var.
25675
25676 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25677
25678 * textmodes/ispell.el (ispell-add-per-file-word-list):
25679 Protect against `nil' value of `comment-start' (Bug#8579).
25680
25681 2011-05-03 Leo Liu <sdl.web@gmail.com>
25682
25683 * isearch.el (isearch-yank-pop): New command.
25684 (isearch-mode-map): Bind it to `M-y'.
25685 (isearch-forward): Mention it.
25686
25687 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25688
25689 * simple.el (minibuffer-complete-shell-command): Remove.
25690 (minibuffer-local-shell-command-map): Use completion-at-point.
25691 (read-shell-command): Setup completion vars here instead.
25692 (read-expression-map): Bind TAB to symbol completion.
25693
25694 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25695 error directly rather via storing it into `results'.
25696
25697 2011-05-02 Leo Liu <sdl.web@gmail.com>
25698
25699 * vc/diff.el: Fix description.
25700
25701 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25702
25703 * server.el (server-eval-at): New function.
25704
25705 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25706
25707 * net/network-stream.el (open-network-stream): Take a :nowait
25708 parameter and pass it on to `make-network-process'.
25709 (network-stream-open-plain): Ditto.
25710
25711 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25712
25713 * faces.el (face-spec-set-match-display): Don't match toolkit
25714 options on terminal frames.
25715
25716 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25717
25718 * progmodes/pascal.el: Use lexical binding.
25719 (pascal-mode-map): Remove author preferences.
25720
25721 * pcomplete.el (pcomplete-std-complete): Don't abuse
25722 completion-at-point.
25723
25724 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25725
25726 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25727 removing code that has been dead since 1991 or so.
25728
25729 * startup.el (command-line): When warning about "_emacs", use a
25730 delayed warning to allow the user to filter it out.
25731
25732 2011-04-28 Deniz Dogan <deniz@dogan.se>
25733
25734 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25735 user has not joined.
25736
25737 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25738
25739 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25740 aren't any completions at point.
25741
25742 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25743
25744 * subr.el (display-delayed-warnings): New function.
25745 (delayed-warnings-hook): New variable.
25746
25747 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25748
25749 * minibuffer.el (completion-at-point, completion-help-at-point):
25750 Don't presume that a given completion-at-point-function will always
25751 use the same calling convention.
25752
25753 * pcomplete.el (pcomplete-completions-at-point):
25754 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25755 pcomplete-seen is non-nil.
25756 (pcomplete-comint-setup): Also recognize the new comint/shell
25757 completion functions.
25758 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25759 pcomplete-seen is non-nil.
25760
25761 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25762
25763 * calendar/icalendar.el (diary-lib): Add require statement.
25764 (icalendar--create-uid): Read out a uid from a text-property on
25765 the first character in the entry. This allows for code to add its
25766 own uid to the entry.
25767 (icalendar--convert-float-to-ical): Add export of
25768 `diary-float'-entries save for those with the optional DAY
25769 argument.
25770
25771 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25772
25773 * subr.el (shell-quote-argument): Use alternate escaping strategy
25774 when we spot a variable reference in a string.
25775
25776 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25777
25778 * cus-start.el (all): Define customization for debug-on-event.
25779
25780 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25781
25782 * subr.el (shell-quote-argument): Escape correctly under Windows.
25783
25784 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25785
25786 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25787
25788 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25789
25790 * net/tramp.el (tramp-process-actions): Add POS argument.
25791 Delete region between POS and (pos).
25792
25793 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25794 Use `nil' position in `tramp-process-actions' call.
25795 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25796
25797 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25798 position in `tramp-process-actions' call.
25799
25800 * net/trampver.el: Update release number.
25801
25802 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25803
25804 * custom.el (defcustom): Obey lexical-binding.
25805
25806 Fix octave-inf completion problems reported by Alexander Klimov.
25807 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25808 Inherit from octave-mode-syntax-table.
25809 (inferior-octave-mode): Set info-lookup-mode.
25810 (inferior-octave-completion-at-point): New function.
25811 (inferior-octave-complete): Use it and completion-in-region.
25812 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25813 comint-filename-completion.
25814 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25815 symbol elements which shouldn't be word elements.
25816 (octave-font-lock-keywords, octave-beginning-of-defun)
25817 (octave-function-header-regexp): Adjust regexps accordingly.
25818 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25819
25820 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25821
25822 * net/gnutls.el (gnutls-errorp): Declare before first use.
25823
25824 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25825
25826 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25827 verify-error, and verify-hostname-error parameters. Check whether
25828 default trustfile exists before going to use it. Add missing
25829 argument to gnutls-message-maybe call. Return value.
25830 Reported by Claudio Bley <claudio.bley@gmail.com>.
25831 (open-gnutls-stream): Add usage example.
25832
25833 * net/network-stream.el (network-stream-open-starttls): Give host
25834 parameter to `gnutls-negotiate'.
25835 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25836 * subr.el (shell-quote-argument): Escape correctly under Windows.
25837
25838 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25839
25840 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25841 Use correct match group (bug#8438).
25842
25843 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25844
25845 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25846 (package-menu--generate): New arg specifying packages to show.
25847 (package-menu-refresh, package-menu-execute, list-packages):
25848 Callers changed.
25849 (package-show-package-list): New function, replacing deleted
25850 package--list-packages (renamed because it is non-internal).
25851
25852 * finder.el (finder-list-matches): Use package-show-package-list
25853 instead of deleted package--list-packages.
25854
25855 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25856 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25857 (vc-annotate-mode-map): Bind it to RET.
25858
25859 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25860
25861 * progmodes/etags.el (next-file): Don't use set-buffer to change
25862 buffers (Bug#8478).
25863
25864 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25865
25866 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25867
25868 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25869 (apropos-accumulator): Doc fix.
25870 (apropos-function, apropos-macro, apropos-command)
25871 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25872 (apropos-plist): Add face property.
25873 (apropos-symbols-internal): Fix indentation.
25874 (apropos-print): Simplify help, and recognize apropos-multi-type.
25875 (apropos-print-doc): Use button-type-get to extract the button's
25876 face property. Fill docstring (Bug#8352).
25877
25878 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25879
25880 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25881
25882 * play/mpuz.el (mpuz-silent): Doc fix.
25883 (mpuz-mode-map): Use mapc.
25884 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25885 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25886 Fix typos in docstrings.
25887
25888 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25889 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25890
25891 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25892
25893 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25894
25895 * minibuffer.el (completion--do-completion): Avoid the "Next char
25896 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25897
25898 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25899 mouse-2 into unread-command-events, it is interpreted correctly.
25900
25901 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25902 (image-toggle-display): Doc fix.
25903
25904 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25905
25906 * textmodes/page.el (what-page): Use line-number-at-pos to
25907 calculate line number (Bug#6825).
25908
25909 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25910
25911 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25912 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25913 Pass argument NO-DEFAULT to `find-tag-interactive'.
25914
25915 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25916
25917 Lexical-binding cleanup.
25918
25919 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25920 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25921 * progmodes/ada-prj.el (ada-prj-initialize-values)
25922 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25923 (ada-prj-show-value):
25924 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25925 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25926 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25927 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25928 * progmodes/bug-reference.el (bug-reference-push-button):
25929 * progmodes/fortran.el (fortran-line-length):
25930 * progmodes/glasses.el (glasses-change):
25931 * progmodes/octave-mod.el (octave-fill-paragraph):
25932 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25933 (python-pdbtrack-grub-for-buffer, python-sentinel):
25934 * progmodes/sql.el (sql-save-connection):
25935 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25936 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25937 Mark unused parameters.
25938
25939 * progmodes/compile.el (compilation--flush-directory-cache)
25940 (compilation--flush-parse, compile-internal): Mark unused parameters.
25941 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25942 (compilation-next-error-function): Remove unused variable `timestamp'.
25943
25944 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25945 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25946
25947 * progmodes/dcl-mode.el (dcl-end-of-command):
25948 Remove unused variable `start'.
25949 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25950 (dcl-option-value-basic, dcl-option-value-offset)
25951 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25952 Mark unused parameters.
25953 (dcl-save-local-variable): Remove unused variable `val'.
25954 (mode): Declare.
25955
25956 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25957 Mark unused parameters.
25958 (delphi-ignore-changes): Move before first use.
25959 (delphi-charset-token-at): Remove unused variable `start'.
25960 (delphi-else-start): Remove unused variable `if-count'.
25961 (delphi-comment-block-start, delphi-comment-block-end):
25962 Remove unused variable `kind'.
25963 (delphi-indent-line): Remove unused variable `new-point'.
25964
25965 * progmodes/ebrowse.el (ebrowse-files-list)
25966 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25967 Mark unused parameters. Don't quote `lambda'.
25968 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25969 Don't quote `lambda'.
25970 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25971 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25972 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25973 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25974 Use `ignore-errors'.
25975 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25976 (ebrowse-view/find-file-and-search-pattern)
25977 (ebrowse-view/find-member-declaration/definition):
25978 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25979 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25980 Rename parameter PREFIX-ARG to PREFIX.
25981 (ebrowse-tags-read-name): Remove unused variables `start' and
25982 `member-info'.
25983 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25984 to `tags-file'.
25985
25986 * progmodes/etags.el (local-find-tag-hook): Declare.
25987 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25988 Mark unused parameters.
25989
25990 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25991 (executable-interpret): Mark unused parameter.
25992
25993 * progmodes/flymake.el (flymake-process-sentinel)
25994 (flymake-after-change-function)
25995 (flymake-create-temp-with-folder-structure)
25996 (flymake-get-include-dirs-dot): Mark unused parameters.
25997 (flymake-safe-delete-directory): Remove unused variable `err'.
25998
25999 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26000 (speedbar-timer-fn, speedbar-line-text)
26001 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26002 (speedbar-center-buffer-smartly): Declare functions.
26003 (gdb-find-watch-expression): Remove unused variable `array'.
26004 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26005 (gdb-starting): Mark unused parameters.
26006 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26007 (gdb-table-string): Remove unused variable `res'.
26008 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26009 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26010 (gdb-display-buffer): Remove unused variable `cur-size'.
26011
26012 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26013 allow lexical-binding compilation.
26014 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26015 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26016 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26017 Mark unused parameters.
26018 (gud-gdb-marker-filter): Remove unused variable `match'.
26019 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26020 lambda expressions and funcall them, instead of using `fset'.
26021
26022 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26023 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26024
26025 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26026 variable `header-beg'; use `let'.
26027
26028 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26029 `restart', `last-sexp' and `at-do'.
26030
26031 * progmodes/js.el (js--debug): Mark unused parameter.
26032 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26033 (js--splice-into-items): Remove unused variable `item'.
26034 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26035
26036 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26037 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26038 (makefile-complete): Remove unused variable `try'.
26039 (makefile-fill-paragraph, makefile-match-function-end):
26040 Mark unused parameters.
26041
26042 * progmodes/octave-inf.el (inferior-octave-complete):
26043 Remove unused variable `proc'.
26044 (inferior-octave-output-digest): Mark unused parameter.
26045
26046 * progmodes/perl-mode.el (perl-calculate-indent):
26047 Remove unused variable `err'.
26048
26049 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26050 (prolog-indent-line): Mark unused parameters.
26051 (prolog-indent-line): Remove unused variable `beg'.
26052
26053 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26054 (reporter-dont-compact-list): Declare.
26055
26056 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26057 Remove unused variable `char'.
26058 (sh-debug): Mark unused parameter.
26059 (sh-get-indent-info): Remove unused variable `start'.
26060 (sh-calculate-indent): Remove unused variable `var'.
26061
26062 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26063 (simula-electric-keyword): Remove unused variable `null'.
26064 (simula-search-backward, simula-search-forward): Remove unused
26065 variables `begin' and `end'.
26066
26067 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26068 Remove unused variable `pos'.
26069 (vera-electric-tab, vera-comment-uncomment-region):
26070 Mark unused parameters.
26071 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26072
26073 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26074
26075 * emacs-lisp/package.el (package--builtins, package-alist)
26076 (package-load-descriptor, package-built-in-p, package-activate)
26077 (define-package, package-installed-p)
26078 (package-compute-transaction, package-buffer-info)
26079 (package--push): Doc fix. Distinguish more clearly between
26080 version strings and version lists.
26081
26082 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26083
26084 Lexical-binding cleanup.
26085
26086 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26087 (5x5-make-mutate-best):
26088 * play/fortune.el (fortune-in-buffer):
26089 * play/gomoku.el (gomoku-init-display):
26090 * play/solitaire.el (solitaire, solitaire-do-check):
26091 * play/tetris.el (tetris-default-update-speed-function):
26092 Mark unused parameters.
26093
26094 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26095 (bubbles--shift): Remove unused variable `char-org'.
26096 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26097 (bubbles--show-images): Remove unused variable `char'.
26098
26099 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26100 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26101 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26102 (decipher-analyze-buffer): Use ?\s.
26103 (decipher-make-checkpoint): Remove unused variable `mapping'.
26104
26105 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26106
26107 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26108 Remove unused variable `result'; use `let'.
26109
26110 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26111 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26112 (gametree-children-shown-p, gametree-compute-reduced-score):
26113 Use `ignore-errors'.
26114
26115 * play/handwrite.el (ps-lpr-switches): Declare.
26116 (handwrite): Remove unused variables `pmin' and `lastp'.
26117
26118 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26119
26120 * play/landmark.el (landmark-init-display)
26121 (landmark-update-naught-weights): Mark unused parameters.
26122 (landmark-y): Remove unused variable `noise'. Simplify.
26123 (landmark-human-plays): Remove unused variable `score'.
26124
26125 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26126 (mpuz-try-proposal): Remove unused variable `game'.
26127
26128 * play/zone.el (life-patterns): Declare.
26129
26130 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26131
26132 * vc/vc.el (ediff-vc-internal): Declare function.
26133
26134 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26135
26136 * shell.el: Use lexical-binding and std completion UI.
26137 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26138 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26139 comint-preoutput-filter-functions rather than on
26140 comint-output-filter-functions.
26141 (shell-command-completion, shell--command-completion-data)
26142 (shell-filename-completion, shell-environment-variable-completion)
26143 (shell-c-a-p-replace-by-expanded-directory): New functions.
26144 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26145 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26146 (shell-dynamic-complete-environment-variable): Use them.
26147 (shell-dynamic-complete-as-environment-variable)
26148 (shell-dynamic-complete-as-command): Remove.
26149 (shell-match-partial-variable): Match past point.
26150 * comint.el: Clean up use of completion-at-point-functions.
26151 (comint-completion-at-point): New function.
26152 (comint-mode): Use it completion-at-point-functions.
26153 (comint-dynamic-complete): Make it obsolete.
26154 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26155 (comint-c-a-p-replace-by-expanded-history): New function.
26156 (comint-dynamic-complete-functions)
26157 (comint-replace-by-expanded-history): Use it.
26158 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26159 termination strings. Try harder to avoid second try-completion.
26160 (completion-in-region-mode-map): Disable bindings that don't work yet.
26161
26162 * comint.el: Use lexical-binding. Require CL.
26163 (comint-dynamic-complete-functions): Use comint-filename-completion.
26164 (comint-completion-addsuffix): Tweak custom type.
26165 (comint-filename-completion, comint--common-suffix)
26166 (comint--common-quoted-suffix, comint--table-subvert)
26167 (comint--complete-file-name-data): New functions.
26168 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26169 (comint-dynamic-list-filename-completions): Use them.
26170 (comint-dynamic-simple-complete): Make obsolete.
26171
26172 * minibuffer.el (completion-in-region-mode):
26173 Keep completion-in-region-mode--predicate global.
26174 (completion-in-region--postch):
26175 Assume completion-in-region-mode--predicate is not null.
26176
26177 * progmodes/flymake.el (flymake-start-syntax-check-process):
26178 Obey `dir'. Simplify.
26179
26180 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26181 we're in VC after all.
26182
26183 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26184
26185 * vc/vc.el (vc-diff-build-argument-list-internal)
26186 (vc-version-ediff, vc-ediff): New commands.
26187 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26188
26189 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26190
26191 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26192 add sanity check.
26193
26194 * obsolete/erc-hecomplete.el: Make obsolete.
26195 * obsolete/: Standardize obsolescence info in the header.
26196
26197 2011-04-20 Glenn Morris <rgm@gnu.org>
26198
26199 * calendar/solar.el (solar-horizontal-coordinates):
26200 Use the longitude argument rather than `calendar-longitude'.
26201 (solar-date-next-longitude): Remove unused locals.
26202
26203 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26204
26205 * whitespace.el: New version 13.2.1.
26206
26207 2011-04-20 felix <EmacsWiki> (tiny change)
26208
26209 * whitespace.el (global-whitespace-mode): Keep highlight when
26210 switching between major modes on a file.
26211
26212 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26213
26214 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26215 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26216 multi-line comments as well.
26217
26218 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26219
26220 Lexical-binding cleanup.
26221
26222 * arc-mode.el (archive-mode-revert):
26223 * cmuscheme.el (scheme-interactively-start-process):
26224 * custom.el (custom-initialize-delay):
26225 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26226 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26227 * emacs-lock.el (emacs-lock-clear-sentinel):
26228 * ezimage.el (defezimage):
26229 * follow.el (follow-avoid-tail-recenter):
26230 * fringe.el (set-fringe-mode-1):
26231 * generic-x.el (bat-generic-mode-compile):
26232 * help-mode.el (help-info-variable, help-do-xref)
26233 (help-mode-revert-buffer):
26234 * help.el (view-emacs-todo):
26235 * iswitchb.el (iswitchb-completion-help):
26236 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26237 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26238 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26239 * locate.el (locate-update):
26240 * longlines.el (longlines-encode-region)
26241 (longlines-after-change-function):
26242 * outline.el (outline-isearch-open-invisible):
26243 * ps-def.el (declare-function, charset-dimension, char-width)
26244 (encode-char):
26245 * ps-mule.el (ps-mule-plot-string):
26246 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26247 (recentf-edit-list-select, recentf-edit-list-validate)
26248 (recentf-open-files-action):
26249 * rect.el (delete-whitespace-rectangle-line)
26250 (rectangle-number-line-callback):
26251 * register.el (window-configuration-to-register)
26252 (frame-configuration-to-register):
26253 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26254 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26255 (xselect-convert-to-targets, xselect-convert-to-delete)
26256 (xselect-convert-to-filename, xselect-convert-to-charpos)
26257 (xselect-convert-to-lineno, xselect-convert-to-colno)
26258 (xselect-convert-to-os, xselect-convert-to-host)
26259 (xselect-convert-to-user, xselect-convert-to-class)
26260 (xselect-convert-to-name, xselect-convert-to-integer)
26261 (xselect-convert-to-atom, xselect-convert-to-identity):
26262 * subr.el (declare, ignore, process-kill-without-query)
26263 (text-clone-maintain):
26264 * terminal.el (te-get-char, te-tic-sentinel):
26265 * tool-bar.el (tool-bar-make-keymap):
26266 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26267 * type-break.el (type-break-mode, type-break-noninteractive-query):
26268 * view.el (View-back-to-mark):
26269 * wid-browse.el (widget-browse-action, widget-browse-widget)
26270 (widget-browse-widgets, widget-browse-sexp):
26271 * widget.el (define-widget-keywords):
26272 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26273 Mark unused parameters.
26274
26275 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26276 (align-areas): Remove unused variable `look'.
26277 (align-region): Remove unused variables `real-end' and `pos-list'.
26278
26279 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26280
26281 * bindings.el (mode-line-modified, mode-line-remote):
26282 Mark unused parameters.
26283 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26284
26285 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26286 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26287
26288 * comint.el (comint-history-isearch-pop-state)
26289 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26290 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26291 (comint-substitute-in-file-name): Doc fix.
26292
26293 * completion.el (cmpl-statistics-block): Mark unused parameter.
26294 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26295 (save-completions-to-file, load-completions-from-file):
26296 Remove unused local variable `e'.
26297
26298 * composite.el (compose-chars): Remove unused variable `len'.
26299 (lgstring-insert-glyph): Remove unused variable `g'.
26300 (compose-glyph-string): Remove unused variables `ascent',
26301 `descent', `lbearing' and `rbearing'.
26302 (compose-glyph-string-relative): Remove unused variables
26303 `lbearing', `rbearing' and `wadjust'.
26304 (compose-gstring-for-graphic): Remove unused variables `header',
26305 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26306 (compose-gstring-for-terminal): Remove unused variables `header'
26307 and `nchars'. Use `let', not `let*'.
26308
26309 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26310 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26311 (Custom-buffer-done, custom-buffer-create-internal)
26312 (custom-browse-visibility-action, custom-browse-group-tag-action)
26313 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26314 (widget-magic-mouse-down-action, custom-toggle-parent)
26315 (custom-add-parent-links, custom-toggle-hide-variable)
26316 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26317 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26318 (custom-face-menu-create, custom-variable-menu-create, get)
26319 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26320 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26321 (customize-apropos): Remove unused variable `tests'.
26322 (custom-group-value-create): Remove unused variable `hidden-p'.
26323 (sort-fold-case): Declare.
26324
26325 * cus-theme.el (custom-reset-standard-faces-list)
26326 (custom-reset-standard-variables-list): Declare.
26327 (customize-create-theme, custom-theme-revert, custom-theme-write)
26328 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26329 Mark unused parameters.
26330
26331 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26332
26333 * delim-col.el (delimit-columns-max): Move defvar before first use.
26334
26335 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26336 (describe-char): Don't quote `lambda'. Mark unused parameter.
26337
26338 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26339 (auto-insert): Declare.
26340 (desktop-restore-file-buffer): Rename desktop-* parameters;
26341 mark unused ones.
26342 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26343 (desktop-buffer): Rename desktop-* parameters.
26344
26345 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26346 (dframe-reposition-frame-xemacs, dframe-help-echo)
26347 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26348 Mark unused parameters.
26349
26350 * dired-aux.el (backup-extract-version-start, overwrite-query)
26351 (overwrite-backup-query, rename-regexp-query)
26352 (rename-non-directory-query): Declare.
26353 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26354 (dired-add-entry): Remove unused variable `orig-file-name'.
26355 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26356 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26357 `dired-copy-preserve-time' directly.
26358 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26359 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26360
26361 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26362 (dired-virtual-revert, dired-make-relative-symlink):
26363 Mark unused parameters.
26364 (manual-program): Declare.
26365 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26366 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26367 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26368
26369 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26370
26371 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26372
26373 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26374 Declare.
26375
26376 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26377
26378 * electric.el (Electric-command-loop): Rename parameter
26379 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26380
26381 * expand.el (expand-in-literal): Remove unused variable `here'.
26382
26383 * facemenu.el (facemenu-add-new-color):
26384 Remove unused variable `docstring'.
26385
26386 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26387 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26388 (face-attr-construct): Mark unused parameter. Doc fix.
26389 (read-color): Remove unused variable `hex-string'.
26390
26391 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26392 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26393 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26394 (display-buffer-other-frame): Remove unused variable `old-window'.
26395 (kill-buffer-hook): Declare.
26396 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26397 Mark unused parameters.
26398 (after-find-file): Pass 1 to `auto-save-mode', not t.
26399
26400 * files-x.el (auto-insert): Declare.
26401 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26402
26403 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26404 variable `buf'. Mark unused parameter.
26405 (find-lisp-insert-directory): Mark unused parameter.
26406
26407 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26408 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26409 (format-common-tail): Remove, unused.
26410 (format-deannotate-region): Remove unused variable `loc'.
26411 (format-annotate-region): Remove unused variable `p'.
26412 (format-annotate-single-property-change): Remove unused variables
26413 `default' and `tail'.
26414
26415 * forms.el (read-file-filter): Declare.
26416 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26417
26418 * frame.el (frame-creation-function-alist): Mark unused parameter.
26419 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26420
26421 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26422 Remove unused parameters.
26423 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26424 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26425
26426 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26427 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26428 (hfy-prepare-tag-map): Mark unused parameters.
26429 (htmlfontify-buffer): Use `called-interactively-p'.
26430
26431 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26432 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26433 (ibuffer-do-occur): Mark unused parameters.
26434 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26435 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26436
26437 * ibuffer.el: Don't quote `lambda'.
26438 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26439 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26440 Mark unused parameters.
26441
26442 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26443 (ido-completing-read): Mark unused parameters.
26444 (ido-copy-current-word): Mark unused parameters;
26445 remove unused variable `name'.
26446 (ido-sort-merged-list): Remove unused parameter `dirs'.
26447
26448 * ielm.el (ielm-input-sender): Mark unused parameter.
26449 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26450 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26451 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26452 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26453 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26454
26455 * image-dired.el (image-dired-display-thumbs): Remove unused
26456 variables `curr-file' and `count'.
26457 (image-dired-remove-tag): Remove unused variable `start'.
26458 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26459 variable `curr-file'
26460 (image-dired-rotate-original): Remove unused variable `temp-file'.
26461 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26462 Remove unused variable `file'.
26463 (image-dired-gallery-generate): Remove unused variable `curr'.
26464 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26465
26466 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26467
26468 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26469
26470 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26471
26472 * isearch.el (minibuffer-history-symbol): Declare.
26473 (isearch-edit-string): Remove unused variable `err'.
26474 (isearch-message-prefix, isearch-message-suffix):
26475 Mark unused parameters.
26476
26477 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26478
26479 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26480
26481 * makesum.el (double-column): Remove unused variable `cnt'.
26482
26483 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26484 (ido-ignore-item-temp-list): Declare.
26485
26486 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26487 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26488 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26489 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26490 `mouse-col-delta'.
26491
26492 * mouse-sel.el (mouse-extend-internal):
26493 Remove unused variable `orig-window-frame'.
26494
26495 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26496 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26497 Move declarations before first use.
26498 (pcomplete-opt): Mark unused parameters; doc fix.
26499
26500 * proced.el (proced-revert): Mark unused parameter.
26501 (proced-send-signal): Remove unused variable `err'.
26502
26503 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26504 Rename parameter PREFIX-ARG to ARG.
26505 (ps-basic-plot-string, ps-basic-plot-whitespace):
26506 Mark unused parameters.
26507
26508 * replace.el (replace-count): Define.
26509 (occur-revert-function): Mark unused parameters.
26510 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26511 (isearch-case-fold-search, isearch-string): Declare.
26512 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26513 bind `case-fold-search'. Remove unused variables `beg' and `end',
26514 and simplify.
26515 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26516 COUNT and bind `replace-count'.
26517 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26518 to COUNT.
26519
26520 * savehist.el (print-readably, print-string-length): Declare.
26521
26522 * shadowfile.el (shadow-expand-cluster-in-file-name):
26523 Remove unused variable `cluster'.
26524 (shadow-copy-file): Remove unused variable `i'.
26525 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26526 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26527 (shadow-define-literal-group, shadow-define-regexp-group)
26528 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26529
26530 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26531 (shell): Use `called-interactively-p'.
26532 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26533
26534 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26535 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26536 (delete-backward-char): Remove unused variable `ocol'.
26537 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26538 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26539 (event-apply-hyper-modifier, event-apply-shift-modifier)
26540 (event-apply-control-modifier, event-apply-meta-modifier):
26541 Mark unused parameters.
26542 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26543 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26544
26545 * speedbar.el (speedbar-ignored-directory-expressions)
26546 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26547 (speedbar-find-file, speedbar-dir-follow)
26548 (speedbar-directory-buttons-follow, speedbar-tag-find)
26549 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26550 (speedbar-buffers-line-directory, speedbar-buffer-click):
26551 Mark unused parameters.
26552 (speedbar-tag-file): Remove unused variable `mode'.
26553 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26554
26555 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26556
26557 * talk.el (talk): Remove unused variable `display'.
26558
26559 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26560 (tar-write-region-annotate): Mark unused parameter.
26561
26562 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26563 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26564 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26565 warning by another.
26566
26567 * time-stamp.el (time-stamp-string-preprocess):
26568 Remove unused variable `require-padding'.
26569
26570 * tree-widget.el (widget-glyph-enable): Declare.
26571 (tree-widget-action): Mark unused parameter.
26572
26573 * w32-fns.el (x-get-selection): Mark unused parameter.
26574 (autoload-make-program, generated-autoload-file): Declare.
26575
26576 * wdired.el (wdired-revert): Mark unused parameters.
26577 (wdired-xcase-word): Remove unused variable `err'.
26578
26579 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26580 (whitespace-help-scroll): Remove unused variable `data-help'.
26581
26582 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26583 (widget-image-insert, widget-after-change, default)
26584 (widget-default-format-handler, widget-default-notify)
26585 (widget-default-prompt-value, widget-info-link-action)
26586 (widget-url-link-action, widget-function-link-action)
26587 (widget-variable-link-action, widget-file-link-action)
26588 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26589 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26590 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26591 (widget-insert-button-action, widget-delete-button-action, visibility)
26592 (widget-documentation-link-action, widget-documentation-string-action)
26593 (widget-const-prompt-value, widget-regexp-match, symbol)
26594 (widget-coding-system-prompt-value)
26595 (widget-key-sequence-value-to-external, sexp)
26596 (widget-sexp-value-to-internal, character, vector, cons)
26597 (widget-choice-prompt-value, widget-boolean-prompt-value)
26598 (widget-color--choose-action): Mark unused parameters.
26599 (widget-item-match-inline, widget-choice-match-inline)
26600 (widget-checklist-match, widget-checklist-match-inline)
26601 (widget-group-match): Rename parameter VALUES to VALS.
26602 (widget-field-value-set): Remove unused variable `size'.
26603 (widget-color-action): Remove unused variables `value' and `start'.
26604
26605 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26606 variable `dir'. Doc fix.
26607 (windmove-find-other-window): Don't pass it.
26608
26609 * window.el (count-windows): Mark unused parameter.
26610 (bw-adjust-window): Remove unused variable `err'.
26611
26612 * woman.el (woman-file-name): Remove unused variable `default'.
26613 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26614 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26615 (global-font-lock-mode): Declare.
26616 (woman-decode-region): Mark unused parameter.
26617 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26618
26619 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26620 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26621 (x-dnd-handle-moz-url): Remove unused variable `title'.
26622 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26623
26624 * xml.el (xml-parse-tag, xml-parse-attlist):
26625 Remove unused variable `pos'.
26626
26627 2011-04-19 Glenn Morris <rgm@gnu.org>
26628
26629 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26630 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26631 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26632 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26633 * calendar/cal-html.el (cal-html-insert-minical):
26634 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26635 (calendar-mark-date-pattern):
26636 Prefix "unused" locals.
26637
26638 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26639 optional argument `style'.
26640
26641 * calendar/appt.el (appt-make-list):
26642 * calendar/cal-china.el (calendar-chinese-date-string):
26643 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26644 (diary-hebrew-yahrzeit):
26645 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26646 * calendar/calendar.el (calendar-generate-window):
26647 * calendar/time-date.el (time-to-days):
26648 Remove unused local variables.
26649
26650 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26651
26652 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26653 glyphless-char-display table.
26654 (tabulated-list-glyphless-char-display): New var.
26655
26656 2011-04-18 Sam Steingold <sds@gnu.org>
26657
26658 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26659 to acknowledgments.
26660
26661 2011-04-17 Glenn Morris <rgm@gnu.org>
26662
26663 * calendar/diary-lib.el (diary-sexp-entry):
26664 * calendar/holidays.el (holiday-sexp):
26665 Set debug-on-error rather than the removed stack-trace-on-error.
26666
26667 2011-04-16 Glenn Morris <rgm@gnu.org>
26668
26669 * progmodes/f90.el: Use lexical-binding.
26670 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26671
26672 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26673
26674 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26675 (mail-mode): Setup mailalias completion here instead.
26676 * mail/mailalias.el: Use lexical-binding.
26677 (pattern, mailalias-done): Declare dynamic.
26678 (mail-completion-at-point-function): New function, from mail-complete.
26679 (mail-complete): Use it.
26680 (mail-completion-expand): New function.
26681 (mail-get-names): Use it.
26682 (mail-directory, mail-directory-process, mail-directory-stream):
26683 Don't use `pattern' for lexically bound arg.
26684
26685 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26686
26687 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26688 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26689 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26690
26691 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26692 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26693 (byte-interactive-p): Define them again, for use when inlining
26694 old code.
26695
26696 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26697
26698 * loadup.el: Use `string-to-number', not `string-to-int'.
26699
26700 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26701
26702 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26703 gud-gdb-complete-command.
26704 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26705 (gud-gdb-completion-at-point): New function.
26706 (gud-gdb-completions): Remove.
26707
26708 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26709
26710 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26711 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26712 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26713 whether `executable-find' is bound.
26714
26715 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26716
26717 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26718
26719 * minibuffer.el (completion-in-region-mode-predicate)
26720 (completion-in-region-mode--predicate): New vars.
26721 (completion-in-region, completion-in-region--postch)
26722 (completion-in-region-mode): Use them.
26723 (completion--capf-wrapper): Also return the hook function.
26724 (completion-at-point, completion-help-at-point):
26725 Adjust and provide a predicate.
26726
26727 Preserve arg names for advice of subr and lexical functions (bug#8457).
26728 * help-fns.el (help-function-arglist): Consolidate the subr and
26729 new-byte-code cases. Add argument `preserve-names' to extract names
26730 from the docstring when needed.
26731 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26732 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26733 (ad-arglist): Use help-function-arglist's new arg.
26734 (ad-definition-type): Use cond.
26735
26736 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26737
26738 * autorevert.el (auto-revert-handler):
26739 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26740 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26741 Don't quote lambda.
26742
26743 * image-mode.el (image-transform-set-scale):
26744 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26745
26746 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26747
26748 * net/network-stream.el (network-stream-open-starttls): Only do
26749 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26750 Upgrades via gnutls-cli are too slow to be done opportunistically.
26751
26752 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26753
26754 * dframe.el (dframe-current-frame): Remove spurious quote.
26755
26756 2011-04-12 Glenn Morris <rgm@gnu.org>
26757
26758 * calendar/cal-tex.el (cal-tex-end-document):
26759 Try to automatically use latin1 input if needed.
26760
26761 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26762 Don't try to cons a mark onto an empty element.
26763
26764 2011-04-11 Leo Liu <sdl.web@gmail.com>
26765
26766 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26767 buffers.
26768 (ido-kill-buffer-at-head): Support killing virtual buffers.
26769
26770 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26771
26772 * minibuffer.el (completion-show-inline-help): New var.
26773 (completion--do-completion, minibuffer-complete)
26774 (minibuffer-force-complete, minibuffer-complete-word):
26775 Inhibit minibuffer messages if completion-show-inline-help is nil.
26776
26777 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26778 to avoid interference from inline help (Bug#5849).
26779
26780 2011-04-10 Leo Liu <sdl.web@gmail.com>
26781
26782 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26783 Fix typo.
26784
26785 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26786
26787 * image-mode.el (image-toggle-display-image): Signal an error if
26788 not in Image mode.
26789 (image-transform-mode, image-transform-resize)
26790 (image-transform-set-rotation): Doc fix.
26791 (image-transform-set-resize): Delete.
26792 (image-transform-set-scale, image-transform-fit-to-height)
26793 (image-transform-fit-to-width): Handle image-toggle-display-image
26794 and image-transform-resize directly.
26795
26796 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26797
26798 * doc-view.el (doc-view-fit-width-to-window)
26799 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26800 New functions for fitting the shown image to the Emacs window size.
26801 (doc-view-mode-map): Add bindings for the new functions.
26802
26803 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26804
26805 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26806 Fix typo in docstring.
26807
26808 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26809
26810 * files.el (file-size-human-readable): Produce one digit after
26811 decimal, like "ls -lh" does.
26812
26813 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26814 the file size representation.
26815
26816 * simple.el (list-processes): If async subprocesses are not
26817 available, error out with a clear error message.
26818
26819 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26820
26821 * help.el (help-form-show): New function, to be called from C.
26822 Put help-form output in a buffer named differently than *Help*.
26823
26824 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26825
26826 * files.el (file-size-human-readable): New function.
26827
26828 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26829 computing the representation inline. Don't require `cl'.
26830
26831 2011-04-08 Glenn Morris <rgm@gnu.org>
26832
26833 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26834
26835 * net/browse-url.el (browse-url-firefox):
26836 Test system-type, not system-configuration.
26837
26838 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26839 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26840 Use log-edit-empty-buffer-p. (Bug#7598)
26841
26842 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26843 (rlogin-mode-map): Initialize in the defvar.
26844 (rlogin): Use ignore-errors.
26845
26846 * replace.el (occur-mode-map): Some fixes for menu items.
26847
26848 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26849
26850 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26851
26852 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26853
26854 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26855 issuing unused warnings.
26856
26857 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26858 macro directly.
26859
26860 * simple.el: Lisp reimplement of list-processes. Based on an
26861 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26862 (process-menu-mode): New major mode.
26863 (list-processes--refresh, list-processes):
26864 (process-menu-visit-buffer): New functions.
26865
26866 * files.el (save-buffers-kill-emacs): Don't assume any return
26867 value of list-processes, which is undocumented anyway.
26868
26869 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26870
26871 * emacs-lisp/tabulated-list.el: New file.
26872
26873 * emacs-lisp/package.el: Use Tabulated List mode.
26874 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26875 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26876 table format using Tabulated List mode variables.
26877 (package--push): New macro, replacing package-list-maybe-add.
26878 (package-menu--generate): Use package--push. Renamed from
26879 package--generate-package-list.
26880 (package-menu-refresh, list-packages): Use it.
26881 (package-menu--print-info): Rename from package-print-package.
26882 Return insertion data instead of inserting it directly.
26883 (package-menu-describe-package, package-menu-execute):
26884 Use tabulated-list-get-id.
26885 (package-menu-mark-delete, package-menu-mark-install)
26886 (package-menu-mark-unmark, package-menu-backup-unmark)
26887 (package-menu-mark-obsolete-for-deletion):
26888 Use tabulated-list-put-tag.
26889 (package--list-packages, package-menu-revert)
26890 (package-menu-get-package, package-menu-get-version)
26891 (package-menu-sort-by-column): Functions deleted.
26892 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26893 (package-menu--status-predicate, package-menu--version-predicate)
26894 (package-menu--name-predicate)
26895 (package-menu--description-predicate): Handle arguments in the
26896 Tabulated List format.
26897 (package-list-packages-no-fetch): Call list-packages.
26898
26899 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26900
26901 * files.el (after-find-file-from-revert-buffer): Remove variable.
26902 (after-find-file): Don't bind it.
26903 (revert-buffer-in-progress-p): New variable.
26904 (revert-buffer): Bind it.
26905 Pass nil for `after-find-file-from-revert-buffer'.
26906
26907 * saveplace.el (save-place-find-file-hook): Use new variable
26908 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26909
26910 2011-04-06 Glenn Morris <rgm@gnu.org>
26911
26912 * Makefile.in (AUTOGEN_VCS): New variable.
26913 (autoloads): Use $AUTOGEN_VCS.
26914
26915 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26916 * calendar/calendar.el (calendar-mode-map):
26917 Check for toolkit scroll bars. (Bug#8305)
26918
26919 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26920
26921 * minibuffer.el (completion-in-region--postch)
26922 (completion-in-region-mode): Remove unnecessary messages.
26923
26924 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26925
26926 * font-lock.el (font-lock-refresh-defaults):
26927 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26928 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26929
26930 * info.el (Info-directory-list, Info-read-node-name-2)
26931 (Info-split-parameter-string): Doc fixes.
26932 (Info-virtual-nodes): Reflow docstring.
26933 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26934 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26935 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26936 Fix typos in docstrings.
26937 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26938 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26939 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26940 (Info-restore-desktop-buffer): Mark unused parameters.
26941 (Info-directory-find-file, Info-directory-find-node)
26942 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26943 (Info-virtual-index-find-node, Info-apropos-find-file)
26944 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26945 Mark unused parameters; fix typos in docstrings.
26946 (Info-virtual-index): Remove unused local variable `nodename'.
26947
26948 2011-04-05 Deniz Dogan <deniz@dogan.se>
26949
26950 * net/rcirc.el: Update my e-mail address.
26951 (rcirc-mode-map): Remove M-o binding.
26952
26953 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26954
26955 * startup.el (command-line): Save the cursor's theme-face
26956 directly, instead of using face-override-spec.
26957
26958 * custom.el (load-theme): Minor optimization in assigning faces.
26959
26960 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26961
26962 * help-fns.el (describe-variable): Complete all variables having
26963 documentation, including keywords.
26964 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26965
26966 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26967
26968 Convert to lexical-binding.
26969
26970 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26971 (bs--get-marked-string, bs--get-modified-string)
26972 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26973 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26974 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26975
26976 * ehelp.el (electric-help-execute-extended)
26977 (electric-help-ctrl-x-prefix):
26978 * hexl.el (hexl-revert-buffer-function):
26979 * linum.el (linum-after-change, linum-after-scroll):
26980 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26981
26982 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26983
26984 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26985
26986 * epa-dired.el:
26987 * epa-mail.el:
26988 * epa-hook.el:
26989 * epa-file.el:
26990 * epa.el:
26991 * epg.el: Use lexical binding.
26992
26993 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26994
26995 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26996
26997 * textmodes/flyspell.el (flyspell-word): Recognize default
26998 dictionary case for flyspell-mark-duplications-exceptions.
26999 Use regexp matching for languages.
27000 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27001 default dictionary (Bug#7926).
27002
27003 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27004
27005 * emacs-lisp/package.el (package--with-work-buffer):
27006 Recognize https URLs.
27007
27008 * net/network-stream.el: Move from gnus/proto-stream.el.
27009 Change prefix to network-stream throughout.
27010 (open-protocol-stream): Merge into open-network-stream, leaving
27011 open-protocol-stream as an alias. Handle nil BUFFER args.
27012
27013 * subr.el (open-network-stream): Move to net/network-stream.el.
27014
27015 2011-04-02 Glenn Morris <rgm@gnu.org>
27016
27017 * find-dired.el (find-exec-terminator): New option.
27018 (find-ls-option): Test for -ls support.
27019 (find-ls-subdir-switches): Test for -b in find-ls-option.
27020 (find-dired, find-grep-dired): Doc fixes.
27021 (find-dired): Use find-exec-terminator.
27022
27023 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27024 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27025 (find-name-arg): Remove purecopy.
27026
27027 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27028 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27029 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27030 accordingly. Don't add the null-device if not needed.
27031
27032 * files.el (save-some-buffers): Doc fix.
27033
27034 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27035
27036 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27037
27038 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27039
27040 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27041 Use `dolist' rather than `mapcar'.
27042
27043 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27044
27045 Add lexical binding.
27046
27047 * subr.el (apply-partially): Use new closures rather than CL.
27048 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27049 (dolist, dotimes): Use slightly different expansion for lexical code.
27050 (functionp): Move to C.
27051 (letrec): New macro.
27052 (with-wrapper-hook): Use it and apply-partially instead of CL.
27053 (eval-after-load): Preserve lexical-binding.
27054 (save-window-excursion, with-output-to-temp-buffer): Turn them
27055 into macros.
27056
27057 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27058
27059 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27060 than the arglist.
27061 (help-add-fundoc-usage): Don't add `Not documented'.
27062 (help-function-arglist): Handle closures, subroutines, and new
27063 byte-code-functions.
27064 (help-make-usage): Remove leading underscores.
27065 (describe-function-1): Handle closures.
27066 (describe-variable): Use special-variable-p for completion.
27067
27068 * files.el (lexical-binding): Declare safe.
27069
27070 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27071 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27072 (pcase): Add `let' pattern.
27073 Change memoization so it actually works.
27074 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27075 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27076 <let>: New case.
27077
27078 * emacs-lisp/macroexp.el: Use lexical binding.
27079 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27080 Don't convert ' to #' without checking that it's indeed quoting
27081 a lambda.
27082
27083 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27084 Use eval-sexp-add-defvars.
27085 (eval-sexp-add-defvars): New fun.
27086
27087 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27088
27089 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27090 Don't autoload.
27091 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27092 than the internal `byte-compile-lambda'.
27093 (defmethod): Don't hide code under quotes.
27094 (eieio-defmethod): New `code' argument.
27095
27096 * emacs-lisp/eieio-comp.el: Remove.
27097
27098 * emacs-lisp/edebug.el (edebug-eval-defun)
27099 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27100 (edebug-toggle): Avoid `eval'.
27101
27102 * emacs-lisp/disass.el (disassemble-internal): Handle new
27103 `closure' objects.
27104 (disassemble-1): Handle new byte codes.
27105
27106 * emacs-lisp/cl.el (pushnew): Silence warning.
27107
27108 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27109 (cl-byte-compile-throw): Remove.
27110 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27111
27112 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27113 closures.
27114
27115 * emacs-lisp/cconv.el: New file.
27116
27117 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27118 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27119 (byte-compile-initial-macro-environment):
27120 Handle declare-function here.
27121 (byte-compile--lexical-environment): New var.
27122 (byte-stack-ref, byte-stack-set, byte-discardN)
27123 (byte-discardN-preserve-tos): New lap codes.
27124 (byte-interactive-p): Don't use any more.
27125 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27126 New macros.
27127 (byte-compile-lapcode): Use them and handle new lap codes.
27128 (byte-compile-obsolete): Remove.
27129 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27130 (byte-compile-arglist-warn): Check late def of inlinable funs.
27131 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27132 since they should have been expanded by now.
27133 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27134 (byte-compile-from-buffer): Remove unused second arg.
27135 (byte-compile-preprocess): New function.
27136 (byte-compile-toplevel-file-form): New function to distinguish
27137 file-form calls from outside from file-form calls from hunk-handlers.
27138 (byte-compile-file-form): Simplify.
27139 (byte-compile-file-form-defsubst): Remove.
27140 (byte-compile-file-form-defmumble): Simplify now that
27141 byte-compile-lambda always returns a byte-code-function.
27142 (byte-compile): Preprocess.
27143 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27144 Remove, not used any more.
27145 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27146 (byte-compile-make-args-desc): New funs.
27147 (byte-compile-lambda): Handle lexical functions. Always return
27148 a byte-code-function.
27149 (byte-compile-reserved-constants): New var, to make up room for
27150 closed-over variables.
27151 (byte-compile-constants-vector): Obey it.
27152 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27153 (byte-compile-macroexpand-declare-function): New function.
27154 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27155 byte-code-functions.
27156 (byte-compile-form): Check obsolescence here.
27157 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27158 (byte-compile-variable-ref): Remove.
27159 (byte-compile-dynamic-variable-op): New fun.
27160 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27161 (byte-compile-variable-set): New funs.
27162 (byte-compile-discard): Add 2 args.
27163 (byte-compile-stack-ref, byte-compile-stack-set)
27164 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27165 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27166 macroexpand-all instead.
27167 (byte-compile-quote-form): Remove.
27168 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27169 (byte-compile-bind, byte-compile-unbind): New funs.
27170 (byte-compile-let): Handle let* and lexical binding.
27171 (byte-compile-let*): Remove.
27172 (byte-compile-catch, byte-compile-unwind-protect)
27173 (byte-compile-track-mouse, byte-compile-condition-case):
27174 Handle a new :fun-body form, used for lexical scoping.
27175 (byte-compile-save-window-excursion)
27176 (byte-compile-with-output-to-temp-buffer): Remove.
27177 (byte-compile-defun): Simplify.
27178 (byte-compile-stack-adjustment): New fun.
27179 (byte-compile-out): Use it.
27180 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27181
27182 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27183 handler any more.
27184
27185 * emacs-lisp/byte-opt.el: Use lexical binding.
27186 (byte-inline-lapcode): Remove (to bytecomp).
27187 (byte-compile-inline-expand): Pay attention to inlining to/from
27188 lexically bound code.
27189 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27190 any more.
27191 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27192 any more and don't call compiler-macros.
27193 (byte-compile-splice-in-already-compiled-code): Remove.
27194 (byte-code): Don't inline any more.
27195 (disassemble-offset): Receive `bytes' as argument rather than via
27196 dynamic scoping.
27197 (byte-compile-tag-number): Declare before first use.
27198 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27199 `return' even if make-spliceable.
27200 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27201 obsolete interactive-p.
27202 (byte-optimize-lapcode): Optimize new lap-codes.
27203 Don't trip up on new form of `byte-constant' lap code.
27204
27205 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27206
27207 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27208
27209 * custom.el (custom-initialize-default, custom-declare-variable):
27210 Use `defvar'.
27211
27212 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27213 New variables.
27214 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27215 (COMPILE_FIRST): Add macroexp and cconv.
27216 * makefile.w32-in: Mirror changes in Makefile.in.
27217
27218 * vc/cvs-status.el:
27219 * vc/diff-mode.el:
27220 * vc/log-edit.el:
27221 * vc/log-view.el:
27222 * vc/smerge-mode.el:
27223 * textmodes/bibtex-style.el:
27224 * textmodes/css-mode.el:
27225 * startup.el:
27226 * uniquify.el:
27227 * minibuffer.el:
27228 * newcomment.el:
27229 * reveal.el:
27230 * server.el:
27231 * mpc.el:
27232 * emacs-lisp/smie.el:
27233 * doc-view.el:
27234 * dired.el:
27235 * abbrev.el: Use lexical binding.
27236
27237 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27238
27239 * info.el (info-display-manual): New function.
27240
27241 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27242
27243 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27244
27245 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27246
27247 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27248 an entry for that server in rcirc-authinfo. (Bug#8385)
27249
27250 2011-03-31 Glenn Morris <rgm@gnu.org>
27251
27252 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27253
27254 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27255
27256 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27257
27258 * progmodes/python.el (python-default-interpreter)
27259 (python-python-command-args, python-jython-command-args)
27260 (python-which-shell, python-which-args, python-which-bufname)
27261 (python-file-queue, python-comint-output-filter-function)
27262 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27263 variables and functions.
27264
27265 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27266
27267 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27268 (completion-in-region-mode): New minor mode.
27269 (completion-in-region): Use it.
27270 (completion-in-region--data, completion-in-region-mode-map): New vars.
27271 (completion-in-region--postch): New function.
27272 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27273 New vars.
27274 (completion--capf-wrapper): New function.
27275 (completion-at-point): Use it to track well-behavedness of
27276 hook functions.
27277 (completion-help-at-point): New command.
27278
27279 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27280
27281 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27282 syntax class to search for whitespace on a single line
27283 (Message-ID: <4D938140.4030905@redhat.com>).
27284
27285 2011-03-30 Leo Liu <sdl.web@gmail.com>
27286
27287 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27288 New commands.
27289 (edit-abbrevs-map): Bind them here.
27290 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27291
27292 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27293
27294 * allout.el (allout-hide-by-annotation, allout-flag-region):
27295 Reduce possibility of overlay leakage by making them volatile.
27296
27297 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27298 hash is not shared between buffers. Mode initialization is
27299 responsible for giving it a useful starting value.
27300 (allout-item-span): Reduce possibility of overlay leakage by
27301 making them volatile.
27302 (allout-widgets-count-buttons-in-region): Add diagnostic function
27303 for tracking down button overlay leaks.
27304
27305 2011-03-29 Leo Liu <sdl.web@gmail.com>
27306
27307 * ido.el (ido-read-internal): Use the default history var
27308 minibuffer-history if no HISTORY is specified.
27309
27310 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27311
27312 * net/imap.el (imap-shell-open, imap-process-connection-type):
27313 Use imap-process-connection-type for 'shell' streams as well as
27314 Kerberos, SSL, other subprocesses.
27315
27316 2011-03-28 Leo Liu <sdl.web@gmail.com>
27317
27318 * abbrev.el (abbrev-table-empty-p): New function.
27319 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27320 nonempty ones. (Bug#5937)
27321
27322 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27323
27324 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27325
27326 2011-03-27 Leo Liu <sdl.web@gmail.com>
27327
27328 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27329 for foreground and background colors.
27330 (ansi-color-make-color-map): Adapt.
27331
27332 2011-03-25 Leo Liu <sdl.web@gmail.com>
27333
27334 * midnight.el (midnight-time-float): Remove. Note it calculates
27335 the microsecond component incorrectly and seconds-to-time does the
27336 same job.
27337 Remove redundant (require 'timer).
27338
27339 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27340 (ido-completions): Remove unused arguments. (Bug#8329)
27341
27342 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27343
27344 * minibuffer.el (completion--flush-all-sorted-completions):
27345 Remove itself from hook.
27346 (completion-at-point): Let the functions perform the completion
27347 immediately and return nil or t.
27348 * comint.el (comint-dynamic-complete-functions): Now identical to
27349 completion-at-point-functions.
27350 (comint-dynamic-list-input-ring): Remove unused var `index'.
27351 (comint--match-partial-filename, comint--unquote&expand-filename):
27352 New funs, split from comint-match-partial-filename.
27353 (comint-dynamic-complete): Use completion-at-point.
27354 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27355
27356 2011-03-24 Drew Adams <drew.adams@oracle.com>
27357
27358 * thingatpt.el: Support `defun'.
27359
27360 2011-03-23 Leo Liu <sdl.web@gmail.com>
27361
27362 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27363
27364 * help-mode.el (help-mode-finish): Tweak regexp.
27365
27366 2011-03-23 Glenn Morris <rgm@gnu.org>
27367
27368 * eshell/esh-opt.el (eshell-eval-using-options):
27369 Do not bind unused local variable `eshell-option-stub'.
27370
27371 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27372
27373 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27374
27375 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27376 keymap variable in `with-no-warnings' to avoid a warning when the
27377 keymap has been already `defconst'ed.
27378
27379 2011-03-22 Leo Liu <sdl.web@gmail.com>
27380
27381 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27382 encode all chars in abbrevs; otherwise use emacs-mule or
27383 utf-8-emacs. (Bug#8308)
27384
27385 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27386
27387 * simple.el (backward-delete-char-untabify):
27388 Avoid warning about using `delete-backward-char'.
27389
27390 * image.el (image-type-file-name-regexps): Make it variable.
27391 `imagemagick-register-types' modifies it, and the user may want
27392 to add new extensions for known image types.
27393 (imagemagick-register-types): Throw error if not using ImageMagick.
27394
27395 2011-03-22 Leo Liu <sdl.web@gmail.com>
27396
27397 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27398 located before rcirc-prompt-end-marker.
27399 (rcirc-complete): Error if point is not after rcirc prompt.
27400 Handle the case when table is nil.
27401 (rcirc-user-authenticated): Define to fix compiler warning.
27402
27403 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27404
27405 * custom.el (custom--inhibit-theme-enable): Make it affect only
27406 custom-theme-set-variables and custom-theme-set-faces.
27407 (provide-theme): Ignore custom--inhibit-theme-enable.
27408 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27409 (custom-enabling-themes): Delete variable.
27410 (enable-theme): Accept only loaded themes as arguments.
27411 Ignore the special custom-enabled-themes variable.
27412 (custom-enabled-themes): Forbid themes from setting this.
27413 Eliminate use of custom-enabling-themes.
27414 (custom-push-theme): Quote "changed" custom var entry.
27415
27416 2011-03-21 Leo Liu <sdl.web@gmail.com>
27417
27418 * ido.el (ido-read-internal): Add ido-selected to history instead
27419 of user input.
27420
27421 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27422
27423 * subr.el (deferred-action-list, deferred-action-function):
27424 Mark obsolete.
27425
27426 2011-03-21 Leo Liu <sdl.web@gmail.com>
27427
27428 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27429 change on 2011-02-13 (bug#8309).
27430
27431 * minibuffer.el (read-file-name-function): Change default value.
27432 (read-file-name--defaults): Rename from read-file-name-defaults.
27433 (read-file-name-default): Rename from read-file-name.
27434 (read-file-name): Call read-file-name-function.
27435
27436 2011-03-21 Glenn Morris <rgm@gnu.org>
27437
27438 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27439 Doc fixes.
27440
27441 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27442
27443 * cus-theme.el: Add missing provide statement.
27444 (customize-create-theme): Extract theme value correctly.
27445 (custom-theme-visit-theme): Autoload.
27446 (customize-create-theme): Prompt before inserting default faces.
27447
27448 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27449
27450 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27451 units and musical notes.
27452
27453 2011-03-20 Leo Liu <sdl.web@gmail.com>
27454
27455 * ido.el (ido-read-internal): Use completing-read-default.
27456 (ido-completing-read): Fix compatibility with completing-read.
27457
27458 2011-03-20 Christian Ohler <ohler@gnu.org>
27459
27460 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27461 (ert-delete-all-tests): Use `called-interactively-p' rather than
27462 `interactive-p'.
27463 (ert--make-xrefs-region): Respect END.
27464
27465 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27466
27467 * dired-aux.el (dired-create-directory): Signal an error if the
27468 directory already exists (Bug#8246).
27469
27470 * facemenu.el (list-colors-display): Call list-faces-display
27471 inside with-help-window.
27472 (list-colors-print): Use display property to align the final
27473 column, instead of checking window-width.
27474
27475 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27476
27477 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27478 windows-nt systems.
27479 (emerge-protect-metachars): Quote correctly for ms-dos and
27480 windows-nt systems.
27481
27482 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27483
27484 * info.el (info-initialize): Replace all uses of `:' with
27485 path-separator for compatibility with non-Unix systems.
27486 Cache quoting of path-separator. (Bug#8258)
27487
27488 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27489
27490 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27491 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27492 (mouse-avoidance-mode): Fix typos in docstrings.
27493
27494 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27495
27496 * startup.el (package-subdirectory-regexp): Move from package.el.
27497 Omit \\` and \\', and let callers add them.
27498
27499 * emacs-lisp/package.el (package-strip-version)
27500 (package-load-all-descriptors): Add \\` and \\' to
27501 package-subdirectory-regexp before using it.
27502 (package-untar-buffer): New arg DIR; ensure that file untars only
27503 into this expected directory. Remove superfluous delete-region.
27504 (package-unpack): Caller changed.
27505 (package-tar-file-info): Use package-subdirectory-regexp.
27506
27507 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27508
27509 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27510 diff-mode-shared-map (bug#8284).
27511 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27512
27513 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27514
27515 * calendar/time-date.el (format-seconds): Use assoc instead of
27516 assoc-string, since assoc-string doesn't exist in XEmacs.
27517
27518 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27519
27520 * custom.el (custom-known-themes): Reflow docstring.
27521 (custom-theme-load-path): Fix typo in docstring.
27522 (load-theme): Fix typo in error message.
27523 (custom-available-themes, custom-variable-theme-value):
27524 Use `let', not `let*'.
27525
27526 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27527
27528 * calc/README: Mention inclusion of musical notes.
27529
27530 * calc/calc-units.el (calc-lu-quant): Rename from
27531 `calc-logunits-quantity'.
27532 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27533 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27534 (calc-db): Rename from `calc-dblevel'.
27535 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27536 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27537 (calc-np): Rename from `calc-nplevel'.
27538 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27539 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27540 (calc-lu-plus): Rename from `calc-logunits-add'.
27541 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27542 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27543 (calc-lu-minus): Rename from `calc-logunits-sub'.
27544 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27545 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27546 (calc-lu-times): Rename from `calc-logunits-mul'.
27547 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27548 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27549 (calc-lu-divide): Rename from `calc-logunits-div'.
27550 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27551 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27552
27553 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27554 functions being autoloaded.
27555
27556 * calc/calc.el (calc-lu-power-reference): Rename from
27557 `calc-logunits-power-reference'.
27558 (calc-lu-field-reference): Rename from
27559 `calc-logunits-field-reference'.
27560
27561 * calc/calc-help.el (calc-l-prefix-help):
27562 Mention musical note functions.
27563
27564 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27565
27566 * minibuffer.el (completion-all-sorted-completions):
27567 Use :completion-cycle-penalty text property if present.
27568
27569 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27570
27571 * allout.el (allout-yank-processing): Adjust for new rebulleting
27572 regime so bullet being yanked is used without prompting the user
27573 for a choice.
27574
27575 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27576
27577 * startup.el (command-line): Warn the user that _emacs is deprecated.
27578
27579 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27580
27581 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27582 (delphi-verbose, delphi-comment-face, delphi-string-face)
27583 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27584 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27585 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27586 (delphi-new-comment-line, delphi-font-lock-defaults)
27587 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27588 Fix typos in docstrings.
27589
27590 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27591
27592 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27593 Invert the roles of character and string values for INSTEAD, so a
27594 string is used for the more common case of a defaulting prompt.
27595
27596 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27597
27598 * progmodes/ruby-mode.el (ruby-backward-sexp):
27599 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27600 * play/gamegrid.el (gamegrid-make-face):
27601 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27602 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27603 * notifications.el (notifications-notify):
27604 * net/xesam.el (xesam-search-engines):
27605 * net/quickurl.el (quickurl-list-insert):
27606 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27607
27608 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27609
27610 * startup.el (command-line): Update package subdirectory regexp.
27611
27612 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27613
27614 * allout.el (allout-abbreviate-flattened-numbering)
27615 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27616
27617 * subr.el (read-char-choice): Only show the cursor after the prompt,
27618 not after the answer.
27619
27620 2011-03-15 Kevin Ryde <user42@zip.com.au>
27621
27622 * help-fns.el (variable-at-point): Skip leading quotes, if any
27623 (bug#8253).
27624
27625 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27626
27627 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27628 warning message.
27629
27630 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27631
27632 * shell.el (shell): When called interactively, offer to change the
27633 shell file name on remote hosts.
27634
27635 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27636
27637 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27638 integration for LDAP parameters. The host, base, user or binddn,
27639 and secret tokens can be specified in a netrc file, for instance.
27640 This is optional because an `auth-source' parameter must be
27641 specified in the search attributes.
27642
27643 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27644
27645 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27646
27647 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27648
27649 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27650 into declaration. Remove redundant and harmful binding.
27651
27652 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27653
27654 * files.el (file-ownership-preserved-p): Pass `integer' as an
27655 explicit 2nd argument to `file-attributes'. If the file's owner
27656 is the Administrators group on Windows, and the current user is
27657 Administrator, consider that a match.
27658
27659 * server.el (server-ensure-safe-dir): Consider server directory
27660 safe on MS-Windows if its owner is the Administrators group while
27661 the current Emacs user is Administrator. Use `=' to compare
27662 numerical UIDs, since they could be integers or floats.
27663
27664 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27665
27666 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27667
27668 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27669
27670 Sync with Tramp 2.2.1.
27671
27672 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27673
27674 * net/trampver.el: Update release number.
27675
27676 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27677
27678 * progmodes/compile.el (compilation--previous-directory): Fix up
27679 various nil/dead-marker mismatches (bug#8014).
27680 (compilation-directory-properties, compilation-error-properties):
27681 Don't call it at a position past the one we're about to change.
27682
27683 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27684 Disable obsolescence warnings in the file that declares it.
27685
27686 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27687
27688 * allout-widgets.el (allout-widgets-tally):
27689 Initialize allout-widgets-tally as a hash table rather than nil to
27690 prevent mode-line redisplay warnings. Also, clarify the module
27691 description and fix a comment typo.
27692
27693 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27694
27695 * help-fns.el (describe-variable): Don't complete keywords.
27696 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27697
27698 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27699
27700 * emacs-lisp/package.el (package-version-join): Impose a standard
27701 string representation for pre/alpha/beta version lists.
27702 (package-unpack-single): Standardize the directory name by passing
27703 it through package-version-join.
27704 (package-strip-rcs-id): Accept any version string that does not
27705 signal an error in version-to-list.
27706
27707 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27708
27709 * simple.el (delete-trailing-whitespace): Return nil for the
27710 benefit of `write-file-functions'.
27711
27712 2011-03-10 Glenn Morris <rgm@gnu.org>
27713
27714 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27715
27716 * vc/vc-git.el (vc-git-program): New option.
27717 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27718 (vc-git--call): Use it.
27719
27720 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27721
27722 * cus-edit.el (Custom-newline): If no button at point, look
27723 for a subgroup button at start-of-line. (Bug#2298)
27724
27725 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27726
27727 2011-03-10 Julien Danjou <julien@danjou.info>
27728
27729 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27730 `cursor-type' is nil.
27731
27732 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27733
27734 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27735
27736 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27737
27738 * allout.el: Change so yank of distinctive-bullet items
27739 preserves the existing header prefix, rebulleting it if necessary,
27740 rather than replacing it. This is necessary for proper operation
27741 of cooperative addons like allout-widgets.
27742 (allout-make-topic-prefix, allout-rebullet-heading):
27743 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27744 value as alternate bullet to be used, instead of prompting the user
27745 for a bullet character.
27746
27747 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27748
27749 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27750 Do not use `tramp-file-name-port', because this returns also
27751 `tramp-default-port'.
27752
27753 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27754
27755 * net/rcirc.el (rcirc-handler-001): Remove useless
27756 with-rcirc-process-buffer.
27757 (rcirc-check-auth-status): Swap arguments to string-match.
27758
27759 2011-03-09 Glenn Morris <rgm@gnu.org>
27760
27761 * shell.el (shell-mode):
27762 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27763
27764 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27765 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27766
27767 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27768
27769 * emacs-lisp/package.el (package-refresh-contents)
27770 (package-menu-execute): Use condition-case-no-debug.
27771
27772 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27773
27774 * simple.el (shell-command-to-string): Use `process-file'.
27775
27776 * emacs-lisp/package.el (package-tar-file-info): Handle also
27777 remote files.
27778
27779 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27780 Use `equal' for upload base check.
27781
27782 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27783
27784 * textmodes/texinfo.el (texinfo-environments):
27785 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27786
27787 2011-03-08 Glenn Morris <rgm@gnu.org>
27788
27789 * cus-start.el (cursor-in-non-selected-windows):
27790 Fix :set quoting oddness. (Bug#8192)
27791
27792 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27793 in some setf expressions. (Bug#2159)
27794
27795 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27796
27797 * custom.el (custom-available-themes): Return themes in
27798 alphabetical order.
27799
27800 See ChangeLog.15 for earlier changes.
27801
27802 ;; Local Variables:
27803 ;; coding: utf-8
27804 ;; End:
27805
27806 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27807
27808 This file is part of GNU Emacs.
27809
27810 GNU Emacs is free software: you can redistribute it and/or modify
27811 it under the terms of the GNU General Public License as published by
27812 the Free Software Foundation, either version 3 of the License, or
27813 (at your option) any later version.
27814
27815 GNU Emacs is distributed in the hope that it will be useful,
27816 but WITHOUT ANY WARRANTY; without even the implied warranty of
27817 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27818 GNU General Public License for more details.
27819
27820 You should have received a copy of the GNU General Public License
27821 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.