Silence some vc compilation warnings
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-28 Glenn Morris <rgm@gnu.org>
2
3 * vc/vc-arch.el (vc-exec-after): Declare.
4 (vc-switches): Autoload.
5 * vc/vc-bzr.el: No need to require vc when compiling.
6 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7 (vc-resynch-buffer, vc-dir-refresh): Declare.
8 (vc-setup-buffer, vc-switches): Autoload.
9 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10 * vc/vc-mtn.el (vc-exec-after): Declare.
11 (vc-switches): Autoload.
12 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14 (vc-file-tree-walk): Declare.
15 * vc/vc-svn.el (vc-exec-after): Declare.
16 (vc-switches, vc-setup-buffer): Autoload.
17 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
18 Autoload.
19 (vc-resynch-buffer): Declare.
20
21 * obsolete/fast-lock.el (byte-compile-warnings):
22 Don't warn about obsolete features in this obsolete file.
23
24 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
25 Move definition before use.
26
27 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
28 (dun-unix-verbs): Remove dun-zippy.
29 (dun-zippy): Remove function.
30
31 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
32
33 2013-05-27 Juri Linkov <juri@jurta.org>
34
35 * replace.el (replace-search): New function with code moved out
36 from `perform-replace'.
37 (replace-highlight, replace-dehighlight): Move function definitions
38 up closer to `replace-search'. (Bug#11746)
39
40 2013-05-27 Juri Linkov <juri@jurta.org>
41
42 * replace.el (perform-replace): Ignore invisible matches.
43 In addition to checking `query-replace-skip-read-only', also
44 filter out matches by calling `run-hook-with-args-until-failure'
45 on `isearch-filter-predicates', and also check `search-invisible'
46 for t or call `isearch-range-invisible'.
47 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
48
49 2013-05-27 Juri Linkov <juri@jurta.org>
50
51 * isearch.el (isearch-filter-predicates): Rename from
52 `isearch-filter-predicate'. Doc fix. (Bug#11378)
53 (isearch-message-prefix): Display text from the property
54 `isearch-message-prefix' of the currently active filters.
55 (isearch-search): Don't compare `isearch-filter-predicate' with
56 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
57 on `isearch-filter-predicates'. Also check `search-invisible' for t
58 or call `isearch-range-invisible'.
59 (isearch-filter-visible): Make obsolete.
60 (isearch-lazy-highlight-search):
61 Call `run-hook-with-args-until-failure' on
62 `isearch-filter-predicates' and use `isearch-range-invisible'.
63
64 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
65 `isearch-filter-predicates' instead of `funcall'ing
66 `isearch-filter-predicate'.
67 (Info-mode): Set `Info-isearch-filter' to
68 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
69
70 * dired-aux.el (dired-isearch-filter-predicate-orig):
71 Remove variable.
72 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
73 (dired-isearch-filenames-end): Add and remove
74 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
75 instead of changing the value of `isearch-filter-predicate'.
76 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
77 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
78 Put property `isearch-message-prefix' to "filename " on
79 `dired-isearch-filter-filenames'.
80
81 * wdired.el (wdired-change-to-wdired-mode):
82 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
83 locally instead of changing `isearch-filter-predicate'.
84 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
85
86 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
87
88 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
89 return the commit hash (Bug#14459). Also set the
90 `vc-git-detached' property.
91 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
92 (vc-git-mode-line-string): Use the same help-echo format whether
93 in detached mode or not, because we know the actual revision now.
94 When in detached mode, shorten the revision to 7 chars.
95
96 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
97
98 * emacs-lisp/easy-mmode.el (define-minor-mode):
99 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
100 mode hook and provide a docstring.
101
102 2013-05-27 Alan Mackenzie <acm@muc.de>
103
104 Remove spurious syntax-table text properties inserted by C-y.
105 * progmodes/cc-mode.el (c-after-change): Also clear hard
106 syntax-table property with value nil.
107
108 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
109
110 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
111 when reading the events; the buffer layout shall not be changed.
112
113 2013-05-27 Leo Liu <sdl.web@gmail.com>
114
115 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
116 New variable.
117 (inferior-octave-directory-tracker): Automatically re-sync
118 default-directory.
119 (octave-help): Improve handling of 'See also'.
120
121 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * doc-view.el: Minor naming convention tweaks.
124 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
125
126 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
127 even if there's no `display' property yet (bug#14435).
128
129 2013-05-25 Eli Zaretskii <eliz@gnu.org>
130
131 * subr.el (unmsys--file-name): Rename from reveal-filename.
132
133 * Makefile.in (custom-deps, finder-data, autoloads)
134 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
135 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
136 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
137
138 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
141 error-completion on the first 2 args of condition-case (bug#14446).
142 Don't burp at EOB.
143
144 2013-05-25 Leo Liu <sdl.web@gmail.com>
145
146 * comint.el (comint-previous-matching-input): Do not flood the
147 *Messages* buffer with trivial messages.
148
149 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
150
151 * progmodes/flymake.el (flymake-nop): Don't return a string.
152 (flymake-set-at): Fix typo.
153
154 * simple.el (read--expression): New function, extracted from
155 eval-expression. Set completion-at-point-functions (bug#14465).
156 (eval-expression, eval-minibuffer): Use it.
157
158 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
159
160 * progmodes/flymake.el (flymake-save-buffer-in-file)
161 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
162 (flymake-selected-frame, flymake-log, flymake-ins-after)
163 (flymake-set-at, flymake-get-buildfile-from-cache)
164 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
165 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
166 Refine the doc string.
167 (flymake-get-file-name-mode-and-masks): Reformat.
168 (flymake-get-real-file-name-function): Fix a minor bug.
169
170 2013-05-24 Juri Linkov <juri@jurta.org>
171
172 * progmodes/grep.el (grep-mode-font-lock-keywords):
173 Support =linenumber= format used by git-grep for lines with
174 function names. (Bug#13549)
175
176 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
177
178 * progmodes/octave.el (octave-smie-rules): Return nil rather than
179 0 after a semi-colon; it works better for smie-auto-fill.
180 (octave--indent-new-comment-line): New function.
181 (octave-indent-new-comment-line): Use it (indirectly).
182 (octave-mode): Don't disable smie-auto-fill. Use add-function to
183 modify comment-line-break-function.
184
185 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
186 (smie-setup): Use add-function to set it.
187
188 2013-05-24 Sam Steingold <sds@gnu.org>
189
190 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
191 argument (before the `interactive' argument).
192
193 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * image-mode.el (image-mode-winprops): Add winprops to
196 image-mode-winprops-alist before running
197 image-mode-new-window-functions.
198 * doc-view.el (doc-view-new-window-function): Don't delay
199 doc-view-goto-page via timers (bug#14435).
200
201 2013-05-24 Tassilo Horn <tsdh@gnu.org>
202
203 * doc-view.el: Integrate with desktop.el. (Bug#14435)
204 (doc-view-desktop-save-buffer): New function.
205 (doc-view-restore-desktop-buffer): New function.
206 (desktop-buffer-mode-handlers):
207 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
208 handler.
209 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
210 `desktop-save-buffer' function.
211
212 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
213
214 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
215 (tramp-gvfs-file-name-handler): Raise a user error when
216 `tramp-gvfs-enabled' is nil.
217 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
218 Do not raise a user error when loading package. (Bug#14447)
219
220 * net/xesam.el: Move to obsolete/.
221
222 2013-05-24 Glenn Morris <rgm@gnu.org>
223
224 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
225
226 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
227
228 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
229 (Info-find-node, Man-getpage-in-background): Declare.
230
231 * mail/unrmail.el (unrmail):
232 Replace obsolete detect-coding-with-priority.
233
234 * net/socks.el (socks-split-string): Use this rather than split-string.
235 (socks-nslookup-host): Update for above change.
236 (dynamic-choice, s5-dynamic-choice-match)
237 (s5-dynamic-choice-match-inline, s5-widget-value-create):
238 Comment out unused code.
239
240 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
241 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
242 (gud-tooltip-echo-area): Make obsolete.
243 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
244
245 * progmodes/js.el (js--optimize-arglist): Declare.
246
247 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
248
249 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
250 (ediff-window-C): Declare.
251
252 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
253 Tweak requires to silence compiler.
254
255 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
256 (he-search-string, he-tried-table, he-expand-list)
257 (he-init-string, he-string-member, he-substitute-string)
258 (he-reset-string): Declare.
259
260 * obsolete/options.el (list-options): Use custom-variable-p,
261 rather than obsolete alias.
262
263 2013-05-23 Sam Steingold <sds@gnu.org>
264
265 * simple.el (shell-command-on-region): Pass the `replace' argument
266 down to `call-process-region' to comply with the doc as reported on
267 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
268
269 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * emacs-lisp/smie.el (smie-indent-forward-token)
272 (smie-indent-backward-token): Handle string tokens (bug#14381).
273
274 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
275
276 * ielm.el (ielm-menu): New menu.
277 (inferior-emacs-lisp-mode): Set comment-start.
278
279 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
280
281 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
282 Fix deactivate action.
283
284 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
285 Add cleveref macros.
286
287 * lisp/textmodes/reftex-parse.el
288 (reftex-locate-bibliography-files): Accept options for
289 bibliography commands.
290 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
291 Add addbibresource. Basic Biblatex support.
292
293 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
294
295 * net/tramp-gvfs.el (top):
296 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
297 when loading package. (Bug#14447)
298
299 2013-05-23 Glenn Morris <rgm@gnu.org>
300
301 * progmodes/js.el: No need to load comint when compiling.
302 (ring-insert, comint-send-string, comint-send-input)
303 (comint-last-input-end, ido-chop): Declare.
304
305 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
306 * vc/ediff-mult.el: Adjust requires.
307 (ediff-directories-internal, ediff-directory-revisions-internal)
308 (ediff-patch-file-internal): Declare.
309 * vc/ediff-ptch.el: Adjust requires.
310 (ediff-use-last-dir, ediff-buffers-internal): Declare.
311 (ediff-find-file): Autoload.
312 * vc/ediff-util.el: No need to load ediff when compiling.
313 (ediff-regions-internal): Declare.
314 * vc/ediff-wind.el: Adjust requires.
315 (ediff-compute-toolbar-width): Define when compiling.
316 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
317 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
318 (dired-get-filename, dired-get-marked-files)
319 (ediff-last-dir-patch, ediff-patch-default-directory)
320 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
321 (ediff-patch-buffer-internal): Declare.
322
323 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
324 (ispell-process, ispell-buffer-local-words, lm-summary)
325 (lm-section-start, lm-section-end): Declare.
326 (checkdoc-ispell-init): Simplify.
327
328 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
329 (he-string-member, he-reset-string, he-substitute-string): Declare.
330
331 * eshell/em-ls.el: Adjust requires.
332 (eshell-glob-regexp): Declare.
333 * eshell/em-tramp.el: Adjust requires.
334 (eshell-parse-command): Autoload.
335 * eshell/em-xtra.el: Adjust requires.
336 (eshell-parse-command): Autoload.
337 * eshell/esh-ext.el: Adjust requires.
338 (eshell-parse-command, eshell-close-handles): Autoload.
339 * eshell/esh-io.el: Adjust requires.
340 (eshell-output-filter): Autoload.
341 * eshell/esh-util.el: No need to load tramp when compiling.
342 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
343 Declare.
344 (eshell-parse-ange-ls): Require ange-ftp and tramp.
345 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
346 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
347 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
348 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
349 * eshell/esh-opt.el, eshell/esh-proc.el:
350 * eshell/esh-var.el: Adjust requires.
351 * eshell/eshell.el: Do not require esh-util twice.
352 (eshell-add-input-to-history): Declare.
353 (eshell-command): Check history module is active before using it.
354
355 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
356
357 2013-05-22 Leo Liu <sdl.web@gmail.com>
358
359 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
360
361 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
362
363 * autorevert.el (auto-revert-notify-add-watch)
364 (auto-revert-notify-handler): Add `attrib' for the inotify case,
365 it indicates changes in file modification time.
366
367 2013-05-22 Glenn Morris <rgm@gnu.org>
368
369 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
370 Always delete the autoloaded function from the noruntime and
371 unresolved functions lists.
372
373 * allout.el: No need to load epa, epg, overlay when compiling.
374 (epg-context-set-passphrase-callback, epg-list-keys)
375 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
376 (epg-key-user-id-list): Declare.
377
378 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
379 (viper-set-parsing-style-toggling-macro)
380 (viper-set-emacs-state-searchstyle-macros):
381 Use called-interactively-p on Emacs.
382 (viper-looking-back): Make it an obsolete alias. Update callers.
383 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
384 Use looking-back rather than viper-looking-back.
385 (viper-tmp-insert-at-eob, viper-enlarge-region)
386 (viper-read-string-with-history, viper-register-to-point)
387 (viper-append-to-register, viper-change-state-to-vi)
388 (viper-backward-char-carefully, viper-forward-char-carefully)
389 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
390 (viper-change-state-to-emacs): Declare.
391 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
392 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
393 * emulation/viper-mous.el: Do not load viper-cmd.
394 (viper-backward-char-carefully, viper-forward-char-carefully)
395 (viper-forward-word, viper-adjust-window): Declare.
396
397 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
398
399 * progmodes/idlw-help.el (idlwave-help-fontify):
400 Use called-interactively-p.
401
402 * term/w32console.el (w32-get-console-codepage)
403 (w32-get-console-output-codepage): Declare.
404
405 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
406 Remove unnecessary declarations.
407 (dframe-message): Doc fix.
408
409 * info.el (dframe-select-attached-frame, dframe-current-frame):
410 Declare.
411
412 * speedbar.el (speedbar-message): Make it an obsolete alias.
413 Update all callers.
414 (speedbar-with-attached-buffer)
415 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
416 (speedbar-with-writable): Use backquote.
417 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
418 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
419 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
420 rather than speedbar- aliases.
421 * mail/rmail.el: Load dframe rather than speedbar when compiling.
422 (speedbar-make-specialized-keymap, speedbar-insert-button)
423 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
424 (speedbar-do-function-pointer): Declare.
425 (rmail-speedbar-button, rmail-speedbar-find-file)
426 (rmail-speedbar-move-message):
427 Use dframe-with-attached-buffer rather than speedbar- alias.
428 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
429 (dframe-message, speedbar-make-specialized-keymap)
430 (speedbar-add-expansion-list, speedbar-mode-functions-list)
431 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
432 (speedbar-insert-button, dframe-select-attached-frame)
433 (dframe-maybee-jump-to-attached-frame)
434 (speedbar-change-initial-expansion-list)
435 (speedbar-previously-used-expansion-list-name): Declare.
436 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
437 Use dframe-message, dframe-with-attached-buffer rather than
438 speedbar- aliases.
439 (gud-sentinel): Silence compiler.
440 * progmodes/vhdl-mode.el (speedbar-refresh)
441 (speedbar-do-function-pointer, speedbar-add-supported-extension)
442 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
443 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
444 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
445 (speedbar-file-lists, speedbar-make-tag-line)
446 (speedbar-line-directory, speedbar-goto-this-file)
447 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
448 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
449 (speedbar-make-button, speedbar-reset-scanners)
450 (speedbar-files-item-info, speedbar-line-text)
451 (speedbar-find-file-in-frame, speedbar-set-timer)
452 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
453 (speedbar-with-writable): Do not (re)define it.
454 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
455 rather than speedbar- alias.
456
457 2013-05-21 Leo Liu <sdl.web@gmail.com>
458
459 * progmodes/octave.el (octave-mode-menu): Update and re-organize
460 menu items.
461 (octave-mode): Tweak fill-nobreak-predicate.
462 (inferior-octave-startup): Check process to avoid infinite loop.
463 (inferior-octave): Pop to buffer first to show abornmal process
464 exit information.
465
466 2013-05-21 Glenn Morris <rgm@gnu.org>
467
468 * printing.el (pr-menu-bar): Define when compiling.
469
470 2013-05-21 Leo Liu <sdl.web@gmail.com>
471
472 * progmodes/octave.el (octave-auto-fill): Remove.
473 (octave-indent-new-comment-line): Improve.
474 (octave-mode): Use auto fill mode through
475 comment-line-break-function and fill-nobreak-predicate
476 (octave-goto-function-definition): Support DEFUN_DLD.
477 (octave-beginning-of-defun): Small Tweak
478 (octave-help): Show parent directory.
479
480 2013-05-21 Glenn Morris <rgm@gnu.org>
481
482 * files.el (dired-unmark):
483 * progmodes/gud.el (gdb-input): Update declarations.
484
485 * calculator.el (electric, ehelp): No need to load when compiling.
486 (Electric-command-loop, electric-describe-mode): Declare.
487
488 * doc-view.el (doc-view-current-converter-processes): Move before use.
489
490 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
491 Move MODE-set-explicitly definition before use.
492
493 * international/mule-diag.el (mule-diag):
494 Don't use obsolete window-system-version.
495
496 * mail/feedmail.el (smtpmail): No need to load when compiling.
497 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
498
499 * mail/mail-utils.el (rfc822): No need to load when compiling.
500 (rfc822-addresses): Autoload it.
501 (mail-strip-quoted-names): Trivial simplification.
502
503 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
504 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
505
506 * net/snmp-mode.el (tempo): Don't duplicate requires.
507
508 * progmodes/prolog.el (info): No need to load when compiling.
509 (comint): Require before shell requires it.
510 (Info-goto-node): Autoload it.
511 (Info-follow-nearest-node): Declare.
512 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
513
514 * textmodes/artist.el (picture-mode-exit): Declare.
515
516 * textmodes/reftex-parse.el (reftex-parse-from-file):
517 Trivial rewrite so the compiler can parse it better.
518
519 2013-05-20 Leo Liu <sdl.web@gmail.com>
520
521 * progmodes/octave.el (octave-help-mode-map)
522 (octave-help-mode-finish-hook): New variables.
523 (octave-help-mode, octave-help-mode-finish): New functions.
524 (octave-help): Use octave-help-mode.
525
526 2013-05-20 Glenn Morris <rgm@gnu.org>
527
528 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
529
530 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
531
532 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
533 start at point, so that expansion starting right after opening
534 slash in a regexp is recognized.
535 (ruby-syntax-before-regexp-re): New defvar, extracted from
536 ruby-syntax-propertize-function. Since the value of this regexp
537 is looked up at runtime now, we should be able to turn
538 `ruby-syntax-methods-before-regexp' into a defcustom later.
539 (ruby-syntax-propertize-function): Split regexp matching into two
540 parts, for opening and closing slashes. That allows us to skip
541 over string interpolations and support multiline regexps.
542 Don't call `ruby-syntax-propertize-expansions', instead use another rule
543 for them, which calls `ruby-syntax-propertize-expansion'.
544 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
545 call to `ruby-syntax-propertize-function'.
546 (ruby-syntax-propertize-expansion): Extracted from
547 `ruby-syntax-propertize-expansions'. Handles one expansion.
548 (ruby-syntax-propertize-percent-literal): Leave point right after
549 the percent symbol, so that the expression expansion rule can
550 propertize the contents.
551 (ruby-syntax-propertize-heredoc): Leave point at bol following the
552 heredoc openers.
553 (ruby-syntax-propertize-expansions): Remove.
554
555 2013-05-18 Juri Linkov <juri@jurta.org>
556
557 * man.el (Man-default-man-entry): Remove `-' from the end
558 of the default value. (Bug#14400)
559
560 2013-05-18 Glenn Morris <rgm@gnu.org>
561
562 * comint.el (comint-password-prompt-regexp):
563 Allow "password for XXX" where XXX contains colons (eg https://...).
564
565 2013-05-18 Leo Liu <sdl.web@gmail.com>
566
567 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
568 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
569 (octave-source-directories): Don't check process.
570 (octave-source-directories, octave-find-definition): Doc fix.
571
572 2013-05-18 Glenn Morris <rgm@gnu.org>
573
574 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
575 Remove backspace/delete bindings. (Bug#14392)
576
577 * cus-dep.el (custom-make-dependencies): Sort the output.
578 (custom-versions-load-alist): Convert comment to doc.
579
580 2013-05-17 Leo Liu <sdl.web@gmail.com>
581
582 * newcomment.el (comment-search-backward): Stricter in finding
583 comment start. (Bug#14303)
584
585 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
586 (octave-comment-start-skip): Properly anchored.
587
588 2013-05-17 Leo Liu <sdl.web@gmail.com>
589
590 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
591 Clean up when turned off. (Bug#14395)
592 (smie--highlight-matching-block-overlay): No longer buffer-local.
593 (smie-highlight-matching-block): Adjust.
594
595 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
596
597 Doc string fix for "nanoseconds" (Bug#14406).
598 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
599 Fix doc string typo that had "nanoseconds" instead of "microseconds".
600
601 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
602
603 * calc/calc-units.el (math-extract-units): Preserve powers
604 of units.
605
606 2013-05-17 Leo Liu <sdl.web@gmail.com>
607
608 * subr.el (delete-consecutive-dups): New function.
609 * ido.el (ido-set-matches-1): Use it.
610 * progmodes/octave.el (inferior-octave-completion-table): Use it.
611 * ido.el (ido-remove-consecutive-dups): Remove.
612
613 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
616 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
617 regexp-opt's `words'.
618
619 2013-05-16 Leo Liu <sdl.web@gmail.com>
620
621 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
622 (smie--highlight-matching-block-overlay)
623 (smie--highlight-matching-block-lastpos)
624 (smie--highlight-matching-block-timer): New variables.
625 (smie-highlight-matching-block): New function.
626 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
627 (smie-setup): Conditionally enable smie-blink-matching-open.
628
629 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
630
631 Sync with upstream verilog-mode r840.
632 * progmodes/verilog-mode.el (verilog-mode-version)
633 (verilog-mode-release-date): Update.
634 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
635 (verilog-sig-tieoff): Fix string error on
636 AUTORESET with colon define, bug594. Reported by Andrew Hou.
637 (verilog-read-decls): Fix parameters confusing
638 AUTOINST interfaces, bug565. Reported by Leith Johnson.
639
640 2013-05-16 Eli Zaretskii <eliz@gnu.org>
641
642 * subr.el (reveal-filename): New function.
643
644 * loadup.el: Compute Emacs executable versions on MS-Windows,
645 where executables have the .exe extension. Add a hard link
646 emacs-XX.YY.ZZ.exe on MS-Windows.
647
648 * Makefile.in (XARGS_LIMIT): New variable.
649 (custom-deps, finder-data, autoloads)
650 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
651 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
652 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
653 (compile-main): Limit xargs according to $(XARGS_LIMIT).
654
655 2013-05-16 Leo Liu <sdl.web@gmail.com>
656
657 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
658 (octave-mode-menu, octave-mode-map): Remove its uses.
659
660 2013-05-16 Reto Zimmermann <reto@gnu.org>
661
662 Sync with upstream vhdl mode v3.34.2.
663 * progmodes/vhdl-mode.el: Use `push' throughout.
664 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
665 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
666 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
667 (vhdl-actual-generic-name): New option to derive actual generic name.
668 (vhdl-port-paste-signals): Replace formal by actual generics.
669 (vhdl-beautify): New name for old group vhdl-align. Update users.
670 (vhdl-beautify-options): New option.
671 (vhdl-last-input-event): New compat alias. Use throughout.
672 (vhdl-goto-line): Replace user level function `goto-line'.
673 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
674 vhdl-fix-statement-buffer.
675 (vhdl-create-mode-menu): Add some entries.
676 (vhdl-align-region-groups): Respect vhdl-beautify-options.
677 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
678 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
679 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
680 to force statements on one line.
681 (vhdl-remove-trailing-spaces-region):
682 New, split from vhdl-remove-trailing-spaces.
683 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
684 Respect vhdl-beautify-options.
685 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
686 (vhdl-update-sensitivity-list): Not add with index if exists without.
687 Not include array index with signal. Ignore keywords in comments.
688 (vhdl-get-visible-signals): Regexp tweaks.
689 (vhdl-template-component-inst): Handle empty library.
690 (vhdl-template-type): Add template for 'enum' type.
691 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
692 Use vhdl-replace-string.
693 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
694 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
695 (vhdl-speedbar-initialize): Update for above name change.
696 (vhdl-compose-wire-components): Fix in handling of constants.
697 (vhdl-error-regexp-emacs-alist): New variable.
698 (vhdl-error-regexp-add-emacs): New function;
699 adds support for new compile.el (Emacs 22+)
700 (vhdl-generate-makefile-1): Change target order for single lib. units.
701 Allow use of absolute file names.
702
703 2013-05-16 Leo Liu <sdl.web@gmail.com>
704
705 * simple.el (prog-indent-sexp): Indent enclosing defun.
706
707 2013-05-15 Glenn Morris <rgm@gnu.org>
708
709 * cus-start.el (show-trailing-whitespace): Move to editing basics.
710 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
711 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
712 (whitespace-highlight): Move to whitespace group.
713
714 * comint.el (comint-source):
715 * pcmpl-linux.el (pcmpl-linux):
716 * shell.el (shell-faces):
717 * eshell/esh-opt.el (eshell-opt):
718 * international/ccl.el (ccl): Remove empty custom groups.
719
720 * completion.el (dynamic-completion-mode):
721 * jit-lock.el (jit-lock-debug-mode):
722 * minibuffer.el (completion-in-region-mode):
723 * type-break.el (type-break-mode-line-message-mode)
724 (type-break-query-mode):
725 * emulation/tpu-edt.el (tpu-edt-mode):
726 * progmodes/subword.el (global-subword-mode, global-superword-mode):
727 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
728 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
729
730 * term/xterm.el (xterm): Change parent group to terminals.
731
732 * master.el (master): Remove empty custom group.
733 (master-mode): Remove unused :group argument.
734 * textmodes/refill.el (refill): Remove empty custom group.
735 (refill-mode): Remove unused :group argument.
736
737 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
738
739 * cus-dep.el: Provide a feature.
740 (custom-make-dependencies): Ignore dotfiles (dir-locals).
741 Don't mistakenly ignore files whose basenames match a basename
742 from preloaded-file-list (eg cedet/ede/simple.el).
743 Add a fallback method for getting :group.
744
745 2013-05-15 Juri Linkov <juri@jurta.org>
746
747 * isearch.el (isearch-char-by-name): Rename from
748 `isearch-insert-char-by-name'. Doc fix.
749 (isearch-forward): Mention `isearch-char-by-name' in
750 the docstring. (Bug#13348)
751
752 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
753 `exit-minibuffer' instead of
754 `isearch-nonincremental-exit-minibuffer'.
755 (isearch-edit-string): Remove mention of
756 `isearch-nonincremental-exit-minibuffer' from docstring.
757 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
758 (isearch-forward-exit-minibuffer)
759 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
760
761 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 * loadup.el: Just use unversioned DOC.
764
765 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
766 literals as extending to EOB.
767 (nxml-last-fontify-end): Remove unused variable.
768 (nxml-after-change1): Use with-silent-modifications.
769 (nxml-extend-after-change-region): Simplify.
770 (nxml-extend-after-change-region1): Remove function.
771 (nxml-after-change1): Don't adjust for dependent regions.
772 (nxml-fontify-matcher): Simplify.
773 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
774 (xmltok-add-dependent): Remove function.
775 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
776 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
777 (xmltok-scan-prolog-after-processing-instruction-open): Treat
778 unclosed <[[, <?, comment, and other literals as extending to EOB.
779 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
780 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
781 Remove functions.
782 (rng-do-some-validation-1): Don't mark dependent regions.
783 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
784 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
785 (nxml-clear-dependent-regions): Remove functions.
786 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
787 (nxml-ensure-scan-up-to-date):
788 Don't clear&mark dependent regions.
789
790 2013-05-15 Leo Liu <sdl.web@gmail.com>
791
792 * progmodes/octave.el (octave-goto-function-definition):
793 Improve and fix callers.
794
795 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
796
797 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
798 the setter (bug#14387).
799
800 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
801 surrounding group (bug#14402).
802
803 2013-05-14 Juri Linkov <juri@jurta.org>
804
805 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
806 (Bug#14390)
807
808 2013-05-14 Glenn Morris <rgm@gnu.org>
809
810 * progmodes/f90.el (f90-imenu-generic-expression):
811 Fix typo in 2013-05-08 change. (Bug#14402)
812
813 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
814
815 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
816 Remove signals for which replies are never received.
817
818 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
819
820 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
821 (gdb-handler-alist, gdb-handler-number): Remove variables.
822 (gdb-handler-list): New variable.
823 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
824 (gdb-pending-handler-p, gdb-handle-reply)
825 (gdb-remove-all-pending-triggers): New functions.
826 (gdb-discard-unordered-replies): New defcustom.
827 (gdb-handler): New defstruct.
828 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
829 instead of gdb-pending-triggers. Update docstring.
830 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
831 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
832 (gdb-var-update-handler, def-gdb-auto-update-trigger)
833 (def-gdb-auto-update-handler, gdb-get-changed-registers)
834 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
835 (gdb-frame-handler): Pending triggers are now automatically managed.
836 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
837 Remove argument.
838 (gdb-input): Automatically handles pending triggers. Update docstring.
839 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
840 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
841 Update comments.
842 (gdb-done-or-error): Now use gdb-handle-reply.
843
844 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
845
846 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
847 gdb-debug-log.
848
849 2013-05-14 Glenn Morris <rgm@gnu.org>
850
851 * subr.el (user-emacs-directory-warning): New option.
852 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
853
854 2013-05-14 Leo Liu <sdl.web@gmail.com>
855
856 * progmodes/octave.el (octave-font-lock-keywords): Fix error
857 during redisplay.
858 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
859 (octave-font-lock-texinfo-comment): Fix invalid search bound
860 error: wrong side of point.
861
862 2013-05-14 Glenn Morris <rgm@gnu.org>
863
864 * progmodes/flymake.el (flymake-xml-program): New option.
865 (flymake-xml-init): Use it.
866
867 * term/xterm.el: Provide a feature.
868
869 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
870
871 2013-05-13 Glenn Morris <rgm@gnu.org>
872
873 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
874 Add compat aliases as a hack workaround. (Bug#14384)
875
876 2013-05-13 Leo Liu <sdl.web@gmail.com>
877
878 * progmodes/octave.el (octave-indent-comment): Fix indentation for
879 ###, and %!.
880 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
881 C-M-q.
882 (octave-comment-start-skip): Include %!.
883 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
884
885 2013-05-12 Leo Liu <sdl.web@gmail.com>
886
887 * progmodes/octave.el (inferior-octave-startup): Store the value
888 of __octave_srcdir__ for octave-source-directories.
889 (inferior-octave-check-process): New function refactored out of
890 inferior-octave-send-list-and-digest.
891 (octave-source-directories)
892 (octave-find-definition-filename-function): New variables.
893 (octave-source-directories)
894 (octave-find-definition-default-filename): New functions.
895 (octave-find-definition): Improve to find functions implemented in C++.
896
897 2013-05-12 Glenn Morris <rgm@gnu.org>
898
899 * calendar/diary-lib.el (diary-outlook-format-1):
900 Don't include dayname in the output. (Bug#14349)
901
902 2013-05-11 Glenn Morris <rgm@gnu.org>
903
904 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
905
906 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
907 Treat cc-provide like provide.
908
909 2013-05-11 Kevin Ryde <user42@zip.com.au>
910
911 * cus-dep.el (custom-make-dependencies):
912 Use generated-autoload-load-name for the sake of files such
913 such cedet/semantic/bovine/c.el, where the base file name
914 is not in load-path. (Bug#5277)
915
916 2013-05-11 Glenn Morris <rgm@gnu.org>
917
918 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
919 Provide features.
920
921 2013-05-11 Leo Liu <sdl.web@gmail.com>
922
923 * progmodes/octave.el (octave-indent-comment): Improve.
924 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
925 (octave-eldoc-function-signatures, octave-eldoc-function):
926 New functions.
927 (octave-mode, inferior-octave-mode): Add eldoc support.
928
929 2013-05-11 Richard Stallman <rms@gnu.org>
930
931 * epa.el (epa-decrypt-file): Take output file name as argument
932 and read it using `interactive'.
933
934 2013-05-11 Leo Liu <sdl.web@gmail.com>
935
936 * progmodes/octave.el (octave-beginning-of-line)
937 (octave-end-of-line): Check before using up-list because it jumps
938 out of more syntactic contructs since moving to smie.
939 (octave-indent-comment): New function.
940 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
941 (octave-begin-keywords, octave-end-keywords)
942 (octave-reserved-words, octave-smie-bnf-table)
943 (octave-smie-rules): Add new keywords from Octave 3.6.4.
944
945 2013-05-11 Glenn Morris <rgm@gnu.org>
946
947 * faces.el (internal-face-x-get-resource):
948 * frame.el (ns-display-monitor-attributes-list):
949 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
950
951 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
952
953 * calc/calc-menu.el: Make it loadable in isolation.
954
955 * net/eudcb-bbdb.el: Make it loadable without bbdb.
956 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
957 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
958 (eudc-bbdb-query-internal): Require 'bbdb.
959
960 * lpr.el (lpr-headers-switches):
961 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
962
963 * progmodes/sql.el (sql-login-params): Fix and improve :type.
964
965 * emulation/edt-mapper.el: In batch mode, error rather than hang.
966
967 * term.el (term-set-escape-char): Make it idempotent.
968
969 2013-05-10 Leo Liu <sdl.web@gmail.com>
970
971 * progmodes/octave.el (inferior-octave-completion-table):
972 No longer a function and all uses changed. Use cache to speed up
973 completion due to bug#11906.
974 (octave-beginning-of-defun): Re-write to be more general.
975
976 2013-05-10 Glenn Morris <rgm@gnu.org>
977
978 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
979
980 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * comint.el (comint-redirect-send-command-to-process): Use :around
983 rather than :override for comint-redirect-filter.
984 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
985 Call it instead of comint-redirect-original-filter-function (which
986 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
987
988 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
989
990 * frame.el (display-monitor-attributes-list): Add NS case.
991 (ns-display-monitor-attributes-list): Declare.
992
993 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
994
995 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
996
997 2013-05-09 Glenn Morris <rgm@gnu.org>
998
999 * international/fontset.el (vertical-centering-font-regexp):
1000 Set standard-value.
1001
1002 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1003
1004 * bookmark.el (bookmark-search-delay):
1005 * cus-start.el (vertical-centering-font-regexp):
1006 * ps-mule.el (ps-mule-font-info-database-default):
1007 * ps-print.el (ps-default-fg, ps-default-bg):
1008 * type-break.el (type-break-good-break-interval):
1009 * whitespace.el (whitespace-indentation-regexp)
1010 (whitespace-space-after-tab-regexp):
1011 * emacs-lisp/testcover.el (testcover-1value-functions)
1012 (testcover-noreturn-functions, testcover-progn-functions)
1013 (testcover-prog1-functions):
1014 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1015 * eshell/em-glob.el (eshell-glob-translate-alist):
1016 * play/tetris.el (tetris-tty-colors):
1017 * progmodes/cpp.el (cpp-face-default-list):
1018 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1019 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1020 (idlwave-help-browser-generic-args):
1021 * progmodes/make-mode.el (makefile-special-targets-list):
1022 * progmodes/python.el (python-shell-virtualenv-path):
1023 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1024 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1025 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1026 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1027 * textmodes/reftex-vars.el (reftex-format-label-function):
1028 * textmodes/remember.el (remember-diary-file): Fix custom types.
1029
1030 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1031 Add :version.
1032
1033 2013-05-09 Leo Liu <sdl.web@gmail.com>
1034
1035 * progmodes/octave.el (inferior-octave-completion-at-point):
1036 Restore file completion. (Bug#14300)
1037 (inferior-octave-startup): Fix incorrect highlighting for the
1038 first prompt.
1039
1040 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1041
1042 * progmodes/ruby-mode.el: First cut at SMIE support.
1043 (ruby-use-smie): New var.
1044 (ruby-smie-grammar): New constant.
1045 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1046 (ruby-smie--forward-token, ruby-smie--backward-token)
1047 (ruby-smie-rules): New functions.
1048 (ruby-mode-variables): Setup SMIE if applicable.
1049
1050 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1051
1052 * simple.el (line-move-visual): Signal beginning/end of buffer
1053 only if vertical-motion moved less than it was requested. Avoids
1054 silly incorrect error messages when there are display strings with
1055 multiple newlines at EOL.
1056
1057 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1060 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1061 (prolog-char-quote-workaround):
1062 * progmodes/cperl-mode.el (cperl-under-as-char):
1063 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1064 Mark as obsolete.
1065 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1066 their declaration.
1067 (vhdl-mode-syntax-table-init): Remove.
1068
1069 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1070 last change.
1071
1072 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1073 syntax for "_".
1074 (ld-script-font-lock-keywords):
1075 Change regexps to use things like \_< and \_>.
1076
1077 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1078 Change all regexps to use things like \_< and \_>.
1079
1080 * progmodes/autoconf.el (autoconf-definition-regexp)
1081 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1082 Handle a _ with symbol syntax.
1083 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1084
1085 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1086 Consolidate declaration.
1087 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1088 the declaration.
1089 (ada-create-syntax-table): Remove.
1090 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1091 already has the right syntax nowadays.
1092 (ada-goto-next-word): Don't change the syntax of "_".
1093
1094 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1095 with-wrapper-hook.
1096
1097 2013-05-08 Sam Steingold <sds@gnu.org>
1098
1099 * thingatpt.el (thing-at-point): Accept optional second argument
1100 NO-PROPERTIES to strip the text properties from the return value.
1101 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1102 to `thing-at-point' instead of stripping the properties ourselves.
1103 Also, when `thing-at-point' fails to find a url, prepend "http://"
1104 to the filename at point on the assumption that the user is
1105 pointing at something like gnu.org/gnu.
1106
1107 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1108
1109 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1110 * faces.el (crm-separator):
1111 Silence byte-compiler.
1112
1113 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1114 (tool-bar-map): Remove unneeded defvars.
1115
1116 2013-05-08 Leo Liu <sdl.web@gmail.com>
1117
1118 Re-work a fix for bug#10994 based on Le Wang's patch.
1119 * ido.el (ido-remove-consecutive-dups): New helper.
1120 (ido-completing-read): Use it.
1121 (ido-chop): Revert fix for bug#10994.
1122
1123 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1124
1125 * cus-edit.el (custom-save-variables):
1126 Pretty-print long values. (Bug#14187)
1127
1128 2013-05-08 Glenn Morris <rgm@gnu.org>
1129
1130 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1131 (m4-mode-syntax-table): Init in the defvar.
1132 (m4-mode-abbrev-table): Let define-derived-mode define it.
1133
1134 2013-05-08 Tom Tromey <tromey@redhat.com>
1135
1136 * progmodes/m4-mode.el (m4-mode-syntax-table):
1137 Do not treat "_" as word constituent. (Bug#14167)
1138
1139 2013-05-07 Glenn Morris <rgm@gnu.org>
1140
1141 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1142 Remove explicit eshell-isearch-cancel-map.
1143
1144 * progmodes/f90.el (f90-smart-end-names): New option.
1145 (f90-smart-end): Doc fix.
1146 (f90-end-block-optional-name): New constant.
1147 (f90-block-match): Respect f90-smart-end-names.
1148
1149 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1152 about implicit semi-colons (bug#14218).
1153
1154 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1155
1156 * frame.el (display-monitor-attributes-list)
1157 (frame-monitor-attributes): New functions.
1158
1159 2013-05-06 Leo Liu <sdl.web@gmail.com>
1160
1161 * progmodes/octave.el (octave-syntax-propertize-function): Change
1162 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1163 (octave-font-lock-keywords): Use octave-operator-regexp.
1164 (octave-completion-at-point): Rename from
1165 octave-completion-at-point-function.
1166 (inferior-octave-directory-tracker): Robustify.
1167 (octave-text-functions): Remove and fix its uses. No such things
1168 any more.
1169
1170 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * emacs-lisp/trace.el (trace--display-buffer): New function.
1173 (trace-make-advice): Use it.
1174
1175 2013-05-06 Juri Linkov <juri@jurta.org>
1176
1177 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1178 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1179 Doc fix.
1180 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1181 in the help string. (Bug#12985)
1182
1183 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1184
1185 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1186
1187 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * progmodes/perl-mode.el: Add support for here documents.
1190 (perl-syntax-propertize-function): Match here-doc markers.
1191 (perl-syntax-propertize-special-constructs): Find their end.
1192 (perl-imenu-generic-expression): Use [:alnum:].
1193
1194 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1195 (advice--add-function): Refresh the advice if already present
1196 (bug#14317).
1197
1198 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1199
1200 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1201
1202 2013-05-06 Glenn Morris <rgm@gnu.org>
1203
1204 * w32-fns.el (w32-charset-info-alist): Declare.
1205
1206 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1207 of its defcustom properties.
1208 (eshell-cmpl-initialize): No need to load pcomplete.
1209
1210 * generic-x.el: No need to require comint when compiling.
1211
1212 * net/eudc-export.el: Make it loadable without bbdb.
1213 (top-level): Use require rather than load-library.
1214 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1215 (eudc-batch-export-records-to-bbdb)
1216 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1217 Require bbdb.
1218
1219 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1220
1221 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1222 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1223 some tweaks, instead.
1224
1225 2013-05-05 Leo Liu <sdl.web@gmail.com>
1226
1227 * progmodes/octave.el (octave-font-lock-keywords)
1228 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1229 (inferior-octave-send-list-and-digest): Improve error message.
1230 (octave-mode, inferior-octave-mode): Use setq-local.
1231 (octave-help): Set info-lookup-mode.
1232
1233 2013-05-05 Richard Stallman <rms@gnu.org>
1234
1235 * vc/compare-w.el (compare-windows-whitespace):
1236 Treat no-break space as whitespace.
1237
1238 * mail/rmailsum.el (rmail-summary-rmail-update):
1239 Detect empty summary and don't change selected message.
1240 (rmail-summary-goto-msg): Likewise.
1241
1242 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1243 Doc fixes, rename args.
1244
1245 2013-05-05 Alan Mackenzie <acm@muc.de>
1246
1247 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1248
1249 2013-05-05 Juri Linkov <juri@jurta.org>
1250
1251 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1252 to not add the length of the summary segment to the return value.
1253 (Bug#14125)
1254
1255 2013-05-05 Leo Liu <sdl.web@gmail.com>
1256
1257 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1258 (inferior-octave-output-filter): Remove.
1259 (octave-send-region, inferior-octave-startup): Fix callers.
1260 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1261 (octave-binary-file-extensions): New user variable.
1262 (octave-find-definition): Confirm if opening binary files.
1263 (octave-help-file): Use octave-find-definition to get the binary
1264 confirmation.
1265 (octave-help): Adjust for octave-help-file change.
1266
1267 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1270 Merge the two entries that handle function definitions.
1271 (pascal--syntax-propertize): New const.
1272 (pascal-mode): Use it. Use setq-local.
1273
1274 2013-05-04 Glenn Morris <rgm@gnu.org>
1275
1276 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1277 (diary-from-outlook): Respect diary-from-outlook-function.
1278
1279 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1282 Move the declaration from C.
1283 (read-minibuffer, eval-minibuffer): Move from C.
1284 (completion-setup-function): Avoid minibuffer-completion-contents.
1285
1286 2013-05-03 Leo Liu <sdl.web@gmail.com>
1287
1288 * progmodes/octave.el (octave-font-lock-keywords): Do not
1289 dehighlight 'end' in comments or strings.
1290 (octave-completing-read, octave-goto-function-definition):
1291 New helpers.
1292 (octave-help-buffer): New user variable.
1293 (octave-help-file, octave-help-function): New button types.
1294 (octave-help): New command and bind it to C-h ;.
1295 (octave-find-definition): New command and bind it to M-.
1296 (user-error): Alias to error if not defined.
1297
1298 2013-05-02 Leo Liu <sdl.web@gmail.com>
1299
1300 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1301 for \. (bug#14332)
1302 (octave-font-lock-keywords): Include [ and {.
1303
1304 2013-05-02 Leo Liu <sdl.web@gmail.com>
1305
1306 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1307 (inferior-octave): Remove calling comint-mode and return the buffer.
1308 (inferior-octave-startup): Cosmetic changes.
1309
1310 2013-05-02 Leo Liu <sdl.web@gmail.com>
1311
1312 * progmodes/octave.el (octave-syntax-propertize-function):
1313 Include the case when ' is at line beginning. (Bug#14336)
1314
1315 2013-05-02 Glenn Morris <rgm@gnu.org>
1316
1317 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1318 * desktop.el (vc-dir-mode): Just autoload it here.
1319
1320 2013-05-02 Alan Mackenzie <acm@muc.de>
1321
1322 Eliminate variable c-standard-font-lock-fontify-region-function.
1323 * progmodes/cc-mode.el
1324 (c-standard-font-lock-fontify-region-function): Remove.
1325 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1326
1327 2013-05-01 Leo Liu <sdl.web@gmail.com>
1328
1329 * progmodes/octave.el: Compatible with older emacs-24 releases.
1330 (inferior-octave-has-built-in-variables): Remove. Built-in
1331 variables were removed from Octave in 2007.
1332 (inferior-octave-startup): Fix uses.
1333 (comint-line-beginning-position): Remove compatibility code for
1334 emacs 21.
1335
1336 2013-05-01 Juri Linkov <juri@jurta.org>
1337
1338 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1339
1340 2013-05-01 Juri Linkov <juri@jurta.org>
1341
1342 * comint.el (comint-previous-matching-input): Don't print message
1343 "History item: %d" when `isearch-mode' is active.
1344 (comint-history-isearch-message): Print message "History item: %d"
1345 when `comint-input-ring-index' is not empty and this function is
1346 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1347
1348 2013-05-01 Leo Liu <sdl.web@gmail.com>
1349
1350 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1351 definitions. Use completion-at-point to insert keywords.
1352 (octave-abbrev-start): Remove.
1353 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1354
1355 2013-04-30 Leo Liu <sdl.web@gmail.com>
1356
1357 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1358 change.
1359
1360 2013-04-30 Alan Mackenzie <acm@muc.de>
1361
1362 Handle arbitrarily long C++ member initialisation lists.
1363 * progmodes/cc-engine.el (c-back-over-member-initializers):
1364 new function.
1365 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1366 (most) member init lists.
1367
1368 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1369
1370 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1371 variable.
1372
1373 2013-04-30 Leo Liu <sdl.web@gmail.com>
1374
1375 * progmodes/octave.el (octave-variables): Remove. No builtin
1376 variables any more. All converted to functions.
1377 (octave-font-lock-keywords, octave-completion-at-point-function):
1378 Fix uses.
1379 (octave-font-lock-texinfo-comment): New user variable.
1380 (octave-texinfo-font-lock-keywords): New variable for texinfo
1381 comment block.
1382 (octave-function-comment-block): New face.
1383 (octave-font-lock-texinfo-comment): New function.
1384 (octave-mode): Font lock texinfo comment block.
1385
1386 2013-04-29 Leo Liu <sdl.web@gmail.com>
1387
1388 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1389 indexing expression.
1390 (octave-continuation-string): Do not use \.
1391 (inferior-octave-complete-impossible): Remove.
1392 (inferior-octave-completion-table)
1393 (inferior-octave-completion-at-point): Remove its uses.
1394 (inferior-octave-startup): completion_matches was introduced to
1395 Octave in 1996 so safe to assume it.
1396 (octave-function-file-comment): Improve to follow how Octave does it.
1397 (octave-update-function-file-comment): Tweak.
1398
1399 2013-04-29 Leo Liu <sdl.web@gmail.com>
1400
1401 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1402 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1403 (octave-function-file-comment): Fix typo.
1404 (octave-sync-function-file-names): Use read-char-choice.
1405
1406 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1407
1408 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1409 to t for the less important warnings.
1410
1411 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1412
1413 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1414
1415 2013-04-27 Glenn Morris <rgm@gnu.org>
1416
1417 * vc/log-view.el (log-view-current-entry):
1418 Treat "---" separator lines as part of the following rev. (Bug#14169)
1419
1420 2013-04-27 Juri Linkov <juri@jurta.org>
1421
1422 * subr.el (read-number): Doc fix about using it by interactive
1423 code letter `n'. (Bug#14254)
1424
1425 2013-04-27 Juri Linkov <juri@jurta.org>
1426
1427 * desktop.el (desktop-auto-save-timeout): New option.
1428 (desktop-file-checksum): New variable.
1429 (desktop-save): Add optional arg `auto-save' and don't auto-save
1430 if nothing changed.
1431 (desktop-auto-save-timer): New variable.
1432 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1433 (after-init-hook): Call `desktop-auto-save-set-timer'.
1434 Suggested by Reuben Thomas <rrt@sc3d.org> in
1435 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1436
1437 2013-04-27 Leo Liu <sdl.web@gmail.com>
1438
1439 * progmodes/octave.el (octave-function-file-p)
1440 (octave-skip-comment-forward, octave-function-file-comment)
1441 (octave-update-function-file-comment): New functions.
1442 (octave-mode-map): Bind C-c ; to
1443 octave-update-function-file-comment.
1444 (octave-mode-menu): Add octave-update-function-file-comment.
1445 (octave-mode, inferior-octave-mode): Fix doc-string.
1446 (octave-insert-defun): Conform to Octave's coding convention.
1447 (Bug#14285)
1448
1449 * files.el (basic-save-buffer): Don't let errors in
1450 before-save-hook prevent saving buffer.
1451
1452 2013-04-20 Roland Winkler <winkler@gnu.org>
1453
1454 * faces.el (read-face-name): Use completing-read if arg multiple
1455 is nil.
1456
1457 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1458
1459 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1460 displayed, move point to after the totals line.
1461 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1462 for the details.
1463
1464 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1467 Add current dir to the load-path.
1468 (package-generate-autoloads): Don't rely on
1469 autoload-ensure-default-file.
1470
1471 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1472
1473 * textmodes/remember.el (remember-store-in-files): Document that
1474 the file name format is passed to `format-time-string'.
1475
1476 2013-04-26 Leo Liu <sdl.web@gmail.com>
1477
1478 * progmodes/octave.el (octave-sync-function-file-names): New function.
1479 (octave-mode): Use it in before-save-hook.
1480
1481 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1482
1483 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1484 (bug#14274).
1485
1486 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1487 \n and comment, even if it's not an implicit ; (bug#14218).
1488
1489 2013-04-26 Glenn Morris <rgm@gnu.org>
1490
1491 * subr.el (read-number): Once more use `read' rather than
1492 `string-to-number', to trap non-numeric input. (Bug#14254)
1493
1494 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1495
1496 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1497 Use `syntax-multiline' text property consistently instead of
1498 `font-lock-multiline'. (bug#14237).
1499
1500 2013-04-26 Glenn Morris <rgm@gnu.org>
1501
1502 * emacs-lisp/shadow.el (list-load-path-shadows):
1503 No longer necessary to check for duplicate simple.el, since
1504 2012-07-07 change to init_lread to not include installation lisp
1505 directories in load-path when running uninstalled. (Bug#14270)
1506
1507 2013-04-26 Leo Liu <sdl.web@gmail.com>
1508
1509 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1510 (octave-mode, inferior-octave-mode): Use setq-local.
1511 (octave-not-in-string-or-comment-p): Rename to
1512 octave-in-string-or-comment-p.
1513 (octave-in-comment-p, octave-in-string-p)
1514 (octave-in-string-or-comment-p): Replace defsubst with defun.
1515
1516 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1517
1518 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1519
1520 2013-04-25 Bastien Guerry <bzg@gnu.org>
1521
1522 * textmodes/remember.el (remember-data-directory)
1523 (remember-directory-file-name-format): Fix custom types.
1524
1525 2013-04-25 Leo Liu <sdl.web@gmail.com>
1526
1527 * progmodes/octave.el (octave-completion-at-point-function):
1528 Make use of inferior octave process.
1529 (octave-initialize-completions): Remove.
1530 (inferior-octave-completion-table): New function.
1531 (inferior-octave-completion-at-point): Use it.
1532 (octave-completion-alist): Remove.
1533
1534 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1535
1536 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1537 (opascal-mode-syntax-table): New var.
1538 (opascal-literal-kind, opascal-is-literal-end)
1539 (opascal-literal-token-at): Rewrite.
1540 (opascal--literal-start-re, opascal-font-lock-keywords)
1541 (opascal--syntax-propertize): New constants.
1542 (opascal-font-lock-defaults): Adjust.
1543 (opascal-mode): Use them. Set comment-<foo> variables as well.
1544 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1545 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1546 (delphi-other-face, opascal-other-face): Remove face variables.
1547 (opascal-save-state): Remove macro.
1548 (opascal-fontifying-progress-step): Remove constant.
1549 (opascal--ignore-changes): Remove var.
1550 (opascal-set-token-property, opascal-parse-next-literal)
1551 (opascal-is-stable-literal, opascal-complete-literal)
1552 (opascal-is-literal-start, opascal-face-of)
1553 (opascal-parse-region, opascal-parse-region-until-stable)
1554 (opascal-fontify-region, opascal-after-change)
1555 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1556 (opascal-debug-parse-region, opascal-debug-parse-window)
1557 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1558 (opascal-debug-fontify-buffer): Remove.
1559 (opascal-debug-mode-map): Adjust accordingly.
1560
1561 2013-04-25 Leo Liu <sdl.web@gmail.com>
1562
1563 Merge octave-mod.el and octave-inf.el into octave.el with some
1564 cleanups.
1565 * progmodes/octave.el: New file renamed from octave-mod.el.
1566 * progmodes/octave-inf.el: Merged into octave.el.
1567 * progmodes/octave-mod.el: Renamed to octave.el.
1568
1569 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1570
1571 * textmodes/reftex-vars.el
1572 (reftex-label-ignored-macros-and-environments): New defcustom.
1573
1574 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1575
1576 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1577
1578 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1579 (smie-indent-keyword): Improve the check to ensure that the next
1580 comment is really on the same line.
1581 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1582
1583 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1584 semi-colons if the line is not otherwise empty (bug#14218).
1585
1586 2013-04-25 Glenn Morris <rgm@gnu.org>
1587
1588 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1589
1590 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1591
1592 * progmodes/opascal.el (opascal-set-token-property): Rename from
1593 opascal-set-text-properties and only set `token' (bug#14134).
1594 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1595 (opascal-literal-text-properties): Remove.
1596 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1597 Adjust callers.
1598
1599 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1600
1601 * textmodes/remember.el (remember-handler-functions): Add an
1602 option for a new handler `remember-store-in-files'.
1603 (remember-data-directory, remember-directory-file-name-format):
1604 New options.
1605 (remember-store-in-files): New function to store remember notes
1606 as separate files within a directory.
1607
1608 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1609
1610 * progmodes/compile.el (compilation-next-error-function):
1611 Pass "formats" to compilation-find-file (bug#11777).
1612
1613 2013-04-24 Glenn Morris <rgm@gnu.org>
1614
1615 * vc/vc-bzr.el (vc-bzr-print-log):
1616 * vc/vc-hg.el (vc-hg-print-log):
1617 * vc/vc-svn.el (vc-svn-print-log):
1618 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1619
1620 * vc/vc-bzr.el (vc-bzr-print-log):
1621 * vc/vc-cvs.el (vc-cvs-print-log):
1622 * vc/vc-git.el (vc-git-print-log):
1623 * vc/vc-hg.el (vc-hg-print-log):
1624 * vc/vc-mtn.el (vc-mtn-print-log):
1625 * vc/vc-rcs.el (vc-rcs-print-log):
1626 * vc/vc-sccs.el (vc-sccs-print-log):
1627 * vc/vc-svn.el (vc-svn-print-log):
1628 * vc/vc.el (vc-print-log-internal): Doc fixes.
1629
1630 2013-04-23 Glenn Morris <rgm@gnu.org>
1631
1632 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1633 Remove venerable code attempting to avoid substitute-command-keys.
1634
1635 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1636
1637 * textmodes/reftex-vars.el (reftex-label-regexps):
1638 Call `reftex-compile-variables' after changes to this variable.
1639
1640 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1641
1642 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1643 Use lexical-binding.
1644 (jit-lock-force-redisplay): Use markers, check buffer's continued
1645 existence and beware narrowed buffers.
1646 (jit-lock-fontify-now): Adjust call accordingly.
1647
1648 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1649
1650 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1651 to avoid misleading the user.
1652
1653 2013-04-22 Leo Liu <sdl.web@gmail.com>
1654
1655 * info-look.el: Prefer latex2e.info. (Bug#14240)
1656
1657 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1658
1659 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1660
1661 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1662 * net/tramp.el (tramp-call-process): ... here
1663 (tramp-set-completion-function, tramp-parse-putty):
1664 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1665 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1666 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1667 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1668 (tramp-call-local-coding-command): Use `tramp-call-process'
1669 instead of `tramp-compat-call-process'.
1670
1671 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1672 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1673 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1674 (tramp-find-inline-compress): Improve traces.
1675 (tramp-maybe-send-script): Check for Perl binary.
1676 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1677
1678 2013-04-22 Daiki Ueno <ueno@gnu.org>
1679
1680 * epg.el (epg-context-pinentry-mode): New function.
1681 (epg-context-set-pinentry-mode): New function.
1682 (epg--start): Pass --pinentry-mode option to gpg command.
1683
1684 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1685
1686 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1687 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1688 `completion-at-point'. (Bug#13774)
1689
1690 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1691 default key binding for `describe-distribution' has been moved to
1692 `C-h C-o'. (Bug#13970)
1693
1694 2013-04-21 Glenn Morris <rgm@gnu.org>
1695
1696 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1697 Add doc strings.
1698 (vc-print-log): Clarify interactive prompt.
1699
1700 2013-04-20 Glenn Morris <rgm@gnu.org>
1701
1702 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1703 No longer include timestamp etc information.
1704
1705 2013-04-20 Roland Winkler <winkler@gnu.org>
1706
1707 * faces.el (read-face-name): Bug fix, return just one face if arg
1708 multiple is nil. (Bug#14209)
1709
1710 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1711
1712 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1713 (remove-function): Autoload.
1714
1715 * comint.el (comint-redirect-original-filter-function): Remove.
1716 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1717 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1718 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1719 * progmodes/prolog.el (prolog-consult-compile):
1720 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1721 Use add/remove-function instead.
1722 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1723 (gud-tooltip-process-output, gud-tooltip-tips):
1724 Use add/remove-function instead.
1725 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1726 (scheme-interaction-mode, exit-scheme-interaction-mode):
1727 Use add/remove-function instead.
1728
1729 * vc/vc-dispatcher.el: Use lexical-binding.
1730 (vc--process-sentinel): Rename from vc-process-sentinel.
1731 Change last arg to be the code to run. Don't use vc-previous-sentinel
1732 and vc-sentinel-commands any more.
1733 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1734 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1735
1736 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1737
1738 * progmodes/sh-script.el (sh-imenu-generic-expression):
1739 Handle function names with a single character. (Bug#14111)
1740
1741 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1742
1743 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1744 for subroutines defined in an eval (bug#14182).
1745
1746 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1747
1748 * bookmark.el (bookmark-completing-read): Improve handling of empty
1749 string (bug#14176).
1750
1751 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1754
1755 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1756
1757 New faster Imenu implementation (bug#14058).
1758 * progmodes/python.el:
1759 (python-imenu-prev-index-position):
1760 (python-imenu-format-item-label-function)
1761 (python-imenu-format-parent-item-label-function)
1762 (python-imenu-format-parent-item-jump-label-function):
1763 New vars.
1764 (python-imenu-format-item-label)
1765 (python-imenu-format-parent-item-label)
1766 (python-imenu-format-parent-item-jump-label)
1767 (python-imenu--put-parent, python-imenu--build-tree)
1768 (python-imenu-create-index, python-imenu-create-flat-index)
1769 (python-util-popn): New functions.
1770 (python-mode): Set imenu-create-index-function to
1771 python-imenu-create-index.
1772
1773 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * winner.el (winner-active-region): Use region-active-p, activate-mark
1776 and deactivate-mark (bug#14225).
1777
1778 * simple.el (deactivate-mark): Don't inline it.
1779
1780 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1781
1782 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1783
1784 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1785
1786 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1787 file extensions from the archive-mode entry in order to prefer
1788 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1789
1790 2013-04-18 Leo Liu <sdl.web@gmail.com>
1791
1792 * bindings.el (help-event-list): Add ?\?.
1793
1794 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * subr.el (with-wrapper-hook): Declare obsolete.
1797 * simple.el (filter-buffer-substring-function): New hook.
1798 (filter-buffer-substring): Use it.
1799 (filter-buffer-substring-functions): Mark obsolete.
1800 * minibuffer.el (completion-in-region-function): New hook.
1801 (completion-in-region): Use it.
1802 (completion-in-region-functions): Mark obsolete.
1803 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1804 * abbrev.el (abbrev-expand-function): New hook.
1805 (expand-abbrev): Use it.
1806 (abbrev-expand-functions): Mark obsolete.
1807 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1808 and :filter-return.
1809
1810 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1811
1812 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1813 and do not care about match data.
1814
1815 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1816
1817 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1818 completion tables when completing error conditions and
1819 `declare' arguments.
1820 (lisp-complete-symbol, field-complete): Mark as obsolete.
1821 (check-parens): Unmatched parens are user errors.
1822 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1823
1824 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1825
1826 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1827 command changed buffer (ie. `flyspell-pre-buffer' is not current
1828 buffer), which prevents making decisions based on invalid value of
1829 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1830 cause an error when `flyspell-pre-point' was nil after switching
1831 buffers.
1832 (flyspell-post-command-hook): No longer needs to change buffers when
1833 checking pre-word. While at it remove unnecessary progn.
1834
1835 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1836
1837 * textmodes/ispell.el (ispell-add-per-file-word-list):
1838 Fix `flyspell-correct-word-before-point' error when accepting
1839 words and `coment-padding' is an integer by using
1840 `comment-normalize-vars' (Bug #14214).
1841
1842 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1843
1844 New defun movement commands.
1845 * progmodes/python.el (python-nav--syntactically)
1846 (python-nav--forward-defun, python-nav-backward-defun)
1847 (python-nav-forward-defun): New functions.
1848
1849 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1850
1851 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1852 (python-syntax-context): Use named compiler-macro for backwards
1853 compatibility with Emacs 24.x.
1854
1855 2013-04-17 Leo Liu <sdl.web@gmail.com>
1856
1857 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1858 octave-hide-process-buffer.
1859
1860 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1862 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1863 (bug#14216).
1864
1865 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1866
1867 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1868 Fix adjustment of offset when receiving incomplete responses from GDB
1869 (bug#14129).
1870
1871 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1872
1873 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1874 python-mode-abbrev-table.
1875 (python-skeleton-define): Adjust accordingly.
1876 (python-mode-abbrev-table): New table that inherits from it so that
1877 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1878
1879 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1880 (abbrev-symbol): Use it.
1881 (abbrev--before-point): Use it since we already handle inheritance.
1882
1883 2013-04-16 Leo Liu <sdl.web@gmail.com>
1884
1885 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1886 binding to info-lookup-symbol.
1887
1888 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1889
1890 * minibuffer.el (completion--twq-all):
1891 * term/ns-win.el (ns-initialize-window-system):
1892 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1893
1894 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1897 global bindings.
1898
1899 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1900
1901 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1902
1903 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1904 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1905 to nil.
1906 (ruby-end-of-defun): Remove the unused arg, change the docstring
1907 to reflect that this function is only used as the value of
1908 `end-of-defun-function'.
1909 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1910 to reflect an earlier change that beginning/end-of-defun functions
1911 jump between methods in a class definition, as well as top-level
1912 functions.
1913
1914 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1915
1916 * minibuffer.el (minibuffer-complete): Don't just scroll
1917 a *Completions* that's been iconified.
1918 (minibuffer-force-complete): Make sure repetitions do cycle when going
1919 through completion-in-region -> minibuffer-complete.
1920
1921 2013-04-15 Alan Mackenzie <acm@muc.de>
1922
1923 Correct the placement of c-cpp-delimiters when there're #s not at
1924 col 0.
1925
1926 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1927 place a submatch around the #.
1928 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1929 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1930 on the #, not BOL.
1931
1932 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1933
1934 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1935 (advice--member-p): New arg `name'.
1936 (advice--add-function, advice-member-p): Use it (bug#14202).
1937
1938 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1939
1940 Reformulate java imenu-generic-expression.
1941 The old expression contained ill formed regexps.
1942
1943 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1944 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1945 (cc-imenu-java-method-arg-regexp): New defconsts.
1946 (cc-imenu-java-build-type-args-regex): New defun.
1947 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1948 handling of spaces in the regexp.
1949
1950 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1951
1952 * textmodes/ispell.el (ispell-command-loop): Remove
1953 flyspell highlight of a word when ispell accepts it (bug #14178).
1954
1955 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1956
1957 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1958 uses code from the previous `ange-ftp-run-real-handler'.
1959 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1960 only in case that function exist. This is needed for proper
1961 unloading of Tramp.
1962
1963 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1964
1965 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1966
1967 * textmodes/reftex.el (reftex-compile-variables): Use it.
1968
1969 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1970
1971 * files.el (normal-mode): Only use default major-mode if no other mode
1972 was specified.
1973
1974 * emacs-lisp/trace.el (trace-values): New function.
1975
1976 * files.el: Allow : in local variables (bug#14089).
1977 (hack-local-variable-regexp): New var.
1978 (hack-local-variables-prop-line, hack-local-variables): Use it.
1979
1980 2013-04-13 Roland Winkler <winkler@gnu.org>
1981
1982 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1983 data before it gets modified by bibtex-beginning-of-entry.
1984
1985 2013-04-13 Roland Winkler <winkler@gnu.org>
1986
1987 * textmodes/bibtex.el (bibtex-url): Doc fix.
1988
1989 2013-04-13 Roland Winkler <winkler@gnu.org>
1990
1991 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1992 does not visit a BibTeX file, exclude it from the list of buffers
1993 returned by bibtex-initialize.
1994
1995 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1996
1997 * window.el (split-window): Remove interactive form, since as a
1998 command this function is a special case of split-window-below.
1999 Correct doc string.
2000
2001 2013-04-12 Roland Winkler <winkler@gnu.org>
2002
2003 * faces.el (read-face-name): Do not override value of arg default.
2004 Allow single faces and strings as default values. Remove those
2005 elements from return value that are not faces.
2006 (describe-face): Simplify.
2007 (face-at-point): New optional args thing and multiple so that this
2008 function can provide the same functionality previously provided by
2009 read-face-name.
2010 (make-face-bold, make-face-unbold, make-face-italic)
2011 (make-face-unitalic, make-face-bold-italic, invert-face)
2012 (modify-face, read-face-and-attribute): Use face-at-point.
2013
2014 * cus-edit.el (customize-face, customize-face-other-window)
2015 * cus-theme.el (custom-theme-add-face)
2016 * face-remap.el (buffer-face-set)
2017 * facemenu.el (facemenu-set-face): Use face-at-point.
2018
2019 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2020
2021 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2022
2023 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2024
2025 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2026 off leading { and trailing } from field values.
2027
2028 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2029
2030 * emacs-lisp/timer.el (timer--check): New function.
2031 (timer--time, timer-set-function, timer-event-handler): Use it.
2032 (timer-set-idle-time): Simplify.
2033 (timer--activate): CSE.
2034 (timer-event-handler): Give more info in error message.
2035 (internal-timer-start-idle): New function, moved from C.
2036
2037 * mpc.el (mpc-proc): Add `restart' argument.
2038 (mpc-proc-cmd): Use it.
2039 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2040 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2041 less often.
2042
2043 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2044
2045 * progmodes/sh-script.el: Implement `sh-mode' own
2046 `add-log-current-defun-function' (bug#14112).
2047 (sh-current-defun-name): New function.
2048 (sh-mode): Use the function.
2049
2050 2013-04-09 Bastien Guerry <bzg@gnu.org>
2051
2052 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2053
2054 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2055
2056 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2057
2058 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2059 timer (bug#14156).
2060
2061 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2062
2063 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2064 declaration.
2065
2066 2013-04-07 Leo Liu <sdl.web@gmail.com>
2067
2068 * pcmpl-x.el: New file.
2069
2070 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2071
2072 Do not set x-display-name until X connection is established.
2073 This is needed to prevent from weird situation described at
2074 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2075 * frame.el (make-frame): Set x-display-name after call to
2076 window system initialization function, not before.
2077 * term/x-win.el (x-initialize-window-system): Add optional
2078 display argument and use it.
2079 * term/w32-win.el (w32-initialize-window-system):
2080 * term/ns-win.el (ns-initialize-window-system):
2081 * term/pc-win.el (msdos-initialize-window-system):
2082 Add compatible optional display argument.
2083
2084 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2085
2086 * files.el (normal-backup-enable-predicate): On MS-Windows and
2087 MS-DOS compare truenames of temporary-file-directory and of the
2088 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2089 don't fail comparison by compare-strings. Also, compare file
2090 names case-insensitively on MS-Windows and MS-DOS.
2091
2092 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2094 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2095 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2096
2097 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2098
2099 * whitespace.el (whitespace-color-on, whitespace-color-off):
2100 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2101
2102 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2103
2104 * ispell.el (ispell-set-spellchecker-params):
2105 Really set `ispell-args' for all equivs.
2106
2107 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * ido.el (ido-completions): Use extra elements of ido-decorations
2110 (bug#14143).
2111 (ido-decorations): Update docstring.
2112
2113 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2114
2115 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2116 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2117 nil during initialization, in order not to miss changes since the
2118 file was opened. (Bug#14140)
2119
2120 2013-04-05 Leo Liu <sdl.web@gmail.com>
2121
2122 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2123
2124 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2125
2126 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2127
2128 2013-04-04 Glenn Morris <rgm@gnu.org>
2129
2130 * electric.el (electric-pair-inhibit-predicate): Add :version.
2131
2132 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2133
2134 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2135 when a package is required several times (bug#14082).
2136
2137 2013-04-04 Roland Winkler <winkler@gnu.org>
2138
2139 * faces.el (read-face-name): Behave as promised by the docstring.
2140 Assume that arg default is a list of faces.
2141 (describe-face): Call read-face-name with list of default faces.
2142
2143 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2144
2145 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2146 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2147 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2148 the header.
2149 (bookmark-exit-hook-internal): Save even if list is empty.
2150
2151 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2152
2153 * emacs-lisp/package.el (package-pinned-packages): New var.
2154 (package--add-to-archive-contents): Obey it (bug#14118).
2155
2156 2013-04-03 Alan Mackenzie <acm@muc.de>
2157
2158 Handle `parse-partial-sexp' landing inside a comment opener
2159 (Bug#13244). Also adapt to the new values of element 7 of a parse
2160 state.
2161
2162 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2163 parameter `not-in-delimiter'. Handle being inside comment opener.
2164 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2165 character in case we're typing a '*' after a '/'.
2166 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2167 instead by passing the parameter to c-state-pp-to-literal.
2168
2169 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2170 for elt. 7 of a parse state.
2171
2172 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2173
2174 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2175 * international/latin1-disp.el, international/mule-util.el:
2176 * language/cyril-util.el, language/european.el, language/ind-util.el:
2177 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2178 * language/tibetan.el, language/viet-util.el:
2179 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2180
2181 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2184 (electric-pair-post-self-insert-function): Use it.
2185 (electric-pair-default-inhibit): New function, extracted from
2186 electric-pair-post-self-insert-function.
2187
2188 2013-03-31 Roland Winkler <winkler@gnu.org>
2189
2190 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2191
2192 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2193
2194 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2195
2196 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
2197
2198 Un-indent after "pass" and "return" statements (Bug#13888)
2199 * progmodes/python.el (python-indent-block-enders): New var.
2200 (python-indent-calculate-indentation): Use it.
2201
2202 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2203
2204 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2205 defun. Defining it as defalias could introduce too eager
2206 byte-compiler optimization. (Bug#14030)
2207
2208 2013-03-30 Chong Yidong <cyd@gnu.org>
2209
2210 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2211
2212 2013-03-30 Leo Liu <sdl.web@gmail.com>
2213
2214 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2215 (kmacro-execute-from-register): Pass the keyboard macro to
2216 kmacro-call-macro or repeating won't work correctly.
2217
2218 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2219
2220 * progmodes/subword.el: Back to using `forward-symbol'.
2221
2222 * subr.el (forward-whitespace, forward-symbol)
2223 (forward-same-syntax): Move from thingatpt.el.
2224
2225 2013-03-29 Leo Liu <sdl.web@gmail.com>
2226
2227 * kmacro.el (kmacro-to-register): New command.
2228 (kmacro-execute-from-register): New function.
2229 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2230
2231 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * mpc.el: Use defvar-local and setq-local.
2234 (mpc--proc-connect): Connection failures are not bugs.
2235 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2236 (mpc-volume-map): Bind to the up-events.
2237
2238 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2239
2240 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2241 instead of `forward-symbol'.
2242
2243 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2244
2245 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2246 (edebug--recursive-edit): Use it.
2247 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2248 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2249
2250 2013-03-28 Leo Liu <sdl.web@gmail.com>
2251
2252 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2253
2254 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2255
2256 * facemenu.el (list-colors-callback): New defvar.
2257 (list-colors-redisplay): New function.
2258 (list-colors-display): Install list-colors-redisplay as the
2259 revert-buffer-function. (Bug#14063)
2260
2261 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2262
2263 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2264 and suffixes don't overlap (bug#14061).
2265
2266 * case-table.el: Use lexical-binding.
2267 (case-table-get-table): New function.
2268 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2269
2270 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2271
2272 * progmodes/subword.el: Add `superword-mode' to do word motion
2273 over symbol_words (parallels and leverages `subword-mode' which
2274 does word motion inside MixedCaseWords).
2275
2276 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2277
2278 * eshell/em-unix.el: Move su and sudo to...
2279 * eshell/em-tramp.el: ...Eshell tramp module.
2280
2281 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2282
2283 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2284 Change return value to be a sexp. Delay `get-buffer' to after
2285 restoring the desktop (bug#13951).
2286
2287 2013-03-26 Leo Liu <sdl.web@gmail.com>
2288
2289 * register.el: Move semantic tag handling back to
2290 cedet/semantic/senator.el. (Bug#14052)
2291
2292 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2295 into the prompt either (bug#13963).
2296
2297 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2300 part of "(error-foo)".
2301
2302 2013-03-24 Juri Linkov <juri@jurta.org>
2303
2304 * replace.el (list-matching-lines-prefix-face): New defcustom.
2305 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2306 `occur-engine' if `face-differs-from-default-p' returns t.
2307 (occur-engine): Add `,' inside backquote construct to evaluate
2308 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2309 Pass `prefix-face' to the functions `occur-context-lines' and
2310 `occur-engine-add-prefix'.
2311 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2312 `prefix-face' and propertize the prefix with `prefix-face'.
2313 (Bug#14017)
2314
2315 2013-03-24 Leo Liu <sdl.web@gmail.com>
2316
2317 * nxml/rng-valid.el (rng-validate-while-idle)
2318 (rng-validate-quick-while-idle): Guard against deleted buffer.
2319 (Bug#13999)
2320
2321 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2322 is the last entry in kill-buffer-hook.
2323
2324 * files.el (kill-buffer-hook): Doc fix.
2325
2326 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2327
2328 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2329 Make it safe-local.
2330
2331 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2332
2333 2013-03-23 Leo Liu <sdl.web@gmail.com>
2334
2335 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2336 Remove.
2337
2338 * nxml/rng-valid.el (rng-validate-mode)
2339 (rng-after-change-function, rng-do-some-validation):
2340 * nxml/rng-maint.el (rng-validate-buffer):
2341 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2342 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2343 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2344 (nxml-extend-after-change-region): Use with-silent-modifications.
2345
2346 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2347 timer-idle-list.
2348
2349 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2350 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2351 timer-idle-list. (Bug#13999)
2352
2353 2013-03-23 Juri Linkov <juri@jurta.org>
2354
2355 * info.el (info-index-match): New face.
2356 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2357 main pattern and add text properties with the new face to matches
2358 in index entries relative to the beginning of the index entry.
2359 (Bug#14015)
2360
2361 2013-03-21 Eric Ludlam <zappo@gnu.org>
2362
2363 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2364 Inhibit read only while inserting objects.
2365
2366 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2367
2368 * progmodes/cfengine.el: Update docs to mention
2369 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2370 symbol motion. Remove "_" from the word syntax.
2371
2372 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2373
2374 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2375 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2376
2377 2013-03-20 Juri Linkov <juri@jurta.org>
2378
2379 * info.el (Info-next-reference-or-link)
2380 (Info-prev-reference-or-link): New functions.
2381 (Info-next-reference, Info-prev-reference): Use them.
2382 (Info-try-follow-nearest-node): Handle footnote navigation.
2383 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2384
2385 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2386
2387 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2388 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2389
2390 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2391
2392 Suppress unnecessary non-ASCII chatter during build process.
2393 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2394 (batch-skkdic-convert): Suppress most of the chatter.
2395 It's not needed so much now that machines are faster,
2396 and its non-ASCII component was confusing; see Dmitry Gutov in
2397 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2398
2399 2013-03-20 Leo Liu <sdl.web@gmail.com>
2400
2401 * ido.el (ido-chop): Fix bug#10994.
2402
2403 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2404
2405 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2406 Remove vars.
2407 (whitespace-color-on, whitespace-color-off):
2408 Use `font-lock-fontify-buffer' (Bug#13817).
2409
2410 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2411
2412 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2413 remapping in mode-line.
2414 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2415
2416 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2417
2418 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2419 value for `whitespace-line' face (Bug#13875).
2420 (whitespace-font-lock-keywords): Change description.
2421 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2422 the constructed keywords instead.
2423 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2424
2425 2013-03-19 Leo Liu <sdl.web@gmail.com>
2426
2427 * progmodes/compile.el (compilation-display-error): New command.
2428 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2429 C-o. (Bug#13992)
2430
2431 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2432
2433 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2434
2435 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2436
2437 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2438
2439 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2440
2441 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2442
2443 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2444 * net/tramp-gvfs.el (top):
2445 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2446 (tramp-handle-shell-command): Use it.
2447 (tramp-dissect-file-name): Raise an error when hostname is a
2448 method name, and neither method nor user is specified.
2449
2450 * net/trampver.el: Update release number.
2451
2452 2013-03-18 Leo Liu <sdl.web@gmail.com>
2453
2454 Make sure eldoc can be turned off properly.
2455 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2456 eldoc-mode.
2457 (eldoc-display-message-p): Revert last change.
2458 (eldoc-display-message-no-interference-p)
2459 (eldoc-print-current-symbol-info): Tweak.
2460
2461 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2462
2463 * doc-view.el (doc-view-new-window-function): Check the new window
2464 overlay's display property instead the char property of the
2465 buffer's first char. Use `with-selected-window' instead of
2466 `save-window-excursion' with `select-window'.
2467 (doc-view-document->bitmap): Check the current doc-view overlay's
2468 display property instead the char property of the buffer's first char.
2469
2470 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2471
2472 Automate the build of ja-dic.el (Bug#13984).
2473 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2474 from the input, rather than assume that it's been done for us by the
2475 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2476 the current date into a ja-dic.el comment, as that complicates
2477 regression testing.
2478
2479 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2480
2481 * whitespace.el: Fix double evaluation.
2482 (whitespace-space, whitespace-hspace, whitespace-tab)
2483 (whitespace-newline, whitespace-trailing, whitespace-line)
2484 (whitespace-space-before-tab, whitespace-indentation)
2485 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2486 obsolete defvars.
2487 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2488 (whitespace-color-on): Use a single font-lock-add-keywords call.
2489 Fix double-evaluation of face variables.
2490
2491 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2492
2493 * net/tramp-adb.el (tramp-adb-parse-device-names):
2494 Use `start-process' instead of `call-process'. Otherwise, the
2495 function might be blocked under MS Windows. (Bug#13299)
2496
2497 2013-03-17 Leo Liu <sdl.web@gmail.com>
2498
2499 Extend eldoc to display info in the mode-line. (Bug#13978)
2500 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2501 (eldoc-mode-line-string): New variable.
2502 (eldoc-minibuffer-message): New function.
2503 (eldoc-message-function): New variable.
2504 (eldoc-message): Use it.
2505 (eldoc-display-message-p)
2506 (eldoc-display-message-no-interference-p):
2507 Support eldoc-post-insert-mode.
2508
2509 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2510 (eval-expression): Run it.
2511
2512 2013-03-17 Roland Winkler <winkler@gnu.org>
2513
2514 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2515 strings in the list of return values.
2516
2517 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2518
2519 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2520 radix before checking for HMS forms.
2521
2522 2013-03-16 Leo Liu <sdl.web@gmail.com>
2523
2524 * progmodes/scheme.el: Add indentation and font-locking for λ.
2525 (Bug#13975)
2526
2527 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2528
2529 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2530 token before point (bug#13942).
2531
2532 2013-03-16 Leo Liu <sdl.web@gmail.com>
2533
2534 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2535
2536 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2537
2538 * startup.el (command-line-normalize-file-name): Fix handling of
2539 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2540 <xfq.free@gmail.com> in
2541 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2542
2543 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2544
2545 Sync with Tramp 2.2.7.
2546
2547 * net/trampver.el: Update release number.
2548
2549 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2550
2551 * doc-view.el Fix bug#13887.
2552 (doc-view-insert-image): Don't modify overlay associated to
2553 non-live windows, and implement horizontal centering of image in
2554 case it's smaller than the window.
2555 (doc-view-new-window-function): Force redisplay of new windows on
2556 doc-view buffers.
2557
2558 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2559
2560 * saveplace.el (save-place-alist-to-file): Don't sort
2561 `save-place-alist', just pretty-print it (bug#13882).
2562
2563 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2564
2565 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2566 whether `default-file-name-coding-system' is bound. It isn't in
2567 XEmacs.
2568
2569 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2572 backquotes for `obsolete' (bug#13929).
2573
2574 * international/mule.el (find-auto-coding): Include file name in
2575 obsolescence warning (bug#13922).
2576
2577 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2578
2579 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2580 for CFEngine 3-specific indentation.
2581 (cfengine3-indent-line): Use it. Fix up category regex.
2582 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2583
2584 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * type-break.el (type-break-file-name):
2587 * textmodes/remember.el (remember-data-file):
2588 * strokes.el (strokes-file):
2589 * shadowfile.el (shadow-initialize):
2590 * saveplace.el (save-place-file):
2591 * ps-bdf.el (bdf-cache-file):
2592 * progmodes/idlwave.el (idlwave-config-directory):
2593 * net/quickurl.el (quickurl-url-file):
2594 * international/kkc.el (kkc-init-file-name):
2595 * ido.el (ido-save-directory-list-file):
2596 * emulation/viper.el (viper-custom-file-name):
2597 * emulation/vip.el (vip-startup-file):
2598 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2599 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2600
2601 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2602
2603 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2604 * language/thai-word.el: Switch to UTF-8.
2605
2606 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2607
2608 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2609
2610 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2611
2612 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2613 Use with-current-buffer and don't move point.
2614 (net-utils-run-simple): Remove useless code.
2615 (net-utils-remove-ctl-m): Remove unused custom.
2616
2617 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2618
2619 * international/characters.el (glyphless-set-char-table-range): New fun.
2620 (update-glyphless-char-display): Use it (bug#13744).
2621
2622 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2623
2624 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2625 namespaces in the syntax, indent closer for hanging brace
2626 correctly, allow single-quote delimited 'strings', and make
2627 `cfengine3-mode' the default.
2628
2629 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2630
2631 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2632 Use lexical-binding. Fix up docstring according to conventions.
2633 (gdbmi-debug-mode): New var.
2634 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2635 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2636 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2637 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2638 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2639 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2640 (gdbmi-bnf-incomplete-record-result): New functions.
2641 (gdb-car<): Remove function.
2642 (gdbmi-record-list): Remove variable.
2643 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2644 (gdbmi-bnf-result-state-configs): New const.
2645 (gud-gdbmi-marker-filter): Rewrite.
2646 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2647 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2648 Add `token' argument.
2649 (gdb-done, gdb-error): New functions.
2650 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2651
2652 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2653
2654 * term/xterm.el (xterm--report-background-handler): Don't burp
2655 upon timeout.
2656 (xterm--version-handler): Extract from terminal-init-xterm.
2657 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2658 Allow multiple handlers.
2659 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2660
2661 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2662 (xterm--report-background-handler, xterm--query): New functions.
2663 (terminal-init-xterm): Use them.
2664
2665 2013-03-11 Michael R. Mauger <michael@mauger.com>
2666
2667 * progmodes/sql.el Version 3.2
2668 Please note that my address changed to <michael@mauger.com>;
2669 the <mmaug@yahoo.com> address remains active.
2670 (sql-connection-alist): Updates documentation to fix bug#13715.
2671 (sql-connect): Handle missing `sql-connection-alist' correctly.
2672 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2673 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2674 property.
2675 (sql-default-value): New function.
2676 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2677 values were not used.
2678 (sql-rename-buffer): Make sure alternate buffer name has no text
2679 properties.
2680 (sql-input-sender, sql-execute-feature): Fetch variable with
2681 `buffer-local-value' rather than `with-current-buffer'.
2682 (sql-*): Use #' function syntax consistently.
2683 (sql-*): Use message/error/user-error consistently.
2684
2685 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2686
2687 * xt-mouse.el (xterm-mouse-event-read): Remove.
2688 (xterm-mouse--read-event-sequence-1000)
2689 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2690
2691 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2692
2693 * term/xterm.el (xterm-function-map): Support format used with
2694 formatOtherKeys=1 (bug#13839).
2695
2696 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2697 (with-no-warnings): Use `declare'.
2698
2699 * whitespace.el (whitespace-enable-predicate): New variable.
2700 (whitespace-enable-predicate): Use it.
2701
2702 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2703 (comint-output-filter, comint-update-fence):
2704 Use with-silent-modifications.
2705
2706 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2707
2708 * replace.el (occur-read-regexp-defaults-function): New var.
2709 (occur-read-regexp-defaults): New defun.
2710 (occur-read-primary-args): Propagate above change (bug#13892).
2711
2712 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2713
2714 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2715
2716 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2717
2718 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2719
2720 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2721 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2722 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2723 New defconst.
2724 (tramp-gvfs-file-name-handler-alist) [directory-files]
2725 [directory-files-and-attributes, file-exists-p, file-modes]:
2726 Use Tramp default handler.
2727 [file-acl, file-selinux-context, process-file, set-file-acl]:
2728 [set-file-modes, set-file-selinux-context, shell-command]:
2729 [start-file-process]: Remove handler.
2730 [verify-visited-file-modtime]: New handler.
2731 (tramp-gvfs-dbus-string-to-byte-array)
2732 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2733 calls of `dbus-string-to-byte-array' and
2734 `tramp-gvfs-dbus-byte-array-to-string'.
2735 (tramp-gvfs-handle-copy-file)
2736 (tramp-gvfs-handle-delete-directory)
2737 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2738 (tramp-gvfs-handle-file-directory-p)
2739 (tramp-gvfs-handle-file-executable-p)
2740 (tramp-gvfs-handle-file-name-all-completions)
2741 (tramp-gvfs-handle-file-readable-p)
2742 (tramp-gvfs-handle-file-writable-p)
2743 (tramp-gvfs-handle-insert-directory)
2744 (tramp-gvfs-handle-insert-file-contents)
2745 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2746 (tramp-gvfs-handle-set-visited-file-modtime)
2747 (tramp-gvfs-handle-write-region): Rewrite.
2748 (tramp-gvfs-handle-file-acl)
2749 (tramp-gvfs-handle-file-selinux-context)
2750 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2751 (tramp-gvfs-handle-set-file-modes)
2752 (tramp-gvfs-handle-set-file-selinux-context)
2753 (tramp-gvfs-handle-shell-command)
2754 (tramp-gvfs-handle-start-file-process)
2755 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2756 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2757 over the symlinks. Fix user handling.
2758 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2759 of the D-Bus signals.
2760 (tramp-gvfs-connection-mounted-p): Handle different names of the
2761 D-Bus methods.
2762 (tramp-gvfs-mount-spec-entry): New defun.
2763 (tramp-gvfs-mount-spec): Use it.
2764 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2765 there is a share name. Handle different names of the D-Bus
2766 signals and methods. Set connection properties needed for
2767 `tramp-check-cached-permissions'.
2768 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2769 Return t or nil.
2770
2771 * net/tramp.el (tramp-backtrace): Move up.
2772 (tramp-error): Dump a backtrace into the debug buffer when
2773 `tramp-verbose > 9.
2774 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2775 (tramp-file-mode-permissions, tramp-get-local-uid)
2776 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2777 tramp-sh.el.
2778
2779 * net/tramp-sh.el (tramp-file-mode-type-map)
2780 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2781 (tramp-file-mode-permissions, tramp-get-local-uid)
2782 (tramp-get-local-gid): Move to tramp.el.
2783
2784 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2785
2786 Separate mouse-1-click-follows-link from mouse-drag-region.
2787 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2788 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2789 (mouse-drag-line, mouse-drag-track):
2790 Remove mouse-1-click-follows-link code.
2791 (mouse--remap-link-click-p): Remove.
2792
2793 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2794
2795 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2796 (hi-lock-read-regexp-defaults): New defun.
2797 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2798 (hi-lock-face-phrase-buffer): Propagate above change.
2799 Update docstring (bug#13892).
2800
2801 * subr.el (find-tag-default-as-regexp): New defun.
2802 * replace.el (read-regexp): Propagate above change.
2803
2804 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2805
2806 * calc/calc-units.el (calc-convert-units): Fix the way that default
2807 new units are stored.
2808
2809 2013-03-07 Matthias Meulien <orontee@gmail.com>
2810
2811 * bookmark.el: Define a face to highlight bookmark names in
2812 bookmark menu buffers, where the default is a bold face similarly
2813 to buffer names in buffer menu buffers.
2814 (bookmark-menu-bookmark): New face to highlight bookmark names.
2815 (bookmark-insert-location): Remove duplicated text property to
2816 conform to buffer list (see `list-buffers').
2817 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2818 `bookmark-menu-bookmark' to bookmark names.
2819
2820 2013-03-07 Matthias Meulien <orontee@gmail.com>
2821 Karl Fogel <kfogel@red-bean.com>
2822
2823 * bookmark.el: Display the bookmark list header similarly to the
2824 buffer list header (see `list-buffers'), where the default is now
2825 an immovable/immutable header line.
2826 (bookmark-bmenu-use-header-line): New variable.
2827 (bookmark-bmenu-inline-header-height): New name for
2828 `bookmark-bmenu-header-height', to avoid confusion with the code
2829 for the new immovable header. All references changed.
2830 (bookmark-bmenu-set-header): New function.
2831 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2832 Conditionalize header construction accordingly.
2833 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2834 the inline header height.
2835 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2836 Conditionalize the skipping of the inline header height.
2837
2838 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2839
2840 * progmodes/js.el (js--multi-line-declaration-indentation):
2841 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2842
2843 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2844
2845 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2846 Only propertize regexp when not inside a string (Bug#13885).
2847
2848 2013-03-06 Alan Mackenzie <acm@muc.de>
2849
2850 Correct the position of point in some line-up functions.
2851 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2852 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2853 point at column 0 rather than at a random place in the line.
2854
2855 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2856
2857 * net/tramp-compat.el (tramp-compat-delete-directory):
2858 Implement TRASH argument.
2859
2860 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2861
2862 Keep pre-existing highlighting in completion candidates (Bug#13250).
2863 * minibuffer.el (completions-first-difference): State that the
2864 face is "added" in the docstring.
2865 (completions-common-part): Same. And don't inherit from default.
2866 (completion-hilit-commonality): Prepend 'completions-common-part
2867 and 'completion-first-difference faces to the 'face property,
2868 instead of replacing the value(s).
2869 (completion--insert-strings): Same with 'completions-annotations face.
2870 (completion-hilit-commonality): Use 'face instead of
2871 'font-lock-face, because it gets priority if the completion
2872 strings already have 'face set.
2873
2874 2013-03-04 Alan Mackenzie <acm@muc.de>
2875
2876 Replace `last-command-event' by `last-command-char' in XEmacs.
2877 * progmodes/cc-defs.el (c-last-command-char): New macro.
2878 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2879 (c-semi&comma-no-newlines-before-nonblanks)
2880 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2881 in place of `last-command-event'.
2882 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2883 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2884 (c-electric-paren, c-electric-continued-statement): Use the new
2885 macro in place of `last-command-event'.
2886
2887 2013-03-04 Glenn Morris <rgm@gnu.org>
2888
2889 * files.el (inhibit-local-variables-regexps):
2890 Add .diff and .patch. (Bug#13862)
2891
2892 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2893
2894 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2895 whether the "su" command is available on the device.
2896
2897 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2898
2899 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2900 (tramp-adb-handle-process-file): Remove superfluous setting.
2901 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2902 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2903 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2904
2905 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2908 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2909 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2910 Use dict-key rather than dict-name for the error message.
2911
2912 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2913
2914 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2915 when reverting (bug#13831).
2916
2917 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2918
2919 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2920 Always expand affix-file before storing to protect against changed
2921 `default-directory'.
2922 (ispell-print-if-debug): Make sure message is printed at the end
2923 of the debug buffer.
2924
2925 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2926
2927 * net/tramp.el (tramp-obsolete-methods): New defconst.
2928 (tramp-warned-obsolete-methods): New defvar.
2929 (tramp-find-method): Check for obsolete methods. Map them to a
2930 replacement method if appropriate.
2931
2932 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2933 Remove methods.
2934 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2935 "ssh2" and "plink1".
2936
2937 2013-02-28 Dale Sedivec <dale@codefu.org>
2938
2939 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2940 Return valid syntax-table property value when converting
2941 quotes within text from string syntax to punctuation syntax (bug#13844).
2942
2943 2013-02-28 Juri Linkov <juri@jurta.org>
2944
2945 * dired-aux.el (dired-diff): If file at point is a backup file,
2946 use its original as the default value, and reverse the order
2947 of arguments to the `diff' call. Doc fix. (Bug#13772)
2948
2949 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2950
2951 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2952 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2953
2954 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2955
2956 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2957
2958 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2959 Ask hunspell about available and default dictionaries.
2960 (ispell-parse-hunspell-affix-file): Extract relevant info from
2961 hunspell affix file.
2962 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2963 `ispell-dictionary-alist' entry for given dictionary after info
2964 provided by `ispell-parse-hunspell-affix-file'.
2965 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2966 of parsed hunspell dicts and associated affix files.
2967 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2968 of parsed hunspell dicts and associated parameters.
2969 (ispell-set-spellchecker-params):
2970 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2971 previously done.
2972 (ispell-start-process):
2973 Call `ispell-hunspell-fill-dictionary-entry' for current
2974 dictionary if it is not initialized.
2975
2976 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * imenu.el: Comment nitpicks.
2979
2980 2013-02-28 Sam Steingold <sds@gnu.org>
2981
2982 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2983 See <http://stackoverflow.com/questions/14720205>.
2984
2985 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2986
2987 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2988 (net-utils-mode): Use it.
2989 (net-utils--revert-cmd): New var.
2990 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2991 (traceroute): Use net-utils-run-simple.
2992
2993 2013-02-28 Glenn Morris <rgm@gnu.org>
2994
2995 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2996
2997 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2998
2999 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3000 (doc-view-fallback-mode): Remove overlays here.
3001 (doc-view-toggle-display): Instead of here. Don't throw away
3002 image-mode-winprops-alist.
3003 (doc-view-goto-page): Don't mess with hscroll.
3004
3005 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3006
3007 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3008 &optional (bug#13819).
3009
3010 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3011
3012 * net/tramp-adb.el (tramp-adb-parse-device-names)
3013 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3014
3015 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3016
3017 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3018 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3019 defined. POSIX environments fall back to the "C" locale then and
3020 emit a warning, which shall be suppressed.
3021
3022 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3023
3024 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3025 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3026
3027 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3028
3029 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3030
3031 2013-02-25 Juri Linkov <juri@jurta.org>
3032
3033 * replace.el (read-regexp): Let-bind `default' to the first
3034 element of `defaults' if it's a list, otherwise it should be
3035 a string or nil. Let-bind `suggestions' to `defaults' if it's
3036 a list, otherwise make a list with the string value. Doc fix.
3037 (Bug#13805)
3038
3039 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3040
3041 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3042 that match "\`\.#", to avoid compiling lock files, even if they
3043 are readable (as they are on MS-Windows).
3044
3045 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3046
3047 * files.el (basic-save-buffer): Remove redundant directory-creation.
3048
3049 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3050
3051 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3052 Add option to force `pi' to remain symbolic.
3053 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3054 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3055 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3056 derivatives, when necessary.
3057
3058 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3059
3060 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3061 (ps-mode-octal-region): Use string-make-unibyte.
3062
3063 2013-02-23 Glenn Morris <rgm@gnu.org>
3064
3065 * emulation/viper-cmd.el (viper-submit-report):
3066 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3067 * progmodes/vera-mode.el (vera-mode-help-address):
3068 * textmodes/artist.el (artist-maintainer-address):
3069 * textmodes/reftex.el (reftex-report-bug):
3070 * vc/ediff-util.el (ediff-submit-report):
3071 Add bug-gnu-emacs to bug report address.
3072
3073 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3074 Remove bug report entries.
3075 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3076
3077 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3078 (byte-compile-file, byte-compile-from-buffer):
3079 Use separate input/output buffers for each level of recursive
3080 byte-compile-file calls. (Bug#13787)
3081
3082 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3083
3084 * net/tramp.el (tramp-methods): Fix docstring.
3085 (tramp-ssh-controlmaster-options): Rename it from
3086 `tramp-ssh-controlmaster-template'. Return a string.
3087 (tramp-default-method): Adapt check for
3088 `tramp-ssh-controlmaster-options'.
3089
3090 * net/tramp-sh.el (tramp-methods):
3091 Replace `tramp-ssh-controlmaster-template' by "%c".
3092 (tramp-do-copy-or-rename-file-out-of-band)
3093 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3094 that it is applied for the first hop only.
3095
3096 2013-02-22 Juri Linkov <juri@jurta.org>
3097
3098 * isearch.el (isearch-lazy-highlight-new-loop):
3099 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3100 to `isearch-other-end' if it is not nil. (Bug#13402)
3101
3102 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3103 to `match-beg'.
3104
3105 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3106 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3107 and `isearch-error' to nil.
3108
3109 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3110
3111 * progmodes/python.el (python-info-current-defun):
3112 Enhance match-data cluttering prevention.
3113
3114 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3115
3116 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3117
3118 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3119 Handle multibyte file names.
3120
3121 2013-02-22 Glenn Morris <rgm@gnu.org>
3122
3123 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3124 (sgml-transformation-function): Give it a :set function.
3125 (sgml-tag): Doc fix.
3126
3127 * cmuscheme.el (scheme-buffer):
3128 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3129 * progmodes/tcl.el (inferior-tcl-buffer):
3130 * textmodes/tex-mode.el (tex-command): Doc fixes.
3131
3132 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3133
3134 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3135
3136 2013-02-21 Bastien Guerry <bzg@gnu.org>
3137
3138 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3139
3140 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3141
3142 * progmodes/python.el (python-info-current-defun):
3143 Enhance match-data cluttering prevention.
3144
3145 2013-02-21 Glenn Morris <rgm@gnu.org>
3146
3147 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3148 loaded while outline-regexp is let bound. (Bug#9584)
3149
3150 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3151
3152 * progmodes/python.el (python-info-current-defun): Fix failed
3153 defun name retrieval because of unwanted match-data cluttering.
3154
3155 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3156
3157 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3158 defconst. Apply independent check for ControlPersist.
3159
3160 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3161 temporarily, via "env".
3162
3163 2013-02-21 Glenn Morris <rgm@gnu.org>
3164
3165 * info.el (Info-enable-edit): Remove.
3166 (Info-edit): Disable it rather than using Info-enable.
3167 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3168 (Info-cease-edit): Make editing of Info files obsolete.
3169
3170 * informat.el (Info-tagify):
3171 Handle buffers not visiting files. (Bug#13763)
3172
3173 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3174
3175 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3176
3177 2013-02-21 Glenn Morris <rgm@gnu.org>
3178
3179 * files.el (basic-save-buffer): Move check for existing parent
3180 directory after hooks. (Bug#13773)
3181
3182 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3183
3184 * simple.el (command-execute): Move from C. Add obsolete check.
3185 (extended-command-history): Move from C.
3186
3187 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
3188
3189 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3190 (jka-compr-mode-alist-additions): Handle .txz suffix for
3191 XZ-compressed tar archives (bug#13770).
3192
3193 2013-02-20 Bastien Guerry <bzg@gnu.org>
3194
3195 * outline.el (outline-regexp, outline-heading-end-regexp):
3196 Make variables, not options (bug#13731).
3197
3198 2013-02-20 Glenn Morris <rgm@gnu.org>
3199
3200 * image.el (image-current-frame): Change from variable to function.
3201 (image-show-frame): Rename from image-nth-frame. Update callers.
3202 * image-mode.el (image-multi-frame): New variable.
3203 (image-mode-map, image-mode, image-goto-frame):
3204 Use image-multi-frame rather than image-current-frame.
3205 (image-mode, image-goto-frame): Use image-current-frame as
3206 function rather than as variable.
3207
3208 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3209 * emacs-lisp/cl-macs.el (cl--make-type-test)
3210 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3211
3212 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3213
3214 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3215 (tramp-get-file-property, tramp-set-file-property)
3216 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3217 (tramp-flush-file-property, tramp-flush-directory-property):
3218 Rename argument to KEY.
3219 (tramp-flush-connection-property): Simplify a little bit.
3220 (tramp-connection-property-p): New defun.
3221 (top): Reapply saved values only if there isn't a corresponding
3222 entry in `tramp-connection-properties'.
3223
3224 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3225
3226 * progmodes/python.el (python-indent-context):
3227 Fix python-info-line-ends-backslash-p call.
3228 (python-info-line-ends-backslash-p)
3229 (python-info-beginning-of-backslash): Respect line-number argument.
3230 (python-info-current-line-comment-p):
3231 Fix behavior when not at beginning-of-line.
3232 (python-util-position): Remove function.
3233 (python-util-goto-line): New function.
3234
3235 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3236
3237 * eshell/em-unix.el (eshell/su): Require tramp.
3238 (eshell/sudo): Require tramp. Remove now unnecessary check.
3239
3240 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3241 `tramp-current-connection' in order to avoid an error when several
3242 commands are invoked in a short time in eshell and friends.
3243
3244 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 Cleanup some of EIEIO's namespace.
3247 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3248 Use it to define all the class-* and object-* field accessors (renamed
3249 to eieio--class-* and eieio--object-*). Update all uses.
3250 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3251 class-num-slots and object-num-slots.
3252 (eieio--check-type): New macro.
3253 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3254 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3255 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3256 (object-assoc-list-safe): Use it.
3257 (eieio-defclass): Tighten regexp.
3258 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3259 Remove unreachable code.
3260 (object-class-fast): Declare obsolete.
3261 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3262 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3263 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3264 Rename from class-name, object-name, object-set-name-string,
3265 object-class, object-class-name, class-parents, class-children,
3266 class-precedence-list, class-parent; with obsolete alias.
3267 (class-of, class-direct-superclasses, class-direct-subclasses):
3268 Declare obsolete.
3269 (eieio-defmethod): Use `memq'; remove unreachable code.
3270 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3271 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3272 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3273
3274 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3275
3276 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3277 commentary.
3278
3279 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3280
3281 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3282 Use font-lock-keyword-face for macros and special forms (bug#8345).
3283
3284 2013-02-17 Didier Verna <didier@didierverna.net>
3285
3286 * net/network-stream.el (network-stream-open-starttls):
3287 Check that response to the starttls-command is non-nil. (Bug#13706)
3288
3289 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3290
3291 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3292 Don't assume all identifier chars have syntax word.
3293 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3294 Remove bar-not-symbol. Adjust callers.
3295 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3296
3297 2013-02-17 Leo Liu <sdl.web@gmail.com>
3298
3299 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3300
3301 2013-02-17 Glenn Morris <rgm@gnu.org>
3302
3303 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3304
3305 * image-mode.el (image-mode-map): Add image-dired menu entry.
3306
3307 * image-dired.el (tumme): Make this alias obsolete.
3308
3309 2013-02-16 Glenn Morris <rgm@gnu.org>
3310
3311 * image.el (image-animated-types): Remove.
3312 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3313 (image-animated-p): Make obsolete alias.
3314 (image-animate, image-nth-frame, image-animate-timeout):
3315 Use image-multi-frame-p.
3316 (image-animate-timeout): If no delay, use image-default-frame-delay.
3317 * image-mode.el (image-mode, image-toggle-animation):
3318 Use image-multi-frame-p. (Bug#763, bug#10739)
3319 (image-mode): Adjust startup message for a multi-frame image.
3320
3321 * image-mode.el (image-mode-map): Give it a menu.
3322
3323 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3324
3325 * net/tramp-cache.el (tramp-connection-properties): New customer
3326 option.
3327 (tramp-get-connection-property): Use it.
3328
3329 * net/tramp-compat.el (top): Require 'trampver.
3330
3331 * net/tramp-sh.el (tramp-remote-process-environment):
3332 Set tramp-autoload cookie.
3333
3334 2013-02-16 Kevin Ryde <user42@zip.com.au>
3335
3336 * info-look.el (info-lookup-select-mode): If major-mode has no
3337 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3338
3339 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3340
3341 * replace.el (read-regexp): Tighten the regexp that matches tag.
3342 When tag is retrieved with `find-tag-default', use regexp that
3343 matches tag at point. Also update docstring (Bug#13687).
3344
3345 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3346
3347 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3348 add watch for the file, not its parent directory, since w32notify
3349 sets up the watch for the directory internally. (Bug#13725)
3350
3351 2013-02-16 Glenn Morris <rgm@gnu.org>
3352
3353 * image.el (image-default-frame-delay): New variable.
3354 (image-animated-p): Use image-default-frame-delay.
3355 (image-minimum-frame-delay): New constant.
3356 (image-animate-timeout): Use image-minimum-frame-delay.
3357
3358 * image.el (image-nth-frame): New, split from image-animate-timeout.
3359 (image-animate-timeout): Use image-nth-frame.
3360 * image-mode.el (image-goto-frame, image-next-frame)
3361 (image-previous-frame): New commands.
3362 (image-mode-map): Add new frame commands.
3363
3364 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3365
3366 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3367 If col-desc already has help-echo, use it. (Bug#13563)
3368
3369 2013-02-16 Glenn Morris <rgm@gnu.org>
3370
3371 * image.el (image-current-frame): New variable.
3372 (image-animate-timeout): Set image-current-frame.
3373 * image-mode.el (image-mode): For animated images,
3374 display a frame counter via mode-line-process.
3375
3376 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3377
3378 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3379
3380 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3381
3382 2013-02-15 Alan Mackenzie <acm@muc.de>
3383
3384 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3385 global minor mode has been enabled, call the minor mode function
3386 for a new buffer once only, after the major mode hook, whilst
3387 allowing that hook explicitly to disable the minor mode.
3388 (MODE-disable-in-buffer): New (generated) function.
3389 (disable-MODE): New (generated) buffer local variable.
3390
3391 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3392
3393 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3394 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3395 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3396 `ido-next-match' and `ido-prev-match' resply.
3397 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3398 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3399 `icomplete-backward-completions' (Bug#13708).
3400
3401 2013-02-15 Glenn Morris <rgm@gnu.org>
3402
3403 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3404
3405 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3406
3407 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3408 (goto-address-fontify-region): Use them instead of narrowing, so
3409 syntax-ppss has access to the whole buffer.
3410
3411 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3412
3413 * progmodes/python.el: Explain how to restore "cc-mode"-like
3414 forward-sexp movement in header documentation (Bug#13642).
3415 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3416 comments and strings (GH bug 114).
3417
3418 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3419
3420 * progmodes/python.el (python-info-current-defun): Fix current
3421 defun detection (Bug#13618).
3422
3423 2013-02-15 Chong Yidong <cyd@gnu.org>
3424
3425 * xml.el (xml-parse-string): Fix typo in handling of bad character
3426 references.
3427
3428 2013-02-15 Glenn Morris <rgm@gnu.org>
3429
3430 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3431
3432 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3433
3434 * net/tramp.el (tramp-debug-message):
3435 Add `tramp-condition-case-unless-debug'.
3436 (tramp-debug-on-error): New defvar.
3437 (tramp-condition-case-unless-debug): New defun.
3438 (tramp-file-name-handler): Use it.
3439
3440 2013-02-14 Juri Linkov <juri@jurta.org>
3441
3442 * info.el (Info-isearch-filter): Treat non-nil values of
3443 `search-invisible' including its default value `open'
3444 like the value `t' to match hidden text. (Bug#13402)
3445
3446 2013-02-14 Glenn Morris <rgm@gnu.org>
3447
3448 * help-fns.el (find-lisp-object-file-name): Give special treatment
3449 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3450
3451 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3452
3453 * net/quickurl.el (quickurl-save-urls):
3454 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3455
3456 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3457
3458 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3459 depth for unfinished percent literal. Not using it in the caller.
3460 (ruby-move-to-block): Jump over multiline literals of all types,
3461 ignoring code-looking contents inside them.
3462 (ruby-add-log-current-method): Improve performance at the expense
3463 of accuracy. `ruby-block-contains-point' is relatively slow, so
3464 only use it for method and singleton class blocks.
3465
3466 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3467
3468 Use ControlMaster where applicable. (Bug#13677)
3469
3470 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3471 replacing `tramp-detect-ssh-controlmaster'.
3472 (tramp-default-method): Use it.
3473
3474 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3475 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3476 arguments.
3477 [scpc, rsyncc]: Remove methods.
3478 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3479 and "ssh2_old".
3480 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3481 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3482
3483 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * emacs-lisp/package.el (package--initialized): Move before first use.
3486
3487 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3488
3489 * icomplete.el (icomplete-hide-common-prefix): New user option.
3490 (icomplete-first-match): New face.
3491 (icomplete-completions): Correct handling of "complete but not
3492 unique" (Bug#12638).
3493
3494 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3495
3496 * descr-text.el (describe-char): Display the script (bug#13698).
3497
3498 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3499
3500 * tmm.el: Use lexical-binding and current-active-maps.
3501 (tmm-menubar): Use map-keymap and pcase.
3502 (tmm--completion-table): New function.
3503 (tmm-prompt): Use it to fix the menu order.
3504 (tmm-get-keybind): Use current-active-maps.
3505
3506 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3507
3508 Add dired-hide-details-mode. (Bug#6799)
3509
3510 * locate.el (locate-mode): Set parent mode property to dired-mode.
3511
3512 * find-dired.el (find-dired): Call dired-insert-set-properties on
3513 initial information line. Set process mark on end of buffer.
3514 (find-dired-sentinel):
3515 Call dired-insert-set-properties on summary.
3516
3517 * dired.el (dired-hide-details-hide-symlink-targets)
3518 (dired-hide-details-hide-information-lines): New options.
3519 (dired-insert-directory):
3520 Set properties after final treatment of output.
3521 (dired-insert-set-properties):
3522 Set dired-hide-details-* properties.
3523 (dired-mode-map): Bind dired-hide-details-mode.
3524 (dired-mode): Set buffer-invisibility-spec to a list.
3525 (dired-next-line): Skip hidden lines.
3526 (dired-previous-line): Use dired-next-line.
3527 (dired-hide-details-mode): New minor mode.
3528 (dired-hide-details-update-invisibility-spec): New function.
3529
3530 2013-02-13 Glenn Morris <rgm@gnu.org>
3531
3532 * play/yow.el: Move to obsolete/. (Bug#9384)
3533
3534 2013-02-13 Juri Linkov <juri@jurta.org>
3535
3536 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3537 to select `ediff-control-frame' and set input focus correctly on Xfce.
3538 (Bug#12218)
3539
3540 2013-02-13 Juri Linkov <juri@jurta.org>
3541
3542 * image-mode.el (image-mode-map):
3543 * doc-view.el (doc-view-mode-map):
3544 * vc/ediff-util.el (ediff-setup-keymap):
3545 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3546
3547 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3548
3549 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3550 performance. Instead of recalculating indentation fully for each
3551 line, sum up indentation depth based only on visited lines.
3552 (ruby-parse-partial): Increase the depth after "do" even when END
3553 is right after it.
3554 (ruby-parse-partial): When END is in the middle of a percent
3555 literal, increase the depth if the delimiter chars belong to the
3556 paren syntax class.
3557
3558 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3559
3560 * play/fortune.el (fortune-compile): Also make the compiled file
3561 if it does not exist at all, not just if it is old. (Bug#5338)
3562
3563 2013-02-13 Glenn Morris <rgm@gnu.org>
3564
3565 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3566
3567 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3568
3569 * lisp/emacs-lisp/package.el (package-menu-execute):
3570 Add optional noquery argument. (Bug#13625)
3571
3572 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3573
3574 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3575 if DIR exists and PARENTS is non-nil.
3576
3577 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3578
3579 * progmodes/js.el (js--multi-line-declaration-indentation):
3580 Silence byte-compiler warning.
3581
3582 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3583
3584 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3585
3586 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3587 only if it doesn't exist.
3588
3589 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3590 Set process marker.
3591
3592 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3593
3594 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3595 UserInstallation when calling soffice to work around LibreOffice
3596 bug 37531.
3597
3598 2013-02-12 Glenn Morris <rgm@gnu.org>
3599
3600 * files.el (basic-save-buffer):
3601 Offer to create a non-existing directory. (Bug#3016)
3602
3603 * calc/calc-graph.el (calc-graph-show-dumb):
3604 * calendar/calendar.el (calendar-mode-map):
3605 * cus-edit.el (custom-mode-map):
3606 * ehelp.el (electric-help-map):
3607 * emulation/vip.el (vip-mode-map):
3608 * epa.el (epa-key-list-mode-map):
3609 * info.el (Info-mode-map):
3610 * mail/rmail.el (rmail-mode-map):
3611 * mail/rmailsum.el (rmail-summary-mode-map):
3612 * man.el (Man-mode-map):
3613 * net/newst-plainview.el (newsticker-mode-map):
3614 * progmodes/cpp.el (cpp-edit-mode-map):
3615 * progmodes/grep.el (grep-mode-map):
3616 * progmodes/idlw-help.el (idlwave-help-mode-map):
3617 * simple.el (special-mode-map):
3618 * startup.el (splash-screen-keymap):
3619 * view.el (view-mode-map):
3620 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3621
3622 2013-02-11 Elias Pipping <pipping@lavabit.com>
3623
3624 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3625 (bug#13679).
3626
3627 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3628
3629 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3630
3631 2013-02-11 Glenn Morris <rgm@gnu.org>
3632
3633 * vc/diff.el (diff-use-labels): New variable.
3634 (diff-no-select): Use --label rather than -L, and first
3635 check that it is supported. (Bug#11067)
3636
3637 * files.el (enable-dir-local-variables): New variable.
3638 (hack-dir-local-variables): Respect enable-dir-local-variables.
3639 * tutorial.el (help-with-tutorial):
3640 Ignore directory-local variables. (Bug#11127)
3641
3642 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3643 (vc-svn-global-switches): ... to here. (Bug#13513)
3644
3645 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3646
3647 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3648 Handle "foo (bar, default: xxx): " prompts.
3649
3650 2013-02-10 Chong Yidong <cyd@gnu.org>
3651
3652 * files.el (basic-save-buffer-1): Do not set
3653 buffer-file-coding-system-explicit (Bug#4533).
3654
3655 * mail/emacsbug.el (report-emacs-bug): Change binding of
3656 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3657
3658 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3659
3660 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3661 * calc/calc-units.el (calc-convert-units): Use new variable.
3662
3663 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3664
3665 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3666
3667 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3668 buffer-file-type.
3669
3670 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3671 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3672 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3673 coding-system-for-write instead.
3674
3675 * jka-compr.el (jka-compr-write-region): Don't bind
3676 buffer-file-type.
3677
3678 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3679 buffer-file-type.
3680
3681 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3682 (insert-file-contents-literally): Remove reference to
3683 file-name-buffer-file-type-alist.
3684
3685 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3686 make-obsolete.
3687 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3688 (find-buffer-file-type-coding-system): Remove references to
3689 find-buffer-file-type-match, find-buffer-file-type, and
3690 buffer-file-type.
3691 Don't put find-buffer-file-type-coding-system into
3692 file-coding-system-alist.
3693 (find-file-binary, find-file-text): Bind coding-system-for-read
3694 instead of file-name-buffer-file-type-alist.
3695
3696 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3697
3698 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3699 converter (Bug#13622).
3700 (doc-view-unoconv-program): Make obsolete alias.
3701 (doc-view-odf->pdf-converter-program): New variable.
3702 (doc-view-odf->pdf-converter-function): New variable.
3703 (doc-view-mode-p): Use it.
3704 (doc-view-odf->pdf-converter-unoconv):
3705 Rename from `doc-view-odf->pdf-converter-unoconv'.
3706 (doc-view-odf->pdf-converter-soffice): New function.
3707 (doc-view-convert-current-doc):
3708 Use `doc-view-odf->pdf-converter-function'.
3709
3710 2013-02-09 Chong Yidong <cyd@gnu.org>
3711
3712 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3713 view-echo-area-messages (Bug#13340).
3714
3715 * help.el (view-echo-area-messages): Use display-buffer.
3716
3717 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3718 (Bug#13561).
3719
3720 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3721
3722 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3723 Eval body right away, now that we do eager macroexpansion (bug#13605).
3724
3725 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3726 (fundamental-mode): Use run-mode-hooks.
3727
3728 * eshell/esh-proc.el (eshell/kill): Fix last change.
3729 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3730
3731 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3732
3733 * eshell/esh-proc.el (eshell/kill): Rewrite.
3734
3735 * eshell/em-ls.el (show-almost-all): Declare.
3736 (eshell-do-ls): Add support for -A argument.
3737
3738 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3739
3740 * icomplete.el (icomplete-forward-completions)
3741 (icomplete-backward-completions): Handle corner case (bug#13602).
3742
3743 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3744
3745 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3746 be nil. Handle this. (Bug#13636)
3747
3748 2013-02-07 Richard Stallman <rms@gnu.org>
3749
3750 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3751 `save-buffer-coding-system'.
3752
3753 2013-02-07 Alan Mackenzie <acm@muc.de>
3754
3755 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3756 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3757 (c-parse-state-get-strategy): Don't return 'BOD any more.
3758 (c-append-lower-brace-pair-to-state-cache):
3759 Extra parameter HERE instead of narrowing.
3760 Widen to top of buffer before searching backwards for a brace pair.
3761 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3762 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3763 Narrow to parameter HERE, in place of being called narrowed.
3764 (c-remove-stale-state-cache): Extra parameter HERE in place of
3765 narrowing. Check there's an open brace in the cache before
3766 searching for its match.
3767 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3768 (c-parse-state-1): Don't narrow here for 'forward strategy,
3769 instead passing extra parameter HERE to several functions.
3770 Remove 'BOD strategy.
3771
3772 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3773
3774 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3775 used to install the package.
3776
3777 2013-02-06 Glenn Morris <rgm@gnu.org>
3778
3779 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3780 if we can't get user input. (Bug#6567)
3781
3782 * startup.el (command-line): If simple.el is missing,
3783 test and warn about for some possible causes.
3784
3785 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3786
3787 * cus-start.el (all): Add ns-use-native-fullscreen.
3788
3789 2013-02-05 Glenn Morris <rgm@gnu.org>
3790
3791 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3792
3793 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3794 Fix directory creation in fallback case.
3795
3796 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3797
3798 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3799 (vc-update-change-log): Use dolist.
3800
3801 2013-02-04 Chong Yidong <cyd@gnu.org>
3802
3803 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3804 code from ffap.el.
3805 (thing-at-point-beginning-of-url-regexp): New var.
3806 (thing-at-point-uri-schemes): Update list of URI schemes.
3807 (thing-at-point-url-regexp): Variable deleted.
3808 (thing-at-point-markedup-url-regexp): Disallow newlines.
3809 (thing-at-point-newsgroup-regexp)
3810 (thing-at-point-newsgroup-heads)
3811 (thing-at-point-default-mail-uri-scheme): New variables.
3812 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3813 method to find the possible bounds of the URI at point.
3814 New optional argument to find ill-formed URIs.
3815 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3816 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3817 the scheme-adding heuristics from ffap-url-at-point.
3818 (thing-at-point--bounds-of-well-formed-url): New function.
3819 Do parens matching to decide whether to include parens in the URI
3820 (Bug#9153).
3821
3822 * ffap.el: Require thingatpt.
3823 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3824 All URI-valid characters are now recognized (Bug#5673).
3825 (ffap-string-at-point): Use use-region-p.
3826 (ffap-url-regexp): Extra character is handled by thing-at-point.
3827 (ffap-string-at-point-mode-alist): Allow parentheses.
3828 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3829 Convert to aliases; code moved to thingatpt.el.
3830 (ffap-gnus-hook): Use setq-local.
3831
3832 2013-02-04 Glenn Morris <rgm@gnu.org>
3833
3834 * emacs-lisp/ert.el (ert--explain-format-atom):
3835 Don't try to print non-characters as characters. (Bug#13543)
3836
3837 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3838
3839 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3840 (tramp-backtrace): New defun.
3841 (tramp-handle-insert-file-contents): Use `visit' when inserting
3842 the local copy.
3843
3844 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3845 Use `remote-file-name-inhibit-cache'.
3846
3847 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3850 (bug#13614).
3851
3852 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3853 current-load-list (bug#13366).
3854
3855 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3856
3857 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3858 Identify g++ template instantiation trace. (Bug#12287)
3859 (compilation-mode-hook, compilation-start-hook)
3860 (compilation-window-height): Simplify docstrings. (Bug#13379)
3861
3862 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3863
3864 * mouse.el (mouse-drag-track): Always deactivate the mark before
3865 running the final event's command since that command is in charge of
3866 activating the mark if needed (bug#13523).
3867
3868 2013-02-02 Juri Linkov <juri@jurta.org>
3869
3870 * replace.el (perform-replace): Move let-bindings of isearch-*
3871 variables deeper to the loop that searches for the next match.
3872 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3873 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3874 (Bug#13579)
3875
3876 * isearch.el (isearch-search-fun-default): Check for null
3877 first element of isearch-cmds as a precaution when it's used
3878 with inactive isearch.
3879
3880 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3881
3882 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3883 error when buffer in question is narrowed so position 1 is out of
3884 visible part.
3885
3886 2013-02-02 Glenn Morris <rgm@gnu.org>
3887
3888 * textmodes/remember.el (remember-clipboard): Doc fix.
3889
3890 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3893 properties (bug#13179).
3894
3895 2013-02-02 Juri Linkov <juri@jurta.org>
3896
3897 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3898 instead of hard-coded default face `match'. (Bug#9438)
3899
3900 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3901
3902 * vc/vc-arch.el (vc-arch-registered):
3903 * vc/vc-bzr.el (vc-bzr-registered):
3904 * vc/vc-cvs.el (vc-cvs-registered):
3905 * vc/vc-git.el (vc-git-registered):
3906 * vc/vc-hg.el (vc-hg-registered):
3907 * vc/vc-mtn.el (vc-mtn-registered):
3908 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3909 (Bug#13139)
3910
3911 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3912 prefix argument. (Bug#11656)
3913
3914 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3915
3916 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3917
3918 2013-02-01 Glenn Morris <rgm@gnu.org>
3919
3920 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3921 if the backend is known not to support it.
3922
3923 * imenu.el (imenu-default-create-index-function):
3924 Tweak infinite loop test to check for forward motion as well as none.
3925
3926 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3927
3928 * net/soap-client.el (soap-invoke): Encode the string for
3929 `url-request-data' as UTF-8.
3930 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3931
3932 2013-02-01 Glenn Morris <rgm@gnu.org>
3933
3934 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3935
3936 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3937
3938 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3939
3940 * net/tramp.el (tramp-tramp-file-p): Comment check for
3941 `string-as-unibyte'. The function does not exist on XEmacs, and
3942 likely we need another approach.
3943
3944 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3945 `tramp-gw-*' variables are bound.
3946
3947 2013-01-31 Glenn Morris <rgm@gnu.org>
3948
3949 * files.el (basic-save-buffer-2): Choose coding system for
3950 writing the file before backing it up, to reduce delay between
3951 backing up and writing the new version. (Bug#13522)
3952
3953 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3954
3955 * simple.el (cycle-spacing): New command.
3956 (just-one-space): Use it.
3957
3958 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3959
3960 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3961 (opascal-newline-always-indents): Remove custom.
3962 (opascal-tab, opascal-newline): Remove commands.
3963 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3964 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3965 (opascal-save-match-data): Remove, use save-match-data instead.
3966 (opascal-save-state): Use with-silent-modifications.
3967
3968 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3969 (bug#13585).
3970
3971 2013-01-30 Juri Linkov <juri@jurta.org>
3972
3973 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3974 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3975 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3976
3977 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3978
3979 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3980 column if we're just deleting the backslashes.
3981 (makefile-fill-paragraph): Use eolp.
3982
3983 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3984
3985 * autorevert.el (auto-revert-use-notify): Fix docstring.
3986
3987 2013-01-30 Leo Liu <sdl.web@gmail.com>
3988
3989 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3990
3991 2013-01-30 Glenn Morris <rgm@gnu.org>
3992
3993 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3994 unread-command-events twice in some cases. This tries to implement
3995 the 2012-07-26 changes in a different way. (Bug#13560)
3996
3997 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3998
3999 * progmodes/python.el
4000 (python-pdbtrack-comint-output-filter-function): Enhancements on
4001 stacktrace detection. (thanks @gnovak)
4002
4003 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4006 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4007 Use defvar-local.
4008 (jit-lock-register): Use setq-local.
4009
4010 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4011
4012 * calc-units.el (math-default-units-table): Remove initial value.
4013 (calc-convert-units): Treat expressions where all the units cancel as
4014 if they didn't have units.
4015
4016 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4017
4018 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4019 (tramp-completion-reread-directory-timeout): Fix type.
4020 (tramp-connection-min-time-diff): New defcustom.
4021
4022 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4023
4024 2013-01-30 Glenn Morris <rgm@gnu.org>
4025
4026 * imenu.el (imenu-default-create-index-function):
4027 Put back a version of the infinite loop test removed 2013-01-23.
4028
4029 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4030
4031 * progmodes/python.el (python-shell-parse-command):
4032 Find python-shell-interpreter with modified environment.
4033
4034 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4035
4036 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4037
4038 2013-01-29 Alan Mackenzie <acm@muc.de>
4039
4040 Amend to fontify /regexp/s in actions correctly.
4041 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4042 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4043 are no longer included.
4044 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4045 What used to be these variables without "-line" in the name.
4046 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4047 (c-awk-non-arith-op-bra-re): Now also matches {.
4048 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4049 "return", and "case".
4050 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4051 by /.
4052 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4053 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4054
4055 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4056
4057 * autorevert.el (auto-revert-use-notify):
4058 Use `custom-initialize-default' for initialization. (Bug#13583)
4059
4060 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4061
4062 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4063 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4064 in `tramp-file-name-handler'.
4065 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4066 compatibility.
4067 (tramp-compute-multi-hops): Check, whether
4068 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4069
4070 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4073 (bug#13297).
4074
4075 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4076
4077 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4078 checks made superfluous by the \_< operator.
4079 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4080 temporarily) broken indentation.
4081 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4082 Highlight nested constants, too. \_< broke that.
4083
4084 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4085
4086 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4087 instead of "\\b".
4088
4089 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4090
4091 * autorevert.el (auto-revert-handler): Notifications which result
4092 from a saved file shall not be taken into account. (Bug#13557)
4093
4094 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4095
4096 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4097 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4098 (lisp-mode): Pass t for it. (Bug#13556)
4099
4100 2013-01-25 Alan Mackenzie <acm@muc.de>
4101
4102 AWK Mode: Fix indentation bug at top level. Bug #12274.
4103
4104 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4105 just before CASE 5D.
4106
4107 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4108
4109 * net/socks.el (socks-nslookup-host): Use string-to-number.
4110
4111 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4112
4113 * autorevert.el (auto-revert-remote-files)
4114 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4115 (auto-revert-notify-enabled, auto-revert-use-notify)
4116 (auto-revert-notify-watch-descriptor-hash-list)
4117 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4118 (auto-revert-notify-event-descriptor)
4119 (auto-revert-notify-event-action)
4120 (auto-revert-notify-event-file-name): Doc fix.
4121 (global-auto-revert-mode): Reorder checks.
4122 (auto-revert-notify-rm-watch): Respect changed values of
4123 `auto-revert-notify-watch-descriptor-hash-list'.
4124 (auto-revert-notify-add-watch): Check for
4125 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4126 `inotify-add-watch'. Watch `default-directory' instead of
4127 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4128 has a changed meaning now. (Bug#13540)
4129 (auto-revert-notify-handler): Change implementation wrt events
4130 returning from a directory.
4131 (auto-revert-handler): Reorder implementation for checks of remote
4132 files.
4133 (auto-revert-buffers): Fix parentheses error.
4134
4135 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4136
4137 * progmodes/python.el: Enhancements to header documentation about
4138 skeletons. (Bug#5716)
4139
4140 * imenu.el (imenu-default-create-index-function): Remove useless
4141 infinite loop check. (Bug#13438)
4142
4143 2013-01-25 Alan Mackenzie <acm@muc.de>
4144
4145 Fix a bug in the state cache mechanism. Refactor this a bit.
4146
4147 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4148 `cache-pos' element from the return value.
4149 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4150 buffer to enable proper searching from beyond HERE. Amend the
4151 test for detecting the sought brace pair. Amend the value written
4152 to the "brace desert cache" when the brace isn't found.
4153 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4154 and several other variables analogously.
4155 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4156 parameter to a locally calculated variable.
4157 (c-parse-state-1): Change the calling conventions to the two
4158 defuns involving `cache-pos'.
4159
4160 2013-01-25 Chong Yidong <cyd@gnu.org>
4161
4162 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4163
4164 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4165
4166 * paren.el (show-paren-function): Make sure to set 'priority and
4167 'face only if the overlay does exist.
4168
4169 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4170
4171 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4172
4173 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4174 basic attributes.
4175 (tramp-sh-handle-set-file-acl): Improve error checking.
4176
4177 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4178
4179 * doc-view.el (doc-view-display): Force mode line update until all
4180 document is converted. Suggested by Stefan Monnier (Bug#13164).
4181
4182 2013-01-23 Bastien Guerry <bzg@gnu.org>
4183
4184 * paren.el (show-paren-function): Make sure an overlay exists
4185 before trying to delete it. Also use `pos' as a position only
4186 when it is an integer.
4187
4188 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4189
4190 * play/gametree.el (gametree-break-line-here): Use point-marker.
4191
4192 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4193
4194 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4195 Mark descriptive parts with `display' property.
4196
4197 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4198
4199 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4200 New variable to map standard dict names to hunspell ones.
4201 (ispell-set-spellchecker-params): Make sure specific dict names
4202 are used for standard dicts with hunspell.
4203
4204 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4205
4206 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4207 chars for note (%N) and url (%U).
4208 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4209
4210 2013-01-21 Juri Linkov <juri@jurta.org>
4211
4212 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4213 in addition to existing separate binding `meta f10' in `global-map'.
4214 (Bug#13484)
4215
4216 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4217
4218 Improve XEmacs compatibility.
4219
4220 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4221
4222 * net/tramp-adb.el (top): Require `time-date'.
4223 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4224 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4225 Use `tramp-file-name-handler'.
4226 (tramp-adb-maybe-open-connection):
4227 Use `tramp-compat-set-process-query-on-exit-flag'.
4228
4229 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4230 Use `tramp-compat-funcall'.
4231
4232 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4233 `tramp-compat-funcall'.
4234
4235 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
4236
4237 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4238 reimplementation using "adb shell command ..." instead of running
4239 remote shell interactively.
4240
4241 2013-01-20 Glenn Morris <rgm@gnu.org>
4242
4243 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4244 Add native profiler menu entries.
4245
4246 * profiler.el (profiler-running-p): New function.
4247 (profiler-cpu-profile): Use profiler-running-p.
4248 (profiler-report-mode-map): Add some more menu entries.
4249
4250 2013-01-19 Glenn Morris <rgm@gnu.org>
4251
4252 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4253 fixes 2012-12-07 change. (Bug#13499)
4254
4255 2013-01-19 Leo Liu <sdl.web@gmail.com>
4256
4257 * dired.el (dired-get-marked-files): Prune erroneous values due to
4258 last change. (Bug#13152)
4259
4260 2013-01-19 Glenn Morris <rgm@gnu.org>
4261
4262 * progmodes/etags.el (tags-table-check-computed-list):
4263 Preserve point in tags buffer. (Bug#13412)
4264
4265 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4266
4267 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4268 Chong Yidong <cyd@gnu.org>
4269
4270 * image-mode.el (image-next-file, image-previous-file):
4271 New commands (Bug#8453).
4272 (image-mode-map): Bind them to n and p.
4273 (image-mode--images-in-directory): New helper function.
4274
4275 2013-01-19 Chong Yidong <cyd@gnu.org>
4276
4277 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4278 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4279 save and restore the old window configuration.
4280
4281 2013-01-18 Leo Liu <sdl.web@gmail.com>
4282
4283 * progmodes/js.el: Tweak autoload cookie for alias.
4284
4285 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4286
4287 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4288 buffer local, again. This was lost with the fix on 2013-01-12.
4289
4290 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4291
4292 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4293 order to support several eshell buffers in parallel.
4294
4295 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4296
4297 * autorevert.el (auto-revert-use-notify): In the :set function, do
4298 not modify `kill-buffer-hook'.
4299 (auto-revert-notify-rm-watch):
4300 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4301 (auto-revert-notify-add-watch): Do not call
4302 `auto-revert-notify-rm-watch', but add it to a buffer local
4303 `kill-buffer-hook'.
4304
4305 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4308 call to `eval' rather than a backquoted lambda.
4309
4310 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4311
4312 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4313 to return an explicit nil.
4314 (advice--remove-function): Change accordingly.
4315
4316 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4317 the use of nadvice.el.
4318
4319 * progmodes/which-func.el (which-function): Silence imenu errors
4320 (bug#13433).
4321
4322 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4323
4324 * progmodes/sql.el (sql-imenu-generic-expression):
4325 (sql-mode-font-lock-object-name): Match schema qualified names.
4326 (sql-connect): Use string keys.
4327 (sql-product-interactive): Wait for interpreter prompt.
4328 (sql-comint-oracle): Set process coding based on NLS_LANG.
4329
4330 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4331
4332 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4333 (sql-interactive-remove-continuation-prompt):
4334 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4335
4336 2013-01-14 Leo Liu <sdl.web@gmail.com>
4337
4338 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4339 (Bug#13420)
4340
4341 2013-01-14 Glenn Morris <rgm@gnu.org>
4342
4343 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4344 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4345
4346 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4347
4348 * progmodes/python.el (python-nav-end-of-statement):
4349 Fix cornercase when handling multiline strings.
4350
4351 2013-01-13 Richard Stallman <rms@gnu.org>
4352
4353 * mail/sendmail.el (mail-position-on-field): Add doc string.
4354
4355 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4356 Get current message boundaries and pass them to
4357 message-forward-make-body-mime. Minor style changes.
4358
4359 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4360
4361 * cus-start.el (all): Avoid warnings about
4362 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4363
4364 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4365
4366 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4367
4368 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4369
4370 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4371 (jit-lock--debug-fontifying): New var.
4372 (jit-lock--debug-fontify): New function.
4373 * subr.el (condition-case-unless-debug): Don't prevent catching the
4374 error, just let the debbugger run.
4375 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4376 timer code and don't drop errors silently.
4377
4378 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4379
4380 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4381 `permanent-local' property.
4382 (auto-revert-notify-handler): Use `file-equal-p'.
4383
4384 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4385
4386 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4387 file notification by ACTION. For filtering by file name, compare
4388 only the non-directory part of the file name.
4389
4390 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4391
4392 * autorevert.el: Use cl-lib instead of cl.
4393
4394 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4395 (vc-bzr-checkin): Use it.
4396 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4397 will preserve match-data.
4398
4399 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4400
4401 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4402 (js--declaration-keyword-re): New var.
4403 (js--multi-line-declaration-indentation): New function.
4404 (js--proper-indentation): Use it.
4405
4406 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4407
4408 * calc/calc.el (calc-highlight-selections-with-faces)
4409 (calc-dispatch):
4410 * comint.el (comint-history-isearch-message):
4411 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4412 * ffap.el (ffap-string-at-point-region, ffap-next)
4413 (ffap-string-at-point, ffap-string-around)
4414 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4415 (ffap-literally):
4416 * font-lock.el (font-lock-keywords-alist)
4417 (font-lock-removed-keywords-alist):
4418 * help-mode.el (help-xref-symbol-regexp):
4419 * info.el (Info-find-emacs-command-nodes):
4420 * international/mule.el (add-to-coding-system-list):
4421 * isearch.el (isearch-message-function, isearch-fail-pos):
4422 * misearch.el (multi-isearch-next-buffer-function):
4423 * newcomment.el (comment-box):
4424 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4425 (pr-setting-database):
4426 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4427 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4428 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4429 (pike-font-lock-keywords-3):
4430 * progmodes/compile.el (compile):
4431 * progmodes/etags.el (tags-table-files)
4432 (tags-table-files-function, tags-included-tables-function):
4433 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4434 (gdb-restore-windows):
4435 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4436 (ps-n-up-filling-database):
4437 * server.el (server-buffer, server-log):
4438 * simple.el (newline, delete-backward-char, delete-forward-char)
4439 (minibuffer-history-isearch-message, kill-line, track-eol)
4440 (temporary-goal-column):
4441 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4442 (flyspell-default-deplacement-commands):
4443 * textmodes/ispell.el (ispell-accept-output):
4444 * textmodes/sgml-mode.el (html-tag-help):
4445 * vc/compare-w.el (compare-ignore-whitespace)
4446 (compare-ignore-case, compare-windows-dehighlight):
4447 * vc/diff.el (diff):
4448 * whitespace.el (whitespace-point)
4449 (whitespace-font-lock-refontify, whitespace-bob-marker)
4450 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4451
4452 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4453
4454 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4455 (auto-revert-notify-rm-watch): Ignore errors.
4456 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4457 inotify, and '(size last-write-time) for w32notify.
4458 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4459 watch fails - this is a fallback to the file modification check.
4460 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4461 (auto-revert-notify-event-action)
4462 (auto-revert-notify-event-file-name): New defuns.
4463 (auto-revert-notify-handler): Use them. Implement first
4464 plausibility checks.
4465 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4466
4467 2013-01-11 Julien Danjou <julien@danjou.info>
4468
4469 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4470 max are almost equal. Also return the correct value for V which is
4471 already between 0 and 1.
4472
4473 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4474
4475 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4476
4477 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4478
4479 * autorevert.el (auto-revert-notify-rm-watch)
4480 (auto-revert-notify-add-watch): Fix typos in w32notify function
4481 names.
4482
4483 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4484
4485 * autorevert.el (auto-revert-notify-enabled): Move up.
4486 (auto-revert-use-notify): New defcustom.
4487 (auto-revert-mode, global-auto-revert-mode)
4488 (auto-revert-notify-add-watch, auto-revert-handler)
4489 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4490 `auto-revert-notify-enabled'.
4491
4492 2013-01-10 Elias Pipping <pipping@exherbo.org>
4493
4494 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4495 * doc-view.el (doc-view-document->bitmap):
4496 Use doc-view-single-page-converter-function instead of
4497 single-page-converter arg; adjust callers.
4498
4499 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4500
4501 * progmodes/which-func.el (which-function): Understand Semantic's use
4502 of overlays in imenu--index-alist.
4503
4504 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4505
4506 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4507 (Man-man-k-use-anchor): New var.
4508 (Man-parse-man-k): New function.
4509 (Man-completion-table): Use it.
4510 (man): Flush the completion cache between uses.
4511
4512 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4513
4514 * autorevert.el: Add file watch support.
4515 (auto-revert-notify-enabled): New defconst.
4516 (auto-revert-notify-watch-descriptor-hash-list)
4517 (auto-revert-notify-watch-descriptor)
4518 (auto-revert-notify-modified-p): New defvars.
4519 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4520 (auto-revert-notify-handler): New defuns.
4521 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4522 when mode is disabled.
4523 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4524 (auto-revert-buffers): Add file watches for active buffers.
4525
4526 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4527
4528 * cus-start.el (toplevel): Only allow float values for
4529 scroll-up-aggressively and scroll-down-aggressively.
4530 Allow any number for line-spacing.
4531
4532 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4534 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4535 (doc-view-pdf->png-converter-function): Use mupdf if available.
4536 (doc-view-djvu->png-converter-function)
4537 (doc-view-ps->png-converter-function): Remove.
4538 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4539 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4540 (doc-view-already-converted-p): Adjust accordingly.
4541 (doc-view-mode-p): Simplify.
4542 (doc-view-enlarge): Use setq-local.
4543 (doc-view-pdf->png-converter-ghostscript)
4544 (doc-view-djvu->png-converter-ddjvu)
4545 (doc-view-pdf->png-converter-mupdf): Rework to call
4546 doc-view-start-process directly.
4547 (doc-view-pdf/ps->png): Simplify accordingly.
4548 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4549 (doc-view-document->bitmap): Rename from doc-view-document->png.
4550 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4551 (doc-view-set-slice-from-bounding-box): Fix completion table.
4552 (doc-view-mode): Use add-hook for after-revert-hook.
4553
4554 2013-01-10 Glenn Morris <rgm@gnu.org>
4555
4556 * emacs-lisp/authors.el (authors-ignored-files)
4557 (authors-valid-file-names, authors-renamed-files-alist):
4558 Add some more entries.
4559
4560 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4561
4562 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4563 `t' pseudo-window entry.
4564
4565 2013-01-10 Alan Mackenzie <acm@muc.de>
4566
4567 Fix bugs in the c-parse-state mechanism. Reuse some markers
4568 instead of continually generating new ones.
4569
4570 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4571 (c-state-old-cpp-end-marker): New variables.
4572 (c-append-lower-brace-pair-to-state-cache): Start a backward
4573 search for "}" definitively outside CPP constructs.
4574 (c-remove-stale-state-cache): Inform the caller of a need to
4575 search back for a brace pair in certain circumstances.
4576 (c-state-maybe-marker): New macro.
4577 (c-parse-state): Reuse markers when appropriate.
4578
4579 2013-01-10 Glenn Morris <rgm@gnu.org>
4580
4581 * simple.el (execute-extended-command): Doc fix.
4582 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4583
4584 2013-01-10 Chong Yidong <cyd@gnu.org>
4585
4586 * faces.el (read-face-name): Doc fix.
4587
4588 2013-01-10 Roland Winkler <winkler@gnu.org>
4589
4590 * emacs-lisp/crm.el: Allow any regexp for separators.
4591 (crm-default-separator): All spaces around the default comma separator.
4592 (crm--completion-command): New macro.
4593 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4594 (crm-complete-and-exit): Handle non-single-char separators.
4595
4596 2013-01-09 Elias Pipping <pipping@lavabit.com>
4597
4598 * doc-view.el: Add support for DjVu (bug#13164).
4599 (doc-view-djvu->png-converter-function): New config var.
4600 (doc-view-single-page-converter-function, doc-view--image-type)
4601 (doc-view--image-file-extension): New vars.
4602 (doc-view-mode): Initialize them.
4603 (doc-view-goto-page): Use them.
4604 (doc-view-mode-p): Add support for ddjvu.
4605 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4606 (doc-view-set-up-single-converter): New funs.
4607 (doc-view-pdf/ps->png): Extend for djvu.
4608 (doc-view-document->png): Rename from doc-view-pdf->png.
4609 (doc-view-convert-current-doc): Handle djvu.
4610 (doc-view-insert-image, doc-view-display)
4611 (doc-view-already-converted-p): Don't hardcode png.
4612 (doc-view-set-doc-type): Recognize djvu docs.
4613
4614 2013-01-09 Elias Pipping <pipping@lavabit.com>
4615
4616 * doc-view.el: Add support for mupdf converter (bug#13164).
4617 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4618 (doc-view-ps->png-converter-function): New config vars.
4619 (doc-view-pdf->png-converter-ghostscript)
4620 (doc-view-ps->png-converter-ghostscript)
4621 (doc-view-pdf->png-converter-mupdf): New functions.
4622 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4623
4624 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4625
4626 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4627 first in session cache: When `tramp-own-remote-path' is in
4628 `tramp-remote-path', the remote path is only set in the session
4629 cache.
4630
4631 2013-01-09 Glenn Morris <rgm@gnu.org>
4632
4633 * emacs-lisp/trace.el (trace-function-foreground)
4634 (trace-function-background): Doc fix.
4635
4636 2013-01-09 Juri Linkov <juri@jurta.org>
4637
4638 * international/mule-cmds.el (read-char-by-name): Move let-binding
4639 of completion-ignore-case around completing-read to fix regression
4640 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4641 `string-match-p' using the nil value of `case-fold-search' and
4642 `completion-ignore-case' in `completion-pcm--all-completions'.
4643 (Bug#12615).
4644
4645 2013-01-09 Glenn Morris <rgm@gnu.org>
4646
4647 * progmodes/compile.el (compilation-parse-errors):
4648 Fix typo. (Bug#13369)
4649
4650 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4651
4652 * comint.el (comint-send-input): Check size of buffer before
4653 waiting for process output, in case already accepted. (Bug#13290)
4654
4655 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4656
4657 Spelling fixes.
4658 * net/tramp-adb.el (tramp-adb-get-toolbox):
4659 Fix misspelling of 'unknown'.
4660
4661 2013-01-08 Juri Linkov <juri@jurta.org>
4662
4663 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4664 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4665 Use underline style wave on terminals that support it. (Bug#13000)
4666
4667 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4668
4669 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4670 the predicate returns nil.
4671
4672 * simple.el: Use lexical-binding.
4673 (primitive-undo): Use pcase.
4674 (minibuffer-history-isearch-push-state): Use a closure.
4675
4676 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4677
4678 * simple.el (primitive-undo): Move from undo.c.
4679
4680 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4683 (cvs-mode-remove-handled): Use it (bug#13380).
4684
4685 * emacs-lisp/nadvice.el (advice--tweak): New function.
4686 (advice--remove-function, advice--subst-main): Use it.
4687
4688 * emacs-lisp/advice.el: Update commentary.
4689
4690 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4691
4692 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4693 Remove spurious entry.
4694
4695 2013-01-08 Glenn Morris <rgm@gnu.org>
4696
4697 * net/tramp.el (tramp-default-host-alist): Add :version.
4698
4699 2013-01-08 Juri Linkov <juri@jurta.org>
4700
4701 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4702 single completion. (Bug#12456)
4703 (info--manual-names): Expand node completions into an explicit list
4704 before appending it to another list. Filter out internal buffers
4705 with the leading space in the buffer name. (Bug#10771)
4706
4707 2013-01-08 Juri Linkov <juri@jurta.org>
4708
4709 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4710 that defaults to the Top node.
4711 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4712 the short format (FILENAME) goes to the Top node.
4713 (Info-build-node-completions): Rename arg `file' to `filename'.
4714 (Bug#13365)
4715
4716 2013-01-07 Bastien Guerry <bzg@gnu.org>
4717
4718 * menu-bar.el (menu-bar-search-documentation-menu):
4719 Use `apropos-user-option' and fix the help message.
4720
4721 2013-01-07 Bastien Guerry <bzg@gnu.org>
4722
4723 * apropos.el (apropos-do-all): Update docstring.
4724 (apropos-user-option-button): New face.
4725 (apropos-user-option): Rename from `apropos-variable' and update
4726 docstring.
4727 (apropos-variable): Rewrite, now show all variables by default.
4728 (apropos-print): Mention "User option" instead of "Variable" when
4729 printing doc for user options. (Bug#13276)
4730
4731 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4732
4733 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4734 Handle filename correctly, when parsing "source -> target" symlink
4735 output.
4736 (tramp-adb-handle-set-file-times): New defun.
4737
4738 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4739
4740 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4741 advice list when the interactive-spec of ad-Advice-* changes.
4742
4743 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4744
4745 * wid-edit.el (widget-default-get): Work for inlined elements.
4746 (Bug#12670)
4747
4748 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4749
4750 * net/tramp.el (tramp-default-host-alist): New defcustom.
4751 (tramp-find-host): Use it.
4752 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4753 `eshell-directory-change-hook'.
4754
4755 * net/tramp-adb.el (top): Add adb specific entry in
4756 `tramp-default-host-alist'.
4757 (tramp-adb-file-name-host): Remove function.
4758 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4759 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4760
4761 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4762
4763 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4764
4765 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4766
4767 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4768
4769 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4770 consist of more than one digit.
4771 (tramp-adb-file-name-handler-alist):
4772 Use `tramp-handle-file-exists-p' consistently.
4773 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4774 (tramp-adb-handle-file-exists-p): Remove function.
4775 (tramp-adb-file-name-host): New defun.
4776 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4777 Use it.
4778 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4779
4780 2013-01-06 Chong Yidong <cyd@gnu.org>
4781
4782 * vc/vc.el (vc-next-action): Detect buffer modifications
4783 conflicting with locking VCS operation (Bug#11490).
4784
4785 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4786
4787 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4788
4789 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4790 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4791
4792 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4793
4794 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4795 parsing of ls output using regular expression (handle filenames
4796 with spaces). Use virtual device number.
4797 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4798 cleanup).
4799
4800 2013-01-04 Daiki Ueno <ueno@gnu.org>
4801
4802 * epg.el: Silence byte-compiler warnings.
4803 (epg--start): Use delete-char instead of delete-backward-char.
4804 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4805
4806 2013-01-04 Daiki Ueno <ueno@gnu.org>
4807
4808 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4809 Suggested by Eli Zaretskii <eliz@gnu.org>.
4810
4811 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4812
4813 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4814 non-negative integers. Otherwise, the default values are used.
4815 (tramp-convert-file-attributes): Convert uid and gid to integers.
4816
4817 2013-01-04 Glenn Morris <rgm@gnu.org>
4818
4819 * term.el (term-handle-colors-array): Ensure face attributes
4820 are fully specified, not nil. (Bug#13337)
4821
4822 * term.el (term-default-fg-color, term-default-bg-color):
4823 Fix custom type.
4824
4825 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4826 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4827 rather than 'jka-compr being loaded. (Bug#13338)
4828
4829 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4830
4831 * icomplete.el (icomplete-completions):
4832 Honor icomplete-prospects-height once more following
4833 2012-11-29 changes. (Bug#13224)
4834
4835 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4836
4837 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4838 of called-interactively-p as well (bug#13237).
4839
4840 * view.el (view--enable, view--disable): Rename from view-mode-enable
4841 and view-mode-disable and assume it's called from view-mode.
4842 (view-mode-enable, view-mode-disable): Redefine as obsolete
4843 compatibility layer above view-mode.
4844 (view-mode-enter): Call `view-mode'.
4845
4846 * files.el (after-find-file): Call `view-mode'.
4847
4848 * doc-view.el (doc-view-scale-internally): New var.
4849 (doc-view-enlarge, doc-view-insert-image): Obey it.
4850
4851 2013-01-03 Daiki Ueno <ueno@gnu.org>
4852
4853 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4854 exist. (Bug#13344)
4855
4856 2013-01-03 Glenn Morris <rgm@gnu.org>
4857
4858 * mail/rmail.el (rmail-set-header-1): Ignore case.
4859 Handle multi-line headers. (Bug#13330)
4860
4861 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4862 Handle paragraph starting at beginning of buffer.
4863
4864 * subr.el (eval-after-load): Don't purecopy the form, so that it
4865 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4866
4867 * emacs-lisp/byte-run.el (defun): Place cl declarations
4868 after any interactive spec. (Bug#13265)
4869
4870 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4871
4872 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4873 defun. Don't check for DECL if DOCSTRING isn't a string.
4874 (defun): Likewise.
4875
4876 2013-01-02 Glenn Morris <rgm@gnu.org>
4877
4878 * eshell/em-cmpl.el (eshell-pcomplete):
4879 More thoroughly imitate pcomplete. (Bug#13293)
4880
4881 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4882 Return nil for empty path elements. (Bug#13296)
4883
4884 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4885
4886 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4887 order to improve efficiency (Based on Daniel Colascione's
4888 <dancol@dancol.org> patch). (Bug#13182)
4889
4890 2013-01-02 Glenn Morris <rgm@gnu.org>
4891
4892 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4893
4894 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4895
4896 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4897 neither DOCSTRING nor DECL was given. (Bug#13316)
4898
4899 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4900
4901 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4902 `error' call.
4903 (tramp-do-copy-or-rename-file): Ignore errors when calling
4904 `set-file-extended-attributes'.
4905
4906 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4907 Add handler for `file-acl'.
4908 (tramp-smb-handle-file-acl): New defun.
4909
4910 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4911
4912 * calc/README: Mention ISO 8601 week-numbering dates.
4913
4914 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4915
4916 * view.el (view-mode-enable): New argument run-view-mode-hook.
4917 Run view-mode-hook only when it's non-nil (Bug#13315).
4918 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4919 argument t.
4920
4921 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4922
4923 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4924 (No device connected, invalid device name). (Bug #13299)
4925
4926 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4927
4928 * window.el (window-resizable--p): Rename to window-resizable-p.
4929 (window-resize-no-error): New function.
4930
4931 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4932 broken in fix from 2012-12-28.
4933
4934 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4935
4936 * subr.el (special-form-p): Don't signal errors on undef aliases.
4937
4938 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4939
4940 * calc/calc-forms.el (math-parse-date): Try using
4941 `math-parse-iso-date' when it looks like it might be needed.
4942 Allow times of 24:00.
4943 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4944 of 24:00.
4945
4946 2012-12-30 Glenn Morris <rgm@gnu.org>
4947
4948 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4949 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4950 (rmail-summary-displayed, rmail-summary): Declare.
4951 (mairix-rmail-display): Just require rmail.
4952
4953 2012-12-30 Chong Yidong <cyd@gnu.org>
4954
4955 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4956 check for the tarball contents.
4957
4958 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4959
4960 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4961 tarfile content listings (Bug#13136).
4962
4963 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4964
4965 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4966 Insert the undecoded text of the message being forwarded. (Bug#9521)
4967
4968 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4969
4970 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4971 integers, if they are real numbers. (Bug#13282)
4972
4973 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4974 Return `t' on success.
4975
4976 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4977 Add handler for `set-file-selinux-context'.
4978
4979 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4980
4981 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4982 (tramp-sh-handle-set-file-acl): Return `t' on success.
4983
4984 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4985
4986 * files.el (backup-buffer-copy, basic-save-buffer-2):
4987 If set-file-extended-attributes fails, fall back on set-file-modes
4988 instead of signaling an error. (Bug#13298)
4989 (basic-save-buffer): Likewise.
4990
4991 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4992
4993 * progmodes/python.el: Support other commands triggering
4994 python-indent-line so indentation cycling continues to work.
4995 (python-indent-trigger-commands): New defcustom.
4996 (python-indent-line): Use it.
4997
4998 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4999
5000 * progmodes/python.el (python-shell-send-region): Add blank lines
5001 for non sent code so backtraces remain correct.
5002
5003 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5004
5005 * progmodes/python.el: Remove cl dependency.
5006 (python-syntax-count-quotes): Replace incf call.
5007 (python-fill-string): Replace setf call.
5008
5009 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5010
5011 * info.el (info-other-window): New arg, for consistency with info.
5012
5013 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5014
5015 * mail/rmail.el (rmail-maybe-display-summary):
5016 Rewrite (Bug#13066).
5017
5018 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5019
5020 * epg.el (epg--start): Modify process-environment locally.
5021
5022 2012-12-28 Daiki Ueno <ueno@gnu.org>
5023
5024 * epg.el: Support pinentry-curses.
5025 Suggested by Werner Koch in
5026 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5027 (epg-agent-file, epg-agent-mtime): New variable.
5028 (epg--start): Record the modified time of gpg-agent socket file,
5029 to restore Emacs frame after pinentry-curses termination.
5030 (epg-wait-for-completion): Restore Emacs frame here.
5031
5032 2012-12-27 Juri Linkov <juri@jurta.org>
5033
5034 * info.el (Info-file-completions): New variable.
5035 (Info-read-node-name-1): Complete node names in the Info file
5036 when a file name is given. Call `Info-build-node-completions'
5037 with a file name.
5038 (Info-build-node-completions): Add new arg `file'. When it is
5039 non-nil, visit it in a temporary buffer and cache its completions in
5040 `Info-current-file-completions'. Move most of the function body to
5041 `Info-build-node-completions-1'.
5042 (Info-build-node-completions-1): New function with the body from
5043 `Info-build-node-completions'. (Bug#12456)
5044
5045 2012-12-27 Juri Linkov <juri@jurta.org>
5046
5047 * frame.el (frame-maximization-style): Remove user option.
5048 (cycle-frame-maximized): Remove function.
5049 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5050 (toggle-frame-fullscreen): New command bound to <f11> instead of
5051 `toggle-frame-maximized'.
5052 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5053
5054 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5055
5056 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5057
5058 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5059 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5060 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5061 for `file-accessible-directory-p'. (Bug#13275)
5062
5063 2012-12-27 Sam Steingold <sds@gnu.org>
5064
5065 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5066 continuations, see <http://stackoverflow.com/questions/3582436>.
5067
5068 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5069
5070 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5071 "module" and "def" to have indentation before them.
5072 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5073
5074 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5075
5076 2012-12-27 Alan Mackenzie <acm@muc.de>
5077
5078 Speed up fontification where there's large brace blocks.
5079 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5080 to a call of c-beginning-of-decl-1.
5081
5082 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5083
5084 * comint.el (comint-adjust-window-point): New function.
5085 (comint-postoutput-scroll-to-bottom):
5086 Call comint-adjust-window-point (Bug#13248).
5087
5088 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5089
5090 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5091 Rakefile regexp.
5092 (auto-mode-alist): Associate .gemspec files with ruby-mode
5093 (https://bugs.ruby-lang.org/issues/5453).
5094
5095 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
5096
5097 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5098 Suppress coloring, if possible (required for BusyBox based systems like
5099 CyanogenMod).
5100 (tramp-adb-handle-file-attributes)
5101 (tramp-adb-handle-insert-directory)
5102 (tramp-adb-handle-file-name-all-completions): Use it.
5103 (tramp-adb-get-toolbox): New defun. Check for remote shell
5104 implementation (BusyBox or Toolbox).
5105
5106 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5107
5108 * startup.el (initial-buffer-choice): Allow function as value
5109 (Bug#13251).
5110 (command-line-1): Handle case where initial-buffer-choice
5111 specifies a function.
5112 * server.el (server-execute): Handle case where
5113 initial-buffer-choice specifies a function.
5114
5115 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5116
5117 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5118 its own function.
5119 (smtpmail-try-auth-methods): Forget the user name/password if the
5120 login is unsuccessful (bug#12424).
5121
5122 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5123
5124 * notifications.el (notifications-notify): Protect body with
5125 `with-demoted-errors'.
5126
5127 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5128 Check properties of remote device. Restart connection, if there is a
5129 change.
5130
5131 2012-12-21 Chong Yidong <cyd@gnu.org>
5132
5133 * sort.el (sort-subr): Doc fix (Bug#13056).
5134
5135 2012-12-21 Bastien Guerry <bzg@gnu.org>
5136
5137 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5138
5139 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5140
5141 * simple.el (process-file): Overwrite stderr file, if exists.
5142
5143 2012-12-21 Daiki Ueno <ueno@gnu.org>
5144
5145 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5146 (epg-error): Set `error-message' property.
5147
5148 2012-12-21 Chong Yidong <cyd@gnu.org>
5149
5150 * international/mule-cmds.el (read-char-by-name): Signal an error
5151 if the user does not supply a valid character (Bug#13177).
5152
5153 * simple.el (transpose-subr-1): Preserve marker positions by
5154 changing the insertion sequence (Bug#13122).
5155
5156 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5157
5158 * simple.el (kill-region): Deactivate mark even for empty regions
5159 (Bug#13169).
5160
5161 2012-12-21 Chong Yidong <cyd@gnu.org>
5162
5163 * help-fns.el (describe-variable): Make sure we get the right
5164 buffer name (Bug#13105). Suggested by Kelly Dean.
5165
5166 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5167
5168 * comint.el (comint-redirect-previous-input-string): New variable.
5169 (comint-redirect-setup, comint-redirect-cleanup)
5170 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5171 (comint-redirect-preoutput-filter): Fix verbose message.
5172
5173 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5174
5175 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5176 is too long for Tramp. See discussion in
5177 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5178
5179 * progmodes/compile.el (compilation-start): Remove line escape
5180 template.
5181
5182 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5183
5184 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5185 Adjust comment.
5186
5187 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5188
5189 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5190 following non-comment text (bug#13207).
5191 (lm-header-multiline): Continuation lines need to be indented more than
5192 the first line.
5193 (lm-homepage): New function.
5194 (lm-with-file): Don't be confused if narrowing is in effect.
5195
5196 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5199 very beginning of a hunk (e.g. killing the first line).
5200
5201 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5202
5203 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5204 and text properties from returned ACL string.
5205 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5206 for "setfacl" command.
5207
5208 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5209
5210 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5211 `tramp-cleanup-this-connection', when the process has died.
5212 (Bug#13151)
5213
5214 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5215
5216 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5217
5218 2012-12-17 Kevin Ryde <user42@zip.com.au>
5219
5220 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5221
5222 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5223
5224 Add support for preserving ACL entries of files.
5225
5226 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5227 `set-file-acl' handlers.
5228
5229 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5230 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5231
5232 * net/tramp-compat.el (tramp-compat-copy-file):
5233 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5234
5235 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5236 Add `file-acl' and `set-file-acl' handlers.
5237 (tramp-gvfs-handle-copy-file):
5238 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5239 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5240 New defuns.
5241
5242 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5243 Add `file-acl' and `set-file-acl' handlers.
5244 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5245 (tramp-sh-handle-set-file-acl): New defuns.
5246 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5247 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5248
5249 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5250 Add `file-acl' and `set-file-acl' handlers.
5251 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5252
5253 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5254
5255 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5256 use pop-to-buffer with NORECORD argument t. As buffer name, use
5257 *Metahelp* with a leading space (Bug#13190).
5258
5259 2012-12-16 Romain Francoise <romain@orebokech.com>
5260
5261 * files.el (file-extended-attributes)
5262 (set-file-extended-attributes): New functions.
5263 (backup-buffer): Use them to handle both SELinux context and ACL
5264 entries.
5265 (backup-buffer-copy): Work with an alist of extended attributes,
5266 rather than an SELinux context.
5267 (basic-save-buffer-2): Ditto.
5268
5269 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5270
5271 * battery.el (battery-bsd-apm): New function.
5272
5273 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5274
5275 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5276 standard date formats.
5277
5278 2012-12-15 Juri Linkov <juri@jurta.org>
5279
5280 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5281 `isearch-insert-char-by-name'.
5282 (with-isearch-suspended): New defmacro with body mostly from
5283 `isearch-edit-string' except the part that sets
5284 `isearch-new-string' and `isearch-new-message'.
5285 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5286 body that sets `isearch-new-string' and `isearch-new-message'.
5287 (isearch-insert-char-by-name): New command.
5288 * international/mule-cmds.el (read-char-by-name): Let-bind
5289 `enable-recursive-minibuffers' to t.
5290 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5291
5292 2012-12-15 Juri Linkov <juri@jurta.org>
5293
5294 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5295 (Bug#13175)
5296
5297 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5298
5299 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5300 the prompt. (Bug#13045)
5301
5302 2012-12-14 Glenn Morris <rgm@gnu.org>
5303
5304 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5305 Try to include filename in non-bytecomp warning. (Bug#13132)
5306
5307 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5308
5309 Fix permissions bugs with setgid directories etc. (Bug#13125)
5310 * files.el (backup-buffer): Don't rely on 9th output of
5311 file-attributes, as it's now a placeholder. Instead, use the new
5312 optional arg of file-ownership-preserved-p.
5313 (file-ownership-preserved-p): New optional arg GROUP.
5314 Fix mishandling of setuid directories that would cause this
5315 function to return t when it should have returned nil.
5316 Document what happens if the file does not exist, and when
5317 it's not known whether the ownership will be preserved.
5318 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5319 Likewise.
5320 (tramp-get-local-gid): Use group-gid for integer, as that's
5321 faster and more reliable.
5322
5323 2012-12-14 Julien Danjou <julien@danjou.info>
5324
5325 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5326 Update keywords list, data type and PL/pgSQL.
5327
5328 2012-12-14 Dave Abrahams <dave@boostpro.com>
5329
5330 * vc/ediff-util.el (ediff-buffer-type): New function.
5331 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5332 rather than taking it as as argument.
5333 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5334
5335 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5336
5337 * json.el: Add pretty-print option (bug#12634).
5338 (json-encoding-separator, json-encoding-default-indentation)
5339 (json--encoding-current-indentation, json-encoding-pretty-print)
5340 (json-encoding-lisp-style-closings): New vars.
5341 (json--with-indentation): New macro.
5342 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5343 (json-encode-array): Use it to obey json-encoding-pretty-print.
5344 (json-pretty-print-buffer, json-pretty-print): New commands.
5345
5346 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5347
5348 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5349 Extract `ruby-syntax-propertize-expansions'.
5350 (ruby-syntax-propertize-expansions): Only change syntax on
5351 certain string delimiters, to punctuation. This way the common
5352 functions like forward-word and thing-at-point still work.
5353 (ruby-match-expression-expansion): Improve readability.
5354 (ruby-block-contains-point): New function.
5355 (ruby-add-log-current-method): Handle several edge cases.
5356
5357 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5358
5359 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5360 unload-feature finishes even when aborting an ongoing edebug session.
5361 Also, do not worry about edebug-mode, unload-feature takes care of it.
5362
5363 2012-12-13 Andreas Schwab <schwab@suse.de>
5364
5365 * net/tls.el (tls-program): Update customize type.
5366
5367 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5368
5369 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5370 (edebug-setup-hook, cl-read-load-hooks): Use it.
5371 (edebug-unload-function): New function. (Bug#13163)
5372
5373 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5374
5375 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5376 Otherwise, there could be errors in autoloading. (Bug#13151)
5377
5378 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5379
5380 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5381 sequences.
5382
5383 2012-12-13 Alan Mackenzie <acm@muc.de>
5384
5385 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5386 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5387 around `forward-comment' not recognizing ^M as whitespace.
5388
5389 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5390
5391 * progmodes/python.el (python-skeleton-class)
5392 (python-skeleton-def): Do not add space after defun name.
5393
5394 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5395
5396 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5397 (cl--symbol-function): Remove (now that funbound is like nil).
5398
5399 2012-12-12 Glenn Morris <rgm@gnu.org>
5400
5401 * button.el (button--area-button-p): Fix typo.
5402
5403 2012-12-12 Sam Steingold <sds@gnu.org>
5404
5405 * frame.el (frame-maximization-style): New user option.
5406 (toggle-frame-maximized): Toggle frame maximization according to
5407 `frame-maximization-style', bound to <f11>.
5408 (cycle-frame-maximized): Cycle between all maximization styles and
5409 non-maximized frame, bound to shift-<f11>.
5410
5411 2012-12-12 David Cadé <codename68@gmail.com>
5412
5413 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5414
5415 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5416
5417 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5418 (eieio-override-prin1): Don't quote kewords and booleans.
5419 (object-write) <eieio-default-superclass>: Don't put closing parens
5420 on new line, avoid needless empty lines, align values that are objects
5421 with the slot keyword (instead of beginning on the same line).
5422 (eieio-list-prin1): Align value with slot keyword; increase
5423 eieio-print-depth before printing members of the list.
5424
5425 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5426
5427 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5428 a display text-property.
5429 (report-emacs-bug-hook): Don't bother deleting it any more.
5430
5431 * hilit-chg.el (highlight-save-buffer-state): Delete.
5432 Use with-silent-modifications instead.
5433 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5434
5435 * button.el: Handle buttons in display text-properties.
5436 (button--area-button-p, button--area-button-string):
5437 Use (STRING . STRING-POS) representation instead of just STRING.
5438
5439 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5440
5441 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5442 subdirectory be skipped.
5443
5444 2012-12-11 Glenn Morris <rgm@gnu.org>
5445
5446 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5447
5448 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5449 Treat preprocessor lines embedded in continuations like comments.
5450 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5451
5452 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5453
5454 * calc/calc.el (calc-standard-date-formats): Add more date
5455 formats.
5456 * calc/calc-forms.el (math-parse-iso-date): New function.
5457 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5458 (math-parse-iso-date-validate): Add extra error checking.
5459 (calc-date-notation): Add ability to access new date formats.
5460
5461 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5464 font-lock as well as when there's no text-property.
5465
5466 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5467
5468 * hi-lock.el: Refine the choice of default face.
5469 (hi-lock-keyword->face): New function. Use it wherever we used
5470 cadadadr instead.
5471 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5472 (hi-lock--last-face): Remove var.
5473 (hi-lock--unused-faces): New var to replace it.
5474 (hi-lock-read-face-name): Use/maintain it.
5475 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5476 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5477 if it has another face.
5478
5479 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5480
5481 * subr.el (w32notify-handle-event): New function.
5482 (inotify-handle-event): Doc fix.
5483
5484 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5485
5486 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5487
5488 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5489
5490 * simple.el (just-one-space): Doc fix.
5491
5492 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5493
5494 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5495
5496 2012-12-10 Le Wang <l26wang@gmail.com>
5497
5498 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5499 narrowed buffer (bug#12361).
5500
5501 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5502
5503 * vc/vc-hooks.el (vc-state): Doc fix.
5504
5505 2012-12-10 Glenn Morris <rgm@gnu.org>
5506
5507 * mail/rmail.el (rmail-maybe-display-summary):
5508 Preserve buffer, in case select-window changes it. (Bug#13066)
5509
5510 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5511
5512 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5513 cl-load-hook where they belong.
5514
5515 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5516
5517 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5518
5519 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5520
5521 Parallelize byte compilation on MS-Windows.
5522 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5523 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5524 (WINS_BASIC): Define as concatenation of the above.
5525 (compile): Subdivide into 4 separate and independent jobs that can
5526 be run in parallel.
5527 (compile0-CMD, compile0-SH): New targets for compiling
5528 COMPILE_FIRST files, which are prerequisites for the rest of the
5529 byte-compilation.
5530 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5531 New targets for parallel compilation with cmd.exe.
5532 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5533 compiling under a Unixy shell.
5534
5535 2012-12-09 Chong Yidong <cyd@gnu.org>
5536
5537 * simple.el (set-mark-default-inactive): Delete this
5538 accidentally-introduced option.
5539 (set-mark-command, exchange-point-and-mark): Remove calls.
5540
5541 2012-12-09 Glenn Morris <rgm@gnu.org>
5542
5543 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5544 Respect a defcustom's :set function, if appropriate. (Bug#109)
5545 (eval-defun): Doc fix.
5546
5547 2012-12-08 Juri Linkov <juri@jurta.org>
5548
5549 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5550 (Info-fontify-node, Info-bookmark-make-record): Remove the
5551 file extension from Info-current-file (Bug#13016).
5552
5553 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5556 point, still provide some default.
5557 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5558 names, since we don't use it right now. Actually return the list.
5559 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5560
5561 2012-12-07 Chong Yidong <cyd@gnu.org>
5562
5563 * novice.el (disabled-command-function): Remove a spurious help
5564 xref (Bug#13043). Suggested by Kelly Dean.
5565
5566 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5567 syntax is specified (Bug#13025).
5568
5569 * info.el (Info-set-mode-line): Remove the file extension from
5570 Info-current-file if there is one (Bug#13016).
5571
5572 2012-12-07 Glenn Morris <rgm@gnu.org>
5573
5574 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5575 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5576 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5577 and rmail-mime-decoded. (Bug#9841)
5578
5579 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5580 (batch-unrmail, unrmail): Doc fixes.
5581 (unrmail): Respect unrmail-mbox-format.
5582 * mail/rmail.el (rmail-mbox-format): New option.
5583 (rmail-show-message-1): Respect rmail-mbox-format.
5584
5585 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5586
5587 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5588
5589 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5590
5591 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5592 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5593 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5594 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5595 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5596 (cl-progv): Don't rely on dynamic scoping to find the body.
5597 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5598 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5599 (cl-declaim): Use backquotes.
5600 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5601 Use "cl--" prefix for the object's tag.
5602
5603 * ses.el: Use advice-add/remove.
5604 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5605 (copy-region-as-kill, yank): Use advice-add.
5606 (ses-unload-function): Use advice-remove.
5607
5608 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5609
5610 * button.el: Make them work in header-lines (bug#12817).
5611 (button-map): Add bindings for header-line and mode-line use.
5612 (button-get, button-put, button-label): `button' may now be a string.
5613 (button-activate): Don't make it a defsubst.
5614 (button--area-button-p, button--area-button-string): New functions.
5615 (make-text-button): Fix the return value when `beg' was a string.
5616 (push-button): Handle the mode-line case.
5617
5618 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5619
5620 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5621 (sql-signum): Remove. Use `cl-signum' instead.
5622 (sql-read-passwd): Remove; use read-passwd instread.
5623 (sql-get-login-ext): Use read-string.
5624 (sql-get-login): Use dolist and pcase.
5625 (sql--completion-table): Rename from sql-try-completion.
5626 Use complete-with-action.
5627 (sql-mode): Don't change abbrev-all-caps globally.
5628 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5629 (sql-postgres-completion-object): Initialize vars in their `let'.
5630 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5631 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5632 (sql-comint-interbase): Use a single append, without setq.
5633 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5634
5635 * hi-lock.el: Rework the default face and the serialize regexp code.
5636 (hi-lock--auto-select-face-defaults): Remove.
5637 (hi-lock-string-serialize-serial): Remove.
5638 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5639 make weak.
5640 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5641 equal string.
5642 (hi-lock-set-pattern): Adjust accordingly.
5643 (hi-lock--regexps-at-point): Simplify accordingly.
5644 (hi-lock--auto-select-face-defaults): Remove.
5645 (hi-lock--last-face): New var to replace it.
5646 (hi-lock-read-face-name): Rewrite (bug#11095).
5647 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5648
5649 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5650
5651 * net/tramp.el (tramp-replace-environment-variables):
5652 Hide compiler warning.
5653 (tramp-file-name-for-operation): Remove `executable-find',
5654 `start-process', `call-process' and `call-process-region'.
5655
5656 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5657
5658 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5659 compatibility.
5660
5661 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5662
5663 2012-12-06 Chong Yidong <cyd@gnu.org>
5664
5665 * ffap.el (ffap-replace-file-component): Fix typo.
5666
5667 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5668
5669 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5670 fix open-paren-like token test (bug#12785).
5671
5672 2012-12-06 Glenn Morris <rgm@gnu.org>
5673
5674 * mail/rmailsum.el (rmail-new-summary): Tweak for
5675 rmail-maybe-display-summary changing buffer. (Bug#13066)
5676
5677 2012-12-06 Juri Linkov <juri@jurta.org>
5678
5679 * info.el (Info-fontify-node): Don't hide the last newline.
5680 (Bug#12272)
5681
5682 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5683
5684 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5685 so as to enable message-read-from-minibuffer to expand mail aliases.
5686
5687 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5688
5689 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5690 the `intangible' property.
5691 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5692
5693 2012-12-05 Deniz Dogan <deniz@dogan.se>
5694
5695 * net/rcirc.el (rcirc-urls): Update documentation.
5696 (rcirc-condition-filter): New function.
5697 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5698 and exclude consecutive duplicate URLs (Bug#6082).
5699
5700 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5701
5702 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5703 Check return code of copy command.
5704
5705 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5706 Use group `tramp'. Add version.
5707
5708 2012-12-05 Chong Yidong <cyd@gnu.org>
5709
5710 * ffap.el (ffap-url-regexp): Don't require matching at front of
5711 string (Bug#4952).
5712 (ffap-url-p): If only a substring matches, return that.
5713 (ffap-url-at-point): Use the return value of ffap-url-p.
5714 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5715 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5716 (ffap-guess-file-name-at-point): Likewise.
5717 (ffap-replace-file-component): Fix typo.
5718
5719 * info.el (info-display-manual): Add existing Info buffers, whose
5720 files may not be in Info-directory-list, to the completion.
5721 (info--manual-names): New helper function.
5722
5723 2012-12-05 Glenn Morris <rgm@gnu.org>
5724
5725 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5726 New functions, for detecting and resolving conflicts. (Bug#10709)
5727
5728 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5729
5730 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5731 (hi-lock-auto-select-face-defaults): New buffer local variable.
5732 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5733 (hi-lock-unface-buffer): Prompt user with useful defaults.
5734 With prefix arg, unhighlight all hi-lock patterns in buffer.
5735
5736 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5737
5738 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5739
5740 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5741
5742 * Makefile.in (TRAMP_SRC):
5743 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5744
5745 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5746
5747 * net/tramp-adb.el: New package.
5748
5749 2012-12-04 Chong Yidong <cyd@gnu.org>
5750
5751 * terminal.el: Move to obsolete/.
5752
5753 * longlines.el: Move to obsolete/.
5754
5755 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5756 Remove code referring to longlines mode.
5757
5758 2012-12-03 Juri Linkov <juri@jurta.org>
5759
5760 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5761
5762 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5763
5764 * textmodes/ispell.el (ispell-init-process)
5765 (ispell-start-process, ispell-internal-change-dictionary):
5766 Make sure personal dictionary name is expanded after initial
5767 `default-directory' value. Use expanded strings for
5768 keep/restart checks and for value (Bug#13019).
5769
5770 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5771
5772 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5773
5774 2012-12-03 Leo Liu <sdl.web@gmail.com>
5775
5776 * files.el (dir-locals-read-from-file): Check file non-empty
5777 before reading. (Bug#13038)
5778
5779 2012-12-03 Glenn Morris <rgm@gnu.org>
5780
5781 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5782 Remove any version extension before checking filename. (Bug#13006)
5783 (jka-compr-compression-info-list): Belated :version bump.
5784
5785 2012-12-03 Chong Yidong <cyd@gnu.org>
5786
5787 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5788
5789 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5790 (buffer-menu): Doc fix (Bug#12294).
5791
5792 2012-12-03 Roland Winkler <winkler@gnu.org>
5793
5794 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5795 of diary-show-all-entries in the diary buffer (Bug#12994).
5796
5797 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5798
5799 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5800 "<STDIN>". This is binary safe.
5801
5802 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5803
5804 * calc/calc-forms.el (math-absolute-from-iso-dt)
5805 (math-date-to-iso-dt, math-parse-iso-date-validate)
5806 (math-iso-dt-to-date): New functions.
5807 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5808 (math-fd-isoweekday): New variables.
5809 (calc-date-notation, math-parse-standard-date, math-format-date)
5810 (math-format-date-part): Add support for more formatting codes.
5811
5812 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5813
5814 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5815 current buffer's file name when called interactively (Bug#12488).
5816
5817 2012-12-02 Juri Linkov <juri@jurta.org>
5818
5819 * info.el (info-display-manual): Don't clobber an existing Info
5820 buffer (Bug#10770). Add completion (Bug#10771).
5821
5822 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5823
5824 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5825 before using it for comparison (Bug#5297).
5826
5827 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5828
5829 * textmodes/css-mode.el (css-current-defun-name): New function.
5830 (css-mode): Use it.
5831
5832 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5833 (html-mode): Use it.
5834
5835 2012-12-01 Chong Yidong <cyd@gnu.org>
5836
5837 Modularize add-log-current-defun (Bug#2224).
5838 Suggested by Jari Aalto.
5839
5840 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5841 (add-log-current-defun): Move mode-specific code to other files.
5842 (add-log-lisp-like-modes, add-log-c-like-modes)
5843 (add-log-tex-like-modes): Variables deleted.
5844
5845 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5846 (lisp-mode-variables): Use it.
5847
5848 * progmodes/cc-mode.el (c-common-init):
5849 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5850 add-log-current-defun-function.
5851
5852 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5853 (m4-mode): Use it.
5854
5855 * progmodes/perl-mode.el (perl-current-defun-name): New.
5856 (perl-mode): Use it.
5857
5858 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5859 Use lisp-current-defun-name.
5860
5861 * textmodes/tex-mode.el (tex-current-defun-name): New.
5862 (tex-common-initialization): Use it.
5863
5864 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5865 (texinfo-mode): Use it.
5866
5867 2012-12-01 Chong Yidong <cyd@gnu.org>
5868
5869 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5870 * progmodes/autoconf.el (autoconf-mode):
5871 * progmodes/js.el (js-mode):
5872 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5873 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5874 * progmodes/perl-mode.el (perl-mode):
5875 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5876 * textmodes/css-mode.el (css-mode):
5877 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5878 (sgml-tags-invisible, sgml-guess-indent):
5879 * textmodes/tex-mode.el (tex-common-initialization)
5880 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5881 (doctex-mode, plain-tex-mode, latex-mode):
5882 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5883
5884 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5885
5886 * vc/vc-hg.el (vc-hg-next-revision):
5887 Ensure use of default "tip" output format. (Bug#6968)
5888
5889 2012-12-01 Kim F. Storm <storm@cua.dk>
5890
5891 * startup.el (fancy-startup-tail): Add a clickable link
5892 (Bug#2176).
5893
5894 2012-12-01 Chong Yidong <cyd@gnu.org>
5895
5896 * startup.el (fancy-startup-tail): Improve the message about
5897 auto-save files (Bug#2176).
5898
5899 * files.el (recover-session): Improve the descriptive message, and
5900 use substitute-command-keys.
5901
5902 2012-12-01 Glenn Morris <rgm@gnu.org>
5903
5904 * ido.el (ido-file-internal):
5905 Handle other-window, other-frame for dired. (Bug#13036)
5906
5907 2012-11-30 Glenn Morris <rgm@gnu.org>
5908
5909 * icomplete.el (icomplete-separator): Fix :version.
5910
5911 2012-11-30 Chong Yidong <cyd@gnu.org>
5912
5913 * shell.el (shell): For C-u M-x shell, use an inactive shell
5914 buffer as the default (Bug#1975).
5915 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5916 (shell-mode): Use them to reapply ansi colorization if Shell mode
5917 is re-enabled.
5918
5919 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5920
5921 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5922
5923 2012-11-30 Samuel Bronson <naesten@gmail.com>
5924
5925 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5926 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5927
5928 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5929
5930 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5931 by move-to-column (Bug#3234).
5932
5933 2012-11-30 Chong Yidong <cyd@gnu.org>
5934
5935 * longlines.el (longlines-wrap-line, longlines-encode-region):
5936 Preserve text properties (Bug#1425).
5937
5938 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5939
5940 * vc/vc.el (vc-register): Allow registering a file which is
5941 already registered with a different backend (Bug#10589).
5942
5943 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5944 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * icomplete.el: Change separator; add ido-style commands.
5947 (icomplete-show-key-bindings): Remove custom var.
5948 (icomplete-get-keys): Remove function.
5949 (icomplete-forward-completions, icomplete-backward-completions):
5950 New commands.
5951 (icomplete-minibuffer-map): New var.
5952 (icomplete-minibuffer-setup): Use it.
5953 (icomplete-exhibit): Don't delay if the list of completions is known.
5954 (icomplete-separator): New custom.
5955 (icomplete-completions): Use it.
5956 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5957 (minibuffer-force-complete-and-exit): New command.
5958 (minibuffer--complete-and-exit): New function extracted from
5959 minibuffer-complete-and-exit.
5960 (minibuffer-complete-and-exit): Use it.
5961
5962 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5963 error message when the file doesn't exist (bug#12974).
5964
5965 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5966
5967 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5968
5969 2012-11-29 Glenn Morris <rgm@gnu.org>
5970
5971 * files.el (hack-dir-local-variables): Warn if try to set
5972 coding via dir-locals, since it doesn't work. (Bug#7169)
5973
5974 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5975 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5976 Set buffer-local value of desktop-save-buffer.
5977 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5978 New functions.
5979 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5980 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5981
5982 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5983 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5984 Doc fix.
5985 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5986 Doc fixes.
5987
5988 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5989
5990 * calc/calc-forms.el (calc-date-notation): Fix regexp
5991 used to find time codes. Fix symbol for seconds.
5992
5993 2012-11-27 Glenn Morris <rgm@gnu.org>
5994
5995 * emacs-lisp/derived.el (derived-mode-make-docstring):
5996 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5997
5998 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5999
6000 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6001 lexically scoped variables (bug#13005).
6002
6003 2012-11-27 Glenn Morris <rgm@gnu.org>
6004
6005 * vc/vc-hooks.el (vc-mistrust-permissions):
6006 Default to t, to avoid data-loss. (Bug#11490)
6007
6008 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6009
6010 * progmodes/python.el (python-indent-guess-indent-offset):
6011 If indentation is guessed make python-indent-offset buffer-local.
6012
6013 Fix Imenu regression.
6014 * progmodes/python.el (python-nav-beginning-of-defun):
6015 Fix forward movement when statement(s) separates point from defun.
6016 (python-imenu-prev-index-position): New function.
6017
6018 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6019
6020 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6021
6022 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6023 Don't set buffer-file-type. Return nil. (Bug#12989)
6024
6025 2012-11-27 Glenn Morris <rgm@gnu.org>
6026
6027 * hippie-exp.el (hippie-expand-try-functions-list):
6028 Re-autoload it. (Bug#12982)
6029
6030 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6031
6032 * descr-text.el (describe-char-padded-string):
6033 Call internal-char-font only on GUI frames. (Bug#11964)
6034
6035 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6036
6037 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6038 and obsoletion message.
6039
6040 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6041
6042 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6043 the constructs to keep outside of the `cl-block' (bug#12977).
6044
6045 2012-11-27 Chong Yidong <cyd@gnu.org>
6046
6047 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6048 keep reading until we get the up-event anyway, in order to process
6049 the up-event for mouse-1-click-follows-link (Bug#12971).
6050
6051 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6052
6053 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6054 base function is not yet defined (bug#12965).
6055 (ad-activate-advised-definition): Use ad-compile-function.
6056 (ad-activate): Use cond.
6057
6058 2012-11-25 Leo Liu <sdl.web@gmail.com>
6059
6060 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6061 (Bug#12979)
6062
6063 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6064
6065 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6066 reftex-section-info-function in order to be compatible with
6067 Texinfo integration.
6068
6069 * textmodes/reftex.el (reftex-section-pre-regexp)
6070 (reftex-section-post-regexp, reftex-section-info-function):
6071 New variable.
6072 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6073 reftex-section-post-regexp, and reftex-section-info-function in order
6074 to be compatible with Texinfo integration.
6075
6076 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6077 use reftex-section-pre-regexp variable in order to be compatible with
6078 Texinfo integration.
6079
6080 2012-11-25 Chong Yidong <cyd@gnu.org>
6081
6082 * faces.el: Make face-spec-set more analogous to setq.
6083 (face-spec-set): Change the third arg to specify whether this
6084 function is being called via defface, customize, or a third party.
6085 Set the appropriate symbol properties. Clear the override spec if
6086 setting via Custom. Initialize face if necessary. (Bug#4988)
6087 (face-spec-recalc): Allow theme faces to completely replace the
6088 defface spec, in the same way as custom faces (Bug#8454).
6089
6090 * cus-face.el (custom-declare-face): Move face initialization to
6091 face-spec-set.
6092 (custom-theme-set-faces): Don't initialize the face name here, as
6093 that is now done in face-spec-set.
6094
6095 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6096 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6097 Simplify by using the new arg to face-spec-set.
6098
6099 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6100 reset face-override-spec too, and use custom-declare-face.
6101
6102 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6103
6104 * term/ns-win.el (ns-initialize-window-system): Move creation of
6105 fontsets here (Bug#11964).
6106
6107 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6108
6109 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6110 cell renaming.
6111
6112 2012-11-24 Chong Yidong <cyd@gnu.org>
6113
6114 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6115 obsolete.
6116
6117 * custom.el (custom-theme-set-variables): Use a topological sort
6118 for ordering by custom dependencies (Bug#12952).
6119 (custom--sort-vars, custom--sort-vars-1): New functions.
6120
6121 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6122
6123 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6124 lexical-binding (bug#12938).
6125
6126 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6127
6128 * image-mode.el (image-transform-check-size): Use assertions only
6129 for images of type imagemagick.
6130
6131 Otherwise no error, image-transform-fit-to-{width,height} is
6132 silently ignored, as before. Doc fix.
6133
6134 2012-11-24 Chong Yidong <cyd@gnu.org>
6135
6136 * faces.el (color-defined-p): Doc fix (Bug#12853).
6137
6138 2012-11-24 Juri Linkov <juri@jurta.org>
6139
6140 * dired.el (dired-mark): Add optional arg `interactive'.
6141 Check for `use-region-p' if `interactive' is non-nil.
6142 (dired-unmark, dired-flag-file-deletion): Add optional arg
6143 `interactive'. Call `dired-mark' with the arg `interactive'.
6144 (Bug#10624)
6145
6146 * wdired.el: Revert 2012-10-17 change partly and replace it with
6147 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6148 (wdired-finish-edit): Add marks for new file names to
6149 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6150 after `revert-buffer'.
6151 (wdired-do-renames): Remove calls to `dired-remove-file',
6152 `dired-add-file', `dired-add-entry'. (Bug#11795)
6153
6154 2012-11-24 Alan Mackenzie <acm@muc.de>
6155
6156 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6157
6158 Fix bugs in the state cache. Enhance a debugging mechanism.
6159 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6160 "brace at column zero" strategy for C++.
6161 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6162 (c-parse-state-point): New variable.
6163 (c-record-parse-state-state): Record old parse state with
6164 `copy-tree'. Record previous value of point.
6165 (c-debug-parse-state-double-cons): New debugging function.
6166 (c-debug-parse-state): Call the above new function.
6167 (c-toggle-parse-state-debug): Output a confirmatory message.
6168
6169 * progmodes/cc-mode.el (c-before-change, c-after-change):
6170 Call c-invalidate-state-cache from `c-before-change' instead of
6171 `c-after-change'.
6172
6173 2012-11-23 Chong Yidong <cyd@gnu.org>
6174
6175 * find-cmd.el (find-constituents): Add executable, ipath,
6176 readable, samefile, writable, daystart, regextype (Bug#12856).
6177
6178 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6181
6182 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6183
6184 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6185 definition. This fixes a bootstrap failure.
6186 (calc-gregorian-switch): In menu, put dates before regions.
6187 This is easier to follow, lines up better in the menu, and lets us
6188 coalesce regions that switch at the same time. Give country
6189 names, not "Vatican", as that's better for non-expert users.
6190 Use names that are stable between the date of switch and now, e.g.,
6191 Bohemia and Moravia (which existed then and now) and not
6192 Czechoslovakia (which didn't exist then and doesn't exist now).
6193 What is now the U.S. mostly did not switch at the same time as
6194 Britain, so omit the U.S. Correct spelling of "Britain".
6195 Catholic Switzerland was too much of a mess, so omit it.
6196
6197 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6198
6199 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6200 after the variable is changed.
6201
6202 2012-11-21 Daniel Colascione <dancol@dancol.org>
6203
6204 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6205 in SQL declarations for font-lock.
6206 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6207
6208 2012-11-21 Glenn Morris <rgm@gnu.org>
6209
6210 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6211 (face-italic-p): Add optional argument "inherit".
6212
6213 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6214 Remove -p suffix from names, for consistency with other set-face-*.
6215 (set-face-inverse-video): Fix interactive spec.
6216 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6217 * textmodes/table.el (table--update-cell-face):
6218 Use set-face-inverse-video rather than now obsolete alias.
6219
6220 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6221
6222 * simple.el (line-move): Don't call line-move-partial if
6223 scroll-conservatively is in effect. (Bug#12927)
6224
6225 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6228 Fallback on completion-at-point rather than
6229 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6230 (eshell-cmpl-initialize): Setup completion-at-point.
6231
6232 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6233
6234 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6235
6236 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6237
6238 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6239 are remote, check out-of-band property for both.
6240
6241 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6244 code rewrite.
6245
6246 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6247
6248 More minor time fixes.
6249 * calendar/time-date.el: Commentary fix.
6250 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6251 too much other code depends on (0 0) time stamps.
6252 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6253 Add a couple of FIXME comments.
6254
6255 Minor cleanup for times as lists of four integers.
6256 * files.el (dir-locals-directory-cache):
6257 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6258 Doc fixes.
6259 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6260 * ps-bdf.el (bdf-file-newer-than-time):
6261 Process four-integers time stamps, not two. Doc fixes.
6262
6263 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6264
6265 * uniquify.el (uniquify-managed): Use defvar-local.
6266 (rename-buffer, create-file-buffer): Advise with advice-add.
6267 (uniquify-unload-function): Unadvise accordingly.
6268
6269 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6270 (trace-buffer): Don't purecopy.
6271 (trace-entry-message, trace-exit-message): Add `context' arg.
6272 (trace--timer): New var.
6273 (trace-make-advice): Adjust for use in nadvice.
6274 Add `context' argument. Delay `display-buffer' via a timer.
6275 (trace-function-internal): Use advice-add.
6276 (trace--read-args): New function.
6277 (trace-function-foreground, trace-function-background): Use it.
6278 (trace-function): Rename to trace-function-foreground and redefine as
6279 an alias to that new name.
6280 (untrace-function, untrace-all): Adjust to the use of nadvice.
6281
6282 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6283
6284 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6285
6286 * subr.el (called-interactively-p-functions): New var.
6287 (internal--called-interactively-p--get-frame): New macro.
6288 (called-interactively-p, interactive-p): Rewrite in Lisp.
6289 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6290 (called-interactively-p-functions): Use it.
6291 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6292 (called-interactively-p-functions): Use it.
6293 * allout.el (allout-called-interactively-p): Don't assume
6294 called-interactively-p is a subr.
6295
6296 2012-11-20 Glenn Morris <rgm@gnu.org>
6297
6298 * profiler.el (profiler-report-mode-map): Add a menu.
6299 No need to bind `q' because we derive from special-mode.
6300 (profiler-report-find-entry): Handle calls from the menu-bar.
6301
6302 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * emacs-lisp/byte-run.el (defun-declarations-alist):
6305 Allow a compiler-macro to be a lambda expression.
6306
6307 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6308 eval-when-compile.
6309 (python-syntax-context): Add compiler-macro.
6310 (python-font-lock-keywords): Simplify with De Morgan.
6311
6312 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6313
6314 * files.el (load-file): Require match in minibuffer selection, as was
6315 the case in Emacs-20 before we changed the spec to allow .elc files
6316 (bug#12935).
6317
6318 * json.el: Don't require cl since we don't use it.
6319 * color.el: Don't require cl.
6320 (color-complement): `caddr' -> `nth 2'.
6321
6322 * calendar/time-date.el (time-to-seconds): De-obsolete.
6323
6324 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6325
6326 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6327 year numbers.
6328 (math-date-to-julian-dt): Adjust the initial approximation for the
6329 year to deal with the new definition of the DATE.
6330
6331 2012-11-19 Daniel Colascione <dancol@dancol.org>
6332
6333 * term/w32-win.el (cygwin-convert-path-from-windows):
6334 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6335
6336 2012-11-18 Chong Yidong <cyd@gnu.org>
6337
6338 * filecache.el (file-cache--read-list): New function.
6339 (file-cache-add-directory-list, file-cache-add-file-list)
6340 (file-cache-delete-file-list, file-cache-delete-directory-list):
6341 Use it to read a list of files or directories (Bug#12846).
6342 (file-cache-add-file, file-cache-add-directory)
6343 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6344 (file-cache-delete-directory): Print an message.
6345
6346 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6347
6348 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6349 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6350
6351 2012-11-18 Glenn Morris <rgm@gnu.org>
6352
6353 * image.el (insert-image, insert-sliced-image): Doc fix.
6354
6355 2012-11-18 Chong Yidong <cyd@gnu.org>
6356
6357 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6358 (Bug#12810).
6359
6360 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6361
6362 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6363 response when the target file is in a subdirectory (Bug#12757).
6364
6365 2012-11-18 Chong Yidong <cyd@gnu.org>
6366
6367 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6368
6369 2012-11-18 Glenn Morris <rgm@gnu.org>
6370
6371 * emacs-lisp/cl-lib.el (face-underline-p):
6372 Use set-face-underline rather than the alias set-face-underline-p.
6373
6374 * window.el (with-temp-buffer-window): Doc fix.
6375 * subr.el (with-output-to-temp-buffer):
6376 Add doc xref to with-temp-buffer-window.
6377
6378 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6379
6380 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6381 * calc/calc.el (math-format-date-cache): Declare.
6382
6383 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6384
6385 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6386 It also uses January 1, 1 AD as its day number 1.
6387 * calc/calc-forms.el (math-julian-date-beginning)
6388 (math-julian-date-beginning-int): Implement this.
6389
6390 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6391
6392 * descr-text.el (quail-find-key):
6393 * dired.el (desktop-file-name):
6394 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6395 * generic-x.el (comint-mode, comint-exec):
6396 * image-dired.el (widget-forward):
6397 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6398 (speedbar-change-expand-button-char)
6399 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6400 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6401 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6402 (widget-field-action, widget-value-set):
6403 * speedbar.el (imenu--make-index-alist):
6404 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6405 (ring-length, ring-insert):
6406 * vcursor.el (compare-windows-skip-whitespace):
6407 * woman.el (dired-get-filename):
6408 Declare functions.
6409
6410 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6411
6412 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6413
6414 * calc/calc.el (calc-gregorian-switch): New variable.
6415
6416 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6417 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6418 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6419 (math-leap-year-p): Add option to distinguish between Julian
6420 and Gregorian calendars.
6421 (math-day-number): Use `math-day-in-year' to do the computations.
6422 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6423 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6424 to do the computations.
6425 (math-date-to-dt): Use `math-date-to-julian-dt' and
6426 `math-date-to-gregorian-dt' to do the computations.
6427 (calcFunc-weekday, math-format-date-part): Use the new version of
6428 the DATE to determine the weekday.
6429 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6430 when necessary.
6431
6432 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6433
6434 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6435 Cygwin; otherwise use 'file:'. (Bug#12914)
6436 (cygwin-convert-path-from-windows): Declare, to avoid
6437 byte-compiler warnings.
6438
6439 2012-11-17 Andreas Politz <politza@fh-trier.de>
6440
6441 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6442 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6443 prefix and negative numeric prefix args (Bug#12795).
6444
6445 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6446
6447 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6448 Don't signal an error with a score that is too low to add to the
6449 list of top scores. (Bug#12779)
6450
6451 2012-11-17 Chong Yidong <cyd@gnu.org>
6452
6453 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6454
6455 * filecache.el (file-cache-add-file): Handle relative file name in
6456 the argument (Bug#12694).
6457
6458 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6459
6460 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6461
6462 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6463
6464 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6465
6466 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6467
6468 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6469
6470 * window.el (enlarge-window, shrink-window): Don't mention return
6471 value in doc-string (Bug#12896).
6472 (window--display-buffer): Don't resize frames - it won't work
6473 with all window managers and defeat pop-up-frame-alist.
6474 (display-buffer-alist): In doc-string explain that CONDITION can
6475 be a function and which arguments are passed to it (Bug#12854).
6476 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6477 expressions (Bug#12854).
6478 (display-buffer): Pass ACTION argument to
6479 display-buffer-assq-regexp.
6480
6481 2012-11-16 Glenn Morris <rgm@gnu.org>
6482
6483 * window.el (fit-frame-to-buffer-bottom-margin)
6484 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6485
6486 * faces.el (face-underline-p): Use face-attribute-specified-or.
6487
6488 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6489
6490 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6491
6492 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6493
6494 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6495
6496 2012-11-16 Glenn Morris <rgm@gnu.org>
6497
6498 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6499 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6500
6501 * faces.el (face-underline-p): Doc fix. Handle :underline being
6502 things other than `t' (a string, a list).
6503 (face-inverse-video-p): Doc fix.
6504 (set-face-underline): Rename it back from set-face-underline-p.
6505 Doc fix. Allow interactive input of values other than t.
6506 (read-face-attribute): Apply formatting to :underline,
6507 since like :box and :stipple it can take list values.
6508
6509 * term.el (ansi-term): Don't let C-x escape-char binding
6510 clobber the more standard C-c binding. (Bug#12842)
6511
6512 * subr.el (set-temporary-overlay-map): Doc fix.
6513
6514 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6515
6516 * window.el (record-window-buffer)
6517 (display-buffer-record-window): When copying the markers to
6518 window-point preserve window-point-insertion-type. (Bug#12588)
6519
6520 2012-11-16 Glenn Morris <rgm@gnu.org>
6521
6522 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6523 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6524 Use new names for hooks rather than obsolete aliases.
6525
6526 2012-11-15 Daniel Colascione <dancol@dancol.org>
6527
6528 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6529 prefix instead of "file:" so that when FILE-NAME begins with "//",
6530 as it does when the target file is on a network share, url-handler
6531 isn't confused.
6532
6533 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6536 a preactivated advice from an old advice.el; they're not compatible!
6537
6538 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6539
6540 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6541 Fix string-spec case.
6542
6543 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6544
6545 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6546
6547 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6548 (advice--buffer-local-function-sample): New var.
6549 (advice--set-buffer-local, advice--buffer-local): New functions.
6550 (add-function, remove-function): Use them.
6551
6552 2012-11-15 Drew Adams <drew.adams@oracle.com>
6553
6554 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6555
6556 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6559 potential binding of print-gensym to t, and prettify (back)quotes in
6560 case they appear in args's default values (bug#12884).
6561
6562 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6565 (advice-eval-interactive-spec): New function.
6566 (advice--make-interactive-form): Support around advice (bug#12844).
6567
6568 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6569
6570 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6571 more strict. Add docstring.
6572 (ruby-expression-expansion-re): Extract from
6573 `ruby-match-expression-expansion'.
6574 (ruby-syntax-propertize-function): After everything else, search
6575 for expansions in string literals, mark their insides as
6576 whitespace syntax and save match data for font-lock.
6577 (ruby-font-lock-keywords): Use the 2nd group from expression
6578 expansion matches.
6579 (ruby-match-expression-expansion): Use the match data saved to the
6580 text property in ruby-syntax-propertize-function.
6581
6582 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6583
6584 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6585 (bug#12879).
6586
6587 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6588
6589 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6590 start/end keyword a bit harder. Works with different values of N.
6591 Add more comments.
6592 (ruby-end-of-block): Update accordingly.
6593
6594 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * woman.el (woman-file-name): Don't mess with unread-command-events
6597 (bug#12861).
6598
6599 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6600 Remove out of date self-require hack.
6601 (ad-do-advised-functions): Use simple `dolist'.
6602 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6603 (ad-advice-definition): Redefine as functions.
6604 (ad-advice-classes): Move before first use.
6605 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6606 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6607 (ad--defalias-fset): Remove functions.
6608 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6609 (ad-get-orig-definition): Rewrite.
6610 (ad-make-advised-definition-docstring): Change base docstring.
6611 (ad-real-orig-definition): Rewrite.
6612 (ad-map-arglists): Change name of called function.
6613 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6614 (ad-make-advised-definition): Simplify.
6615 (ad-assemble-advised-definition): Tweak for new calling context.
6616 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6617 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6618 function and call ad-activate if needed.
6619 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6620 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6621 (ad-compile-function): Compile ad-Advice-*.
6622 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6623 (ad-start-advice, ad-stop-advice): Remove.
6624
6625 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6626
6627 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6628 period before class method names, not after. Remove handling of
6629 one impossible case. Add comments.
6630
6631 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 * emacs-lisp/advice.el: Remove support for freezing.
6634 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6635 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6636 Remove support for `freeze'.
6637
6638 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6639 override the default.
6640 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6641 cl--dotimes/dolist.
6642 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6643 `cl' is loaded.
6644
6645 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6646 from add-advice.
6647 (advice--strip-macro): New function.
6648 (advice--defalias-fset): Use them to handle macros.
6649 (advice-add): Use them.
6650 (advice-member-p): Correctly handle macros.
6651
6652 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6653
6654 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6655 Never font-lock the beginning of singleton class as heredoc.
6656
6657 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6658
6659 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6660
6661 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6662
6663 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6664 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6665 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6666
6667 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6668
6669 Fix end-of-defun misbehavior.
6670 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6671 python-beginning-of-defun-function. Handle nested defuns
6672 correctly.
6673 (python-nav-end-of-defun): Rename from
6674 python-end-of-defun-function. Ensure forward movement.
6675 (python-info-current-defun): Reimplement to work as intended
6676 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6677 parent defuns as soon as possible.
6678
6679 2012-11-13 Glenn Morris <rgm@gnu.org>
6680
6681 * progmodes/flymake.el (flymake-error-bitmap)
6682 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6683 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6684
6685 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6686
6687 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6688 backward, always stop at indentation. Reverts the change from
6689 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6690
6691 2012-11-13 Glenn Morris <rgm@gnu.org>
6692
6693 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6694 Add ibuffer-filter-by-derived-mode.
6695
6696 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6697 the same name shadowing each other.
6698
6699 * window.el (with-temp-buffer-window): Doc tweak.
6700
6701 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6702
6703 * help.el (temp-buffer-max-height):
6704 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6705 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6706
6707 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6708
6709 * emacs-lisp/nadvice.el: New package.
6710 * subr.el (special-form-p): New function.
6711 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6712 (elp-all-instrumented-list): Remove var.
6713 (elp-not-profilable): Remove elp-wrapper.
6714 (elp-profilable-p): Use autoloadp and special-form-p.
6715 (elp--advice-name): New const.
6716 (elp-instrument-function): Use advice-add.
6717 (elp--instrumented-p): New predicate.
6718 (elp-restore-function): Use advice-remove.
6719 (elp-restore-all, elp-reset-all): Use mapatoms.
6720 (elp-set-master): Use elp--instrumented-p.
6721 (elp--make-wrapper): Rename from elp-wrapper, return a function
6722 suitable for advice-add. Use cl-inf.
6723 (elp-results): Use mapatoms+elp--instrumented-p.
6724 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6725 (debug-function-list): Remove var.
6726 (debug): Rename arg, and then let-bind it explicitly inside.
6727 (debugger-setup-buffer): Rename arg.
6728 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6729 (debugger-frame-number): Adjust to new debug-on-entry setup.
6730 (debug--implement-debug-on-entry): Rename from
6731 implement-debug-on-entry, add argument.
6732 (debugger-special-form-p): Remove, use special-form-p instead.
6733 (debug-on-entry): Use advice-add.
6734 (debug--function-list): New function.
6735 (cancel-debug-on-entry): Use it, along with advice-remove.
6736 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6737 (debugger-list-functions): Use debug--function-list instead of
6738 debug-function-list.
6739 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6740 (ad-special-form-p): Remove, use special-form-p instead.
6741 (ad-set-advice-info): Use add-function and remove-function.
6742 (ad--defalias-fset): Adjust accordingly.
6743
6744 2012-11-10 Glenn Morris <rgm@gnu.org>
6745
6746 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6747 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6748 (report-emacs-bug-create-existing-bugs-buffer)
6749 (report-emacs-bug-parse-query-results)
6750 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6751
6752 * term.el (term-default-fg-color, term-default-bg-color):
6753 Make obsolete, rather than just saying "deprecated" in the doc.
6754
6755 * term.el (term): Rename from `term-face'.
6756 (term-current-face, ansi-term-color-vector)
6757 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6758 Update all users.
6759
6760 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6761
6762 * server.el (server-create-window-system-frame): Handle Nextstep
6763 specially (Bug#12780).
6764
6765 2012-11-10 Glenn Morris <rgm@gnu.org>
6766
6767 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6768 Unautoload, and make obsolete. (Bug#7449)
6769
6770 2012-11-10 Chong Yidong <cyd@gnu.org>
6771
6772 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6773 rename from diff-remove-trailing-whitespace (Bug#12831).
6774
6775 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6776
6777 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6778 miscompilation of trace.el.
6779
6780 2012-11-10 Glenn Morris <rgm@gnu.org>
6781
6782 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6783
6784 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6785
6786 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6787 (bug#12812).
6788
6789 2012-11-10 Chong Yidong <cyd@gnu.org>
6790
6791 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6792 a defcustom with an appropriate :set function.
6793 (minibuffer-default--in-prompt-regexps): New function.
6794
6795 2012-11-10 Glenn Morris <rgm@gnu.org>
6796
6797 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6798 (define-modify-macro): Doc fixes.
6799
6800 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6801 (gv-define-simple-setter): Update doc of `fix-return'.
6802
6803 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6806 twice when `fix-return' is set (bug#12813).
6807
6808 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6809 gv-define-simple-setter (bug#12812).
6810
6811 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6812 (bug#12756).
6813
6814 2012-11-10 Glenn Morris <rgm@gnu.org>
6815
6816 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6817
6818 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6819 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6820 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6821 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6822
6823 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6824
6825 2012-11-10 Leo Liu <sdl.web@gmail.com>
6826
6827 * ido.el (ido-set-matches-1): Improve flex matching performance by
6828 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6829
6830 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6831
6832 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6833 (ad--defalias-fset): New function.
6834 (ad-safe-fset): Remove.
6835 (ad-make-freeze-definition): Use cl-letf*.
6836
6837 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6839 * subr.el (dolist): Don't bind VAR in RESULT.
6840
6841 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6842 (fset, documentation): Don't save real def since we don't advise.
6843 (ad-do-advised-functions): Remove problematic `result-form'.
6844 (ad-safe-fset): `ad-real-fset' => `fset'.
6845 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6846 uses CL's dolist internally.
6847 (ad-arglist): Remove unused arg `name'.
6848 (ad-docstring, ad-make-advised-docstring):
6849 `ad-real-documentation' => `documentation'.
6850 (warning-suppress-types): Declare.
6851 (ad-set-arguments): Simple CSE.
6852 (ad-recover-normality): Sanity check.
6853
6854 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6855 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6856
6857 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6858
6859 * ses.el: symbol to coordinate mapping is made by symbol property
6860 `ses-cell'. This means that the same mapping is done for all SES
6861 sheets. That is good enough for cells with standard A1 names, but
6862 not for named cell. So a hash map is added for the latter.
6863 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6864 (ses-sym-rowcol): Use hashmap for named cell.
6865 (ses-is-cell-sym-p): New defun.
6866 (ses-decode-cell-symbol): New defun.
6867 (ses-create-cell-variable): Add cell to hashmap when name is not
6868 A1-like.
6869 (ses-rename-cell): Check that cell new name is not already in
6870 spreadsheet with the use of ses-is-cell-sym-p
6871 (ses-rename-cell): Use hash map for named cells, but accept also
6872 renaming back to A1-like.
6873
6874 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 * emacs-lisp/advice.el: Use new dynamic docstrings.
6877 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6878 Use dynamic-docstring-function instead of ad-advice-info.
6879 (ad--make-advised-docstring): New function extracted from
6880 ad-make-advised-docstring.
6881 (ad-make-advised-docstring): Use it.
6882 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6883 from sql-help.
6884 (sql-help): Use it with dynamic-docstring-function.
6885
6886 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6887
6888 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * files.el (hack-one-local-variable--obsolete): New function.
6891 (hack-one-local-variable): Use it for obsolete settings.
6892
6893 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6894 the new name.
6895
6896 * progmodes/js.el (js--filling-paragraph): New var.
6897 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6898 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6899 less sneaky.
6900
6901 2012-11-08 Julien Danjou <julien@danjou.info>
6902
6903 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6904 `auto-mode-alist' (Bug#12835).
6905
6906 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6907
6908 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6909 (perl--prettify-symbols-alist): New const.
6910 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6911 New functions.
6912 (perl-font-lock-keywords-2): Use them.
6913 (perl-electric-noindent-p): New function.
6914 (perl-mode): Use it to set up electric-indent-mode.
6915 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6916 (perl-mode-map): Remove bindings for them.
6917 (perl-imenu-generic-expression, perl-outline-level):
6918 Match functions&packages in column>0.
6919
6920 * env.el (env--substitute-vars-regexp): New const.
6921 (substitute-env-vars): Use it. Add `only-defined' arg.
6922 * net/tramp.el (tramp-replace-environment-variables): Use it.
6923
6924 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6925 Byte-compile *before* eval in eval-and-compile.
6926 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6927 (byte-compile-file-form-autoload): Don't hide actual definition.
6928 (byte-compile-maybe-guarded): Accept `functionp' as well.
6929
6930 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6931
6932 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6933
6934 * notifications.el (notifications-get-server-information-method):
6935 New defconst.
6936 (notifications-get-capabilities): Fix docstring.
6937 (notifications-get-server-information): New defun.
6938
6939 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6940
6941 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6942 readability.
6943
6944 * textmodes/ispell.el: Experimental support for support debugging.
6945 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6946 buffer for ispell.
6947 (ispell-print-if-debug): New function to print stuff to
6948 `ispell-debug-buffer' if debugging is enabled.
6949 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6950 show some debugging info.
6951 (ispell-buffer-with-debug): New function that creates a debugging
6952 buffer and calls `ispell-buffer' with debugging enabled.
6953
6954 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6955 comment in autoconf mode. (Bug#12768)
6956
6957 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6958
6959 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6960 frame-first-window, frame-root-window, frame-selected-window,
6961 minibuffer-selected-window, minibuffer-window,
6962 window-absolute-pixel-edges, window-at, window-body-height,
6963 window-body-width, window-display-table, window-combination-limit,
6964 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6965 window-inside-edges, window-inside-pixel-edges, window-left-child,
6966 window-left-column, window-margins, window-next-buffers,
6967 window-next-sibling, window-new-normal, window-new-total,
6968 window-normal-size, window-parameter, window-parameters, window-parent,
6969 window-pixel-edges, window-point, window-prev-buffers,
6970 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6971 window-start, window-text-height, window-top-child, window-top-line,
6972 window-total-height, window-total-width and window-use-time to the list
6973 of functions without side-effects.
6974 (toplevel): Add window-valid-p to the list of error-free functions
6975 without side-effects.
6976
6977 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6978
6979 * textmodes/ispell.el (ispell-program-name):
6980 Update spellchecker parameters when customized.
6981
6982 2012-11-04 Glenn Morris <rgm@gnu.org>
6983
6984 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6985
6986 2012-11-04 Chong Yidong <cyd@gnu.org>
6987
6988 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6989 same-window-* variables.
6990
6991 2012-11-04 Juri Linkov <juri@jurta.org>
6992
6993 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6994 (isearch-describe-key, isearch-describe-mode): Use a display
6995 action instead of binding same-window-* variables (Bug#10040).
6996
6997 2012-11-03 Glenn Morris <rgm@gnu.org>
6998
6999 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7000 Rename handler properties back from cl-- to cl-. (Bug#12788)
7001
7002 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7003
7004 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7005
7006 * term/pc-win.el: Don't load term/internal from here.
7007
7008 * loadup.el: Load term/internal from here.
7009
7010 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7011
7012 * progmodes/python.el (inferior-python-mode): Fix hang in
7013 jit-lock (Bug#12645).
7014
7015 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7016
7017 * window.el (switch-to-visible-buffer)
7018 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7019
7020 2012-11-03 Glenn Morris <rgm@gnu.org>
7021
7022 * emacs-lisp/cl-lib.el (cl--random-time):
7023 Rename from cl-random-time. (Bug#12773)
7024 (cl--gensym-counter, cl--random-state): Update callers.
7025 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7026
7027 2012-11-03 Chong Yidong <cyd@gnu.org>
7028
7029 * cus-start.el: Make cursor-type customizable (Bug#11633).
7030
7031 2012-11-02 Glenn Morris <rgm@gnu.org>
7032
7033 * filecache.el: No need to load find-lisp when compiling.
7034 (find-lisp-find-files): Autoload it.
7035 (file-cache-add-directory-recursively): Don't require find-lisp.
7036
7037 * image.el (image-type-from-file-name): Trivial simplification.
7038
7039 * emacs-lisp/bytecomp.el (byte-compile-eval):
7040 Decouple "noruntime" and "cl-functions" warnings.
7041
7042 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7043
7044 * play/gomoku.el (gomoku-display-statistics): Update mode line
7045 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7046
7047 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7048
7049 * window.el (quit-restore-window): If the window has been
7050 created on an existing frame and ended up as the sole window on
7051 that frame, do not delete it (Bug#12764).
7052
7053 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7056 Rename from sh--inside-arithmetic-expression, handle more cases
7057 (bug#11263).
7058
7059 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7060 (sh-font-lock-open-heredoc): Use it (bug#12770).
7061
7062 2012-10-30 Glenn Morris <rgm@gnu.org>
7063
7064 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7065
7066 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7067
7068 2012-10-29 Chong Yidong <cyd@gnu.org>
7069
7070 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7071 function key is stored in a keyboard macro (Bug#4894).
7072
7073 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7074
7075 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7076
7077 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7078 header comments".
7079 (diff-unified->context, diff-context->unified)
7080 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7081
7082 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7083
7084 * files.el (find-alternate-file): Only ask one question (bug#12487).
7085
7086 2012-10-29 Chong Yidong <cyd@gnu.org>
7087
7088 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7089 Suggested by Dan Nicolaescu (Bug#6326).
7090
7091 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7092
7093 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7094
7095 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7096
7097 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7098
7099 * face-remap.el (face-remap-add-relative): Handle the case where a
7100 face-remapping-alist entry is a cons cell (Bug#12762).
7101
7102 2012-10-29 Kevin Ryde <user42@zip.com.au>
7103
7104 * woman.el (woman-parse-numeric-value): Handle picas correctly
7105 (Bug#12639).
7106
7107 2012-10-29 Glenn Morris <rgm@gnu.org>
7108
7109 * emacs-lisp/cl.el (defsetf): Doc fix.
7110
7111 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7112
7113 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7114 syntax to the matching opener, if any (bug#12547).
7115 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7116 matching open as a "case-(".
7117 (sh-smie-rc-grammar): Add a corresponding rule for it.
7118
7119 2012-10-28 Daniel Hackney <dan@haxney.org>
7120
7121 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7122 "PKGNAME-autoloads.el" in case we created it.
7123
7124 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7125
7126 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7127 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7128 (completion--twq-all): Disable too-strict assertions.
7129
7130 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7131
7132 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7133
7134 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7135 text to match the real keybindings.
7136
7137 2012-10-27 Juri Linkov <juri@jurta.org>
7138
7139 * wdired.el (wdired-keep-marker-rename): New defcustom.
7140 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7141 (Bug#11795)
7142
7143 * dired.el (dired-keep-marker-rename): Add reference to
7144 `wdired-keep-marker-rename' in the docstring.
7145 Add default character value ?R to display initially in
7146 Customization UI instead of ?@.
7147
7148 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7149
7150 * window.el (display-buffer): In doc-string describe
7151 window-height and window-width alist entries.
7152
7153 * time.el (display-time-world): Restore fit-window-to-buffer
7154 behavior.
7155
7156 2012-10-27 Chong Yidong <cyd@gnu.org>
7157
7158 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7159
7160 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7161
7162 * minibuffer.el (completion-category-overrides): New completion
7163 category `bookmark' (bug#11131).
7164
7165 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7166
7167 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7168 Silence bogus compiler warnings for ad-do-it.
7169
7170 * bookmark.el (bookmark-completing-read): Set the completion category
7171 to `bookmark' (bug#11131).
7172
7173 2012-10-26 Bastien <bzg@altern.org>
7174 Stefan Monnier <monnier@iro.umontreal.ca>
7175
7176 * face-remap.el: Use lexical-binding.
7177 (text-scale-adjust): Improve docstring. Use itself for the temporary
7178 overlay-map bindings, so as to repeat the "Use..." message each time.
7179
7180 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7181
7182 * emacs-lisp/macroexp.el (macroexp--expand-all):
7183 Obey byte-compile-warning-enabled-p (bug#12486).
7184
7185 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7186 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7187
7188 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7189
7190 * mouse.el (mouse-drag-line): Move last form into preceding when
7191 clause (Bug#12731).
7192
7193 * help.el (resize-temp-buffer-window): Fix doc-string.
7194
7195 2012-10-25 David Engster <deng@randomsample.de>
7196
7197 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7198 Remove. This feature is already integrated in imenu.
7199
7200 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7201 always loaded. Require `speedbar' unconditionally.
7202
7203 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7204
7205 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7206
7207 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7208
7209 * net/ldap.el (ldap-search-internal): The official ldif format starts
7210 with a "version: 1" header (bug#12724).
7211
7212 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7213 (bug#12721).
7214
7215 2012-10-25 Glenn Morris <rgm@gnu.org>
7216
7217 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7218
7219 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * minibuffer.el (minibuffer-force-complete): Use one more marker
7222 for the temporary-overlay-map command (bug#12619).
7223
7224 2012-10-24 Chong Yidong <cyd@gnu.org>
7225
7226 * time.el (display-time-world-mode): Derive from special-mode.
7227 (display-time-world): Use display-buffer (Bug#12708).
7228 (display-time-world-mode-map): Variable deleted.
7229 (display-time-world-display): Wrap the final delete-char inside
7230 inhibit-read-only.
7231
7232 2012-10-24 Chong Yidong <cyd@gnu.org>
7233
7234 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7235 Doc fix.
7236
7237 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7238
7239 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * minibuffer.el (completion--all-sorted-completions-location): New var.
7242 (completion--cache-all-sorted-completions)
7243 (completion--flush-all-sorted-completions): Use it.
7244 (completion-in-region, completion-in-region--postch)
7245 (completion-at-point, completion-help-at-point): Use markers in
7246 completion-in-region--data (bug#12619).
7247
7248 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * progmodes/compile.el (compilation-start): Try to handle common
7251 quoting of `cd' argument (bug#12640).
7252
7253 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7254 (bug#12671).
7255
7256 2012-10-23 Glenn Morris <rgm@gnu.org>
7257
7258 * progmodes/gud.el (gud-menu-map):
7259 Check gdb-active-process is bound. (Bug#12358)
7260
7261 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7262
7263 * repeat.el (repeat): Set real-this-command (bug#12232).
7264
7265 * htmlfontify.el (hfy-post-html-hook):
7266 * filesets.el (filesets-cache-fill-content-hook):
7267 * arc-mode.el (archive-extract-hook):
7268 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7269 * net/rcirc.el (rcirc-sentinel-functions)
7270 (rcirc-receive-message-functions, rcirc-activity-functions)
7271 (rcirc-print-functions):
7272 * net/dbus.el (dbus-event-error-functions):
7273 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7274 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7275 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7276 * term/sun.el (sun-raw-prefix-hooks):
7277 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7278
7279 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7280
7281 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7282 Set `tramp-chunksize' to 1. This improves the performance.
7283 (tramp-smb-wait-for-output): Add timeout to
7284 `tramp-accept-process-output' calls.
7285
7286 2012-10-23 Chong Yidong <cyd@gnu.org>
7287
7288 * faces.el (font-list-limit): Define as an obsolete variable.
7289
7290 * startup.el (command-line):
7291 * cus-start.el: Don't refer to font-list-limit.
7292
7293 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7294
7295 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7296
7297 * subr.el (internal-temp-output-buffer-show): Rename from
7298 temp-output-buffer-show, since previously compiled files expect this name.
7299
7300 2012-10-23 Glenn Morris <rgm@gnu.org>
7301
7302 * image.el (image-type-from-file-name): If multiple types match,
7303 return the first one that is supported. (Bug#9045)
7304
7305 2012-10-22 Glenn Morris <rgm@gnu.org>
7306
7307 * image.el (imagemagick-enabled-types): Doc fix.
7308
7309 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7310
7311 * progmodes/which-func.el (which-func-current): The hash-table may have
7312 an explicit nil (bug#12338).
7313
7314 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7315
7316 * electric.el (electric-pair-delete-selection-self-insert-function):
7317 Rename to electric-pair-will-use-region, return a boolean.
7318 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7319
7320 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7321 (delete-selection-pre-hook): Use use-region-p.
7322 (delete-selection-self-insert-function): Remove.
7323 (self-insert-command): Obey self-insert-uses-region-functions.
7324 (self-insert-iso): Revert to previous setting, since we don't actually
7325 know what that command does.
7326 (delete-selection-self-insert-hooks): Remove.
7327
7328 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7329
7330 * delsel.el (delete-selection-helper): New function, extracted from
7331 delete-selection-pre-hook.
7332 (delete-selection-pre-hook): Use it.
7333 (delete-selection-self-insert-function): New function.
7334 (delete-selection-self-insert-hooks): New hook.
7335 (self-insert-command, self-insert-iso): Use it.
7336 * electric.el (electric-pair-syntax): New function, extracted from
7337 electric-pair-post-self-insert-function.
7338 (electric-pair-post-self-insert-function): Use it.
7339 (electric-pair-delete-selection-self-insert-function): New function.
7340 (electric-pair-mode): Require delsel and setup
7341 delete-selection-self-insert-hooks (bug#11520).
7342
7343 2012-10-20 Chong Yidong <cyd@gnu.org>
7344
7345 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7346 no changes to show (Bug#12586).
7347
7348 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7349 list explicitly (Bug#12571).
7350
7351 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7352
7353 * progmodes/flymake.el (flymake-create-temp-inplace):
7354 Use file-truename.
7355
7356 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7357
7358 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7359
7360 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7361
7362 * calc/calc-units.el (math-extract-units): Properly extract powers
7363 of units.
7364
7365 2012-10-20 Daniel Colascione <dancol@dancol.org>
7366
7367 * frame.el (make-frame): Set x-display-name as we used to in order
7368 to unbreak creating an X11 frame from an Emacs daemon started
7369 without a display.
7370
7371 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7374 the same completion-field (bug#12221).
7375
7376 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7377
7378 * emacs-lisp/debug.el (debug): Record height of debugger window
7379 also when debugger will be back (Bug#8789).
7380
7381 2012-10-18 Chong Yidong <cyd@gnu.org>
7382
7383 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7384 Convert to defcustom.
7385 (gdb-get-source-file): Don't bind pop-up-windows.
7386
7387 * progmodes/gud.el (gud-display-line): Don't specially re-use
7388 other frames for the gdb-mi case (Bug#12648).
7389
7390 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * emacs-lisp/advice.el: Clean up commentary a bit.
7393 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7394 (byte-code-function-p): Never redefine.
7395
7396 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7397
7398 2012-10-18 Glenn Morris <rgm@gnu.org>
7399
7400 * dired.el (dired-sort-toggle): Some ls implementations only allow
7401 a single option string. (Bug#12666)
7402
7403 * minibuffer.el (completion-cycle-threshold): Doc fix.
7404
7405 2012-10-17 Kenichi Handa <handa@gnu.org>
7406
7407 * international/mule.el (set-keyboard-coding-system):
7408 Recover input meta mode when the new coding system doesn not use 8-bit.
7409 Supply TERMINAL arg to set-input-meta-mode.
7410
7411 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7412
7413 * wdired.el (wdired-old-marks): New variable.
7414 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7415 (wdired-do-renames): Move point with renamed file and don't lose
7416 mark status (Bug#11795).
7417
7418 2012-10-16 Juri Linkov <juri@jurta.org>
7419
7420 * replace.el (query-replace-help): Mention multi-buffer replacement
7421 keys in the Help message. (Bug#12655)
7422
7423 2012-10-15 Chong Yidong <cyd@gnu.org>
7424
7425 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7426
7427 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7428
7429 * window.el (display-buffer): Doc fix.
7430
7431 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7432 Adjust the msft regexp to the output of Studio 2010, and move msft
7433 before edg-1. See the discussion on emacs-devel,
7434 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7435 for the details.
7436
7437 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7438
7439 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7440 (oset): Move uses of object-class-fast macro after its definition.
7441
7442 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7443
7444 2012-10-13 Chong Yidong <cyd@gnu.org>
7445
7446 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7447 enabled, re-enable it (Bug#11963).
7448
7449 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7450
7451 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7452 non-nil, restore window configuration (Bug#12623).
7453
7454 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7455
7456 * help-fns.el (describe-variable, describe-function-1):
7457 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7458
7459 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7460
7461 2012-10-12 Glenn Morris <rgm@gnu.org>
7462
7463 * mail/rmailsum.el (rmail-header-summary):
7464 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7465
7466 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7467
7468 * progmodes/python.el (python-mode-map):
7469 Replace subtitute-key-definition with proper command remapping.
7470 (python-nav--up-list): Fix behavior for blocks on the same level.
7471
7472 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7475
7476 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7477 changes to the format of load-history.
7478
7479 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7480 completion-ignore-case in case that var is buffer-local (bug#12615).
7481
7482 2012-10-11 Kenichi Handa <handa@gnu.org>
7483
7484 * international/eucjp-ms.el: Re-generated.
7485
7486 2012-10-10 Kenichi Handa <handa@gnu.org>
7487
7488 * select.el (xselect--encode-string): If a coding is specified for
7489 selection, and that is compatible with COMPOUND_TEXT, use it.
7490
7491 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7492
7493 * window.el (switch-to-buffer-preserve-window-point): New option.
7494 (switch-to-buffer):
7495 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7496
7497 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7498
7499 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7500 Don't document nil as a useful value (bug#12583).
7501
7502 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7503
7504 * net/tramp.el (tramp-debug-message):
7505 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7506 (with-tramp-progress-reporter): Rename from
7507 `tramp-with-progress-reporter'.
7508 (with-tramp-file-property, with-tramp-connection-property):
7509 Move from tramp-cache.el, rename from `with-file-property' and
7510 `with-connection-property', respectively.
7511
7512 * net/tramp-cache.el: Remove `with-file-property' and
7513 `with-connection-property'.
7514
7515 * net/tramp.el:
7516 * net/tramp-gvfs.el:
7517 * net/tramp-sh.el:
7518 * net/tramp-smb.el: Adapt callees.
7519
7520 * net/trampver.el: Update release number.
7521
7522 2012-10-09 Glenn Morris <rgm@gnu.org>
7523
7524 * w32-fns.el (set-message-beep):
7525 * term/w32-win.el (set-message-beep): Update declarations.
7526
7527 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7528
7529 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7530 (mode-line-widen, mode-line-input-method-map)
7531 (mode-line-coding-system-map, mode-line-remote)
7532 (mode-line-unbury-buffer, mode-line-bury-buffer)
7533 (mode-line-next-buffer, mode-line-previous-buffer):
7534 Replace save-selected-window+select-window => with-selected-window.
7535
7536 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7537 * progmodes/cc-vars.el (bq-process): Remove, unused.
7538
7539 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7540
7541 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7542
7543 Implemented `backward-up-list'-like navigation.
7544 * progmodes/python.el (python-nav-up-list)
7545 (python-nav-backward-up-list): New functions.
7546 (python-mode-map): Define substitute key for backward-up-list to
7547 python-nav-backward-up-list.
7548
7549 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7550
7551 * progmodes/python.el (python-fill-paragraph): Rename from
7552 python-fill-paragraph-function. Fixed fill-paragraph for
7553 decorators (Bug#12605).
7554
7555 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7556
7557 * progmodes/python.el (python-shell-output-filter): Handle extra
7558 carriage return in OSX (Bug#12409).
7559
7560 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7561
7562 Fix shell handling of unbalanced quotes and parens in output.
7563 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7564 (python-syntax-propertize-function): Use it.
7565 (python-shell-output-syntax-table): New var.
7566 (inferior-python-mode): Prevent unbalanced parens/quotes from
7567 previous output mess with current input context.
7568
7569 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7570
7571 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7572 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7573
7574 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7575
7576 * ffap.el (ffap-replace-file-component): Support Tramp file name
7577 syntax, not only ange-ftp's one.
7578
7579 2012-10-08 Glenn Morris <rgm@gnu.org>
7580
7581 * cus-start.el (message-log-max): Set :version.
7582
7583 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7584
7585 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7586
7587 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7588 the minibuffer window (Bug#10851).
7589
7590 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7591
7592 Enhancements on forward-sexp movement.
7593 * progmodes/python.el (python-nav-beginning-of-statement)
7594 (python-nav-end-of-statement): Return point-marker.
7595 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7596 (python-info-current-symbol)
7597 (python-info-statement-starts-block-p): Rename from
7598 python-info-beginning-of-block-p.
7599 (python-info-statement-ends-block-p): Rename from
7600 python-info-end-of-block-p.
7601 (python-info-beginning-of-statement-p)
7602 (python-info-end-of-statement-p)
7603 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7604 New functions.
7605
7606 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7607
7608 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7609 frame-selected-windows.
7610
7611 2012-10-08 Daniel Colascione <dancol@dancol.org>
7612
7613 * battery.el (battery-status-function): Check for
7614 w32-battery-status itself, not system-time windows-nt.
7615
7616 * frame.el: Require cl-lib.
7617 (display-format-alist): New variable mapping frame types to
7618 functions that initialize them.
7619 (window-system-for-display): New function: interprets
7620 display-format-alist.
7621 (make-frame-on-display): Remove existing display-selection logic
7622 and just forward to make-frame, which will now DTRT.
7623 (make-frame): Restructure to use window-system-for-display to
7624 figure out how to create a frame on a given display.
7625 (display-mouse-p): Look for frame-type w32, not a particular
7626 system-type.
7627
7628 * loadup.el: Load w32 lisp code when we have the w32 feature.
7629
7630 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7631 system-type windows-nt.
7632
7633 * server.el (server-create-window-system-frame): Look for window
7634 type.
7635 (server-proces-filter): Only force a window system when windows-nt
7636 _and_ w32. Explain why.
7637
7638 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7639 of window systems we configure for the mode.
7640
7641 * startup.el (command-line): Mark window system is initialized
7642 after we've done it.
7643
7644 * common-win.el (x-select-text): Look for w32, not windows-nt.
7645
7646 * ns-win.el: Require cl-lib. Add ourselves to
7647 display-format-alist.
7648 (ns-initialize-window-system): Assert we're not initialized twice.
7649
7650 * w32-win.el: Enable lexical binding; require cl-lib; add
7651 ourselves to display-format-alist.
7652 (w32-handle-dropped-file): Convert incoming dropped files from
7653 Windows paths to Cygwin ones before passing them on to the rest of
7654 Emacs.
7655 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7656 (w32-initialize-window-system): Assert we're not initialized twice.
7657
7658 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7659 (x-initialize-window-system): Assert we're not initialized twice.
7660
7661 * w32-common-fns.el: New File.
7662 (w32-version, w32-using-nt, w32-get-clipboard-data)
7663 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7664 (w32-charset-info-alist, x-last-selected, text)
7665 (x-get-selection-value, x-selection-value): Move here.
7666
7667 * w32-fns.el: Require w32-common-fns.
7668 (w32-version, w32-using-nt, w32-get-clipboard-data)
7669 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7670 (w32-charset-info-alist, x-last-selected, text)
7671 (x-get-selection-value, x-selection-value): Move to
7672 w32-common-fns.
7673
7674 * w32-vars.el:
7675 (w32-allow-system-shell, w32-system-shells): Define only in
7676 non-cygwin case.
7677
7678 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7681 (read-passwd): Remove a few more potential sources of leaks.
7682
7683 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7684
7685 * progmodes/python.el (inferior-python-mode)
7686 (python-shell-make-comint): Fix initialization of local
7687 variables copied from parent buffer.
7688
7689 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7690
7691 * term/ns-win.el (ns-read-file-name): Update declaration to match
7692 nsfns.m.
7693 (ns-respond-to-change-font): Change fontsize separately so we are sure
7694 it is set when font is acted upon.
7695
7696 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7697
7698 Enhancements to indentation.
7699 * progmodes/python.el (python-indent-context): Give priority to
7700 inside-string context. Make comments indentation markers.
7701 (python-indent-region): Do not mess with strings, unless it's the
7702 enclosing set of quotes.
7703
7704 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7705
7706 * window.el (internal--before-save-selected-window)
7707 (internal--after-save-selected-window): New functions extracted from
7708 save-selected-window. Make sure we return the `alist' we construct.
7709 (save-selected-window): Use them.
7710
7711 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7712 Use with-selected-window.
7713
7714 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7715 forms that define macros (bug#12593).
7716
7717 2012-10-07 Kenichi Handa <handa@gnu.org>
7718
7719 * international/mule-conf.el (compound-text-with-extensions):
7720 Add :mime-charset property as x-ctext.
7721
7722 2012-10-07 Stefan Merten <smerten@oekonux.de>
7723
7724 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7725 (rst-indent-literal-normal, rst-indent-literal-minimized)
7726 (rst-indent-comment): Correct :version tag.
7727 (rst-official-cvs-rev): Correct version string.
7728
7729 2012-10-07 Glenn Morris <rgm@gnu.org>
7730
7731 * mail/rmailmm.el (rmail-mime-process-multipart):
7732 Do not confuse a multipart message with an epilogue
7733 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7734
7735 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7736
7737 Fix shell output retrieval and comint-prompt-regexp init.
7738 * progmodes/python.el (inferior-python-mode):
7739 (python-shell-make-comint): Fix initialization of
7740 comint-prompt-regexp from copied file local variables.
7741 (python-shell-fetched-lines): Remove var.
7742 (python-shell-output-filter-in-progress): Rename from
7743 python-shell-fetch-lines-in-progress.
7744 (python-shell-output-filter-buffer): Rename from
7745 python-shell-fetch-lines-string.
7746 (python-shell-fetch-lines-filter): Delete function.
7747 (python-shell-output-filter): New function.
7748 (python-shell-send-string-no-output): Use them.
7749
7750 2012-10-07 Glenn Morris <rgm@gnu.org>
7751
7752 * hi-lock.el (hi-lock-process-phrase):
7753 Try to make it less fragile. (Bug#7161)
7754
7755 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7756
7757 2012-10-06 Glenn Morris <rgm@gnu.org>
7758
7759 * ehelp.el (electric-help-mode): Use help-mode rather than
7760 non-existent mode `help'.
7761 (electric-help-map): Use button-buffer-map. (Bug#10917)
7762
7763 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7764 (reftex-create-bibtex-footer): Fix custom types.
7765
7766 * progmodes/sh-script.el (sh-indent-after-continuation):
7767 Add explicit :group.
7768
7769 * textmodes/rst.el (rst-preferred-decorations)
7770 (rst-shift-basic-offset): Clarify obsolescence versions.
7771
7772 * profiler.el (profiler): Add missing group :version tag.
7773 * avoid.el (mouse-avoidance-banish-position):
7774 * proced.el (proced-renice-command):
7775 * calc/calc.el (calc-ensure-consistent-units):
7776 * calendar/icalendar.el (icalendar-import-format-uid):
7777 * net/tramp.el (tramp-save-ad-hoc-proxies):
7778 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7779 * progmodes/flymake.el (flymake-error-bitmap)
7780 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7781 * progmodes/sh-script.el (sh-indent-after-continuation):
7782 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7783 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7784 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7785 (vhdl-array-index-record-field-in-sensitivity-list)
7786 (vhdl-indent-comment-like-next-code-line):
7787 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7788 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7789 (reftex-cite-key-separator, reftex-create-bibtex-header)
7790 (reftex-create-bibtex-footer):
7791 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7792 (rst-indent-literal-normal, rst-indent-literal-minimized)
7793 (rst-indent-comment): Add missing custom :version tags.
7794
7795 * calendar/timeclock.el (timeclock-modeline-display):
7796 Add missing obsolete alias for renamed user option.
7797
7798 * strokes.el (strokes-modeline-string):
7799 * emulation/crisp.el (crisp-mode-modeline-string):
7800 * eshell/esh-mode.el (eshell-status-in-modeline):
7801 Aliases to defcustoms must come before the defcustom.
7802
7803 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7804 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7805 (cal-tex-cursor-week-monday): Doc fixes.
7806 (cal-tex-cursor-week2-summary): Doc fix.
7807 Rename from cal-tex-cursor-week-at-a-glance.
7808
7809 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7810 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7811
7812 * calendar/calendar.el (calendar-mode-map):
7813 Add cal-tex-cursor-week2-summary.
7814
7815 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7818
7819 * subr.el (read-passwd-map): New var.
7820 (read-passwd): Use `read-string' again.
7821 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7822
7823 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7824
7825 * register.el (append-to-register, prepend-to-register):
7826 Deactivate mark, as does `copy-to-register' (bug#12389).
7827
7828 2012-10-06 Chong Yidong <cyd@gnu.org>
7829
7830 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7831
7832 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7833
7834 * international/characters.el: Fix simple mistake ((car chars) ->
7835 elt), delete duplicated code.
7836
7837 2012-10-06 Glenn Morris <rgm@gnu.org>
7838
7839 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7840
7841 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7842
7843 * color.el (color-hsl-to-rgb): Fix incorrect results for
7844 small and large hue values. (Bug#12559)
7845
7846 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7847
7848 Enhancements to docstring formatting when filling paragraphs.
7849 * progmodes/python.el (python-fill-docstring-style): Rename from
7850 python-fill-string-style. Added new style.
7851 (python-fill-string): Use new style. Better checks for
7852 docstrings.
7853
7854 2012-10-05 Glenn Morris <rgm@gnu.org>
7855
7856 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7857
7858 * color.el (color-name-to-rgb, color-rgb-to-hex)
7859 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7860 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7861 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7862 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7863
7864 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7865
7866 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7867
7868 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7869 to get the correct size across symlinks.
7870
7871 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7872
7873 2012-10-04 Juri Linkov <juri@jurta.org>
7874
7875 * replace.el (query-replace-interactive): Declare obsolete.
7876 (query-replace-read-from): Add the last incremental search string
7877 to the list of default values accessible via M-n.
7878 (map-query-replace-regexp): Use `read-regexp'.
7879 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7880 (map-query-replace-regexp, replace-string, replace-regexp):
7881 Fix docstrings to replace mentions of `query-replace-interactive'
7882 with alternatives. (Bug#12526)
7883
7884 2012-10-04 Juri Linkov <juri@jurta.org>
7885
7886 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7887 (dired-pop-to-buffer): Declare obsolete.
7888 (dired-mark-pop-up): Doc fix.
7889
7890 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7891
7892 Allow user to set docstring style for fill-paragraph.
7893 * progmodes/python.el
7894 (python-fill-comment-function, python-fill-string-function)
7895 (python-fill-decorator-function, python-fill-paren-function):
7896 Remove :safe for defcustoms.
7897 (python-fill-string-style): New defcustom
7898 (python-fill-paragraph-function): Enhance context detection.
7899 (python-fill-string): Honor python-fill-string-style settings.
7900
7901 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7902
7903 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7904 after setting its buffer (Bug#10805).
7905
7906 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7907
7908 Fix cornercase for string syntax.
7909 * progmodes/python.el (python-syntax-propertize-function):
7910 Simplify and enhance the regexp for unescaped quotes. Now it also
7911 matches quotes in weird situations like the single quote in
7912 "something\"'".
7913 (python-syntax-stringify): Simplify num-quotes detecting code.
7914
7915 2012-10-03 Glenn Morris <rgm@gnu.org>
7916
7917 * help-macro.el (three-step-help):
7918 Revert 2012-09-29 change. (Bug#12567)
7919
7920 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7921
7922 * menu-bar.el (kill-this-buffer): Don't do anything when
7923 `menu-frame' is not alive or visible (Bug#8184).
7924
7925 * emacs-lisp/debug.el (debug): When quitting the debugger window
7926 restore current buffer (Bug#12502).
7927
7928 2012-10-02 Chong Yidong <cyd@gnu.org>
7929
7930 * progmodes/hideif.el (hif-lookup, hif-defined):
7931 Handle semantic-c-takeover-hideif.
7932
7933 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7934
7935 Change sampling interval units from ms to ns.
7936 * profiler.el (profiler-sampling-interval): Change units
7937 from ms to ns, multiplying the default by 1000000 so that
7938 it remains 1 ms.
7939 (profiler-report-cpu-line-format): Give enough room for
7940 the maximum counters on 64-bit hosts.
7941 (profiler-report-render-calltree-1): Call them "CPU samples",
7942 not "Time (ms)", since they are not milliseconds now (and
7943 never really were).
7944
7945 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7946
7947 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7948 Fix querying BBDB for entries without a last name (Bug#11580).
7949
7950 2012-10-02 Chong Yidong <cyd@gnu.org>
7951
7952 * emacs-lisp/eieio.el: Restore Version header.
7953
7954 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * vc/diff-mode.el (diff--auto-refine-data): New var.
7957 (diff-hunk): Use it to delay refinement.
7958 (diff-mode): Remove overlays when we turn off font-lock.
7959
7960 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7961 (table-initialize-table-fixed-width-mode)
7962 (table-set-table-fixed-width-mode): Remove functions.
7963 (table-command-list): Move initialization into declaration.
7964 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7965 (table-with-cache-buffer): Use `declare'.
7966 (table-span-cell): Simplify via CSE.
7967 (table-fixed-width-mode): Use define-minor-mode.
7968 (table-call-interactively, table-funcall, table-apply): Remove.
7969 (table-function): New function, to replace them.
7970
7971 * bookmark.el (bookmark-search-pattern): Remove var.
7972 (bookmark-read-search-input): Remove function.
7973 (bookmark-bmenu-search): Reimplement using a minibuffer.
7974
7975 * faces.el (modeline): Remove obsolete face name.
7976
7977 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7978 and give a non-nil default value.
7979 (add-change-log-entry): Simplify accordingly.
7980
7981 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7982
7983 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7984 (vc-git-log-edit-toggle-amend): New function.
7985 (vc-git-log-edit-toggle-signoff): New function.
7986 (vc-git-log-edit-mode): New major mode.
7987 (vc-git-log-edit-mode-map): Keymap for it.
7988 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7989
7990 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7991 header names.
7992 (log-edit-toggle-header): New function.
7993 (log-edit-extract-headers): Accept function values in HEADERS alist.
7994
7995 2012-10-01 David Engster <deng@randomsample.de>
7996
7997 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7998 from symbol property and change message to be more consistent with
7999 Emacs proper.
8000 (eieio-describe-generic): Add filename for each implementation.
8001 Fix indices for generic and normal methods.
8002 (eieio-method-def, eieio-class-def): New buttons.
8003 (eieio-help-find-method-definition)
8004 (eieio-help-find-class-definition): New functions.
8005 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8006 class, constructor and method definitions.
8007
8008 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8009 information in symbol property.
8010 (scoped-class): Remove.
8011 (eieio-slot-name-index, call-next-method): Check if it is bound.
8012
8013 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8014
8015 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8016 (eieio-custom-mode): New major mode.
8017 (eieio-customize-object): Use it.
8018
8019 2012-10-01 Eric Ludlam <zappo@gnu.org>
8020
8021 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8022 specifying the expected class, and whether subclassing is allowed.
8023 (eieio-persistent-convert-list-to-object):
8024 (eieio-persistent-validate/fix-slot-value)
8025 (eieio-persistent-slot-type-is-class-p): New functions.
8026 (eieio-named::slot-missing): Doc fix.
8027
8028 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8029 Stop using unused publd variable.
8030
8031 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8032 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8033 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8034 (eieio-speedbar-handle-click): Do not specify a class for the
8035 method. Fixes method invocation order problems with EDE.
8036
8037 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8038
8039 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8040 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8041
8042 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8043
8044 * bookmark.el (bookmark-version-control): Give tags in the
8045 :type choices (Bug#12309), and improve doc string.
8046 (bookmark-write-file): Bind `print-circle' to `t' to allow
8047 circular custom bookmark types. (Bug#12503)
8048
8049 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8050
8051 Revert the FOLLOW-SYMLINKS change for file-attributes.
8052 * files.el (remote-file-name-inhibit-cache, after-find-file):
8053 * time.el (display-time-file-nonempty-p): Undo last change.
8054
8055 * profiler.el (profiler-sampling-interval): Change default back to 1.
8056 See Stefan Monnier in
8057 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8058
8059 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8060
8061 Shell output catching a la gud-gdb.
8062 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8063 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8064 New Vars.
8065 (python-shell-fetch-lines-filter): New function.
8066 (python-shell-send-string-no-output): Use them.
8067
8068 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8069
8070 * profiler.el (profiler-sampling-interval): Rename from
8071 profiler-sample-interval.
8072 (profiler-sampling-interval): Default to 10.
8073 (profiler-find-profile): New command (was profiler-find-log).
8074 (profiler-find-profile-other-window): New command.
8075 (profiler-find-profile-other-frame): New command.
8076 (profiler-profile): Introduce API-level data structure.
8077
8078 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8079
8080 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8081 * files.el (remote-file-name-inhibit-cache):
8082 * time.el (display-time-file-nonempty-p): Use it.
8083 * files.el (after-find-file): Don't chase links before calling
8084 file-exists-p, as file-exists-p already does the right thing.
8085
8086 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8087
8088 Merge from standalone RefTeX repository.
8089
8090 The following ChangeLog entries are shortened versions of the
8091 original ones with file paths adapted. A not so strongly edited
8092 version of the original ChangeLog can be found in the commit log.
8093
8094 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8095 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8096 Correctly handle new value type returned by `reftex-citation'.
8097
8098 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8099 that entries with whitespace at various places are found.
8100 Doc fix. Include entries that are cross-referenced from cited entries.
8101 Include @String definitions in the resulting bib file. Add header
8102 and footer defined in `reftex-create-bibtex-header' and
8103 `reftex-create-bibtex-footer'.
8104 (reftex-do-citation): Make it possible again to insert
8105 non-existent entries. Save match data when asking for optional
8106 arguments. Return all keys, not just the first one.
8107 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8108 all citations in the same line.
8109 (reftex-parse-bibtex-entry): Accept additional optional argument
8110 `raw' and keep quotes or braces if it is non-nil. Match fields
8111 containing hyphens besides word constituents.
8112 (reftex-get-string-refs): New function.
8113 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8114 and ask if it should be reread in case it did.
8115 (reftex-pop-to-bibtex-entry)
8116 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8117 entries with spaces or tabs in front of arguments.
8118 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8119 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8120 Match entries containing numbers and symbol constituents.
8121 (reftex-do-citation, reftex-figure-out-cite-format):
8122 Use `reftex-cite-key-separator'.
8123
8124 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8125 (reftex-mouse-view-crossref): Explain why point is set.
8126
8127 * textmodes/reftex-global.el: Whitespace changes.
8128
8129 * textmodes/reftex-index.el: Move provide statement to end of
8130 file.
8131 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8132 (reftex-index-visit-phrases-buffer): Set marker when visiting
8133 buffer. This allows for returning from the phrases file to the
8134 file one was just editing instead of the file where the last
8135 phrases was added from.
8136 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8137 punctuation syntax as it usually is not used as string quote in
8138 TeX-related modes and may occur unmatched. The change also
8139 prevents fontification of quoted content.
8140 (reftex-index-phrases-mode): Use it.
8141
8142 * textmodes/reftex-parse.el (reftex-parse-from-file):
8143 Move backward one char if a `\' was matched after a section macro.
8144 (reftex-parse-from-file): Use beginning of match instead of end as
8145 bound.
8146
8147 * textmodes/reftex-ref.el: Adapt creation of
8148 `reftex-<package>-<macro>' functions to new structure of
8149 `reftex-ref-style-alist'.
8150 (reftex-reference): Use `reftex-ref-style-list' function.
8151 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8152 reference macro if `reftex-ref-macro-prompt' is non-nil.
8153 (reftex-reference): Pass refstyle to `reftex-format-special'.
8154 Determine reference macro by looking at
8155 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8156 Use only one special format function.
8157 (reftex-varioref-vref, reftex-fancyref-fref)
8158 (reftex-fancyref-Fref): Remove definitions. The functions are now
8159 generated from `reftex-ref-style-alist'.
8160 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8161 Remove.
8162 (reftex-format-special): New function.
8163
8164 * textmodes/reftex-sel.el
8165 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8166 of `reftex-ref-style-alist'. Remove code for testing macro type.
8167 (reftex-select-toggle-varioref)
8168 (reftex-select-toggle-fancyref): Remove.
8169 (reftex-select-cycle-ref-style-internal)
8170 (reftex-select-cycle-ref-style-forward)
8171 (reftex-select-cycle-ref-style-backward): New functions.
8172 (reftex-select-label-map): Use `v' and `V' for general cycling
8173 through reference styles. Add `p' for switching between number
8174 and page reference types.
8175
8176 * textmodes/reftex-toc.el (reftex-re-enlarge):
8177 Call `enlarge-window' only if there is something to do because in Emacs
8178 the horizontal version throws an error even if the parameter is 0.
8179
8180 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8181 (reftex-plug-into-AUCTeX): Doc fix.
8182 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8183 string. Adapt to new name.
8184 (reftex-ref-style-alist): Change structure so that it is not
8185 possible to use multiple different package names within a style.
8186 Remove the symbols for symbols for macro type distinction.
8187 Add characters for macro selection.
8188 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8189 (reftex-create-bibtex-footer): New variables.
8190 (reftex-format-ref-function): Mention third argument of special
8191 format function.
8192 (reftex-ref-style-alist, reftex-ref-style-default-list):
8193 New variables.
8194 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8195 to new implementation. Mark as obsolete. Add compatibility code
8196 for honoring the variable values in case they are set.
8197 (reftex-cite-format-builtin, reftex-bibliography-commands):
8198 Add support for ConTeXt.
8199 (reftex-format-ref-function, reftex-format-cite-function):
8200 Fix custom type.
8201 (reftex-cite-key-separator): New variable.
8202
8203 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8204 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8205 `reftex-syntax-table' because parens have to retain their paren
8206 syntax in order for parsing of BibTeX entries like @book(...) to
8207 work.
8208 (reftex-in-comment): Do not error out if `comment-start-skip' is
8209 not set. Deal correctly with escaped comment characters.
8210 (reftex-tie-multifile-symbols): Add doc string.
8211 Initialize `reftex-ref-style-list'.
8212 (reftex-untie-multifile-symbols): Add doc string.
8213 (reftex-add-index-macros): Doc fix.
8214 (reftex-ref-style-activate, reftex-ref-style-toggle)
8215 (reftex-ref-style-list): New functions.
8216 (reftex-mode-menu): Use them. Adapt to new structure of
8217 `reftex-ref-style-alist'.
8218 (reftex-select-with-char): Kill the RefTeX Select buffer when
8219 done.
8220 (reftex-remove-if): New function.
8221 (reftex-erase-all-selection-and-index-buffers)
8222 (reftex-mode-menu): Reference styles are now computed from
8223 `reftex-ref-style-alist'. Fix typo.
8224 (reftex-report-bug): New function.
8225 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8226 algorithms with O(n log n). Introduce optional argument SORT (not
8227 yet used).
8228
8229 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8230
8231 Enhancements for triple-quote string syntax.
8232 * progmodes/python.el (python-syntax-propertize-function):
8233 Match both quote cases in one regexp.
8234 (python-syntax-stringify): Handle matches properly.
8235
8236 2012-09-30 Juri Linkov <juri@jurta.org>
8237
8238 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8239 to nil around the call to `insert' to prevent
8240 directory time modification by lock_file. (Bug#2295)
8241 * tar-mode.el (tar-summarize-buffer): Idem.
8242
8243 2012-09-30 Juri Linkov <juri@jurta.org>
8244
8245 * facemenu.el (list-colors-sort): Add option "Luminance".
8246 (list-colors-sort-key): Implement it.
8247
8248 * vc/diff-mode.el (diff-refine-removed):
8249 * vc/ediff-init.el (ediff-fine-diff-A):
8250 * vc/smerge-mode.el (smerge-refined-removed):
8251 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8252
8253 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8254
8255 * term/ns-win.el (x-file-dialog): New function.
8256
8257 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8258
8259 * ido.el (ido-max-directory-size): Default to nil; the current
8260 default is small for POSIX systems, and impractical on Windows 7
8261 now that lstat returns directory sizes for NTFS.
8262
8263 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8264
8265 In buffer display functions handle window-height/window-width
8266 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8267 * window.el (window--display-buffer): New argument ALIST.
8268 Obey window-height and window-width alist entries.
8269 (window--try-to-split-window): New argument ALIST.
8270 Bind window-combination-limit to t when the window's size shall be
8271 changed and window-combination-limit equals `window-size'.
8272 (display-buffer-in-atom-window)
8273 (display-buffer-in-major-side-window)
8274 (display-buffer-in-side-window, display-buffer-same-window)
8275 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8276 (display-buffer-pop-up-window, display-buffer-below-selected)
8277 (display-buffer-at-bottom, display-buffer-in-previous-window)
8278 (display-buffer-use-some-window): Adjust all callers of
8279 window--display-buffer and window--try-to-split-window.
8280 (fit-frame-to-buffer): New option.
8281 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8282 is non-nil.
8283 (display-buffer-in-major-side-window): Evaluate window-height /
8284 window-width alist entries.
8285
8286 * help.el (temp-buffer-resize-frames)
8287 (temp-buffer-resize-regexps): Remove options.
8288 (temp-buffer-resize-mode): Adjust doc-string.
8289 (resize-temp-buffer-window): Don't consult
8290 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8291 temp-buffer-resize-frames.
8292
8293 * dired.el (dired-mark-pop-up):
8294 Call display-buffer-below-selected with a fit-window-to-buffer alist
8295 entry.
8296
8297 2012-09-30 Chong Yidong <cyd@gnu.org>
8298
8299 * server.el (server-host): Document the security implications.
8300 (server-auth-key): Doc fix.
8301
8302 * startup.el (initial-buffer-choice): Doc fix.
8303
8304 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8305
8306 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8307 restriction change.
8308
8309 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8310
8311 * help-fns.el (help-fns--obsolete): Fix last change.
8312
8313 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8314
8315 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8316 (minor-mode-map-alist): Remove redundant code.
8317
8318 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8319 visited in a buffer.
8320 (cvs-insert-visited-file): New function.
8321 (find-file-hook): Use it.
8322
8323 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8324
8325 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8326 chose face.
8327 (log-edit-empty-buffer-p): Don't require a space after a header.
8328
8329 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8330
8331 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8332
8333 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8334 a proper minor-mode.
8335
8336 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8337
8338 2012-09-29 Glenn Morris <rgm@gnu.org>
8339
8340 * winner.el (winner-mode): Remove variable (let define-minor-mode
8341 handle it).
8342 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8343 Doc fixes.
8344 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8345 (winner-mode): Use define-minor-mode.
8346
8347 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8348 the full definition in loaddefs, rather than duplicating it.
8349
8350 * help-macro.el (three-step-help): No need to autoload defcustom.
8351
8352 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8353 (inferior-lisp-program, inferior-lisp-load-command)
8354 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8355 No need to autoload defcustoms.
8356
8357 * hippie-exp.el (hippie-expand-try-functions-list)
8358 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8359 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8360 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8361 (hippie-expand-only-buffers): No need to autoload defcustoms.
8362 * progmodes/vhdl-mode.el (vhdl-line-expand):
8363 Explicitly load hippie-exp, so it does not get autoloaded
8364 while hippie-expand-try-functions-list is let-bound.
8365
8366 2012-09-28 Glenn Morris <rgm@gnu.org>
8367
8368 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8369
8370 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8371 Only "cl.el" counts as cl these days.
8372
8373 2012-09-28 Juri Linkov <juri@jurta.org>
8374
8375 Display archive errors in the echo area instead of inserting
8376 to the file buffer.
8377
8378 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8379 to STDERR-TEST that can be a regexp matching a successful output.
8380 Create a temporary file and redirect stderr to it. Search for
8381 STDERR-TEST in the stderr output and display it in the echo area
8382 if no match is found.
8383 (archive-extract-by-file): New function like
8384 `archive-extract-by-stdout' but extracting archives to files
8385 and looking for successful matches in stdout. Function body is
8386 mostly copied from `archive-rar-extract'.
8387 (archive-rar-extract): Use `archive-extract-by-file'.
8388 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8389
8390 2012-09-28 Leo Liu <sdl.web@gmail.com>
8391
8392 * pcomplete.el (pcomplete-show-completions):
8393 Use minibuffer-message to make pcomplete usable in minibuffer.
8394
8395 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8396
8397 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8398
8399 * type-break.el: Use lexical-binding.
8400 (type-break-mode): Use define-minor-mode.
8401
8402 * emacs-lisp/pcase.el (pcase--mark-used): New.
8403 (pcase--u1): Use it (bug#12512).
8404
8405 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8406 in load-history with the right file name.
8407
8408 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8409
8410 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8411 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8412 (doc-view-get-bounding-box): Make bounding box slicing work for
8413 ODF and DVI documents.
8414
8415 2012-09-28 Glenn Morris <rgm@gnu.org>
8416
8417 * type-break.el (type-break-mode, type-break-interval)
8418 (type-break-good-rest-interval, type-break-keystroke-threshold):
8419 No need to autoload.
8420 (type-break-good-rest-interval, type-break-keystroke-threshold):
8421 Add :set-after.
8422
8423 2012-09-28 Chong Yidong <cyd@gnu.org>
8424
8425 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8426 Add :version tag.
8427
8428 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8429
8430 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8431
8432 2012-09-27 Glenn Morris <rgm@gnu.org>
8433
8434 * faces.el (x-display-name): Declare (for without-x builds).
8435
8436 * linum.el (linum-format): Don't autoload it. Improve :type.
8437
8438 * progmodes/tcl.el: Don't require outline when compiling.
8439 (outline-regexp, outline-level): Declare.
8440 * textmodes/sgml-mode.el: Don't require outline when compiling.
8441 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8442
8443 * term.el (term-ansi-reset):
8444 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8445
8446 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8447 files for RCS and SCCS. (Bug#9781)
8448
8449 2012-09-27 Chong Yidong <cyd@gnu.org>
8450
8451 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8452 change; value should be t.
8453
8454 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8455
8456 * image-mode.el: Use lexical-binding.
8457 (image-mode-winprops): Use t to stand for the window of
8458 a buffer that's not displayed.
8459 * doc-view.el (doc-view-new-window-function): Handle the new
8460 t in winprops.
8461 (doc-view-enlarge): Make it a real nop if the size is not changed.
8462 (doc-view-display): Handle the case where the buffer is not (yet?)
8463 displayed in any window.
8464 (doc-view-saved-settings): New var.
8465 (doc-view-mode): Use it.
8466 (doc-view-fallback-mode): Set it.
8467
8468 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8469 Set lexical-binding.
8470 (minibuffer-eldef-shorten-default): New var.
8471 (minibuffer-default-in-prompt-regexps): Use it for new default.
8472 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8473
8474 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8475
8476 * international/uni-bidi.el:
8477 * international/uni-category.el:
8478 * international/uni-name.el:
8479 * international/uni-numeric.el: Regenerate.
8480
8481 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8482 Stefan Monnier <monnier@iro.umontreal.ca>
8483
8484 * profiler.el: New file.
8485
8486 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8489 (testcover-reinstrument): Simplify with CSE.
8490
8491 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8492
8493 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8494
8495 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8496
8497 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8498 (verilog-auto-input, verilog-auto-insert-lisp)
8499 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8500 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8501 (verilog-auto-unused, verilog-auto-wire)
8502 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8503 newline. Reported by Andrew Jones.
8504 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8505 Reported by Brad Dobbie.
8506 (verilog-batch-delete-trailing-whitespace):
8507 Create verilog-batch-delete-trailing-whitespace.
8508 Reported by Brad Dobbie.
8509 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8510 parameters from another module. Reported by Dan Katz.
8511 (verilog-auto, verilog-auto-assign-modport)
8512 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8513 AUTOINOUTMODPORT for UVM interface module shell generation.
8514 Reported by Brad Dobbie.
8515 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8516 standard behavior.
8517 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8518 Reported by Matt Martin.
8519
8520 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8521
8522 * window.el (window--resize-child-windows): When resizing child
8523 windows proportionally, process them in reverse order to
8524 preserve the "when splitting a window the new one gets the odd
8525 line" behavior.
8526 (window--resize-root-window-vertically): When resizing the
8527 minibuffer window try to affect only windows at the bottom of the
8528 frame. (Bug#12419)
8529
8530 2012-09-25 Chong Yidong <cyd@gnu.org>
8531
8532 * subr.el (declare): Doc fix.
8533
8534 * help-fns.el (help-fns--obsolete): Handle macros properly.
8535
8536 2012-09-25 Chong Yidong <cyd@gnu.org>
8537
8538 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8539 this function obsolete.
8540
8541 * calendar/cal-x.el (calendar-two-frame-setup)
8542 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8543 * calendar/calendar.el (american-calendar, european-calendar)
8544 (calendar-for-loop):
8545 * comint.el (comint-dynamic-simple-complete)
8546 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8547 * desktop.el (desktop-load-default):
8548 * dired-x.el (dired-omit-here-always)
8549 (dired-hack-local-variables, dired-default-directory):
8550 * emacs-lisp/derived.el (derived-mode-class):
8551 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8552 * emacs-lock.el (toggle-emacs-lock):
8553 * epa.el (epa-display-verify-result):
8554 * epg.el (epg-sign-keys, epg-start-sign-keys)
8555 (epg-passphrase-callback-function):
8556 * eshell/esh-util.el (eshell-for):
8557 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8558 (eshell-add-to-window-buffer-names):
8559 * files.el (locate-file-completion):
8560 * imenu.el (imenu-example--create-c-index)
8561 (imenu-example--create-lisp-index)
8562 (imenu-example--lisp-extract-index-name)
8563 (imenu-example--name-and-position):
8564 * international/mule-cmds.el (princ-list):
8565 * international/mule-diag.el (decode-codepage-char):
8566 * international/mule-util.el (detect-coding-with-priority):
8567 * iswitchb.el (iswitchb-read-buffer):
8568 * mail/mailalias.el (mail-complete):
8569 * mail/sendmail.el (mail-sent-via):
8570 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8571 (mouse-major-mode-menu):
8572 * password-cache.el (password-read-and-add):
8573 * pcomplete.el (pcomplete-parse-comint-arguments):
8574 * progmodes/sh-script.el (sh-maybe-here-document):
8575 * replace.el (query-replace-regexp-eval):
8576 * savehist.el (savehist-load):
8577 * simple.el (choose-completion-delete-max-match):
8578 * term.el (term-dynamic-simple-complete):
8579 * vc/ediff-init.el (ediff-check-version):
8580 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8581 * vc/vc.el (vc-diff-switches-list):
8582 * view.el (view-return-to-alist-update): Likewise.
8583
8584 * subr.el (eval-next-after-load, makehash, insert-string)
8585 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8586 mark obsolete.
8587 (mode-line-inverse-video): Variable deleted.
8588
8589 * international/mule-util.el (string-to-sequence): Remove.
8590
8591 * calendar/calendar.el (calendar-version):
8592 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8593 (icalendar-convert-diary-to-ical):
8594 * cus-edit.el (custom-mode):
8595 * ansi-color.el (ansi-color-unfontify-region):
8596 * international/latin1-disp.el (latin1-char-displayable-p):
8597 * progmodes/cwarn.el (turn-on-cwarn-mode):
8598 * progmodes/which-func.el (which-func-update-1):
8599 Use define-obsolete-function-alias.
8600
8601 * net/newst-backend.el (newsticker-cache-filename):
8602 * net/newst-treeview.el (newsticker-groups-filename):
8603 Fix incorrect obsolescence declaration.
8604
8605 * allout.el (allout-passphrase-hint-string): Likewise.
8606 (allout-init): Use a declare form to mark obsolete.
8607
8608 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8609 this applies to functions.
8610
8611 * iswitchb.el (iswitchb-read-buffer): Move code of
8612 iswitchb-define-mode-map here, and delete that obsolete function.
8613
8614 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8615 font-lock-reference-face.
8616
8617 2012-09-25 Glenn Morris <rgm@gnu.org>
8618
8619 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8620 Doc fixes.
8621
8622 * eshell/em-term.el (eshell-term-name):
8623 Default to term-term-name. (Bug#12485)
8624
8625 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8626
8627 * progmodes/python.el (python-shell-send-buffer): Better handling
8628 of "if __name__ == '__main__':" conditionals when sending the buffer.
8629
8630 2012-09-24 Glenn Morris <rgm@gnu.org>
8631
8632 * eshell/esh-cmd.el (eshell-find-alias-function):
8633 Tighten up file-name regexp. (Bug#12499)
8634
8635 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8636
8637 Enhancements for triple-quote string syntax.
8638 * progmodes/python.el (python-quote-syntax): Remove.
8639 (python-syntax-propertize-function): New value.
8640 (python-syntax-count-quotes, python-syntax-stringify):
8641 New functions.
8642
8643 2012-09-24 Chong Yidong <cyd@gnu.org>
8644
8645 * mail/supercite.el (sc-version): Remove obsolete function.
8646 (sc-describe): Don't mark as obsolete, since it is bound.
8647 (sc-submit-bug-report): Remove.
8648
8649 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8650 (cvs-commit-buffer-require-final-newline): Remove.
8651 (log-edit-require-final-newline)
8652 (log-edit-changelog-full-paragraphs): Default to t.
8653
8654 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8655 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8656 * vc/vc.el (vc-checkout-carefully): Likewise.
8657
8658 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8659 (emerge-version): Remove.
8660
8661 * progmodes/compile.el (compile-internal): Remove.
8662 (compilation-parse-errors-function): Fix typo.
8663
8664 * international/mule.el (set-char-table-default): Remove.
8665 (set-coding-priority, make-coding-system, generic-char-p)
8666 (charset-list, charset-bytes, charset-id): Use declare to mark
8667 functions as obsolete.
8668
8669 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8670 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8671 * vc/vc-hooks.el (vc-default-registered): Don't use
8672 vc-master-templates.
8673
8674 * font-lock.el (font-lock-reference-face):
8675 Use define-obsolete-variable-alias.
8676
8677 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8678 * calendar/calendar.el (calendar-font-lock-keywords):
8679 * calendar/diary-lib.el (diary-font-lock-keywords)
8680 (diary-fancy-font-lock-keywords):
8681 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8682 * textmodes/reftex-index.el (reftex-insert-index):
8683 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8684 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8685 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8686 * progmodes/prolog.el (prolog-font-lock-keywords):
8687 * progmodes/idlwave.el (idlwave-idl-keywords):
8688 * progmodes/ada-mode.el (ada-font-lock-keywords):
8689 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8690
8691 2012-09-24 Glenn Morris <rgm@gnu.org>
8692
8693 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8694
8695 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8696
8697 * progmodes/python.el (python-indent-line): More consistent cursor
8698 movement behavior.
8699
8700 2012-09-23 Stefan Merten <smerten@oekonux.de>
8701
8702 * textmodes/rst.el: Fix compiler warning.
8703
8704 2012-09-23 Roland Winkler <winkler@gnu.org>
8705
8706 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8707 Transcribe also LaTeX hyphenation.
8708 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8709 bibtex-reformat-previous-options.
8710
8711 2012-09-23 Roland Winkler <winkler@gnu.org>
8712
8713 * proced.el (proced-renice-command): New variable.
8714 (proced-marked-processes): New function.
8715 (proced-with-processes-buffer): New macro.
8716 (proced-send-signal): Use them.
8717 (proced-renice): New command bound to r.
8718
8719 2012-09-23 Roland Winkler <winkler@gnu.org>
8720
8721 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8722 ibuffer-saved-filter-groups has one element, shortcut the call of
8723 completing-read. (Bug#12331)
8724
8725 2012-09-23 Chong Yidong <cyd@gnu.org>
8726
8727 * bindings.el (mode-line-toggle-read-only):
8728 * bs.el (bs-toggle-readonly):
8729 * buff-menu.el (Buffer-menu-toggle-read-only):
8730 * dired.el (dired-toggle-read-only):
8731 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8732
8733 2012-09-23 Chong Yidong <cyd@gnu.org>
8734
8735 * image.el (image-type-available-p): Adapt to init-image-library
8736 argument changes.
8737
8738 2012-09-22 Juri Linkov <juri@jurta.org>
8739
8740 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8741 `dired-toggle-read-only'. (Bug#12462)
8742
8743 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8744
8745 * subr.el (temp-output-buffer-show): New function.
8746 (with-output-to-temp-buffer): Call temp-output-buffer-show
8747 instead of internal-temp-output-buffer-show.
8748
8749 2012-09-22 Chong Yidong <cyd@gnu.org>
8750
8751 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8752 (Bug#12462).
8753
8754 * repeat.el (repeat): Doc fix (Bug#12348).
8755
8756 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8757 (Bug#10909).
8758
8759 * simple.el (shell-command-on-region): Doc fix.
8760 (read-only-mode): Doc fix.
8761
8762 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8763
8764 * emacs-lisp/timer.el (run-with-idle-timer)
8765 (timer-activate-when-idle): Warn against reinvoking an idle timer
8766 from within its own timer action. (Bug#12447)
8767
8768 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8769
8770 * cus-start.el (window-combination-limit): Add new optional
8771 values.
8772 * window.el (temp-buffer-window-show)
8773 (window--try-to-split-window): Handle new values of
8774 window-combination-limit (Bug#1806).
8775 (split-window): Test window-combination-limit for t instead of
8776 non-nil.
8777 (display-buffer-at-bottom): New buffer display action function.
8778 * help.el (temp-buffer-resize-regexps): New option.
8779 (temp-buffer-resize-mode): Rewrite doc-string.
8780 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8781 Don't resize reused window. Suggested by Glenn Morris.
8782
8783 2012-09-22 Stefan Merten <smerten@oekonux.de>
8784
8785 * textmodes/rst.el: Revamp section title faces.
8786 (rst-official-version)
8787 (rst-package-emacs-version-alist): Sync with official version
8788 V1.4.0.
8789 (rst-faces-defaults, rst-set-level-default)
8790 (rst-level-face-max, rst-level-face-base-color)
8791 (rst-level-face-base-light, rst-level-face-format-light)
8792 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8793 (rst-adornment-faces-alist): Match new setup.
8794 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8795 (rst-level-5, rst-level-6): New faces.
8796
8797 2012-09-22 Chong Yidong <cyd@gnu.org>
8798
8799 * simple.el (undo): Handle indirect buffers (Bug#8207).
8800
8801 2012-09-21 Leo Liu <sdl.web@gmail.com>
8802
8803 IDO: Disable match re-ordering for buffer switching.
8804 * ido.el (ido-buffer-disable-smart-matches): New variable.
8805 (ido-set-matches-1): Use it. (Bug#2042)
8806
8807 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8808
8809 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8810 Fix 2011-05-17 change. (Bug#12418)
8811
8812 2012-09-21 Leo Liu <sdl.web@gmail.com>
8813
8814 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8815
8816 2012-09-21 Glenn Morris <rgm@gnu.org>
8817
8818 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8819 Be more robust about locating simple.el.
8820
8821 2012-09-21 Glenn Morris <rgm@gnu.org>
8822
8823 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8824
8825 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8826
8827 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8828
8829 2012-09-20 Juri Linkov <juri@jurta.org>
8830
8831 * replace.el (query-replace-read-from): Use `read-regexp' instead
8832 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8833 (occur-read-primary-args): Use `read-regexp' instead of
8834 `read-string'.
8835 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8836 `read-from-minibuffer'.
8837 * isearch.el (isearch-occur): Use `read-regexp' instead of
8838 `read-string'.
8839 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8840 `read-from-minibuffer'.
8841 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8842 of `read-string'. (Bug#7567)
8843
8844 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8845 and allow accepting a list of strings prepended to a list of
8846 standard default values. Doc fix. (Bug#12321)
8847
8848 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8849
8850 * replace.el (read-regexp): Don't add ": " when PROMPT already
8851 ends with a colon and space. (Bug#12321)
8852
8853 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8854
8855 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8856 error.
8857
8858 2012-09-20 Stefan Merten <smerten@oekonux.de>
8859
8860 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8861 Fixes feature request bug#11711.
8862 (rst-mode): Create `imenu-create-index-function'.
8863 (rst-get-stripped-line): Delete after refactoring.
8864 (rst-section-tree, rst-section-tree-rec)
8865 (rst-section-tree-point): Refactor and document properly.
8866 (rst-imenu-find-adornments-for-position)
8867 (rst-imenu-convert-cell, rst-imenu-create-index):
8868 New function.
8869
8870 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8871
8872 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8873 (macroexp--expand-all): Use it.
8874 (macroexp--funcall-and-return): Remove by folding it into its sole
8875 caller (macroexp--warn-and-return).
8876 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8877 Use macroexp--obsolete-warning.
8878
8879 * calc/calc.el: Fix last change by removing the whole chunk, since it
8880 was only needed back when Calc was not bundled.
8881
8882 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8883
8884 * emacs-lisp/debug.el (debug): Restore assignment to
8885 debugger-old-buffer removed on 2012-09-08.
8886
8887 2012-09-20 Juri Linkov <juri@jurta.org>
8888
8889 * dired-aux.el (dired-diff): Remove (require 'diff) since
8890 `diff-latest-backup-file' is now autoloaded.
8891
8892 2012-09-20 Chong Yidong <cyd@gnu.org>
8893
8894 * vc/diff.el (diff-latest-backup-file): Autoload.
8895
8896 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * calc/calc.el: Remove redundant autoload shape check.
8899 (sel-mode): Don't defvar.
8900 (calc-get-stack-element): Add `sel-mode' arg instead.
8901 (calc-top, calc-top-list): Pass it this additional argument.
8902 * calc/calc-store.el (calc-store-map):
8903 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8904 (calc-map-equation, calc-outer-product, calc-inner-product):
8905 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8906
8907 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8908
8909 2012-09-19 Juri Linkov <juri@jurta.org>
8910
8911 * dired-aux.el (dired-diff): Add (require 'diff) because
8912 `diff-latest-backup-file' is not autoloaded.
8913 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8914 of `dired-get-filename' to t to not report error when there is
8915 no default file on the current line.
8916
8917 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8918
8919 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8920 macroexp--eval-if-compile.
8921 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8922 (macroexp--expand-all): Use them (bug#12371).
8923
8924 * doc-view.el (doc-view-guess-paper-size)
8925 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8926
8927 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8928
8929 New feature: set optimal slice from BoundingBox information.
8930 * doc-view.el (doc-view-mode-map): Add keybinding.
8931 (doc-view-menu): Add menu entry.
8932 (doc-view-set-slice): Adapt docstring.
8933 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8934 (doc-view-scale-bounding-box)
8935 (doc-view-set-slice-from-bounding-box): New functions.
8936 (doc-view-paper-sizes): New defvar.
8937
8938 2012-09-19 Glenn Morris <rgm@gnu.org>
8939
8940 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8941 (byte-compile-log-warning): Autoload. (Bug#12371)
8942
8943 * calendar/calendar.el (calendar-american-month-header)
8944 (calendar-european-month-header, calendar-iso-month-header)
8945 (calendar-month-header): New options.
8946 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8947 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8948
8949 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8950
8951 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8952
8953 2012-09-18 Juri Linkov <juri@jurta.org>
8954
8955 * dired-aux.el (dired-diff): Restore original functionality of
8956 getting the default value, but keep new feature of using the
8957 latest existing backup file (`diff-latest-backup-file').
8958
8959 2012-09-18 Juri Linkov <juri@jurta.org>
8960
8961 * dired.el (dired-mark): If the region is active in Transient Mark
8962 mode, mark all files in the active region. Doc fix.
8963 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8964 Doc fix. (Bug#10624)
8965
8966 2012-09-18 Juri Linkov <juri@jurta.org>
8967
8968 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8969 attributes for M-n are pulled from the file at point.
8970 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8971 Suggested by Drew Adams. (Bug#10624)
8972
8973 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8974
8975 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8976 whitespace after "end".
8977 (ruby-do-end-to-brace): Collapse block to one line if it fits
8978 within fill-column.
8979
8980 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8981
8982 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8983 value.
8984 (debug): Don't remove debugger window when debugger is expected
8985 to be back.
8986
8987 2012-09-18 Chong Yidong <cyd@gnu.org>
8988
8989 * custom.el (defface): Doc fix.
8990
8991 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8992
8993 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8994
8995 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8996 to initialize query-on-exit; then test that instead (bug#12288).
8997
8998 2012-09-17 Stefan Merten <smerten@oekonux.de>
8999
9000 * textmodes/rst.el: Add support for `testcover'.
9001 (rst-defcustom-testcover, rst-testcover-add-compose)
9002 (rst-testcover-add-1value): New functions.
9003 (rst-portable-mark-active-p): Replace by `use-region-p'.
9004 (rst-update-section, rst-classify-adornment)
9005 (rst-find-title-line): Mark `1value' forms.
9006 (rst-classify-adornment): Remove superfluous form.
9007 (rst-update-section, rst-get-adornments-around)
9008 (rst-adornment-complete-p, rst-get-next-adornment)
9009 (rst-adjust, rst-promote-region)
9010 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9011 (rst-find-pfx-in-region, rst-section-tree-rec)
9012 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9013 (rst-toc-node, rst-toc, rst-forward-section)
9014 (rst-iterate-leftmost-paragraphs)
9015 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9016 (rst-bullet-list-region)
9017 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9018 (rst-compile-find-conf, rst-compile)
9019 (rst-repeat-last-character): Fix style.
9020
9021 2012-09-17 Chong Yidong <cyd@gnu.org>
9022
9023 * comint.el (comint--complete-file-name-data): Don't add a space
9024 if the status is `sole'; that adds a gratuitous space in the
9025 completion-cycling case (Bug#12092).
9026
9027 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9028
9029 2012-09-17 Richard Stallman <rms@gnu.org>
9030
9031 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9032 only in the mime-shown mode, not in raw mode.
9033 (rmail-mime): Toggle off mime by displaying the message without
9034 mime processing. (Bug#12305)
9035
9036 * mail/rmail.el (rmail-retry-failure):
9037 Turn off mime processing first. (Bug#12037)
9038
9039 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9040
9041 2012-09-17 Chong Yidong <cyd@gnu.org>
9042
9043 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9044 (shell-dynamic-complete-functions): Convert to defcustom.
9045 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9046
9047 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9048 * comint.el (comint-prompt-read-only):
9049 * custom.el (defcustom):
9050 * hi-lock.el (hi-lock-mode):
9051 * ibuffer.el (ibuffer-formats):
9052 * ielm.el (ielm-prompt-read-only):
9053 * novice.el (disable-command):
9054 * saveplace.el (toggle-save-place):
9055 * speedbar.el (speedbar-supported-extension-expressions):
9056 * startup.el (auto-save-list-file-prefix, init-file-user)
9057 (after-init-hook, inhibit-startup-echo-area-message):
9058 * strokes.el (strokes-help):
9059 * time-stamp.el (time-stamp):
9060 * calendar/calendar.el (calendar, diary-file):
9061 * calendar/diary-lib.el (diary-mail-entries, diary)
9062 (diary-list-entries-hook):
9063 * calendar/holidays.el (holidays, calendar-holidays):
9064 * calendar/lunar.el (lunar-phases):
9065 * calendar/solar.el (sunrise-sunset):
9066 * emulation/edt.el (edt-load-keys):
9067 * emulation/viper.el (viper-mode):
9068 * eshell/em-alias.el (eshell-command-aliases-list):
9069 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9070 * international/ogonek.el (ogonek-information):
9071 * net/tramp-cmds.el (tramp-bug):
9072 * net/quickurl.el (quickurl-reread-hook-postfix):
9073 * play/decipher.el (decipher-font-lock-keywords):
9074 * progmodes/cc-styles.el (c-set-style):
9075 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9076 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9077 * progmodes/octave-mod.el (octave-mode):
9078 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9079 * progmodes/verilog-mode.el (verilog-read-defines):
9080 * textmodes/two-column.el (2C-mode): Likewise.
9081
9082 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9083
9084 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9085 that holds many addresses.
9086
9087 2012-09-16 Chong Yidong <cyd@gnu.org>
9088
9089 * align.el (align-areas): Call the indication function with
9090 positions instead of markers for arguments (Bug#12343).
9091
9092 * files.el (parse-colon-path): Use split-string (Bug#12351).
9093
9094 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9095 (display-buffer-function): Mark as obsolete.
9096
9097 * progmodes/compile.el (compilation-parse-errors): Accept list
9098 values similar to font-lock-keywords (Bug#12136).
9099 Suggested by Oleksandr Manzyuk.
9100 (compilation-error-regexp-alist): Doc fix.
9101
9102 2012-09-15 Glenn Morris <rgm@gnu.org>
9103
9104 * version.el (emacs-bzr-version-bzr): New function.
9105 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9106
9107 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9108 checkouts, check the parent dirstate matches the branch.
9109 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9110 empty string.
9111
9112 * version.el (emacs-bzr-version): Doc fix.
9113 (emacs-bzr-version-dirstate): New function.
9114 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9115 is local try and check that it matches the branch. If not, just
9116 use dirstate information. (Bug#12441)
9117
9118 2012-09-14 Juri Linkov <juri@jurta.org>
9119
9120 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9121 (Bug#12399)
9122
9123 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9124
9125 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9126
9127 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9128 Remove obsolete byte-compiler hack that tried to silence some warnings.
9129 (edebug-submit-bug-report): Remove.
9130 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9131 Remove aliases, use the un-prefixed name instead.
9132 (edebug-pop-to-buffer): Consider other frames.
9133 (edebug-original-read):: Make it more obvious that it's always defined.
9134 (edebug--make-form-data-entry, edebug--form-data-name)
9135 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9136 single-dashed name, and implement with cl-defstruct.
9137 (edebug-set-form-data-entry): Use the standard accessors.
9138 (edebug-make-top-form-data-entry): Use push.
9139 (edebug-no-match): Drop useless `funcall'.
9140 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9141 to functions.
9142 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9143 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9144 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9145 (easy-menu-define, with-custom-print): Remove redundant specs.
9146 (edebug-outside-overriding-local-map)
9147 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9148 (edebug--display): Bind unread-command-events directly to nil rather
9149 than binding it to unread-command-events and later setting it to nil.
9150 (edebug--display): Kill edebug-eval-buffer here...
9151 (edebug--recursive-edit): ...rather than here.
9152 Bind standard-output and standard-input.
9153 (edebug-eval): Check cl-macroexpand-all is fboundp.
9154 (edebug-temp-display-freq-count): Fix last change.
9155
9156 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9157 * subr.el (noreturn, 1value): Add `debug' spec.
9158 * emacs-lisp/advice.el: Require cl-lib.
9159 (ad-copy-tree): Remove, use copy-tree instead.
9160 (ad-dolist): Remove use dolist or cl-dolist instead.
9161 (ad-do-return): Remove, use cl-return instead.
9162 (defadvice): Add `debug' spec.
9163
9164 2012-09-13 Juri Linkov <juri@jurta.org>
9165
9166 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9167 (Bug#12399)
9168
9169 2012-09-13 Glenn Morris <rgm@gnu.org>
9170
9171 * calc/calc.el (math-compose-expr):
9172 * calc/calc-ext.el (math-compose-expr):
9173 * progmodes/cc-defs.el (cl-macroexpand-all):
9174 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9175 (cl-macroexpand-all): Update declarations.
9176
9177 * vc/vc.el: No need to require ediff.
9178 (ediff-load-version-control): Declare.
9179 (ediff-vc-internal): Fix declaration.
9180 (vc-version-ediff): Require ediff.
9181
9182 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9183
9184 Use a more backwards-compatible timer format (Bug#12430).
9185 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9186 being right after USECS, as that better supports old code that
9187 inadvisedly looked directly at the timer vector.
9188
9189 2012-09-13 Kenichi Handa <handa@gnu.org>
9190
9191 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9192 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9193 `coding-priority' property of these language environment.
9194
9195 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9196
9197 Fix glitches caused by addition of psec to timers (Bug#12430).
9198 * image.el (image-animate-timer):
9199 * time.el (display-time-world-timer):
9200 Use timer--function and timer--args rather than raw access to
9201 timer vector.
9202
9203 2012-09-13 Glenn Morris <rgm@gnu.org>
9204
9205 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9206 If not compiling a file, try using load-file-name.
9207
9208 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9209
9210 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9211 Fix last change.
9212 (edebug-update-eval-list): Use `push'.
9213
9214 * emacs-lisp/edebug.el: Use lexical-binding.
9215 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9216 Mark unused args with underscore.
9217 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9218 (edebug-form-data): Use defvar-local.
9219 (edebug-make-before-and-after-form, edebug-make-after-form):
9220 Use backquote.
9221 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9222 Not dynamically scoped any more.
9223 (edebug--enter-trace): Add arguments `function' and `args'.
9224 Rename from edebug-enter-trace.
9225 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9226 (edebug--update-coverage): Add `after-index' and `value' args.
9227 Rename from edebug-update-coverage.
9228 (edebug-slow-after): Call it accordingly.
9229 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9230 edebug-recursive-edit.
9231 (edebug--display): Call it accordingly. Add args `value',
9232 `offset-index', and `arg-mode'. Rename from edebug-display.
9233 (edebug-debugger, edebug): Call it accordingly.
9234 (edebug-eval-display-list): Use dolist.
9235
9236 2012-09-12 Juri Linkov <juri@jurta.org>
9237
9238 * info.el (Info-search): Don't check for isearch-mode and
9239 isearch-regexp before let-binding search-spaces-regexp to
9240 Info-search-whitespace-regexp.
9241 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9242 search-whitespace-regexp if isearch-lax-whitespace or
9243 isearch-regexp-lax-whitespace is non-nil.
9244 (Info-mode): Don't set local variable search-whitespace-regexp.
9245 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9246
9247 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9250 (debugger-env-macro): Remove support for unread-command-char.
9251
9252 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9253 the temporary map re-appearing on emulation-mode-map-alists.
9254
9255 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9256 since 22.1.
9257
9258 * ehelp.el (with-electric-help): Accept functions in
9259 electric-help-form-to-execute.
9260 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9261 And replace unread-command-char -> unread-command-events.
9262
9263 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9264
9265 Sync with Tramp 2.2.6.
9266
9267 * net/tramp.el (tramp-accept-process-output): Don't use
9268 JUST-THIS-ONE in the XEmacs case.
9269
9270 * net/trampver.el: Update release number.
9271
9272 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9273
9274 * emacs-lisp/debug.el (debugger-previous-window-height):
9275 New variable.
9276 (debug): When debugger-jumping-flag is non-nil try to restore
9277 height of debugger window. (Bug#8789)
9278
9279 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9280
9281 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9282 overriding-local-map and pre/post-command-hook here.
9283 (edebug-recursive-edit): Do it here instead (bug#12345).
9284 (edebug-outside-unread-command-char): Remove all uses of
9285 unread-command-char.
9286
9287 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9288 inhibit-debugger is bound instead.
9289
9290 2012-09-11 Bastien Guerry <bzg@gnu.org>
9291
9292 * subr.el (set-temporary-overlay-map): Add a docstring.
9293 (Bug#12346)
9294
9295 2012-09-11 Bastien Guerry <bzg@gnu.org>
9296
9297 * minibuffer.el (completion-table-subvert): Fix docstring.
9298 (Bug#12347)
9299
9300 2012-09-11 Bastien Guerry <bzg@gnu.org>
9301
9302 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9303
9304 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9305
9306 * progmodes/sql.el: Version 3.1
9307 (sql-db2-escape-newlines): New variable.
9308 (sql-escape-newlines-filter): Use it.
9309
9310 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9311
9312 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9313
9314 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9315
9316 * vc/diff-mode.el (diff-mode-menu):
9317 Bind diff-remove-trailing-whitespace.
9318
9319 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9320
9321 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9322 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9323 (emacs-lisp-byte-code-mode): New functions.
9324 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9325 (eval-defun-2): Remove bogus interactive spec.
9326 (lisp-indent-line): Remove redundant whole-exp code, now done in
9327 indent-according-to-mode.
9328 (save-match-data): Remove redundant indent data.
9329
9330 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9331 Use `declare'.
9332
9333 2012-09-09 Juri Linkov <juri@jurta.org>
9334
9335 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9336 (replace-lax-whitespace, query-replace-regexp)
9337 (query-replace-regexp-eval, replace-regexp): Doc fix.
9338 (perform-replace, replace-highlight): Let-bind
9339 isearch-lax-whitespace to replace-lax-whitespace and
9340 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9341
9342 * isearch.el (isearch-query-replace): Let-bind
9343 replace-lax-whitespace to isearch-lax-whitespace and
9344 replace-regexp-lax-whitespace to
9345 isearch-regexp-lax-whitespace. (Bug#10885)
9346
9347 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9348
9349 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9350
9351 2012-09-09 Alan Mackenzie <acm@muc.de>
9352
9353 * progmodes/cc-engine.el (c-state-cache-init):
9354 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9355 (c-record-parse-state-state):
9356 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9357
9358 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9359
9360 * register.el (register-separator): Rename from
9361 separator-register. All uses changed. Doc fix.
9362 (register): Fix version.
9363
9364 2012-09-09 Chong Yidong <cyd@gnu.org>
9365
9366 * replace.el (query-replace-map): Bind four new symbols for
9367 requesting window scrolling.
9368
9369 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9370 query-replace-map (Bug#8948).
9371
9372 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9373
9374 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9375 since they are now in query-replace-map.
9376
9377 * window.el (scroll-other-window-down): Make the arg optional.
9378
9379 2012-09-09 Chong Yidong <cyd@gnu.org>
9380
9381 * files.el (hack-local-variables-confirm): Use quit-window to kill
9382 the *Local Variables* buffer.
9383
9384 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9385
9386 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9387 not just expect to be at its beginning. Adjust callees.
9388 Succeed when do-end block has no space before the pipe character.
9389 (ruby-brace-to-do-end): When the original block is one-liner,
9390 convert to multiline. Reindent the result.
9391
9392 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9393
9394 * register.el (register): New group.
9395 (separator-register): New user option.
9396 (increment-register): Route it to `append-to-register', if
9397 register contains text. Implication is that `C-x r +' can now be
9398 used for appending to a text register (bug#12217).
9399 (append-to-register, prepend-to-register): Add separator based on
9400 `separator-register'.
9401
9402 2012-09-08 Alan Mackenzie <acm@muc.de>
9403
9404 AWK Mode: make auto-newline work when there's "==" in the pattern.
9405 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9406 correctly.
9407 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9408 Test more rigorously for "=" token.
9409
9410 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9411
9412 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9413 Only fail when reached LIMIT.
9414
9415 2012-09-08 Chong Yidong <cyd@gnu.org>
9416
9417 * dired.el (dired-mode-map): Don't bind M-=.
9418
9419 * dired-aux.el (dired-diff): Use backup file as default.
9420
9421 2012-09-08 Drew Adams <drew.adams@oracle.com>
9422
9423 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9424
9425 2012-09-08 Chong Yidong <cyd@gnu.org>
9426
9427 * subr.el (syntax-after, syntax-class): Doc fix.
9428
9429 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9430
9431 * window.el (display-buffer-in-previous-window): New buffer
9432 display action function.
9433
9434 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9435 (debugger-previous-window): New variable.
9436 (debug): Rewrite using display-buffer-in-previous-window,
9437 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9438
9439 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9440
9441 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9442
9443 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9444
9445 * progmodes/python.el (python-shell-send-string):
9446 When default-directory is remote, create temp file on remote
9447 filesystem.
9448 (python-shell-send-file): When file is remote, pass local view of
9449 file paths to remote Python interpreter. (Bug#12340)
9450
9451 2012-09-07 Chong Yidong <cyd@gnu.org>
9452
9453 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9454
9455 * files.el (after-find-file): Don't fail on a read-only buffer if
9456 require-final-newline is `visit' or `visit-save' (Bug#11156).
9457
9458 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9459
9460 * userlock.el (ask-user-about-supersession-threat):
9461 Use read-char-choice (Bug#12093).
9462
9463 2012-09-07 Chong Yidong <cyd@gnu.org>
9464
9465 * subr.el (buffer-narrowed-p): New function.
9466
9467 * ses.el (ses-widen):
9468 * simple.el (count-words--buffer-message):
9469 * net/browse-url.el (browse-url-of-buffer): Use it.
9470
9471 * simple.el (count-words-region): Don't signal an error if there
9472 is a non-nil prefix arg and the mark is not set.
9473
9474 * help.el (describe-key-briefly): Allow the message to be seen
9475 when invoked from the minibuffer (Bug#7014).
9476
9477 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9478
9479 * progmodes/ruby-mode.el (ruby-end-of-defun)
9480 (ruby-beginning-of-defun): Simplify, allow indentation before
9481 block beginning and end keywords.
9482 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9483 (ruby-end-of-defun): Expect that the point is at the beginning of
9484 the defun.
9485
9486 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9489 (bug#12367).
9490 (cl--make-usage-args): Strip _ from argument names.
9491
9492 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9493
9494 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9495 obsolete alias speedbar-key-map.
9496 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9497 (vhdl-index-menu-init): Don't use obsolete variable
9498 font-lock-maximum-size.
9499
9500 2012-09-06 Chong Yidong <cyd@gnu.org>
9501
9502 * frame.el (window-system-version): Mark as obsolete.
9503
9504 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9505 of obsolete variable speedbar-key-map.
9506
9507 2012-09-06 Juri Linkov <juri@jurta.org>
9508
9509 * replace.el (replace-lax-whitespace): New defcustom.
9510 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9511 (replace-string, replace-regexp): Mention it in docstrings.
9512 (perform-replace, replace-highlight): Let-bind
9513 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9514 to the values of replace-lax-whitespace and regexp-flag.
9515 Don't let-bind search-whitespace-regexp. (Bug#10885)
9516
9517 * isearch.el (isearch-query-replace): Let-bind
9518 replace-lax-whitespace instead of let-binding
9519 replace-search-function and replace-re-search-function.
9520 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9521 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9522 (isearch-toggle-symbol): Set isearch-regexp to nil
9523 in isearch-word mode (like in isearch-toggle-word).
9524
9525 2012-09-06 Juri Linkov <juri@jurta.org>
9526
9527 * replace.el (replace-search-function)
9528 (replace-re-search-function): Set default values to nil.
9529 (perform-replace): Let-bind isearch-related variables based on
9530 replace-related values, call `isearch-search-fun' and let-bind
9531 the result to `search-function'. Remove code that sets
9532 `search-function' and `search-string' separately for
9533 `delimited-flag'.
9534 (replace-highlight): Add new argument `delimited-flag' and
9535 rename other arguments to the names used in `perform-replace'.
9536 Let-bind `isearch-word' to the argument `delimited-flag'.
9537 (Bug#10885, bug#10887)
9538
9539 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9540
9541 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9542 ruby-beginning-of-indent, simplify, allow all keywords to have
9543 indentation before them.
9544 (ruby-beginning-of-indent): Adjust for above. Search until the
9545 found point is not inside a string or comment.
9546 (ruby-font-lock-keywords): Allow symbols to start with "@"
9547 character, give them higher priority than variables.
9548 (ruby-syntax-propertize-function)
9549 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9550 matchers. Expression expansions are not comments when inside a
9551 string, and there comment syntax status is irrelevant.
9552 (ruby-match-expression-expansion): New function. Check that
9553 expression expansion is inside a string, and it's not escaped.
9554 (ruby-font-lock-keywords): Use it.
9555
9556 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9557
9558 * help.el (temp-buffer-max-height): New default value.
9559 (temp-buffer-resize-frames): New option.
9560 (resize-temp-buffer-window): Optionally resize frame.
9561
9562 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9563 (fit-frame-to-buffer): New function.
9564
9565 2012-09-05 Glenn Morris <rgm@gnu.org>
9566
9567 * emulation/cua-rect.el (cua--init-rectangles):
9568 * textmodes/picture.el (picture-mode-map):
9569 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9570 like forward-char and backward-char. (Bug#12317)
9571
9572 2012-09-05 Leo Liu <sdl.web@gmail.com>
9573
9574 * progmodes/flymake.el (flymake-warning-re): New variable.
9575 (flymake-parse-line): Use it.
9576
9577 2012-09-05 Glenn Morris <rgm@gnu.org>
9578
9579 * calendar/holidays.el (holiday-christian-holidays):
9580 Rename an entry. (Bug#12289)
9581
9582 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9583
9584 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9585 (bug#12222).
9586
9587 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9588
9589 * loadup.el: Load macroexp. Remove hack.
9590 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9591 (macroexp--expand-all): Use it to get better warnings.
9592 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9593 (internal-macroexpand-for-load): New functions.
9594 (macroexp--pending-eager-loads): New var.
9595 (emacs-startup-hook): New hack to replace one in loadup.el.
9596 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9597 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9598 (cl-psetf): Simplify.
9599 (cl-defstruct): Add indent rule.
9600
9601 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9602
9603 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9604 over `user-mail-address' for the SMTP MAIL FROM envelope.
9605 (smtpmail-via-smtp): Ditto.
9606
9607 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9608
9609 * progmodes/ruby-mode.el: Clean up keybindings.
9610 (ruby-mode-map): Don't bind ruby-electric-brace,
9611 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9612 backward-kill-word, reindent-then-newline-and-indent.
9613 (ruby-mark-defun): Remove.
9614 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9615 (ruby-mode): Set local beginning-of-defun-function and
9616 end-of-defun-function values.
9617
9618 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9619
9620 * window.el (temp-buffer-window-setup-hook)
9621 (temp-buffer-window-show-hook): New hooks.
9622 (temp-buffer-window-setup, temp-buffer-window-show)
9623 (with-temp-buffer-window): New functions.
9624 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9625 (special-display-popup-frame): Make sure the window used shows BUFFER.
9626
9627 * help.el (temp-buffer-resize-mode): Fix doc-string.
9628 (resize-temp-buffer-window): New optional argument WINDOW.
9629
9630 * files.el (recover-file, save-buffers-kill-emacs):
9631 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9632
9633 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9634
9635 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9636 remote definition of `default-directory', ensure we can connect.
9637
9638 2012-09-02 Juri Linkov <juri@jurta.org>
9639
9640 Toggle whitespace matching mode with M-s SPC.
9641 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9642
9643 * isearch.el (search-whitespace-regexp): Doc fix.
9644 Remove cons cell customization.
9645 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9646 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9647 New variables.
9648 (isearch-forward, isearch-forward-regexp): Doc fix.
9649 (isearch-toggle-lax-whitespace): New command.
9650 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9651 (re-search-forward-lax-whitespace)
9652 (re-search-backward-lax-whitespace): New functions.
9653 (isearch-whitespace-regexp): Remove function.
9654 (isearch-query-replace): Let-bind replace-search-function and
9655 replace-re-search-function.
9656 (isearch-occur): Let-bind search-spaces-regexp according to the
9657 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9658 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9659 condition for C-q SPC.
9660 (isearch-search-fun-default): Use new functions mentioned above.
9661 (isearch-search-forward, isearch-search-backward): Remove functions.
9662 (isearch-search): Don't let-bind search-spaces-regexp.
9663 (isearch-lazy-highlight-space-regexp): Remove variable.
9664 (isearch-lazy-highlight-lax-whitespace)
9665 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9666 (isearch-lazy-highlight-new-loop): Use them.
9667 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9668
9669 2012-09-02 Chong Yidong <cyd@gnu.org>
9670
9671 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9672
9673 2012-09-02 Glenn Morris <rgm@gnu.org>
9674
9675 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9676
9677 2012-09-01 Glenn Morris <rgm@gnu.org>
9678
9679 * term.el: Tidy up menu definitions.
9680 (term-mode-map): Use easymenu for In/Out, Complete menus.
9681 (term-pager-break-map): Initialize in the defvar.
9682 (term-terminal-menu, term-signals-menu): Define with easymenu.
9683 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9684 (term-pager-menu): New, extracted from term-process-pager.
9685 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9686 (term-update-mode-line): Propertize line/char and page items.
9687 (term-process-pager): Move keymap initialization elsewhere.
9688
9689 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9690
9691 * window.el (switch-to-prev-buffer): Handle additional values of
9692 BURY-OR-KILL argument. Don't switch in minibuffer window.
9693 (switch-to-next-buffer): Don't switch in minibuffer window.
9694 (quit-restore-window): New function based on quit-window.
9695 Handle additional values of former KILL argument.
9696 (quit-window): Call quit-restore-window with appropriate
9697 interpretation of KILL argument.
9698 (display-buffer-below-selected): New buffer display action
9699 function.
9700
9701 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9702
9703 * minibuffer.el (completion-at-point-functions): Complete docstring
9704 (bug#12254).
9705
9706 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9707
9708 Better seed support for (random).
9709 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9710 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9711 * play/mpuz.el, play/tetris.el, play/zone.el:
9712 * calc/calc-comb.el (math-init-random-base):
9713 * play/blackbox.el (bb-init-board):
9714 * play/life.el (life):
9715 * server.el (server-use-tcp):
9716 * type-break.el (type-break):
9717 Remove unnecessary call to (random t).
9718 * net/sasl.el (sasl-unique-id-function):
9719 Change (random t) to (random), now that the latter is more random.
9720 * play/life.el (life-initialized): Remove no-longer-needed var.
9721
9722 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9723
9724 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9725 Consider frame's buffer predicate when choosing the buffer.
9726 (Bug#12081)
9727
9728 2012-08-30 Richard Stallman <rms@gnu.org>
9729
9730 * simple.el (special-mode-map): Delete binding for `z'.
9731
9732 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9733
9734 * progmodes/compile.el (compilation-always-kill): Doc fix.
9735
9736 2012-08-30 Chong Yidong <cyd@gnu.org>
9737
9738 * window.el (display-buffer-reuse-frames): Make the obsolescence
9739 message more informative.
9740
9741 2012-08-30 Glenn Morris <rgm@gnu.org>
9742
9743 * paren.el (show-paren-delay):
9744 Add a :set function. Doc fix. (Bug#12297)
9745
9746 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9747
9748 * progmodes/compile.el (compilation-always-kill): New var.
9749 (compilation-start): Use it.
9750
9751 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9752
9753 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9754 * files.el (read-only-mode): Move to simple.el.
9755
9756 * files.el (read-only-mode): New minor mode.
9757 (toggle-read-only): Use it and mark obsolete.
9758 (find-file--read-only):
9759 * vc/vc.el (vc-next-action, vc-checkout):
9760 * vc/vc-cvs.el (vc-cvs-checkout):
9761 * obsolete/vc-mcvs.el (vc-mcvs-update):
9762 * ffap.el (ffap--toggle-read-only): Update callers.
9763
9764 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9765
9766 * eshell/esh-ext.el (eshell-external-command): Do not examine
9767 remote shell scripts.
9768 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9769
9770 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9771 "/usr/local/sbin".
9772
9773 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9774
9775 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9776
9777 2012-08-28 Leo Liu <sdl.web@gmail.com>
9778
9779 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9780 completion-at-point. (Bug#12220)
9781
9782 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9783
9784 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9785
9786 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9787
9788 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9789 be buffer-local; add delete-trailing-whitespace (bug#12259).
9790
9791 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9792
9793 * progmodes/hideif.el (hif-compress-define-list):
9794 Fix typo. (Bug#11951)
9795
9796 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9797
9798 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9799 buffer local setting.
9800
9801 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9802 rcirc-encode-coding-system.
9803
9804 2012-08-28 Leo Liu <sdl.web@gmail.com>
9805
9806 * net/rcirc.el (rcirc-split-message): New function.
9807 (rcirc-send-message): Use it. (Bug#12051)
9808
9809 2012-08-28 Juri Linkov <juri@jurta.org>
9810
9811 * info.el (Info-fontify-node): Hide empty lines at the end of
9812 the node. (Bug#12272)
9813
9814 2012-08-27 Drew Adams <drew.adams@oracle.com>
9815
9816 * dired.el (dired-pop-to-buffer): Make window start at beginning
9817 of buffer (Bug#12281).
9818
9819 2012-08-26 Chong Yidong <cyd@gnu.org>
9820
9821 * window.el (special-display-regexps, special-display-frame-alist)
9822 (special-display-buffer-names, special-display-function)
9823 (display-buffer-reuse-frames): Mark as obsolete.
9824
9825 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9826
9827 * help.el (help-print-return-message): Don't treat
9828 display-buffer-reuse-frames specially.
9829
9830 2012-08-26 Chong Yidong <cyd@gnu.org>
9831
9832 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9833 New variable, replacing gdb-frame-parameters.
9834 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9835 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9836 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9837 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9838 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9839 the functions directly with gdb-display-buffer-other-frame-action.
9840 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9841 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9842 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9843 (gdb-display-registers-buffer): Define directly.
9844 (def-gdb-display-buffer): Macro deleted.
9845 (gdb-display-buffer): Remove second and third args, callers don't
9846 use them. Defer to the default display-buffer behavior, apart
9847 from making windows dedicated.
9848 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9849
9850 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9851
9852 * window.el (display-buffer-pop-up-frame): Handle a
9853 pop-up-frame-parameters alist entry.
9854 (display-buffer): Document it.
9855
9856 2012-08-26 Chong Yidong <cyd@gnu.org>
9857
9858 * isearch.el (search-whitespace-regexp): Make string and nil
9859 values apply to both ordinary and regexp search. Allow a cons
9860 cell value to distinguish between the two.
9861 (isearch-whitespace-regexp, isearch-search-forward)
9862 (isearch-search-backward): New functions.
9863 (isearch-occur, isearch-search-fun-default, isearch-search)
9864 (isearch-lazy-highlight-new-loop): Use them.
9865 (isearch-forward, isearch-forward-regexp): Doc fix.
9866
9867 2012-08-26 Chong Yidong <cyd@gnu.org>
9868
9869 * faces.el (help-argument-name): Always inherit from italic
9870 (Bug#12213).
9871
9872 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9873
9874 * window.el (window--even-window-heights): Even heights when
9875 WINDOW and the selected window form a vertical combination.
9876 (display-buffer-use-some-window): Provide that window used gets
9877 sized back by quit-window. (Bug#11880) and (Bug#12091)
9878
9879 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9880
9881 Fix file time stamp problem with bzr and CVS (Bug#12001).
9882 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9883 in the file's time stamp, since the version control system loses
9884 that information.
9885
9886 2012-08-22 Juri Linkov <juri@jurta.org>
9887
9888 * info.el (Info-fontify-node): Hide the suffix of the
9889 Info file name in the header line. (Bug#12187)
9890
9891 2012-08-22 Glenn Morris <rgm@gnu.org>
9892
9893 * calendar/cal-tex.el (cal-tex-weekly-common):
9894 Restore leading blank page.
9895
9896 2012-08-22 Le Wang <l26wang@gmail.com>
9897
9898 * misc.el (forward-to-word, backward-to-word): Activate or extend
9899 the region under `shift-select-mode'. (Bug#12231)
9900
9901 2012-08-22 Bastien Guerry <bzg@gnu.org>
9902
9903 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9904 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9905 gives details on why the space is never needed.
9906
9907 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9908
9909 * window.el (walk-window-tree, window-with-parameter):
9910 New optional argument MINIBUF to control whether these functions
9911 should run on the minibuffer window.
9912 (window-at-side-list): Don't operate on minibuffer window.
9913 (window-in-direction): Simplify and rewrite doc-string.
9914 (window--size-ignore): Rename to window--size-ignore-p.
9915 Update callers.
9916 (display-buffer-in-atom-window, window--major-non-side-window)
9917 (window--major-side-window, display-buffer-in-major-side-window)
9918 (delete-side-window, display-buffer-in-side-window):
9919 New functions.
9920 (window--side-check, window-deletable-p, delete-window)
9921 (delete-other-windows, split-window): Handle side windows and
9922 atomic windows appropriately.
9923 (window--display-buffer): Call display-buffer-record-window also
9924 when the window buffer did not change.
9925
9926 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9927
9928 * help-fns.el (help-fns--key-bindings):
9929 Abbreviate non-symbol remap targets. (Bug#12174)
9930
9931 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9932
9933 * dired.el (dired-mark-remembered): Don't clobber point.
9934 (Bug#11795)
9935
9936 2012-08-22 Glenn Morris <rgm@gnu.org>
9937
9938 * progmodes/bug-reference.el (bug-reference): New custom group.
9939 (bug-reference-bug-regexp): Make it a defcustom.
9940
9941 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9942
9943 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9944 (js-paren-indent-offset, js-square-indent-offset)
9945 (js-curly-indent-offset): Add :safe (Bug#12257).
9946
9947 2012-08-22 Edward O'Connor <hober0@gmail.com>
9948
9949 * json.el (json-key-format): Add error properties.
9950 (json-encode-key): New function.
9951 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9952 Use json-encode-key.
9953
9954 2012-08-22 Glenn Morris <rgm@gnu.org>
9955
9956 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9957 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9958 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9959 Update for above change.
9960
9961 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9962
9963 * cus-face.el (custom-face-attributes): Fix customize type for the
9964 :underline attribute. (Bug#11805)
9965
9966 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9967
9968 * window.el (window-point-1, set-window-point-1): Remove.
9969 (window-in-direction, record-window-buffer)
9970 (set-window-buffer-start-and-point, split-window-below)
9971 (window--state-get-1, display-buffer-record-window):
9972 Replace calls to window-point-1 and set-window-point-1 by calls to
9973 window-point and set-window-point respectively.
9974
9975 2012-08-21 Glenn Morris <rgm@gnu.org>
9976
9977 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9978 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9979 Use it.
9980
9981 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9982 (cal-tex-shortday): New function.
9983 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9984 (cal-tex-cursor-filofax-daily): Use the above.
9985
9986 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9987 New functions.
9988 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9989 (cal-tex-cursor-filofax-week): Use them.
9990
9991 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9992 New constants.
9993 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9994 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9995
9996 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9997 (cal-tex-end-document): Don't rely on buffer name.
9998
9999 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10000 Use cal-tex-vspace.
10001 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10002 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10003 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10004 Use cal-tex-arg.
10005
10006 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10007 (cal-tex-cursor-week, cal-tex-cursor-week2)
10008 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10009 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10010 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10011 (cal-tex-insert-preamble, cal-tex-b-document)
10012 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10013 Improve cal-tex-cmd usage.
10014
10015 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10016 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10017 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10018 (cal-tex-weekly-paper): New function.
10019 (cal-tex-cursor-week, cal-tex-cursor-week2)
10020 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10021 (cal-tex-cursor-day): Use it.
10022
10023 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10024 (cal-tex-cursor-filofax-week): Remove leading blank page.
10025
10026 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10027 Add autoload cookie. For now at least, don't use color, since
10028 no other cal-tex function does.
10029
10030 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10031 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10032 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10033
10034 2012-08-21 Juri Linkov <juri@jurta.org>
10035
10036 * info.el (Info-file-attributes): New variable.
10037 (info-insert-file-contents): Add file attributes to
10038 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10039 `Info-toc-nodes' when previous modtime of the Info file is less
10040 than new modtime.
10041 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10042 of info.el. (Bug#12230)
10043
10044 2012-08-20 Glenn Morris <rgm@gnu.org>
10045
10046 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10047 * calendar/holidays.el (calendar-holiday-list):
10048 Report errors with display-warning rather than beep'n'sleep.
10049
10050 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10051
10052 * net/tramp.el (tramp-accept-process-output): Accept only output
10053 from PROC. Otherwise, process filters and sentinels might be
10054 confused. (Bug#12145)
10055
10056 2012-08-20 Chong Yidong <cyd@gnu.org>
10057
10058 * descr-text.el (describe-text-properties-1): Use overlays-in to
10059 report on empty overlays (Bug#3322).
10060
10061 2012-08-20 Glenn Morris <rgm@gnu.org>
10062
10063 * mail/rmailout.el (rmail-output-read-file-name):
10064 Trap and report errors in rmail-output-file-alist elements.
10065
10066 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10067 since most non-font-lock faces are not also variables).
10068
10069 2012-08-20 Edward Reingold <reingold@iit.edu>
10070
10071 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10072 New function. (Bug12160)
10073
10074 2012-08-19 Glenn Morris <rgm@gnu.org>
10075
10076 * mail/rmailout.el (rmail-output-read-file-name):
10077 Fix previous change (when the alist is nil or does not match).
10078
10079 2012-08-19 Chong Yidong <cyd@gnu.org>
10080
10081 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10082 (Bug#12228).
10083
10084 2012-08-18 Chong Yidong <cyd@gnu.org>
10085
10086 * simple.el (yank-handled-properties): New defcustom.
10087 (yank-excluded-properties): Add font-lock-face and category.
10088 (yank): Doc fix.
10089
10090 * subr.el (remove-yank-excluded-properties):
10091 Obey yank-handled-properties. The special handling of font-lock-face
10092 and category is now done this way, instead of being hard-coded.
10093 (insert-for-yank-1): Remove font-lock-face handling.
10094 (yank-handle-font-lock-face-property)
10095 (yank-handle-category-property): New function.
10096
10097 2012-08-17 Glenn Morris <rgm@gnu.org>
10098
10099 * mail/rmailout.el (rmail-output-read-file-name):
10100 Check rmail-output-file-alist against the full message body
10101 in the correct rmail buffer. (Bug#12214)
10102
10103 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10104
10105 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10106 Eliminate superfluous prompt. (Bug#12203)
10107
10108 2012-08-17 Chong Yidong <cyd@gnu.org>
10109
10110 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10111 font spec, set the font directly (Bug#3228).
10112
10113 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10114
10115 * window.el (delete-window): Fix last fix.
10116
10117 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10118
10119 * window.el (window-valid-p): Move to window.c.
10120 (window-child, window-child-count, window-last-child)
10121 (window-normalize-window, window-combined-p)
10122 (window-combinations, window-atom-root, window-min-size)
10123 (window-sizable, window-sizable-p, window-size-fixed-p)
10124 (window-min-delta, window-max-delta, window--resizable)
10125 (window--resizable-p, window-resizable, window-total-size)
10126 (window-full-height-p, window-full-width-p, window-body-size)
10127 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10128 (minimize-window, window-deletable-p, delete-window)
10129 (delete-other-windows, set-window-buffer-start-and-point)
10130 (next-buffer, previous-buffer, split-window, balance-windows-2)
10131 (set-window-text-height, window-buffer-height)
10132 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10133 (truncated-partial-width-window-p): Minor code adjustments.
10134 In doc-strings state whether the argument window has to denote a
10135 live, valid or any window.
10136
10137 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10138
10139 * progmodes/subword.el (subword-forward-function)
10140 (subword-backward-function, subword-forward-regexp)
10141 (subword-backward-regexp): New variables.
10142 (subword-forward, subword-forward-internal, subword-backward-internal):
10143 Use new variables, eg so that different "word" definitions
10144 can be easily used. (Bug#11411)
10145
10146 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10147
10148 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10149 for composite selectors.
10150 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10151 operation just because we can't find a previous revision.
10152
10153 2012-08-15 Chong Yidong <cyd@gnu.org>
10154
10155 * frame.el (set-frame-font): Accept font objects.
10156
10157 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10160
10161 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10162
10163 * man.el (Man-overstrike-face, Man-underline-face)
10164 (Man-reverse-face): Remove variables.
10165 (Man-overstrike, Man-underline, Man-reverse): New faces.
10166 (Man-fontify-manpage): Use them instead of the variables.
10167 (Man-cleanup-manpage): Comment change.
10168 (Man-ansi-color-map): New variable.
10169 (Man-fontify-manpage): Use it.
10170 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10171
10172 Implement ANSI SGR parameters 22-27 (bug#12146).
10173 * ansi-color.el (ansi-colors): Doc fix.
10174 (ansi-color-context, ansi-color-context-region): Doc fix.
10175 (ansi-color--find-face): New function.
10176 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10177 Rename the local variable `face' to `codes' since it is now a list of
10178 ansi codes. Doc fix.
10179 (ansi-color-get-face): Remove.
10180 (ansi-color-parse-sequence): New function, derived from
10181 ansi-color-get-face.
10182 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10183 codes 22-27.
10184
10185 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10186
10187 * subr.el (read-passwd): Allow use from a minibuffer.
10188
10189 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10190
10191 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10192 inside comments and strings as identifiers.
10193
10194 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10195 expression to evaluate. This allows to evaluate expressions with
10196 embedded whitespace.
10197 (gud-tooltip-tips): Add a blank before the newline in the
10198 message-box text, for the benefit of message-box emulation on
10199 MS-Windows.
10200
10201 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10202 messages from GDB, pop them up in a tooltip to give feedback to
10203 user.
10204 (gdb-tooltip-print-1): Quote the expression to evaluate.
10205 This allows to evaluate expressions with embedded whitespace.
10206 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10207 if the TTY name is nil or empty (which happens when communicating
10208 with the inferior via pipes, e.g. on MS-Windows).
10209 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10210 don't send that to the GUD buffer.
10211
10212 2012-08-14 Glenn Morris <rgm@gnu.org>
10213
10214 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10215 Optimize away setq-default with no args, as for setq. (Bug#12195)
10216
10217 2012-08-14 Chong Yidong <cyd@gnu.org>
10218
10219 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10220
10221 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10222 (Bug#12085).
10223
10224 2012-08-14 Glenn Morris <rgm@gnu.org>
10225
10226 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10227
10228 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10229
10230 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10231 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10232 Use cached shell name.
10233
10234 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10235
10236 * progmodes/python.el (python-shell-send-string):
10237 (python-shell-send-setup-code): Do not use `format' with `message'.
10238
10239 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10240
10241 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10242 (ruby-percent-literal-beg-re): New constant.
10243 (ruby-syntax-general-delimiters-goto-beg): Rename to
10244 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10245 (ruby-syntax-propertize-general-delimiters): Rename to
10246 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10247 popular term. Adjust comments everywhere.
10248 (ruby-syntax-propertize-percent-literal): Only propertize when not
10249 inside a simple string or comment. When the literal is unclosed,
10250 leave the text after it unpropertized.
10251 (ruby-syntax-methods-before-regexp): New constant.
10252 (ruby-syntax-propertize-function): Use it to recognize regexps.
10253 Don't look at the text after regexp, just use the whitelist.
10254
10255 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10256
10257 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10258 non-nil always load the compiled file if it exists. (Bug#12197)
10259
10260 2012-08-14 Chong Yidong <cyd@gnu.org>
10261
10262 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10263 (hi-lock-set-pattern): When deciding whether to use font lock or
10264 overlays, look at font-lock-mode instead of font-lock-fontified
10265 (Bug#12168).
10266 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10267 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10268
10269 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10270
10271 * subr.el (internal--after-with-selected-window): Fix typo
10272 (Bug#12193).
10273
10274 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10275
10276 Use `completion-table-dynamic' for completion functions.
10277 * progmodes/python.el
10278 (python-shell-completion--do-completion-at-point)
10279 (python-shell-completion--get-completions):
10280 Remove functions.
10281 (python-shell-completion-complete-at-point): New function.
10282 (python-completion-complete-at-point): Use it.
10283
10284 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10285
10286 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10287 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10288
10289 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10290
10291 * subr.el (function-get): Refine `autoload' arg so it can also
10292 autoload functions for gv.el (bug#12191).
10293 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10294 autoloads macros.
10295
10296 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10297 Prefer pcase-let over destructuring-bind.
10298 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10299 Also, remove whitespace as we go, rather than after accumulating the
10300 various places.
10301
10302 * subr.el (internal--before-with-selected-window)
10303 (internal--after-with-selected-window): Fix typo seleted->selected.
10304 (with-selected-window): Adjust callers.
10305 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10306
10307 2012-08-13 Bastien Guerry <bzg@gnu.org>
10308
10309 * window.el (special-display-popup-frame): Minor docstring
10310 enhancement. (Bug#12172)
10311
10312 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10313
10314 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10315 type 1-6.
10316 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10317 extended headers.
10318
10319 * files.el (hack-local-variables-filter): Remove useless eval.
10320
10321 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10322
10323 * subr.el (with-selected-window): Fix last change.
10324
10325 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10326
10327 * subr.el (internal--before-with-seleted-window)
10328 (internal--after-with-seleted-window): New functions.
10329 (with-selected-window): Use them, to replace dependency on
10330 tty-top-frame.
10331
10332 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10333
10334 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10335 binding for `newline'.
10336 (ruby-move-to-block): When moving backward, stop at block opening,
10337 not indentation.
10338 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10339 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10340 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10341 `ruby-toggle-block'.
10342
10343 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10344
10345 * ibuffer.el (ibuffer-do-toggle-read-only):
10346 * dired.el (dired-toggle-read-only):
10347 * buff-menu.el (Buffer-menu-toggle-read-only):
10348 * bindings.el (mode-line-toggle-read-only):
10349 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10350
10351 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10352
10353 * descr-text.el (describe-char): Put the overlays over the
10354 "displayed as" character.
10355
10356 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10357
10358 * calc/calc-units.el (math-default-units-table): Give an
10359 initial value.
10360 (math-put-default-units): Add options to put composite units and
10361 unit systems in the default units table.
10362 (calc-convert-units): Send composite units to
10363 `math-put-default-units' when appropriate.
10364
10365 2012-08-11 Glenn Morris <rgm@gnu.org>
10366
10367 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10368
10369 * tutorial.el (help-with-tutorial):
10370 * emacs-lisp/copyright.el (copyright-update-directory):
10371 * emacs-lisp/autoload.el (autoload-find-generated-file)
10372 (autoload-find-file): Disable local eval: (for insurance).
10373
10374 * files.el (hack-local-variables-filter): If an eval: form is not
10375 known to be safe, and enable-local-variables is :safe, then ignore
10376 the form totally, as is done for non-eval forms. (Bug#12155)
10377 This is CVE-2012-3479.
10378
10379 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10380
10381 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10382 (rx-form): Simplify.
10383
10384 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10385
10386 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10387 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10388 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10389 (ruby-syntax-propertize-function): Adjust for changes in
10390 `ruby-syntax-propertize-heredoc'.
10391
10392 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10393
10394 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10395 binding (use `M-;' instead).
10396 (ruby-singleton-class-p): New function.
10397 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10398
10399 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10400
10401 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10402
10403 2012-08-10 Chong Yidong <cyd@gnu.org>
10404
10405 * progmodes/python.el (python-shell-get-process-name): Don't mess
10406 with same-window-buffer-names.
10407
10408 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10409 (eshell-remove-from-window-buffer-names): Make obsolete.
10410 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10411 (eshell): Just use pop-to-buffer-same-window instead.
10412
10413 2012-08-10 Chong Yidong <cyd@gnu.org>
10414
10415 * bindings.el: Bind M-= back to count-words-region.
10416
10417 * simple.el (count-words-region): Accept a prefix arg for acting
10418 on the entire buffer.
10419 (count-words--buffer-message): New helper function.
10420
10421 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10422
10423 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10424 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10425 (event-start, event-end): Use posn-at-point to return a more
10426 informative posn.
10427 (posnp): New function.
10428 * mouse.el (popup-menu-normalize-position): Use it.
10429
10430 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10431
10432 * mouse.el (popup-menu-normalize-position): New function.
10433 (popup-menu): Use `popup-menu-normalize-position' to normalize
10434 the form for POSITION argument.
10435
10436 * term/x-win.el (x-menu-bar-open):
10437 Use the value returend from (posn-at-point) as position
10438 passed to `popup-menu'.
10439
10440 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10441
10442 * calc/calccomp.el (math-compose-expr): Add extra argument
10443 indicating that parentheses should be put around products in
10444 denominators. Give multiplication precedence over division during
10445 composition.
10446
10447 2012-08-09 Chong Yidong <cyd@gnu.org>
10448
10449 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10450 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10451 (Man-untabify-command, manual-program): Convert to defcustom
10452 (Bug#10429).
10453
10454 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10455
10456 * descr-text.el (describe-char): Don't insert extra newlines
10457 (Bug#10127).
10458
10459 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10460 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10461
10462 * align.el (align-region): Delete temporary markers (Bug#10047).
10463 Plus some code cleanups.
10464
10465 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10466
10467 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10468 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10469 (python-shell-internal-last-output): Use make-local-variable
10470 instead of make-variable-buffer-local.
10471
10472 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10473
10474 * progmodes/python.el: Enhancements to forward-sexp.
10475 (python-nav-forward-sexp): Rename from
10476 python-nav-forward-sexp-function.
10477 (python-nav--forward-sexp, python-nav--backward-sexp):
10478 New functions.
10479
10480 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10481
10482 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10483 modes and simplification modes.
10484
10485 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * delsel.el (delete-selection-pre-hook): Don't propagate the
10488 file-supersession signals (bug#12161).
10489
10490 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10491
10492 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10493 (cl-map-extents): Add compatibility aliases (bug#12135).
10494
10495 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10496
10497 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10498 tests by `ignore-error'.
10499 (tramp-find-shell): Open also a new shell, when cache is already
10500 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10501
10502 2012-08-08 Juri Linkov <juri@jurta.org>
10503
10504 * bookmark.el: Add `defaults' property to the bookmark record.
10505 (bookmark-current-buffer): Doc fix.
10506 (bookmark-make-record): Add `defaults' property with default values
10507 to the bookmark record.
10508 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10509 with `bookmark-insert-current-bookmark'.
10510 (bookmark-set): Get `defaults' property from the bookmark record
10511 and use it in `read-from-minibuffer'.
10512 (bookmark-insert-current-bookmark): Remove function.
10513
10514 * info.el (Info-bookmark-make-record): Add `defaults' property
10515 with values of canonical Info node name, the current Info file
10516 name and the current Info node name. (Bug#12107)
10517
10518 2012-08-08 Juri Linkov <juri@jurta.org>
10519
10520 * files.el (basic-save-buffer): Use `buffer-name' as the default
10521 of `read-file-name' when buffer is not visiting a file (bug#12128).
10522
10523 2012-08-08 Juri Linkov <juri@jurta.org>
10524
10525 * info.el (Info-isearch-search): Doc fix.
10526 (Info-search): Change search-failed message from "initial node" to
10527 "end of node" (bug#12078).
10528 (Info-isearch-search): Change `isearch-string-state' to
10529 `isearch--state-string'.
10530
10531 2012-08-08 Glenn Morris <rgm@gnu.org>
10532
10533 * language/persian.el: Remove file.
10534 * language/misc-lang.el: Move unique part of persian.el here.
10535 * loadup.el: Remove language/persian.
10536
10537 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10538
10539 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10540
10541 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10542
10543 * progmodes/python.el: Fix defsubst warning.
10544 (python-syntax-context) Rename from python-info-ppss-context.
10545 (python-syntax-context-type): Rename from
10546 python-info-ppss-context-type.
10547 (python-syntax-comment-or-string-p): Rename from
10548 python-info-ppss-comment-or-string-p.
10549
10550 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10551
10552 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10553
10554 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10555
10556 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10557 a defcustom that is quoted with backquote.
10558
10559 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10560 Fix handling of interactive spec when the body uses return.
10561 (math-do-arg-check, math-define-function-body): Use backquote forms.
10562 * calc/calc-ext.el (math-defcache): Likewise.
10563 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10564 * allout.el (allout-new-exposure): Likewise.
10565 * calc/calcalg2.el (math-tracing-integral): Likewise.
10566 * info.el (Info-last-menu-item): Likewise.
10567 * emulation/vip.el (vip-loop): Likewise.
10568 * textmodes/artist.el (artist-funcall): Likewise.
10569 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10570 Construct menu-item directly.
10571
10572 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10573 Don't declare.
10574
10575 2012-08-07 Chong Yidong <cyd@gnu.org>
10576
10577 * simple.el (deactivate-mark): Preserve text properties when
10578 saving the primary selection (Bug#8384).
10579
10580 2012-08-07 Kevin Ryde <user42@zip.com.au>
10581
10582 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10583 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10584 and continue processing (Bug#12110).
10585
10586 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10587
10588 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10589 syntax-propertize-function (bug#10095).
10590
10591 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10592
10593 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10594 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10595 describe-function-1.
10596 (describe-function-1): Use them. Move compiler macro after sig.
10597 (help-fns--compiler-macro): Use function-get. Assume we're already in
10598 standard-output. Adjust layout to new call order.
10599
10600 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10601 re-binding a symbol that has a symbol-macro (bug#12119).
10602
10603 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10604
10605 * language/persian.el: New file. (Bug#11812)
10606 * loadup.el: Add language/persian.el.
10607
10608 2012-08-06 Chong Yidong <cyd@gnu.org>
10609
10610 * window.el (window--maybe-raise-frame): New function.
10611 (window--display-buffer): Split off from here.
10612 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10613 (display-buffer-pop-up-window, display-buffer-use-some-window):
10614 Obey an inhibit-switch-frame action alist entry.
10615 (display-buffer): Update doc.
10616
10617 * replace.el (occur-after-change-function): Avoid losing focus by
10618 using the inhibit-switch-frame display parameter (Bug#12139).
10619
10620 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10621
10622 Make internal shell process buffer names start with space.
10623 * progmodes/python.el (python-shell-make-comint): Add optional
10624 argument INTERNAL.
10625 (run-python-internal): Use it.
10626 (python-shell-internal-get-or-create-process): Check for new
10627 internal buffer names.
10628
10629 2012-08-06 Glenn Morris <rgm@gnu.org>
10630
10631 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10632 Do less getting and setting of environment variables.
10633
10634 2012-08-05 Chong Yidong <cyd@gnu.org>
10635
10636 * proced.el (proced): Add substitution string to docstring to
10637 trigger autoloading of the proced library on C-h f (Bug#1768).
10638
10639 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10640 Don't show defvars which have no second argument (Bug#8638).
10641
10642 * imenu.el (imenu-generic-expression): Move documentation here
10643 from imenu--generic-function.
10644 (imenu--generic-function): Refer to imenu-generic-expression.
10645
10646 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10647
10648 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10649 indentation declaration.
10650 (viper-loop): Add indentation declaration (Bug#7025).
10651
10652 2012-08-05 Chong Yidong <cyd@gnu.org>
10653
10654 * help-fns.el (describe-variable): Add hyperlink for
10655 directory-local variables files. Improve buffer-local and
10656 permanent-local reporting; suggested by MON KEY (Bug#6644).
10657
10658 * help-mode.el (help-dir-local-var-def): New button type.
10659
10660 * files.el (kill-buffer-hook): Provide a defvar.
10661
10662 2012-08-05 Glenn Morris <rgm@gnu.org>
10663
10664 * eshell/esh-ext.el (eshell/addpath):
10665 Also update eshell-path-env. (Bug#12013)
10666
10667 2012-08-05 Chong Yidong <cyd@gnu.org>
10668
10669 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10670
10671 * fringe.el (fringe-styles): Add docstring.
10672 (fringe--check-mode): New function.
10673 (set-fringe-mode, set-fringe-style): Use it.
10674 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10675
10676 * files.el (set-auto-mode): Fix invalid setq call.
10677
10678 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * isearch.el: Misc simplification; use defstruct.
10681 (isearch-mode-map): Dense maps now work like sparse ones.
10682 (isearch--state): New defstruct.
10683 (isearch-string-state, isearch-message-state, isearch-point-state)
10684 (isearch-success-state, isearch-forward-state)
10685 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10686 (isearch-wrapped-state, isearch-barrier-state)
10687 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10688 replaced by defstruct's accessors.
10689 (isearch--set-state): Rename from isearch-top-state and change
10690 calling convention.
10691 (isearch-push-state): Use new isearch--get-state.
10692 (isearch-toggle-word): Disable regexp when enabling word.
10693 (isearch-message-prefix): Remove unused arg _c-q-hack.
10694 (isearch-message-suffix): Remove unused arg _ellipsis.
10695
10696 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10697
10698 * simple.el (list-processes--refresh): For a server use :host or
10699 :local as the address.
10700 (list-processes): Doc fix.
10701
10702 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10703
10704 * lisp/mpc.el: Support password in host argument.
10705 (mpc--proc-connect): Parse and use new password element.
10706 Set mpc-proc variable instead of returning process.
10707 (mpc-proc): Adjust accordingly.
10708
10709 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10710
10711 * whitespace.el (whitespace-display-mappings): Use Unicode
10712 codepoints, instead of emacs-mule codepoints. See
10713 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10714 for the details.
10715
10716 * files.el (file-truename): Don't skip symlink-chasing part on
10717 windows-nt. Incorporate the resolution of 8+3 short aliases on
10718 Windows into the loop that recursively chases symlinks.
10719 Compare directory and its parent case-insensitively on MS-Windows and
10720 MS-DOS.
10721
10722 2012-08-03 Chong Yidong <cyd@gnu.org>
10723
10724 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10725
10726 * sort.el (sort-regexp-fields): Doc fix.
10727
10728 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10729
10730 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10731 labels regex position point at the expected place.
10732
10733 2012-08-03 MON KEY <monkey@sandpframing.com>
10734
10735 * net/imap.el (imap-interactive-login, imap-authenticate)
10736 (imap-mailbox-lsub, imap-mailbox-list)
10737 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10738 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10739 (imap-parse-response): Doc fix.
10740
10741 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10742
10743 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10744 if sexp scanning does not move point (Bug#5734).
10745
10746 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10747
10748 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10749 Add listings, minted, and ctable packages.
10750 (reftex-label-alist-builtin): Move listings, minted, and ctable
10751 entries before LaTeX.
10752 (reftex-label-alist): Docfix.
10753
10754 2012-08-02 Bastien Guerry <bzg@gnu.org>
10755
10756 * replace.el (occur): Fix docstring (bug#12122).
10757
10758 2012-08-02 Glenn Morris <rgm@gnu.org>
10759
10760 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10761
10762 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10763
10764 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10765 * international/mule-cmds.el: Create
10766 inactivate-current-input-method-function as an obsolete alias for
10767 deactivate-current-input-method-function. See Katsumi Yamaoka in
10768 <http://bugs.gnu.org/10150#46>.
10769
10770 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10771
10772 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10773 of nested `if's.
10774
10775 2012-08-01 Glenn Morris <rgm@gnu.org>
10776
10777 * progmodes/autoconf.el (autoconf-definition-regexp):
10778 Add AH_TEMPLATE, adjust submatch numbering.
10779 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10780 (autoconf-current-defun-function): Update for above change.
10781 (autoconf-current-defun-function): First skip to end of current word.
10782
10783 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10784
10785 * calendar/cal-html.el (cal-html-insert-agenda-days):
10786 Fix typo. (Bug#12018)
10787
10788 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10789
10790 Shell processes: enhancements to startup and CEDET compatibility.
10791 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10792 (python-shell-make-comint): accept-process-output at startup.
10793 (run-python-internal): Set inferior-python-mode-hook to nil.
10794 (python-shell-internal-get-or-create-process): call sit-for.
10795 (python-preoutput-result): Add obsolete alias.
10796 (python-shell-internal-send-string): Use it.
10797 (python-shell-send-setup-code): Remove call to
10798 accept-process-output.
10799
10800 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10801
10802 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10803 (Bug#12108)
10804
10805 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10806
10807 * calc-mode.el (calc-basic-simplification-mode): Rename from
10808 `calc-limited-simplification-mode'.
10809 (calc-alg-simplification-mode): New function.
10810 (calc-set-simplify-mode): Adjust message.
10811
10812 * calc.el (calc-set-mode-line): Adjust mode line display for
10813 basic simplification mode.
10814
10815 * calc-help.el (calc-m-prefix-help): Update help message.
10816
10817 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10818 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10819
10820 2012-07-31 Bastien Guerry <bzg@gnu.org>
10821
10822 * man.el (man): Fix comment. (bug#12101)
10823
10824 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10825
10826 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10827 Don't return a non-nil value when no suitable buffer was found.
10828
10829 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10830
10831 * progmodes/python.el (run-python-internal): Disable font lock for
10832 internal shells.
10833
10834 2012-07-30 Stefan Merten <smerten@oekonux.de>
10835
10836 * textmodes/rst.el: Silence `checkdoc-ispell'.
10837 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10838 (rst-official-version, rst-official-cvs-rev)
10839 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10840 (rst-mode-map): New key binding.
10841
10842 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10843
10844 Update .PHONY listings in makefiles.
10845 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10846 autoloads, update-subdirs, updates, bzr-update, update-authors,
10847 compile-onefile, compile-calc, backup-compiled-files,
10848 compile-after-backup, compile-one-process, mh-autoloads,
10849 bootstrap-clean, distclean, maintainer-clean.
10850
10851 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10852
10853 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10854 (calc-set-mode-line): Don't display "AlgSimp ".
10855
10856 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10857 (calc-lim-simplify-mode): New function.
10858 (calc-set-simplify-mode): Default to 'alg.
10859 (calc-default-simplify-mode): Make algebraic simplifications
10860 the default.
10861
10862 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10863 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10864
10865 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10866 indicate new simplification modes.
10867
10868 * calc/README: Mention new default simplification mode.
10869
10870 * calc/calc.el (math-normalize-error): New variable.
10871 (math-normalize): Set `math-normalize-error' to t
10872 when there's an error.
10873
10874 * calc/calc-alg.el (math-simplify): Don't simplify when
10875 `math-normalize' returns an error.
10876
10877 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10878
10879 * international/mule-cmds.el (set-locale-environment): Revert last
10880 change, since display-graphic-p returns nil when this function is
10881 called during startup. Instead...
10882
10883 * term/w32console.el (terminal-init-w32console): ...setup the
10884 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10885
10886 2012-07-29 Juri Linkov <juri@jurta.org>
10887
10888 * simple.el (goto-line): Don't display default line number in the
10889 prompt because it should be displayed by `read-number' (bug#9952).
10890 Add the current line number to the defaults of `goto-line' to
10891 allow its easier modification by users with `M-n' (bug#9201).
10892
10893 * subr.el (read-number): Support multiple default values like in
10894 other minibuffer reading functions. Replace `read' with
10895 `string-to-number' for consistency with `number-to-string'.
10896
10897 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10898
10899 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10900 * emulation/viper-init.el (viper-deactivate-input-method-action):
10901 Rename from viper-inactivate-input-method-action.
10902 (viper-deactivate-input-method):
10903 Rename from viper-inactivate-input-method.
10904 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10905 * international/mule-cmds.el (deactivate-input-method):
10906 Rename from inactivate-input-method.
10907 Also run input-method-deactivate-hook.
10908 (deactivate-current-input-method-function):
10909 Rename from inactivate-current-input-method-function.
10910 (input-method-deactivate-hook): New hook.
10911 (input-method-inactivate-hook): Mark obsolete.
10912 (inactivate-input-method): Mark obsolete.
10913
10914 * international/quail.el (quail-activate):
10915 Also run quail-deactivate-hook.
10916 (quail-deactivate): Rename from quail-inactivate.
10917 * international/robin.el (robin-activate):
10918 Also run robin-deactivate-hook.
10919 (robin-deactivate): Rename from robin-inactivate.
10920
10921 2012-07-29 Chong Yidong <cyd@gnu.org>
10922
10923 * simple.el (indicate-copied-region): New function.
10924 (kill-ring-save): Split off from here.
10925
10926 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10927 (kill-rectangle): Set deactivate-mark to t on read-only error.
10928
10929 * register.el (copy-to-register, copy-rectangle-to-register):
10930 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10931 (append-to-register, prepend-to-register): Call indicate-copied-region.
10932
10933 2012-07-29 Juri Linkov <juri@jurta.org>
10934
10935 * simple.el (async-shell-command-buffer): New defcustom.
10936 (shell-command): Use it. (Bug#4719)
10937
10938 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10939
10940 * international/mule-cmds.el (set-locale-environment): In a
10941 console session on MS-Windows, set up keyboard and terminal
10942 encoding from the OEM codepage, not the ANSI codepage.
10943 (Bug#12055)
10944
10945 2012-07-28 Chong Yidong <cyd@gnu.org>
10946
10947 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10948 gdb-get-location.
10949
10950 2012-07-28 Leo Liu <sdl.web@gmail.com>
10951
10952 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10953 the alist (bug#12029).
10954
10955 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10956
10957 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10958 (compile-always, compile-first)
10959 ($(lisp)/calendar/cal-loaddefs.el)
10960 ($(lisp)/calendar/diary-loaddefs.el)
10961 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10962 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10963 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10964 instead of on update-subdirs.
10965 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10966
10967 2012-07-28 Chong Yidong <cyd@gnu.org>
10968
10969 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10970 directory if vc-deduce-backend returns nil (Bug#7350).
10971
10972 * simple.el (delete-trailing-lines): New option.
10973 (delete-trailing-whitespace): Obey it (Bug#11879).
10974
10975 2012-07-28 David Engster <deng@randomsample.de>
10976
10977 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10978 Explanation of new 'symbol-qnames feature in doc-strings.
10979 (xml-maybe-do-ns): Return expanded names as plain symbols if
10980 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10981 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10982
10983 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10984
10985 Consistent completion in inferior python with emacs -nw.
10986 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10987 binding in inferior-python-mode-map with "\t".
10988 (python-shell-completion-complete-at-point)
10989 (python-completion-complete-at-point): Remove interactive spec.
10990
10991 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10992
10993 * calc/calccomp.el (math-compose-expr): Undo previous change.
10994
10995 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10996
10997 * progmodes/python.el (python-mode-map): Add keybinding for
10998 run-python.
10999 (python-shell-make-comint): Fix pop-to-buffer call.
11000 (run-python): Autoload. New arg SHOW.
11001 (python-shell-get-or-create-process): Do not pop python process
11002 buffer.
11003
11004 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11005
11006 * notifications.el (notifications-on-action-signal)
11007 (notifications-on-closed-signal): Use also the bus address for the map.
11008 (notifications-notify, notifications-close-notification)
11009 (notifications-get-capabilities): Add optional argument BUS.
11010
11011 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11012
11013 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11014 Add support for the lstlisting and minted environments, and for the
11015 ctable macro.
11016 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11017 labels written in keyvals syntax.
11018
11019 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11020
11021 * calc/calccomp.el (math-compose-expr): Use parentheses when
11022 there is a product in the denominator of a fraction.
11023
11024 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11025
11026 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11027 ($(lisp)/calendar/diary-loaddefs.el)
11028 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11029 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11030 Fixes failures in parallel bootstrap because subdirs.el is being
11031 rewritten while the autoload files are built at the same time,
11032 which needs to load subdirs.el.
11033
11034 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11035
11036 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11037 (mouse-drag-line): Don't exit tracking when a switch-frame or
11038 switch-window event occurs (Bug#12006).
11039
11040 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11041
11042 * mouse.el (popup-menu): Fix last change.
11043
11044 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11045
11046 Autoload from Lisp with more care. Follow aliases when looking for
11047 function properties.
11048 * subr.el (autoloadp): New function.
11049 (symbol-file): Use it.
11050 (function-get): New function.
11051 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11052 autoload-do-load.
11053 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11054 (lisp-indent-function):
11055 * emacs-lisp/gv.el (gv-get):
11056 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11057 * emacs-lisp/byte-opt.el (byte-optimize-form):
11058 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11059 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11060 Use function-get.
11061 * emacs-lisp/cl.el: Don't propagate function properties any more.
11062
11063 * speedbar.el (speedbar-add-localized-speedbar-support):
11064 * emacs-lisp/disass.el (disassemble-internal):
11065 * desktop.el (desktop-load-file):
11066 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11067 (describe-function-1):
11068 * emacs-lisp/find-func.el (find-function-noselect):
11069 * emacs-lisp/elp.el (elp-instrument-function):
11070 * emacs-lisp/advice.el (ad-has-proper-definition):
11071 * apropos.el (apropos-safe-documentation, apropos-macrop):
11072 * emacs-lisp/debug.el (debug-on-entry):
11073 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11074 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11075 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11076
11077 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11078
11079 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11080 function, not an obsolete variable (Bug#12046).
11081
11082 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11083
11084 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11085
11086 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11087
11088 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11089 window only if it is still live (Bug#12034).
11090
11091 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11092
11093 * subr.el (redirect-frame-focus): Add advertised calling
11094 convention (Bug#12030).
11095
11096 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11097
11098 Prefer typical American spelling for "acknowledgment".
11099 * vc/add-log.el (change-log-acknowledgment): Rename from
11100 change-log-acknowledgement, with an alias for the old name.
11101
11102 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11103
11104 * calc-alg.el (math-simplify-divide): Don't cross multiply
11105 in an equation when the lhs is a variable.
11106
11107 2012-07-24 Julien Danjou <julien@danjou.info>
11108
11109 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11110 Remove, unused.
11111
11112 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11113
11114 * startup.el (command-line): Don't display an empty user name in
11115 the error message about non-existent home directory, when
11116 init-file-user was set to an empty string. See
11117 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11118 for the details and context.
11119
11120 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11121
11122 * ses.el (ses-cell-formula-aset): New macro.
11123 (ses-cell-references-aset): New macro.
11124 (ses-cell-p): New function.
11125 (ses-rename-cell): Do no longer rely on complex operations like
11126 ses-cell-set-formula or ses-set-cell to change the cell and handle
11127 the undo at the same time, but rather use lower level new macros
11128 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11129 the undo directly. Refresh the mode line.
11130
11131 2012-07-21 Leo Liu <sdl.web@gmail.com>
11132
11133 * progmodes/cc-cmds.el (c-defun-name):
11134 Use match-string-no-properties instead for consistency.
11135
11136 2012-07-20 Leo Liu <sdl.web@gmail.com>
11137
11138 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11139 (Bug#7879)
11140
11141 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11142
11143 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11144
11145 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11146 * progmodes/bug-reference.el, misearch.el: Provide themselves
11147 (bug#11915).
11148
11149 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11150 of narrowed buffer (bug#11966).
11151
11152 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11153
11154 * ses.el (ses-rename-cell): Set new name also in reference list of
11155 cells of which the renamed cell depends.
11156
11157 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11158
11159 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11160 to check whether menu-bar is shown or not. If not shown,
11161 show the menu-bar as a popup menu instead of using tmm.
11162 * mouse.el (popup-menu): Accept `point' as `position' argument.
11163
11164 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11165
11166 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11167 up inside string symbol literal (bug#11923).
11168
11169 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11170
11171 * startup.el (fancy-startup-text): Read the whole tutorial, not
11172 just its first 256 bytes. Prevents gibberish in display of the
11173 tutorial title.
11174
11175 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11176
11177 Drop idle buffer compaction due to an absence of the
11178 proved efficiency.
11179 * compact.el: Remove.
11180
11181 2012-07-19 Sam Steingold <sds@gnu.org>
11182
11183 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11184 vc-bzr-pull & vc-bzr-merge-branch.
11185 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11186 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11187 for consistency with compilation-error-regexp-alist.
11188 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11189 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11190 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11191 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11192
11193 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11194
11195 * emacs-lisp/chart.el: Use lexical-binding.
11196 (chart-emacs-storage): Don't hardcode the list of entries.
11197
11198 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11199
11200 Next round of tweaks caused by Fgarbage_collect changes.
11201 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11202
11203 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11204
11205 Compact buffers when idle.
11206 * compact.el: New file.
11207
11208 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * subr.el (eventp): Presume that if it looks vaguely like an event,
11211 it's an event (bug#10190).
11212
11213 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11214
11215 Enhancements to ppss related code (thanks Stefan).
11216 * progmodes/python.el (python-indent-context)
11217 (python-indent-calculate-indentation, python-indent-dedent-line)
11218 (python-indent-electric-colon, python-nav-forward-block)
11219 (python-mode-abbrev-table)
11220 (python-info-assignment-continuation-line-p): Simplify checks
11221 for ppss context.
11222 (python-info-continuation-line-p): Cleanup.
11223 (python-info-ppss-context): Do not catch 'quote.
11224 (python-info-ppss-context-type)
11225 (python-info-ppss-comment-or-string-p): Simplify.
11226
11227 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11228
11229 * progmodes/python.el: Enhancements to eldoc support.
11230 (python-info-current-symbol): New function.
11231 (python-eldoc-at-point): Use python-info-current-symbol.
11232 (python-info-current-defun): Fix cornercase on first defun scan.
11233 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11234 and signal error when no inferior python process is available.
11235
11236 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11237
11238 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11239 assume it's always t.
11240 (vc-git-registered): Remove caching, the function is only called
11241 once.
11242 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11243
11244 2012-07-18 Chong Yidong <cyd@gnu.org>
11245
11246 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11247
11248 * simple.el (count-words): Report on narrowing (Bug#9959).
11249
11250 * bindings.el: Bind M-= to count-words.
11251
11252 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11253
11254 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11255
11256 * progmodes/sh-script.el (sh-imenu-generic-expression):
11257 Capture a function with `function' keyword and without parentheses
11258 like "function FOO" (bug#11856).
11259
11260 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11261
11262 * window.el (split-window-sensibly): Make WINDOW argument
11263 optional.
11264
11265 2012-07-18 Chong Yidong <cyd@gnu.org>
11266
11267 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11268
11269 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11270 and make C-x 8 RET exit isearch (Bug#11439).
11271
11272 * international/iso-transl.el: Move isearch-mode-map key
11273 definitions to isearch.el.
11274
11275 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11276
11277 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11278 (eieio-defclass): Use gv-define-setter when possible.
11279
11280 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11281
11282 Reflect recent changes in Fgarbage_collect.
11283 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11284 reflect new format of data returned by Fgarbage_collect.
11285
11286 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11287
11288 New utility functions + python-info-ppss-context fix (Bug#11910).
11289 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11290 (python-info-ppss-comment-or-string-p): New functions.
11291 (python-info-ppss-context): Small fix for string check.
11292
11293 2012-07-17 Juri Linkov <juri@jurta.org>
11294
11295 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11296 (dired-do-async-shell-command): Don't add `*' at the end of the
11297 command (Bug#11815).
11298 (dired-do-shell-command): Doc fix.
11299 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11300 Join the individual commands using either "&" or ";" as the
11301 separator depending on the values of these trailing characters.
11302 At the end re-add the trailing "&". (Bug#10598)
11303
11304 * simple.el (async-shell-command): Sync the interactive spec with
11305 `shell-command'. Doc fix.
11306 (shell-command): Doc fix.
11307
11308 2012-07-17 Juri Linkov <juri@jurta.org>
11309
11310 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11311
11312 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11313
11314 Final renames and doc fixes for movement commands (bug#11899).
11315 * progmodes/python.el (python-nav-beginning-of-statement):
11316 Rename from python-nav-statement-start.
11317 (python-nav-end-of-statement): Rename from
11318 python-nav-statement-end.
11319 (python-nav-beginning-of-block): Rename from
11320 python-nav-block-start.
11321 (python-nav-end-of-block): Rename from python-nav-block-end.
11322
11323 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11324
11325 * progmodes/python.el (python-shell-send-string-no-output):
11326 Allow accept-process-output to quit, keeping shell process ready for
11327 future interactions (Bug#11868).
11328
11329 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11330
11331 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11332
11333 * emacs-lisp/elint.el (elint-find-args-in-code):
11334 Use help-function-arglist, so as to handle lexical byte-code.
11335
11336 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11337 change (bug#11826).
11338
11339 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11342 Avoid spuriously marking the buffer as modified because of c-is-sws.
11343
11344 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11345 as not-a-comment (bug#11946).
11346
11347 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11348 for uninterned vars.
11349
11350 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11351 Use read-event since we don't really want to read chars but bytes.
11352
11353 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11354 $$..$$ but also $..$ using regexps (bug#11953).
11355 Use tex-verbatim for \url and \path.
11356 (tex-font-lock-keywords): Define as defconst like the others.
11357 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11358
11359 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11360
11361 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11362 alias for insert-char.
11363
11364 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11365
11366 * progmodes/python.el: Simplified imenu implementation.
11367 (python-nav-jump-to-defun): Remove command.
11368 (python-mode-map): Use `imenu' instead.
11369 (python-nav-list-defun-positions-cache)
11370 (python-imenu-include-defun-type, python-imenu-make-tree)
11371 (python-imenu-subtree-root-label, python-imenu-index-alist):
11372 Remove vars.
11373 (python-nav-list-defun-positions, python-nav-read-defun)
11374 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11375 (python-imenu-make-tree, python-imenu-create-index):
11376 Remove functions.
11377 (python-mode): Update to interact with imenu by setting
11378 `imenu-extract-index-name-function' only.
11379
11380 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11381
11382 * progmodes/python.el: Enhancements to navigation commands.
11383 (python-nav-backward-sentence)
11384 (python-nav-forward-sentence): Remove.
11385 (python-nav-backward-statement, python-nav-forward-statement)
11386 (python-nav-statement-start, python-nav-statement-end)
11387 (python-nav-backward-block, python-nav-forward-block)
11388 (python-nav-block-start, python-nav-block-end)
11389 (python-nav-forward-sexp-function)
11390 (python-info-current-line-comment-p)
11391 (python-info-current-line-empty-p): New functions.
11392 (python-indent-context): Use `python-nav-statement-start'.
11393
11394 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11395
11396 * eshell/em-ls.el (eshell/ls): Use `apply'.
11397
11398 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11399 multi-hops, instead of Tramp internals.
11400
11401 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11402
11403 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11404 when F1 and F2 are located on different hosts.
11405
11406 2012-07-14 Chong Yidong <cyd@gnu.org>
11407
11408 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11409 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11410 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11411 (xterm-mouse--read-event-sequence-1000)
11412 (xterm-mouse--read-event-sequence-1006): New functions. For old
11413 mouse protocol, handle M-mouse-X events correctly.
11414 (xterm-mouse-event): New arg specifying mouse protocol.
11415 (turn-on-xterm-mouse-tracking-on-terminal)
11416 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11417 sequence to toggle extended coordinates on newer XTerms.
11418 This appears to be harmless on terminals which do not support this.
11419
11420 2012-07-14 Leo Liu <sdl.web@gmail.com>
11421
11422 Add fringe bitmap indicators for flymake. (Bug#11253)
11423 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11424 (flymake-make-overlay): New arg BITMAP.
11425 (flymake-error-bitmap, flymake-warning-bitmap)
11426 (flymake-fringe-indicator-position): New user variables.
11427
11428 * fringe.el: New bitmap exclamation-mark.
11429
11430 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11431
11432 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11433 also (Bug#7879).
11434
11435 2012-07-14 Chong Yidong <cyd@gnu.org>
11436
11437 * electric.el (electric-pair-post-self-insert-function): Fix pair
11438 insertion in empty-region case (Bug#11520).
11439
11440 2012-07-14 Chong Yidong <cyd@gnu.org>
11441
11442 * bindings.el: Consolidate ctl-x-r-map bindings.
11443 Bind copy-rectangle-as-kill to C-x r w.
11444
11445 * rect.el, register.el: Move bindings to bindings.el.
11446
11447 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11448
11449 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11450
11451 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11452
11453 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11454
11455 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11456
11457 * bindings.el (top): Use `mapc' instead of `mapcar'.
11458
11459 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11460
11461 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11462
11463 * progmodes/sql.el (sql-comint): Suppress the check for program on
11464 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11465 (Bug#11908)
11466
11467 2012-07-13 Chong Yidong <cyd@gnu.org>
11468
11469 * bindings.el: Assign a non-nil permanent-local property to
11470 per-buffer variables which lack a default value (Bug#11930).
11471
11472 * help-fns.el (describe-variable): In the "automatically becomes
11473 local" notice, take note of permanent-local variables.
11474
11475 2012-07-13 Chong Yidong <cyd@gnu.org>
11476
11477 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11478 to allow printing the message when called from Lisp.
11479
11480 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11481 Remove toggle-read-only.
11482
11483 * bs.el (bs-toggle-readonly):
11484 * buff-menu.el (Buffer-menu-toggle-read-only):
11485 Remove with-no-warnings around toggle-read-only.
11486
11487 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11488 Remove with-no-warnings around toggle-read-only.
11489 (ffap-read-only, ffap-read-only-other-window)
11490 (ffap-read-only-other-frame): Callers changed.
11491
11492 * help-mode.el: Don't require view package.
11493 (help-mode-finish): Set buffer-read-only instead of calling
11494 toggle-read-only.
11495
11496 * bindings.el (mode-line-toggle-read-only):
11497 * dired.el (dired-toggle-read-only):
11498 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11499 with non-nil second arg.
11500
11501 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11502 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11503 directly.
11504
11505 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11506
11507 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11508 not incf.
11509
11510 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11511
11512 More CL cleanups and reduction of use of cl.el.
11513 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11514 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11515 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11516 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11517 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11518 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11519 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11520 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11521 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11522 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11523 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11524 * eshell/em-cmpl.el, eshell/em-banner.el:
11525 * calendar/parse-time.el: Use cl-lib.
11526 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11527 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11528 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11529 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11530 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11531 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11532 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11533 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11534 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11535 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11536 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11537 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11538 `lambda' rather than with `quote'.
11539 (eshell-do-opt): Adjust accordingly.
11540 (eshell-process-option): Simplify.
11541 * eshell/esh-var.el:
11542 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11543 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11544 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11545 to `pcase--dontcare'.
11546 * emacs-lisp/cl.el (labels): Mark obsolete.
11547 (cl--letf, letf): Move to cl-lib.
11548 (cl--letf*, letf*): Remove.
11549 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11550 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11551 (cl-progv): Rewrite.
11552 (cl--letf, cl-letf): Move from cl.el.
11553 (cl-letf*): New macro.
11554 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11555
11556 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11557
11558 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11559
11560 2012-07-11 Chong Yidong <cyd@gnu.org>
11561
11562 * vc/log-edit.el (log-edit-vc-backend): New variable.
11563 (log-edit): Doc fix.
11564
11565 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11566 argument of log-edit to set up all local variables.
11567 (vc-start-logentry): New optional arg specifying VC backend.
11568
11569 * vc/vc.el (vc-checkin): Use it.
11570 (vc-deduce-fileset): Handle Log Edit buffers.
11571 (vc-diff): Make first argument optional too.
11572
11573 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11574
11575 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11576
11577 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11578 command, just in case. The function is not needed anymore.
11579 (eshell-external-command): Do not call `eshell-remote-command'.
11580
11581 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11582
11583 Reduce use of (require 'cl).
11584 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11585 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11586 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11587 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11588 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11589 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11590 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11591 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11592 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11593 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11594 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11595 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11596 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11597 (byte-compile-unfold-bcf, byte-compile-check-variable):
11598 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11599 (byte-compile-nilconstp):
11600 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11601 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11602
11603 * emacs-lisp/gv.el (cond): Make it a valid place.
11604 (if): Simplify slightly.
11605
11606 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11607 (pcase--self-quoting-p): New function.
11608 (pcase--u1): Use it.
11609
11610 2012-07-10 Glenn Morris <rgm@gnu.org>
11611
11612 * emacs-lisp/authors.el (authors-fixed-entries):
11613 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11614
11615 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11616
11617 Rename configure.in to configure.ac (Bug#11603).
11618 * emacs-lisp/authors.el (authors-canonical-file-name):
11619 * progmodes/autoconf.el (autoconf-mode):
11620 Prefer configure.ac to configure.in.
11621
11622 2012-07-08 Chong Yidong <cyd@gnu.org>
11623
11624 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11625 Implement the mouse-1-click-follows-link handling properly.
11626
11627 * info.el (Info-link-keymap): Use follow-link mechanism for
11628 header-line links (Bug#374).
11629
11630 * simple.el (deactivate-mark): Do not set the primary selection
11631 if another program has acquired it (Bug#11772).
11632
11633 2012-07-07 Kevin Ryde <user42@zip.com.au>
11634
11635 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11636 (woman-decode-region): Replace escaped-escapes without destroying
11637 bold or underline (Bug#11552).
11638 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11639
11640 2012-07-07 Chong Yidong <cyd@gnu.org>
11641
11642 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11643 (interprogram-cut-function, interprogram-paste-function):
11644 Mention that we typically mean the clipboard.
11645
11646 2012-07-06 Glenn Morris <rgm@gnu.org>
11647
11648 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11649
11650 * files.el (toggle-read-only): Restrict message to interactive use.
11651
11652 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11653
11654 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11655
11656 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11657
11658 2012-07-06 Glenn Morris <rgm@gnu.org>
11659
11660 * Makefile.in (compile-one-process): Rename from "recompile".
11661
11662 * Makefile.in (bzr-update): "compile" is the same as "recompile
11663 autoloads", but parallelizable, so use that instead.
11664
11665 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11666
11667 * window.el (quit-window): Always restore window height when
11668 it's saved in quit-restore parameter (Bug#11810).
11669
11670 2012-07-06 Glenn Morris <rgm@gnu.org>
11671
11672 * simple.el (kill-whole-line): Doc tweak.
11673
11674 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11675
11676 * files.el (file-relative-name): Compare file names
11677 case-insensitively if on MS-Windows or MS-DOS, or if
11678 read-file-name-completion-ignore-case is non-nil. Don't use
11679 case-fold-search for this purpose. (Bug#11827)
11680
11681 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11682
11683 * calendar/cal-dst.el (calendar-current-time-zone):
11684 Return calendar-current-time-zone-cache if non-nil.
11685
11686 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11687 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11688
11689 * calendar/cal-dst.el (calendar-current-time-zone):
11690 Return calendar-current-time-zone-cache if non-nil.
11691
11692 2012-07-06 Glenn Morris <rgm@gnu.org>
11693
11694 * Makefile.in (cvs-update): Remove old alias.
11695
11696 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11697
11698 Sync with Tramp 2.2.6-pre.
11699
11700 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11701 compatible declaration.
11702
11703 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11704 Protect `list-load-path-shadows' call.
11705
11706 * net/tramp-compat.el (top): Require packages, which aren't
11707 autoloaded anymore for XEmacs. Protect call of
11708 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11709 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11710 it hurts at least for SXEmacs.
11711 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11712 standard-value for `temporary-file-directory'.
11713
11714 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11715 Redirect stderr to /dev/null.
11716 (tramp-sh-handle-write-region): uid and gid can be floats.
11717 Reported by Russell Sim <russell.sim@gmail.com>.
11718 (tramp-sh-handle-vc-registered): Hide errors.
11719 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11720 and `start-file-process'.
11721 (tramp-maybe-open-connection): Check also whether `non-essential'
11722 is bound.
11723
11724 2012-07-04 Chong Yidong <cyd@gnu.org>
11725
11726 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11727 (xml-parse-tag): Likewise, and avoid changing entity tables.
11728 (xml-syntax-table): Define from scratch, making sure not to give
11729 x2000 and other Unicode spaces whitespace syntax, since those are
11730 not spaces in XML.
11731 (xml-parse-fragment): Delete unused function.
11732 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11733 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11734 (xml-entity-ref, xml-pe-reference-re)
11735 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11736 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11737 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11738 (xml-entity-value-re): Use syntax references in regexps where
11739 possible; no need to define inside a let-binding.
11740 (xml-parse-dtd): Use xml-pe-reference-re.
11741 (xml-entity-or-char-ref-re): New defconst.
11742 (xml-parse-string, xml-substitute-special): Use it.
11743
11744 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11745
11746 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11747 (find-file--read-only): New function.
11748 (find-file-read-only, find-file-read-only-other-window)
11749 (find-file-read-only-other-frame): Use it.
11750 (insert-file-contents-literally): Don't `fset'.
11751 (get-free-disk-space): Use locate-dominating-file.
11752
11753 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11754 function is already compiled.
11755
11756 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11757
11758 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11759
11760 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11761 files on the same host.
11762
11763 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11764
11765 * help-fns.el (describe-function-1): Only call
11766 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11767
11768 2012-07-03 Chong Yidong <cyd@gnu.org>
11769
11770 * xml.el: Protect parser against XML bombs.
11771 (xml-entity-expansion-limit): New variable.
11772 (xml-parse-string, xml-substitute-special): Use it.
11773 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11774
11775 2012-07-03 Glenn Morris <rgm@gnu.org>
11776
11777 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11778 Allow linking to specific messages in debbugs reports (eg 123#5).
11779
11780 2012-07-02 Chong Yidong <cyd@gnu.org>
11781
11782 * xml.el: Fix entity and character reference expansion, allowing
11783 them to expand into markup as per XML spec.
11784 (xml-default-ns): New variable.
11785 (xml-entity-alist): Use XML spec definitions for lt and amp.
11786 (xml-parse-region): Make first two arguments optional.
11787 Discard text properties.
11788 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11789 All callers changed.
11790 (xml-parse-tag): Call xml-parse-tag-1. For backward
11791 compatibility, this function should not modify buffer contents.
11792 (xml-parse-tag-1): Fix opening-tag regexp.
11793 (xml-parse-string): Rewrite, handling entity and character
11794 references properly.
11795 (xml--entity-replacement-text): Signal an error if a parameter
11796 entity is undefined.
11797
11798 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11799
11800 * comint.el (comint-output-filter): Filter out repeated prompts.
11801
11802 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11803 and file-name-absolute-p.
11804 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11805 internal calls.
11806
11807 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11808
11809 Spelling fixes.
11810 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11811 Rename from byte-compile--refiy-function. All uses changed.
11812
11813 2012-07-01 Chong Yidong <cyd@gnu.org>
11814
11815 * xml.el (xml--parse-buffer): New function. Move most of
11816 xml-parse-region here.
11817 (xml-parse-region): Copy region into a temporary buffer, since
11818 parameter entity substitution requires changing buffer contents.
11819 Use xml--parse-buffer.
11820 (xml-parse-file): Use xml--parse-buffer.
11821 (xml-parse-dtd): Make parameter entity substitution work right.
11822 Use proper regexps for ELEMENT declarations (Bug#7172).
11823
11824 2012-06-30 Glenn Morris <rgm@gnu.org>
11825
11826 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11827
11828 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11829 Remove outdated and unnecessary dbus declarations.
11830
11831 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11832
11833 * emacs-lisp/timer.el (timer-until): Subtract results of
11834 float-time, instead of taking float-time of the result of
11835 time-subtract, since float-time signals an error for negative time
11836 arguments.
11837
11838 2012-06-30 Chong Yidong <cyd@gnu.org>
11839
11840 * xml.el (xml-*-re): Convert defvars into defconsts, and
11841 eval-and-compile them so eval-and-compile works on derivatives.
11842 (xml--entity-replacement-text): Use eval-and-comple.
11843
11844 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11845
11846 * vc/vc-git.el (vc-git-registered): Use cache property
11847 `git-registered'.
11848 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11849 `vc-git-working-revision' in order to benefit from the cache.
11850 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11851
11852 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11853
11854 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11855 removed (likely outside Emacs). (Bug#11757)
11856
11857 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11858
11859 * emacs-lisp/cl-lib.el: Require macroexp.
11860
11861 2012-06-30 Chong Yidong <cyd@gnu.org>
11862
11863 * xml.el: Implement XML parameter entities.
11864 (xml-parameter-entity-alist): New variable.
11865 (xml-parse-region, xml-parse-fragment): Preserve previous values
11866 of xml-entity-alist and xml-parameter-entity-alist, so that
11867 repeated calls on different documents do not change them.
11868 (xml-parse-tag): Fix doctype regexp.
11869 (xml--entity-replacement-text): New function.
11870 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11871 properly requires url retrieval which is unimplemented.
11872 (xml-escape-string): Doc fix.
11873
11874 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11875
11876 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11877
11878 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11879
11880 * fringe.el (fringe-mode): Doc fix.
11881
11882 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11883
11884 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11885 is non-nil.
11886 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11887 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11888
11889 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11890
11891 * calendar/cal-dst.el (calendar-current-time-zone):
11892 Return calendar-current-time-zone-cache if non-nil.
11893
11894 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11895
11896 * progmodes/which-func.el (which-func-format):
11897 Add mouse-face. (Bug#11698)
11898
11899 2012-06-29 Leo Liu <sdl.web@gmail.com>
11900
11901 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11902
11903 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11904
11905 * minibuffer.el (minibuffer-confirm-exit-commands):
11906 Add completion-at-point (bug#11725).
11907
11908 2012-06-29 Glenn Morris <rgm@gnu.org>
11909
11910 * progmodes/f90.el (f90-font-lock-keywords-2):
11911 Add some preprocessor elements. (Bug#10499)
11912
11913 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11914
11915 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11916 Use syntax-propertize (bug#11739).
11917
11918 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11919
11920 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11921
11922 2012-06-28 Julien Danjou <julien@danjou.info>
11923
11924 * term.el (term-handle-colors-array): Use a set of new faces to
11925 color the terminal. Also uses :inverse-video property.
11926 (term-default-fg-color): Set to nil by default, deprecate in favor
11927 of `term-face'.
11928 (term-default-bg-color): Set to nil by default, deprecate in favor
11929 of `term-face'.
11930 (term-current-face): Use `term-face' by default.
11931 (term-bold-attribute): Variable deleted.
11932
11933 2012-06-28 Glenn Morris <rgm@gnu.org>
11934
11935 * simple.el (completion-list-mode-finish):
11936 Don't use toggle-read-only. (Since completion-list-mode has
11937 a special mode-class, it wasn't doing anything extra anyway.)
11938
11939 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 Make inlining of other-mode interpreted functions work (bug#11799).
11942 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11943 (byte-compile): Use it to fix compilation of lexical-binding closures.
11944 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11945 function, if needed.
11946
11947 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11948
11949 * help-mode.el (help-make-xrefs): Don't just withstand
11950 cyclic-variable-indirection but any error in documentation-property.
11951
11952 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11953 memory use.
11954 * bindings.el (bindings--define-key): New function.
11955 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11956 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11957 * bindings.el: Use it to purecopy define-key bindings.
11958
11959 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11960
11961 * emacs-lisp/cl.el (flet): Mark obsolete.
11962 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11963 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11964 * progmodes/js.el (js-c-fill-paragraph):
11965 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11966 (ebrowse-switch-member-buffer-to-derived-class):
11967 * play/5x5.el (5x5-solver): Use cl-flet.
11968
11969 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11970 (cl--symbol-function): New macro.
11971 (cl--letf, cl--letf*): Use it.
11972
11973 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11974 Strip "toggle-" if any.
11975
11976 2012-06-27 Glenn Morris <rgm@gnu.org>
11977
11978 * info.el (Info-default-directory-list): Move here from paths.el.
11979 * paths.el: Remove file, which is now empty.
11980 * loadup.el: No longer load "paths".
11981
11982 * custom.el (custom-initialize-delay): Doc fix.
11983
11984 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11985 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11986 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11987 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11988 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11989 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11990 * eshell/eshell.el (eshell-defgroup): Remove alias.
11991
11992 2012-06-27 Chong Yidong <cyd@gnu.org>
11993
11994 * help.el (help-enable-auto-load): New variable.
11995
11996 * help-fns.el (help-fns--autoloaded-p): New function.
11997 (describe-function-1): Refer to a function as "autoloaded" if it
11998 was autoloaded at any time in the past. Perform autoloading if
11999 help-enable-auto-load is non-nil.
12000
12001 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12002
12003 * makefile.w32-in (compile, compile-always): Depend on
12004 update-subdirs, not on subdirs.el. Otherwise, several different
12005 sub-targets of 'bootstrap' running in parallel could
12006 simultaneously write to subdirs.el, producing a garbled file.
12007
12008 2012-06-26 Sam Steingold <sds@gnu.org>
12009
12010 * files.el (file-name-base): New convenience function.
12011 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12012 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12013 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12014 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12015 * textmodes/ispell.el, textmodes/reftex-ref.el:
12016 * textmodes/tex-mode.el: Use it.
12017 Did not touch cedet and org because they are maintained elsewhere.
12018
12019 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12020
12021 * calendar/calendar.el (calendar-exit): Don't try to delete or
12022 iconify last frame. See:
12023 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12024
12025 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12026
12027 * server.el (server-process-filter): Remember dir in the
12028 process's `server-client-directory' properties.
12029
12030 2012-06-24 Chong Yidong <cyd@gnu.org>
12031
12032 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12033 non-tag text.
12034
12035 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12036
12037 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12038
12039 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12040
12041 * help-fns.el (describe-variable): Don't croak when doc is not found.
12042 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12043 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12044 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12045 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12046 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12047 ((lambda ..) ..).
12048 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12049
12050 2012-06-23 Chong Yidong <cyd@gnu.org>
12051
12052 * info.el (Info-mouse-follow-link): Accept symbol values of
12053 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12054 (Info-fontify-node): Use Info-link-keymap for all navigation
12055 buttons, with link-args property to perform the desired action.
12056 (Info-link-keymap): Doc fix.
12057 (Info-next-link-keymap, Info-prev-link-keymap)
12058 (Info-up-link-keymap): Delete now-unused keymaps.
12059
12060 2012-06-23 Chong Yidong <cyd@gnu.org>
12061
12062 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12063
12064 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12065 system abbrevs.
12066
12067 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12068
12069 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12070
12071 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12072 (bug#11719).
12073
12074 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12075 the requote function doesn't work properly (bug#11714).
12076
12077 2012-06-23 Glenn Morris <rgm@gnu.org>
12078
12079 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12080
12081 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12082
12083 Further GV/CL cleanups.
12084 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12085 gv-expander.
12086 (gv--defun-declaration): New function.
12087 (defun-declarations-alist): Use it.
12088 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12089 (gv-place): Autoload.
12090 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12091 original definition of dotimes and dolist.
12092 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12093 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12094 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12095 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12096 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12097 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12098 to the function's definition.
12099 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12100 * window.el:
12101 * files.el:
12102 * faces.el:
12103 * env.el: Don't use CL.
12104
12105 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12106
12107 Support higher-resolution time stamps (Bug#9000).
12108
12109 * calendar/time-date.el (with-decoded-time-value): New arg
12110 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12111 (encode-time-value): New optional arg PICO. New type 3.
12112 (time-to-seconds) [!float-time]: Support the new picoseconds
12113 component if it's used.
12114 (seconds-to-time, time-subtract, time-add):
12115 Support ps-resolution time stamps as well.
12116
12117 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12118 (timerp): Timer vectors now have length 9, not 8.
12119 (timer--time): Support new-style (4-part) time stamps.
12120 (timer-next-integral-multiple-of-time): Time stamps now have
12121 picosecond resolution, so take a bit more care about rounding.
12122 (timer-relative-time, timer-inc-time): New optional arg psecs.
12123 (timer-set-time-with-usecs): Set psecs to 0.
12124 (timer--activate): Check psecs component, too.
12125
12126 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12127
12128 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12129
12130 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12131 Move the non-essential binding to the post/pre-command-hook where it is
12132 more obviously correct.
12133
12134 * subr.el (read-passwd): Don't use a history at all.
12135 * savehist.el (savehist-save): Remove password saved accidentally
12136 because of the above bug.
12137
12138 2012-06-22 Bastien Guerry <bzg@gnu.org>
12139
12140 * files.el (toggle-read-only): Display a message telling whether
12141 the buffer is read-only or not (bug#11726).
12142
12143 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12144
12145 * emacs-lisp/gv.el: New file.
12146 * subr.el (push, pop): Extend to generalized variables.
12147 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12148 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12149 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12150 gv-define-simple-setter, and gv-define-expander.
12151 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12152 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12153 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12154 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12155 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12156 gv-letplace.
12157 (cl-defstruct): Don't define setf-method any more.
12158 * emacs-lisp/cl.el (flet): Don't autoload.
12159 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12160 (define-setf-expander, defsetf, define-modify-macro)
12161 (cl-struct-setf-expander): Move from cl-lib.el.
12162 * emacs-lisp/syntax.el:
12163 * emacs-lisp/ewoc.el:
12164 * emacs-lisp/smie.el:
12165 * emacs-lisp/cconv.el:
12166 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12167 (timer--time): Use gv-define-simple-setter.
12168 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12169 to avoid coding-system problems in subr.el. Adjust all users.
12170 (macroexp--maxsize, macroexp-small-p): New functions.
12171 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12172 * scroll-bar.el (scroll-bar-mode):
12173 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12174 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12175 * winner.el (winner-configuration, winner-make-point-alist)
12176 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12177 * files.el (locate-file-completion-table): Avoid list*.
12178
12179 2012-06-22 Chong Yidong <cyd@gnu.org>
12180
12181 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12182 (dired-create-files): Doc fix (Bug#11329).
12183 (dired-do-copy): Doc fix (Bug#11334).
12184 (dired-mark-read-string): Doc fix (Bug#11553).
12185
12186 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12187 Doc fix (Bug#11326).
12188 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12189 (dired-dwim-target): Doc fix.
12190
12191 * wdired.el (wdired-mode): Doc fix.
12192
12193 2012-06-22 Glenn Morris <rgm@gnu.org>
12194
12195 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12196 (pcmpl-rpm-cache-stamp-file): New constant.
12197 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12198 (pcmpl-rpm-packages): Optionally cache list of packages.
12199
12200 * pcmpl-rpm.el (pcmpl-rpm): New group.
12201 (pcmpl-rpm-query-options): New option.
12202 (pcmpl-rpm-packages): No need to inline it.
12203 Use pcmpl-rpm-query-options.
12204
12205 * calendar/calendar.el (calendar-in-read-only-buffer):
12206 Avoid some needless mode changes.
12207
12208 2012-06-21 Chong Yidong <cyd@gnu.org>
12209
12210 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12211 (desktop-path): Remove . from the default value (Bug#10977).
12212 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12213
12214 2012-06-20 Chong Yidong <cyd@gnu.org>
12215
12216 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12217
12218 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12219
12220 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12221 (bug#11201).
12222
12223 2012-06-20 Chong Yidong <cyd@gnu.org>
12224
12225 * term.el (term-window-width): Handle the case of a missing right
12226 fringe (Bug#8837).
12227 (term-check-size): Use window-text-height (Bug#5445).
12228 (term-mode): Use define-derived-mode. Minor cleanups.
12229 Set font-lock-defaults (Bug#7692).
12230 (term-move-columns, term-insert-char, term-emulate-terminal)
12231 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12232
12233 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12234
12235 * net/ange-ftp.el (ange-ftp-get-passwd):
12236 Bind `enable-recursive-minibuffers'.
12237 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12238
12239 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12240
12241 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12242
12243 2012-06-19 Glenn Morris <rgm@gnu.org>
12244
12245 * progmodes/python.el (python-mode): Derive from prog-mode.
12246
12247 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12248
12249 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12250 (edt-user-menu-bar-update-buffers): New functions.
12251 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12252
12253 2012-06-19 Chong Yidong <cyd@gnu.org>
12254
12255 * subr.el (with-selected-window): Preserve the selected window's
12256 terminal's top-frame (Bug#4702).
12257
12258 * window.el (save-selected-window): Likewise.
12259
12260 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * progmodes/python.el (python-rx-constituents): Move backquote.
12263 (python-skeleton-define, python-define-auxiliary-skeleton):
12264 Use `declare'.
12265
12266 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12267
12268 * minibuffer.el (read-file-name-default): Revert the patch from
12269 2012-06-17.
12270
12271 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12272
12273 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12274 (pcase--u1, pcase--q1): Don't use apply-partially.
12275
12276 2012-06-18 Glenn Morris <rgm@gnu.org>
12277
12278 * progmodes/python.el (python-proc, python-buffer)
12279 (python-send-receive, python-send-string): Fix obsolete versions.
12280
12281 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12282
12283 * window.el (special-display-p): Completely remove stringp
12284 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12285
12286 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12287
12288 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12289
12290 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12291
12292 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12293 * net/tramp-sh.el (tramp-maybe-open-connection):
12294 Throw if `non-essential' is non-nil.
12295
12296 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12297
12298 * window.el (special-display-p): Signal an error if BUFFER-NAME
12299 is not a string (Bug#11713).
12300
12301 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12302
12303 * progmodes/python.el (python-info-beginning-of-backslash):
12304 Rename from python-info-beginning-of-backlash, as a spelling fix.
12305
12306 2012-06-17 Chong Yidong <cyd@gnu.org>
12307
12308 * term.el (term-emulate-terminal): If term-check-size is called,
12309 move point to the process mark without resetting point (Bug#4635).
12310
12311 2012-06-17 Glenn Morris <rgm@gnu.org>
12312
12313 * international/mule-cmds.el (mule-menu-keymap)
12314 (set-language-environment, set-locale-environment): Doc tweaks.
12315
12316 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12317
12318 * cus-face.el (custom-face-attributes): Add wave-style underline
12319 attribute.
12320 * faces.el (set-face-attribute): Update docstring to describe
12321 wave-style underline attribute.
12322
12323 2012-06-16 Chong Yidong <cyd@gnu.org>
12324
12325 * term/xterm.el (terminal-init-xterm): Discard input before
12326 querying background mode (Bug#10959).
12327
12328 2012-06-16 Stefan Merten <smerten@oekonux.de>
12329
12330 * textmodes/rst.el: Added and corrected some comments.
12331 (rst-re-alist-def): Improve symbol syntax.
12332 (rst-mode-syntax-table): Correct syntax entries.
12333 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12334 (rst-official-version, rst-official-cvs-rev): Update version
12335 information.
12336
12337 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12338
12339 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12340 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12341
12342 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12343
12344 * progmodes/python.el: New python.el merge.
12345 (python-guess-indent): Obsolete var.
12346 (python-indent-guess-indent-offset): New defcustom.
12347 (python-indent): Obsolete var.
12348 (python-indent-offset): New defcustom.
12349 (python-python-command, python-jython-command): Delete var.
12350 (python-shell-interpreter): New defcustom.
12351 (python-pdbtrack-do-tracking-p): Delete var.
12352 (python-pdbtrack-activate): New defcustom.
12353 (python-use-skeletons): Obsolete var.
12354 (python-skeleton-autoinsert): New defcustom.
12355 (inferior-python-filter-regexp, python-continuation-offset)
12356 (python-honour-comment-indentation, python-indent-string-contents)
12357 (python-jython-packages, python-mode-hook)
12358 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12359 (python-shell-prompt-alist)
12360 (python-source-modes): Delete defcustoms.
12361 (python-check-buffer-name, python-eldoc-setup-code)
12362 (python-eldoc-string-code, python-ffap-setup-code)
12363 (python-ffap-string-code, python-fill-comment-function)
12364 (python-fill-decorator-function, python-fill-paren-function)
12365 (python-fill-string-function, python-imenu-include-defun-type)
12366 (python-imenu-make-tree, python-imenu-subtree-root-label)
12367 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12368 (python-shell-compilation-regexp-alist)
12369 (python-shell-completion-module-string-code)
12370 (python-shell-completion-pdb-string-code)
12371 (python-shell-completion-setup-code)
12372 (python-shell-completion-string-code)
12373 (python-shell-enable-font-lock, python-shell-exec-path)
12374 (python-shell-extra-pythonpaths)
12375 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12376 (python-shell-process-environment)
12377 (python-shell-prompt-block-regexp)
12378 (python-shell-prompt-output-regexp)
12379 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12380 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12381 (python-shell-virtualenv-path): New defcustoms.
12382 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12383 (inferior-python-mode-syntax-table, python--prompt-regexp)
12384 (python-buffer, python-command python-python-command)
12385 (python-default-template, python-imports, python-indent-index)
12386 (python-indent-list, python-indent-list-length)
12387 (python-mode-running, python-pdbtrack-is-tracking-p)
12388 (python-preoutput-continuation, python-preoutput-leftover)
12389 (python-preoutput-result, python-preoutput-skip-next-prompt)
12390 (python-prev-dir/file, python-recursing)
12391 (python-saved-check-command, python-version-checked)
12392 (python-which-func-length-limit)
12393 (view-return-to-alist): Delete vars.
12394 (python-check-custom-command, python-dotty-syntax-table)
12395 (python-imenu-index-alist, python-indent-current-level)
12396 (python-indent-dedenters, python-indent-levels)
12397 (python-nav-beginning-of-defun-regexp)
12398 (python-nav-list-defun-positions-cache)
12399 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12400 (python-shell-internal-buffer)
12401 (python-skeleton-available): New vars.
12402 (def-python-skeleton): Delete macro.
12403 (python-skeleton-define): New macro.
12404 (python-define-auxiliary-skeleton, python-rx): New macros.
12405 (python-insert-class): Delete command.
12406 (python-skeleton-class): New command.
12407 (python-insert-def): Delete command.
12408 (python-skeleton-def): New command.
12409 (python-insert-for): Delete command.
12410 (python-skeleton-for): New command.
12411 (python-insert-if): Delete command.
12412 (python-skeleton-if): New command.
12413 (python-insert-try/except, python-insert-try/finally): Delete commands.
12414 (python-skeleton-try): New command.
12415 (python-insert-while): Delete command.
12416 (python-skeleton-while): New command.
12417 (python-backspace): Delete command.
12418 (python-indent-dedent-line-backspace): New command.
12419 (python-electric-colon): Delete command.
12420 (python-indent-electric-colon): New command.
12421 (python-guess-indent): Delete command.
12422 (python-indent-guess-indent-offset): New command.
12423 (python-shift-left): Delete command.
12424 (python-indent-shift-left): New command.
12425 (python-shift-right): Delete command.
12426 (python-indent-shift-right): New command.
12427 (python-find-function): Delete command.
12428 (python-nav-jump-to-defun): New command.
12429 (python-next-statement): Delete command.
12430 (python-nav-forward-sentence): New command.
12431 (python-previous-statement): Delete command.
12432 (python-nav-backward-sentence): New command.
12433 (python-fill-paragraph): Delete command.
12434 (python-fill-paragraph-function): New command.
12435 (python-send-buffer): Delete command.
12436 (python-shell-send-buffer): New command.
12437 (python-send-defun): Delete command.
12438 (python-shell-send-defun): New command.
12439 (python-send-region, python-send-region-and-go): Delete commands.
12440 (python-shell-send-region)
12441 (python-shell-switch-to-shell): New commands.
12442 (python-send-string): Delete command.
12443 (python-shell-send-string): New command.
12444 (python-switch-to-python): Delete command.
12445 (python-shell-switch-to-shell): New command.
12446 (python-describe-symbol): Delete command.
12447 (python-eldoc-at-point): New command.
12448 (python--set-prompt-regexp, python-args-to-list)
12449 (python-after-info-look, python-check-version)
12450 (python-check-comint-prompt, python-find-imports)
12451 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12452 (python-unload-function, python-expand-template)
12453 (python-maybe-jython, python-preoutput-filter)
12454 (python-pdbtrack-get-source-buffer)
12455 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12456 (python-pdbtrack-toggle-stack-tracking)
12457 (python-pdbtrack-track-stack-file, python-initial-text)
12458 (python-first-word, python-comment-line-p, python-send-command)
12459 (python-setup-brm, python-sentinel, python-set-proc)
12460 (python-skip-out, python-input-filter, python-outdent-p)
12461 (python-outline-level, python-backslash-continuation-line-p)
12462 (python-end-of-block, python-end-of-statement, python-mark-block)
12463 (python-beginning-of-block, python-beginning-of-statement)
12464 (python-blank-line-p, python-beginning-of-string)
12465 (python-open-block-statement-p): Delete functions.
12466 (python-indent-line, python-indent-line-1): Delete functions.
12467 (python-indent-line): New function.
12468 (python-indentation-levels): Delete function.
12469 (python-indent-calculate-levels): New function.
12470 (python-proc): Delete function.
12471 (python-shell-get-process): New function.
12472 (python-send-receive): Delete function.
12473 (python-shell-send-string-no-output): New function.
12474 (python-module-path): Delete function.
12475 (python-ffap-module-path): New function.
12476 (python-completion-at-point)
12477 (python-symbol-completions): Delete functions.
12478 (python-completion-complete-at-point): New function.
12479 (python-load-file): Delete function.
12480 (python-shell-send-file): New function.
12481 (python-calculate-indentation): Delete function.
12482 (python-indent-calculate-indentation): New function.
12483 (python-skip-comments/blanks): Delete function.
12484 (python-util-forward-comment): New function.
12485 (python-continuation-line-p): Delete function.
12486 (python-info-continuation-line-p): New function.
12487 (python-which-func, python-current-defun): Delete function.
12488 (python-info-current-defun): New function.
12489 (python-beginning-of-defun): Delete function.
12490 (python-nav-beginning-of-defun): New function.
12491 (python-close-block-statement-p)
12492 (python-block-end-p): Delete function.
12493 (python-info-closing-block): New function.
12494 (python-comint-output-filter-function)
12495 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12496 (python-fill-comment, python-fill-decorator, python-fill-paren)
12497 (python-fill-string, python-imenu-make-element-tree)
12498 (python-imenu-make-tree, python-imenu-tree-assoc)
12499 (python-indent-context, python-indent-dedent-line)
12500 (python-indent-line-function)
12501 (python-indent-post-self-insert-function)
12502 (python-indent-toggle-levels)
12503 (python-info-assignment-continuation-line-p)
12504 (python-info-beginning-of-backlash)
12505 (python-info-block-continuation-line-p)
12506 (python-info-closing-block-message)
12507 (python-info-line-ends-backslash-p)
12508 (python-info-looking-at-beginning-of-defun)
12509 (python-info-ppss-context, python-info-ppss-context-type)
12510 (python-nav-list-defun-positions, python-nav-read-defun)
12511 (python-nav-sentence-end, python-nav-sentence-start)
12512 (python-pdbtrack-comint-output-filter-function)
12513 (python-pdbtrack-set-tracked-buffer)
12514 (python-shell-calculate-exec-path)
12515 (python-shell-calculate-process-environment)
12516 (python-shell-completion--do-completion-at-point)
12517 (python-shell-completion--get-completions)
12518 (python-shell-completion-complete-at-point)
12519 (python-shell-completion-complete-or-indent)
12520 (python-shell-get-or-create-process)
12521 (python-shell-get-process-name)
12522 (python-shell-internal-get-or-create-process)
12523 (python-shell-internal-get-process-name)
12524 (python-shell-internal-send-string, python-shell-make-comint)
12525 (python-shell-parse-command, python-shell-send-setup-code)
12526 (python-skeleton-add-menu-items)
12527 (python-util-clone-local-variables, python-util-position)
12528 (run-python-internal, python-indentation-levels)
12529 (python-nav-beginning-of-defun)
12530 (python-completion-complete-at-point): New functions.
12531 (run-python): Change arguments. New API requirements.
12532
12533 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12534
12535 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12536 (bug#11649).
12537
12538 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12539 (macroexp--expand-all): Use it.
12540
12541 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12542 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12543 Use `cl-function' instead.
12544
12545 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12546
12547 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12548 Suggested by Stefan Monnier while discussing bug#11657.
12549
12550 2012-06-14 Sam Steingold <sds@gnu.org>
12551
12552 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12553
12554 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12555
12556 * play/doctor.el (doctor-doc): Remove parameter and use
12557 doctor-sent instead of sent.
12558 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12559
12560 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12561
12562 * files.el: Require cl-lib.
12563 (file-name-non-special): Replace case -> cl-case.
12564
12565 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12566
12567 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12568 mapping from #' to function*.
12569
12570 2012-06-13 Chong Yidong <cyd@gnu.org>
12571
12572 * mouse.el (mouse-drag-track): Do not set the mark if the user
12573 releases the mouse without selecting anything (Bug#11588).
12574
12575 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12576
12577 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12578 as well (bug#11646).
12579
12580 * loadup.el: Count byte-code functions as well.
12581
12582 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12583 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12584
12585 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12586 (bug#11649). Add cl-defun and cl-defmacro.
12587
12588 2012-06-13 Drew Adams <drew.adams@oracle.com>
12589
12590 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12591 Fix last change.
12592
12593 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12594
12595 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12596 Otherwise, it blocks in batch mode.
12597
12598 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12599
12600 * help-mode.el (bookmark-make-record-default): Declare.
12601
12602 2012-06-13 Chong Yidong <cyd@gnu.org>
12603
12604 * emacs-lisp/package.el (list-packages): Compute a list of
12605 packages that are newly-available since the last list-packages
12606 invocation.
12607 (package-menu--new-package-list): New var.
12608 (package-menu--generate, package-menu--print-info)
12609 (package-menu--status-predicate, package-menu-mark-install):
12610 Handle new status label "new".
12611
12612 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12613
12614 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12615 conversion to backquotes.
12616
12617 2012-06-12 Chong Yidong <cyd@gnu.org>
12618
12619 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12620 Rename from gud-inhibit-global-bindings.
12621
12622 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12623
12624 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12625 hook from nxml-glyph-set-hook.
12626
12627 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12628 declaration.
12629
12630 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12631
12632 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12633 Convert to defcustom.
12634
12635 2012-06-12 Drew Adams <drew.adams@oracle.com>
12636
12637 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12638 New functions.
12639 (help-mode): Use them.
12640
12641 2012-06-11 Glenn Morris <rgm@gnu.org>
12642
12643 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12644 Use preprocessor face for directives.
12645 (fortran-directive-re): Doc fix.
12646
12647 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12648
12649 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12650 conversion to backquotes (bug#11652).
12651
12652 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12653 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12654 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12655 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12656 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12657 (cl-ninth, cl-tenth): Mark them as inlinable.
12658 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12659 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12660 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12661 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12662 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12663 (cl-list*, cl-adjoin): Don't put an autoload manually.
12664 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12665 (cl--compiler-macro-list*): Add autoload cookie.
12666 (cl--compiler-macro-cXXr): New function.
12667
12668 * help-fns.el (help-fns--compiler-macro): New function extracted from
12669 describe-function-1; follow aliases and use `compiler-macro' property.
12670 (describe-function-1): Use it.
12671
12672 2012-06-11 Chong Yidong <cyd@gnu.org>
12673
12674 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12675 is uninstalled, if imagemagick is installed.
12676
12677 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12678
12679 * emacs-lisp/cl-lib.el: Use lexical-binding.
12680 (cl-map-extents, cl-maclisp-member): Remove.
12681 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12682 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12683 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12684 * emacs-lisp/cl-extra.el: Use lexical-binding.
12685 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12686 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12687 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12688 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12689 * emacs-lisp/cl-seq.el: Use lexical-binding.
12690 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12691 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12692 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12693 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12694 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12695 CL's internals.
12696
12697 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12698
12699 Sync with Tramp 2.2.6-pre.
12700
12701 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12702 `print-length' and `print-level' to nil, in order to avoid
12703 truncation. Reported by Christopher Schmidt
12704 <christopher@ristopher.com>.
12705
12706 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12707
12708 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12709 New defmacro.
12710 (tramp-compat-copy-directory): Add optional argument
12711 COPY-CONTENTS. It is not handled yet.
12712
12713 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12714 (tramp-ftp-file-name-p): Simplify.
12715
12716 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12717 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12718 connection vector.
12719
12720 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12721 (tramp-methods): Do not use `tramp-password-end-of-line'.
12722 (tramp-completion-function-alist-putty): Handle UNIX case.
12723 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12724 (tramp-do-file-attributes-with-stat)
12725 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12726 gid as real numbers. They could run out of integer range on cygwin.
12727 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12728 (tramp-sh-handle-expand-file-name): Handle hops.
12729 (tramp-open-connection-setup-interactive-shell):
12730 Use `tramp-cleanup'. Move check for busyboxes ...
12731 (tramp-find-shell): ... here. Simplify implementation.
12732 Set "remote-shell" property also for alternative shells.
12733 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12734 If failing, a regular file would be written otherwise.
12735 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12736 (tramp-find-inline-encoding): Cache the coding commands in the
12737 process cache. Apply test command on the remote side, if defined.
12738 (tramp-find-inline-compress): Cache the compress commands in the
12739 process cache.
12740 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12741 when requested. Handle hops.
12742 (tramp-current-connection): New defvar.
12743 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12744 Throw `suppress', if there was a failed connection shortly before.
12745 Handle user interrupt. (Bug#10187)
12746 (tramp-get-inline-compress, tramp-get-inline-coding):
12747 Read connection properties from the process cache.
12748
12749 * net/tramp-smb.el (tramp-smb-server-version)
12750 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12751 New defconsts.
12752 (tramp-smb-prompt): Extend for powershell prompt.
12753 (tramp-smb-file-name-handler-alist): Add handlers for
12754 `process-file', `shell-command' and `start-file-process'.
12755 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12756 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12757 (tramp-smb-file-name-p): Simplify.
12758 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12759 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12760 (tramp-smb-shell-quote-argument): New defuns.
12761 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12762 Implement using "tar". By this, time-stamps are preserved.
12763 (tramp-smb-handle-copy-file): Handle also the case of directories.
12764 (tramp-smb-do-file-attributes-with-stat)
12765 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12766 Use `tramp-get-connection-buffer').
12767 (tramp-smb-handle-rename-file): Use "rename", when source and
12768 target are on the same share.
12769 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12770 Use `tramp-smb-server-version'.
12771 (tramp-smb-wait-for-output): Remove prompt.
12772
12773 * net/tramp.el (top): Require 'cl.
12774 (tramp-methods, tramp-rsh-end-of-line):
12775 Remove `tramp-password-end-of-line' from docstring.
12776 (tramp-save-ad-hoc-proxies): New defcustom.
12777 (tramp-completion-function-alist): Adapt docstring.
12778 (tramp-default-password-end-of-line): Remove defcustom.
12779 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12780 (tramp-user-regexp, tramp-file-name-regexp-unified)
12781 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12782 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12783 (tramp-remote-file-name-spec-regexp): New defconst.
12784 (tramp-file-name-structure): Extend structure for hops.
12785 (tramp-get-method-parameter): Move up.
12786 (tramp-file-name-p, tramp-dissect-file-name)
12787 (with-parsed-tramp-file-name): Handle hops.
12788 (tramp-file-name-hop): New defun.
12789 (tramp-make-tramp-file-name): New optional arg HOP.
12790 (tramp-message-show-progress-reporter-message): New defvar.
12791 (tramp-with-progress-reporter): Use it. We cannot use
12792 `tramp-message-show-message' here, because this suppresses also
12793 error buffers.
12794 (tramp-error-with-buffer): Suppress buffer view, if
12795 `tramp-message-show-message' is nil.
12796 Use `tramp-get-connection-buffer'.
12797 (tramp-cleanup): New defun.
12798 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12799 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12800 an error unchanged.
12801 (tramp-completion-handle-file-name-all-completions): Handle hops.
12802 Fix an error when called from ido.
12803 (tramp-completion-dissect-file-name): Use better local variable
12804 name. Add hop to the vector.
12805 (tramp-handle-insert-file-contents): Use progress-reporter for the
12806 whole scenario.
12807 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12808 to `t'.
12809 (tramp-check-for-regexp): Simplify search.
12810 (tramp-enter-password): Remove it. Move implementation ...
12811 (tramp-action-password): ... here.
12812 (tramp-mode-string-to-int, tramp-local-host-p)
12813 (tramp-make-tramp-temp-file, tramp-read-passwd)
12814 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12815 Set tramp-autoload cookie.
12816
12817 * net/trampver.el: Update release number.
12818
12819 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12820 Michael Albinus <michael.albinus@gmx.de>
12821
12822 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12823 (tramp-parse-group, tramp-parse-file)
12824 (tramp-parse-shostkeys-sknownhosts): New defuns.
12825 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12826 (tramp-parse-shosts-group, tramp-parse-sconfig)
12827 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12828 (tramp-parse-sknownhosts, tramp-parse-hosts)
12829 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12830 Use them.
12831 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12832 (tramp-parse-putty-group): Don't narrow.
12833 (tramp-parse-putty): Make a loop.
12834 (tramp-file-name-handler): Catch the `suppress' signal.
12835
12836 2012-06-11 Chong Yidong <cyd@gnu.org>
12837
12838 * image.el (imagemagick-register-types): Put the ImageMagick entry
12839 at the end of image-type-file-name-regexps.
12840
12841 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12842
12843 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12844 (pcase, pcase-let*, pcase-dolist): Use them.
12845
12846 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12847
12848 * emacs-lisp/pcase.el (pcase--let*): New function.
12849 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12850 (pcase--expand): Use macroexp-let².
12851
12852 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12853
12854 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12855 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12856 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12857 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12858 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12859 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12860
12861 2012-06-10 Glenn Morris <rgm@gnu.org>
12862
12863 * mail/rmail.el (rmail-yank-current-message): Leave point at
12864 correct position. (Bug#11660)
12865
12866 2012-06-10 Chong Yidong <cyd@gnu.org>
12867
12868 * allout-widgets.el: Fix code header.
12869
12870 2012-06-10 Chong Yidong <cyd@gnu.org>
12871
12872 * cus-edit.el (customize-changed-options-previous-release):
12873 Bump to 24.1.
12874
12875 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12876
12877 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12878
12879 2012-06-09 Chong Yidong <cyd@gnu.org>
12880
12881 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12882
12883 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12884
12885 * window.el (special-display-popup-frame): Don't use
12886 window--display-buffer (Bug#11651).
12887
12888 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12889
12890 Fix parallel builds: make sure loaddefs.el is not being written
12891 while Lisp files are compiled.
12892 (compile): Don't depend on 'mh-autoloads'.
12893 (compile-CMD, compile-SH): Depend on 'autoloads'.
12894 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12895
12896 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12897
12898 2012-06-09 Chong Yidong <cyd@gnu.org>
12899
12900 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12901 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12902 Doc fixes (Bug#11225).
12903
12904 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12905
12906 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12907 a function if there's a clear indication that it has a compiler-macro.
12908 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12909 (macro-declarations-alist): Add arglist to declaration functions.
12910 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12911 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12912 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12913 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12914 Also add autoload to find the compiler macro.
12915 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12916 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12917 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12918 (cl--compiler-macro-get): New functions, replacing calls to
12919 cl-define-compiler-macro.
12920 (cl-typep) [compiler-macro]: Use macroexp-let².
12921
12922 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12923
12924 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12925 string properly, fixes Bug#11473.
12926
12927 2012-06-08 Chong Yidong <cyd@gnu.org>
12928
12929 * faces.el (set-face-attribute): Doc fix.
12930 (modify-face): Don't use :bold and :italic.
12931 (error, warning, success): Tweak definitions.
12932
12933 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12934 (custom-modified, custom-set, custom-changed, custom-themed)
12935 (custom-saved, custom-button, custom-button-mouse)
12936 (custom-button-pressed, custom-state, custom-comment-tag)
12937 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12938 (custom-group-subtitle): Use new-style face specs.
12939 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12940 (custom-set-face, custom-changed-face, custom-saved-face)
12941 (custom-button-face, custom-button-pressed-face)
12942 (custom-documentation-face, custom-state-face)
12943 (custom-comment-face, custom-comment-tag-face)
12944 (custom-variable-tag-face, custom-variable-button-face)
12945 (custom-face-tag-face, custom-group-tag-face-1)
12946 (custom-group-tag-face): Remove obsolete face alias.
12947
12948 * epa.el (epa-validity-high, epa-validity-medium)
12949 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12950 (epa-field-name, epa-field-body):
12951 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12952 (font-lock-keyword-face, font-lock-builtin-face)
12953 (font-lock-function-name-face, font-lock-variable-name-face)
12954 (font-lock-type-face, font-lock-constant-face):
12955 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12956 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12957 * speedbar.el (speedbar-button-face, speedbar-file-face)
12958 (speedbar-directory-face, speedbar-tag-face)
12959 (speedbar-selected-face, speedbar-highlight-face)
12960 (speedbar-separator-face):
12961 * whitespace.el (whitespace-newline, whitespace-space)
12962 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12963 (whitespace-line, whitespace-space-before-tab)
12964 (whitespace-space-after-tab, whitespace-indentation)
12965 (whitespace-empty):
12966 * emulation/cua-base.el (cua-global-mark):
12967 * eshell/em-prompt.el (eshell-prompt):
12968 * net/newst-plainview.el (newsticker-new-item-face)
12969 (newsticker-old-item-face, newsticker-immortal-item-face)
12970 (newsticker-obsolete-item-face, newsticker-date-face)
12971 (newsticker-statistics-face, newsticker-default-face):
12972 * net/newst-reader.el (newsticker-feed-face)
12973 (newsticker-extra-face, newsticker-enclosure-face):
12974 * net/newst-treeview.el (newsticker-treeview-face)
12975 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12976 (newsticker-treeview-immortal-face)
12977 (newsticker-treeview-obsolete-face)
12978 (newsticker-treeview-selection-face):
12979 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12980 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12981 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12982 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12983 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12984 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12985 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12986 (mpuz-text):
12987 * progmodes/vera-mode.el (vera-font-lock-number)
12988 (vera-font-lock-function, vera-font-lock-interface):
12989 * textmodes/table.el (table-cell): Use new-style face specs, and
12990 don't use the old :bold and :italic attributes.
12991
12992 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12993 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12994 (ebrowse-member-class, ebrowse-progress): Likewise.
12995 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12996 (ebrowse-file-name-face, ebrowse-default-face)
12997 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12998 (ebrowse-progress-face): Remove obsolete faces.
12999
13000 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13001 Inherit from error and warning faces respectively.
13002
13003 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13004 Likewise.
13005 (flyspell-incorrect-face, flyspell-duplicate-face):
13006 Remove obsolete aliases.
13007
13008 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13009
13010 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13011 Avoid infloop.
13012
13013 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13014
13015 * startup.el (argv, argi): Make lexically scoped.
13016 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13017 * emacs-lisp/cl-macs.el: Use lexical-binding.
13018 Rename cl-bind-* to cl--bind-*.
13019 * files.el: Don't require `cl' since it doesn't use it.
13020 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13021
13022 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13023
13024 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13025 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13026 instead of calling external sort utility.
13027 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13028
13029 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13030
13031 * descr-text.el (describe-char): Mention how to insert the
13032 character, if the current input method doesn't support it.
13033 See the discussion in this thread for the details:
13034 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13035
13036 2012-06-08 Sam Steingold <sds@gnu.org>
13037
13038 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13039 XF86Back to previous-buffer.
13040 (minibuffer-local-map): Bind them to next-history-element and
13041 previous-history-element respectively.
13042 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13043 help-go-back respectively.
13044 * info.el (Info-mode-map): Bind them to Info-history-forward and
13045 Info-history-back respectively.
13046 These are the keys next to Up on the ThinkPad keyboard.
13047
13048 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13049
13050 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13051 * emacs-lisp/cl-macs.el: Provide itself.
13052 (cl--labels-convert-cache): New var.
13053 (cl--labels-convert): New function.
13054 (cl-flet, cl-labels): New implementation with new semantics, relying on
13055 lexical-binding.
13056 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13057 (cl-closure-vars, cl--function-convert-cache)
13058 (cl--function-convert): Move from cl-macs.el.
13059 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13060 rename by removing the "cl-" prefix.
13061 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13062
13063 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13064
13065 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13066 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13067 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13068 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13069 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13070 (cl-hash-table-count): Add old compatibility aliases.
13071
13072 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13073 Use macroexpand-all-environment instead.
13074 (cl--old-macroexpand): New var.
13075 (cl--sm-macroexpand): New function.
13076 (cl-symbol-macrolet): Use it during macro expansion.
13077 (cl--function-convert-cache): New var.
13078 (cl--function-convert): New function, extracted from
13079 cl-macroexpand-all.
13080 (cl-lexical-let): Use it.
13081
13082 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13083 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13084 (cl-member): Remove old alias.
13085
13086 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13087 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13088 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13089 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13090 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13091 (cl-macroexpand-cmacs): Remove var.
13092 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13093 Use macroexpand-all instead.
13094
13095 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13096
13097 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13098 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13099 (macroexp-copyable-p): New functions and macros.
13100 * emacs-lisp/edebug.el (edebug-unwrap):
13101 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13102 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13103 (pcase--let*): Remove.
13104 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13105 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13106 macroexp-const-p instead.
13107 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13108
13109 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13110 instead of "cl-" for internal definitions. Use macroexp-const-p.
13111 (cl-old-bc-file-form): Remove var.
13112 (cl-const-exprs-p): Remove fun.
13113 (cl-labels, cl-macrolet): Use backquote.
13114 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13115 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13116 (cl-define-setf-expander): Rename from cl-define-setf-method.
13117 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13118
13119 * international/mule-cmds.el: Don't require CL.
13120 (view-hello-file): Don't use `letf'.
13121
13122 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13123
13124 * tmm.el (tmm-prompt): Use string-prefix-p.
13125 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13126 (tmm-add-prompt): Use minibuffer-completion-help.
13127 (tmm-delete-map): Remove.
13128
13129 * subr.el (kbd): Make it its own function.
13130
13131 2012-06-07 Stefan Merten <smerten@oekonux.de>
13132
13133 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13134 Silence compiler warnings. Fix versions.
13135 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13136 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13137 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13138 (rst-package-emacs-version-alist): Correct Emacs version to
13139 represent major merge with upstream.
13140 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13141
13142 2012-06-06 Glenn Morris <rgm@gnu.org>
13143
13144 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13145 Only print environment variables if set.
13146
13147 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13148
13149 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13150 (macroexp--cons): Rename from maybe-cons.
13151 (macroexp--accumulate): Rename from macroexp-accumulate.
13152 (macroexp--all-forms): Rename from macroexpand-all-forms.
13153 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13154 (macroexp--expand-all): Rename from macroexpand-all-1.
13155
13156 2012-06-06 Sam Steingold <sds@gnu.org>
13157
13158 * calendar/calendar.el (calendar-in-read-only-buffer):
13159 Call `special-mode' to enable the standard read-only keybindings.
13160
13161 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13162
13163 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13164 with "loading" messages (bug#11635).
13165
13166 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13167
13168 * files.el (enable-remote-dir-locals): New option.
13169 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13170
13171 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13172 Ensure, that the temp directory is local.
13173
13174 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13175 `temporary-file-directory'.
13176
13177 * progmodes/python.el (python-send-region): Ensure, that the
13178 temporary file is created also in the remote case.
13179
13180 2012-06-06 Glenn Morris <rgm@gnu.org>
13181
13182 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13183 (vc-rcs-update-changelog): Use it.
13184
13185 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13186
13187 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13188 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13189 (vc-sccs-diff): Replace use of the external vcdiff script.
13190
13191 2012-06-05 Glenn Morris <rgm@gnu.org>
13192
13193 * ledit.el: Move to obsolete/.
13194
13195 2012-06-05 Sam Steingold <sds@gnu.org>
13196
13197 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13198 patch (Bug#11140).
13199
13200 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13201
13202 * emacs-lisp/cust-print.el: Move to obsolete.
13203
13204 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13205 compiler-macro expansion.
13206
13207 Add native compiler-macro support.
13208 * emacs-lisp/macroexp.el (macroexpand-all-1):
13209 Support compiler-macros directly. Properly follow aliases and apply
13210 the compiler macros more thoroughly.
13211 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13212 macroexpand now properly follows aliases.
13213 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13214 (cl-compiler-macroexpand): Use new prop.
13215 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13216
13217 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13218
13219 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13220
13221 * window.el (get-lru-window, get-mru-window, get-largest-window):
13222 New argument NOT-SELECTED to avoid picking the selected window.
13223 (window--display-buffer-1, window--display-buffer-2): Replace by
13224 new function window--display-buffer
13225 (display-buffer-same-window, display-buffer-reuse-window)
13226 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13227 Use window--display-buffer.
13228 (display-buffer-use-some-window): Remove temporary dedication
13229 hack by calling get-lru-window and get-largest-window with
13230 NOT-SELECTED argument non-nil. Call window--display-buffer.
13231
13232 2012-06-05 Glenn Morris <rgm@gnu.org>
13233
13234 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13235 Replace external vcdiff script.
13236
13237 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13238
13239 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13240
13241 2012-06-04 Chong Yidong <cyd@gnu.org>
13242
13243 * image.el (imagemagick-types-inhibit): Revert last change.
13244 Add INFO and M.
13245 (imagemagick-enabled-types): Remove CIN and EPS*.
13246
13247 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13248
13249 * emacs-lisp/cl-lib.el: Rename from cl.el.
13250 * emacs-lisp/cl.el: New compatibility file.
13251 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13252 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13253 to obey the "cl-" prefix.
13254 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13255
13256 2012-06-03 Glenn Morris <rgm@gnu.org>
13257
13258 * emacs-lisp/authors.el (authors-aliases): Addition.
13259
13260 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13261 Fix :version.
13262
13263 2012-06-03 Stefan Merten <smerten@oekonux.de>
13264
13265 * textmodes/rst.el: Add comments.
13266 (rst-transition, rst-adornment): New faces.
13267 (rst-adornment-faces-alist): Make default safe to reevaluate.
13268 Fixes
13269 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13270 Improve customization tags.
13271 (rst-define-level-faces): Clarify meaning.
13272
13273 2012-06-03 Chong Yidong <cyd@gnu.org>
13274
13275 * progmodes/compile.el (compilation-mode-line-fail)
13276 (compilation-mode-line-run, compilation-mode-line-exit):
13277 New faces.
13278 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13279
13280 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13281
13282 * progmodes/which-func.el (which-func-update-ediff-windows):
13283 New function. Use it in ediff-select-hook (Bug#11478).
13284
13285 2012-06-03 Chong Yidong <cyd@gnu.org>
13286
13287 * bindings.el: Remove explicit help text from format-mode-line.
13288 It is now supplied by mode-line-default-help-echo.
13289 (mode-line-front-space, mode-line-end-spaces)
13290 (mode-line-misc-info): New variables.
13291 (mode-line-modes, mode-line-position): Move the default value to
13292 the variable definition.
13293 (mode-line-default-help-echo): New defcustom.
13294 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13295 (mode-line-modified-help-echo): New functions.
13296 (mode-line-mule-info, mode-line-modified): Use them.
13297 (mode-line-eol-desc, propertized-buffer-identification):
13298 Consistency fixes for help text.
13299 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13300 set-buffer-file-coding-system (Bug#289).
13301 (mode-line-mule-info-help-echo): Update help text.
13302
13303 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13304
13305 * simple.el (execute-extended-command): Set real-this-command
13306 (bug#11506).
13307
13308 2012-06-02 Chong Yidong <cyd@gnu.org>
13309
13310 Remove incorrect uses of "modeline" in comments, docstrings, and
13311 function/variable names (Bug#10329).
13312
13313 * cus-edit.el (mode-line):
13314 * dframe.el (dframe-mouse-hscroll):
13315 * emacs-lisp/re-builder.el:
13316 * emacs-lisp/easy-mmode.el (define-minor-mode):
13317 * frame.el (set-frame-name):
13318 * help.el (lookup-minor-mode-from-indicator):
13319 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13320 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13321 (c-toggle-hungry-state):
13322 * progmodes/antlr-mode.el (antlr-language-alist):
13323 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13324 * progmodes/vhdl-mode.el (vhdl-mode):
13325 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13326 * term/ns-win.el (ns-face-at-pos):
13327 * term/sup-mouse.el (sup-mouse-report):
13328 * textmodes/flyspell.el (flyspell-mode-line-string):
13329 * textmodes/ispell.el (ispell-highlight-face):
13330 * textmodes/reftex-global.el:
13331 * vc/vc-arch.el (vc-arch-mode-line-string):
13332 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13333 * vc/vc-git.el (vc-git-mode-line-string):
13334 * vc/vc-hooks.el (vc-display-status)
13335 (vc-default-mode-line-string):
13336 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13337
13338 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13339
13340 * dired.el (dired-sort-set-mode-line): Rename from
13341 dired-sort-set-modeline. All callers changed.
13342
13343 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13344 eshell-status-in-modeline.
13345
13346 * foldout.el (foldout-mode-line-string): Rename from
13347 foldout-modeline-string. All callers changed.
13348 (foldout-update-mode-line): Rename from foldout-update-modeline.
13349
13350 * subr.el (redraw-modeline): Make into obsolete alias.
13351
13352 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13353 timeclock-modeline-display. Make old name an alias.
13354 (timeclock-update-mode-line): Likewise. All callers changed.
13355 (timeclock-mode-line-display): No need to check before using
13356 add-hook.
13357 (timeclock-relative, timeclock-day-over-hook)
13358 (timeclock-use-elapsed, timeclock-mode-string)
13359 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13360
13361 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13362 crisp-mode-modeline-string.
13363
13364 * play/solitaire.el (solitaire-build-mode-line): Rename from
13365 solitaire-build-modeline. All callers changed.
13366
13367 * play/zone.el (zone-hiding-mode-line): Rename from
13368 zone-hiding-modeline. All callers changed.
13369 (zone): Remove unusued `modeline-hidden-level' property.
13370
13371 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13372 xscheme-modeline-initialize. All callers changed.
13373
13374 * strokes.el (strokes-lighter): Rename from
13375 strokes-modeline-string.
13376
13377 * textmodes/sgml-mode.el (html-face-tag-alist)
13378 (html-tag-face-alist): Use mode-line face instead of obsolete
13379 alias modeline.
13380
13381 2012-06-02 Stefan Merten <smerten@oekonux.de>
13382
13383 * textmodes/rst.el: Always require `cl'.
13384 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13385
13386 2012-06-02 Chong Yidong <cyd@gnu.org>
13387
13388 * image.el (imagemagick-enabled-types): Rename from
13389 imagemagick-types-enable. Add many more types.
13390 (imagemagick-types-inhibit): Change default to nil.
13391 (imagemagick-filter-types): Caller changed.
13392
13393 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13394
13395 * emacs-lisp/cl-macs.el: Use backquotes.
13396 (cl-transform-function-property): Use eval-and-compile rather than
13397 abusing `require'.
13398 (defstruct): Use declare-function instead of with-no-warnings.
13399
13400 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13401 (byte-compile-output-docform): Re-add the print-circle bindings.
13402 (byte-compile-fix-header): Use #$ just because it's shorter.
13403 (byte-compile-output-file-form): Remove defun/defmacro.
13404
13405 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13406
13407 * simple.el (choose-completion): Remove now obsolete binding for
13408 owindow.
13409
13410 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13411
13412 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13413 in order to avoid "Stack overflow in regexp matcher".
13414
13415 2012-05-31 Glenn Morris <rgm@gnu.org>
13416
13417 * image.el: For clarity, call imagemagick-register-types at
13418 top-level, rather than relying on a custom :initialize.
13419 (imagemagick-types-enable): New option. (Bug#11557)
13420 (imagemagick-filter-types): New function. (Bug#7406)
13421 (imagemagick-register-types): Use imagemagick-filter-types.
13422 If disabling support, remove elements altogether rather
13423 than using an impossible regexp.
13424 (imagemagick-types-inhibit): Give it the default init function.
13425
13426 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13427
13428 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13429 Handle arbitrary file name lengths (Bug#11585).
13430
13431 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13432
13433 * desktop.el (desktop-read): Clear previous and next buffers for
13434 all windows and bury *Messages* buffer (bug#11556).
13435
13436 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13437
13438 Add `declare' for `defun'. Align `defmacro's with it.
13439 * emacs-lisp/easy-mmode.el (define-minor-mode)
13440 (define-globalized-minor-mode): Don't autoload the var definitions.
13441 * emacs-lisp/byte-run.el: Use lexical-binding.
13442 (defun-declarations-alist, macro-declarations-alist): New vars.
13443 (defmacro, defun): Use them.
13444 (make-obsolete, define-obsolete-function-alias)
13445 (make-obsolete-variable, define-obsolete-variable-alias):
13446 Use `declare'.
13447 (macro-declaration-function): Mark obsolete.
13448 * emacs-lisp/autoload.el: Use lexical-binding.
13449 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13450
13451 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13452
13453 * textmodes/ispell.el (ispell-with-no-warnings):
13454 Define as a macro.
13455 (ispell-kill-ispell, ispell-change-dictionary):
13456 Use `called-interactively-p' for Emacs instead of obsolete
13457 `interactive-p'.
13458
13459 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13460
13461 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13462 (macro-declaration-function): Move var from C code.
13463 (macro-declaration-function): Define function with defalias.
13464 * emacs-lisp/macroexp.el (macroexpand-all-1):
13465 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13466 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13467 defun/defmacro any more.
13468 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13469 Provide fallback for unknown arglist.
13470 (byte-compile-arglist-warn): Change calling convention.
13471 (byte-compile-output-file-form): Move print-vars binding.
13472 (byte-compile-output-docform): Simplify accordingly.
13473 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13474 (byte-compile-defmacro-declaration): Remove.
13475 (byte-compile-file-form-defmumble): Generalize to defalias.
13476 (byte-compile-output-as-comment): Return byte-positions.
13477 Simplify callers accordingly.
13478 (byte-compile-lambda): Use `assert'.
13479 (byte-compile-defun, byte-compile-defmacro): Remove.
13480 (byte-compile-file-form-defalias):
13481 Use byte-compile-file-form-defmumble.
13482 (byte-compile-defalias-warn): Remove.
13483
13484 2012-05-29 Stefan Merten <smerten@oekonux.de>
13485
13486 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13487 possible. Fix authors. Improve comments. Improve loading of `cl'.
13488
13489 (rst-mode-abbrev-table): Merge definition.
13490 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13491 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13492
13493 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13494
13495 * calendar/icalendar.el
13496 (icalendar-export-region): Export UID properly.
13497
13498 2012-05-29 Leo Liu <sdl.web@gmail.com>
13499 * calendar/icalendar.el (icalendar-import-format):
13500 Add `icalendar-import-format-uid' (Bug#11525).
13501 (icalendar-import-format-uid): New.
13502 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13503 Export UID.
13504
13505 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13506
13507 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13508 different alternative patterns.
13509 (pcase-codegen): Be more careful to preserve identity.
13510 (pcase--u1): Don't forget to mark vars as used.
13511
13512 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13513 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13514 (byte-compile-from-buffer): ...rather than here.
13515
13516 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13517 functions from byte-compile-function-environment.
13518
13519 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13520
13521 * window.el (window-deletable-p): Avoid deleting the root window
13522 of a frame with an active minibuffer.
13523
13524 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13525
13526 * simple.el (choose-completion): Use quit-window (Bug#11567).
13527
13528 2012-05-29 Chong Yidong <cyd@gnu.org>
13529
13530 * whitespace.el (whitespace-cleanup): Fix usage of
13531 whitespace-empty-at-bob-regexp (Bug#11492).
13532
13533 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13534
13535 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13536 revert (Bug#11488).
13537
13538 2012-05-29 Juri Linkov <juri@jurta.org>
13539
13540 * isearch.el (isearch-mode-map): Bind `M-s _' to
13541 `isearch-toggle-symbol'. Bind `M-s c' to
13542 `isearch-toggle-case-fold'.
13543 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13544 (isearch-forward): Add `M-s _' to the docstring.
13545 (isearch-forward-symbol, isearch-toggle-case-fold)
13546 (isearch-symbol-regexp): New functions. (Bug#11381)
13547
13548 2012-05-29 Juri Linkov <juri@jurta.org>
13549
13550 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13551 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13552 a function, call it to get the regexp.
13553 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13554 property `isearch-message-prefix' instead of the string "word ".
13555 (isearch-search-fun-default): For the case of `isearch-word',
13556 return a lambda that calls re-search-forward/re-search-backward
13557 with a regexp returned by `word-search-regexp' or by the function
13558 in `isearch-word'.
13559
13560 2012-05-29 Juri Linkov <juri@jurta.org>
13561
13562 * isearch.el (isearch-search-fun-default): New function.
13563 (isearch-search-fun): Move default part to the new function
13564 `isearch-search-fun-default'.
13565 (isearch-search-fun-function): Set the default value to
13566 `isearch-search-fun-default'. (Bug#11381)
13567
13568 * comint.el (comint-history-isearch-end):
13569 Use `isearch-search-fun-default'.
13570 (comint-history-isearch-search): Use `isearch-search-fun-default'
13571 and remove spacial case for `isearch-word'.
13572 (comint-history-isearch-wrap): Remove spacial case for
13573 `isearch-word'.
13574
13575 * hexl.el (hexl-isearch-search-function):
13576 Use `isearch-search-fun-default'.
13577
13578 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13579 Use `word-search-regexp' for `isearch-word'.
13580
13581 * misearch.el (multi-isearch-search-fun):
13582 Use `isearch-search-fun-default'.
13583
13584 * simple.el (minibuffer-history-isearch-search):
13585 Use `isearch-search-fun-default' and remove spacial case for
13586 `isearch-word'.
13587 (minibuffer-history-isearch-wrap): Remove spacial case for
13588 `isearch-word'.
13589
13590 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13591 Remove spacial case for `isearch-word'.
13592 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13593
13594 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13595
13596 Decrease XEmacs incompatibilities.
13597 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13598 Use `string-match'.
13599 (flyspell-delete-region-overlays): Use alternative definition for
13600 XEmacs.
13601 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13602 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13603 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13604 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13605 `define-obsolete-face-alias' under XEmacs, but old method.
13606
13607 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13608 `with-no-warnings' definition or Emacs alias.
13609 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13610 (ispell-word): Do not use `region-p' if XEmacs.
13611
13612 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13613
13614 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13615 Check for `ispell-dictionary-base-alist' instead of full
13616 `ispell-dictionary-alist'.
13617 (ispell-init-process): Show spellchecker when starting new Ispell
13618 process.
13619
13620 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13621
13622 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13623 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13624
13625 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13626
13627 * version.el (motif-version-string, gtk-version-string)
13628 (ns-version-string): Declare.
13629
13630 2012-05-27 Juri Linkov <juri@jurta.org>
13631
13632 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13633 after the `eval-defun-1' specialcaseing
13634 like in `edebug-eval-defun' (bug#10181).
13635
13636 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13637 like in `eval-defun-1'.
13638
13639 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13640
13641 * mail/sendmail.el (mail-yank-region):
13642 Recognize rmail-yank-current-message in addition to insert-buffer.
13643 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13644 a *mail* buffer created through rmail-start-mail with sendmail as
13645 mail-user-agent.
13646
13647 2012-05-27 Chong Yidong <cyd@gnu.org>
13648
13649 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13650 Default to 256 (Bug#11267).
13651
13652 * help.el (describe-mode): Doc fix.
13653
13654 2012-05-26 Glenn Morris <rgm@gnu.org>
13655
13656 * w32-fns.el (w32-init-info): Remove.
13657 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13658
13659 * info.el (info-initialize): For self-contained NS builds, put the
13660 included info/ directory at the front. (Bug#2791)
13661
13662 * paths.el (Info-default-directory-list): Make it a defcustom,
13663 mainly so that we can use custom-initialize-delay.
13664
13665 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13666
13667 * subr.el (buffer-has-markers-at): Mark obsolete.
13668
13669 * subr.el (lambda): Use declare.
13670
13671 * emacs-lisp/lisp-mode.el (lambda):
13672 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13673
13674 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13675
13676 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13677
13678 2012-05-26 Glenn Morris <rgm@gnu.org>
13679
13680 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13681
13682 2012-05-25 Glenn Morris <rgm@gnu.org>
13683
13684 * paths.el: Remove no-byte-compile.
13685 * loadup.el: No need to load paths.el uncompiled.
13686
13687 * image.el (imagemagick-types-inhibit): Doc fix.
13688
13689 * version.el: Remove no-byte-compile and associated formatting.
13690 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13691 is ancient code from when there was an "inc-vers.el".
13692
13693 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13694
13695 * progmodes/gdb-mi.el: Minor style changes.
13696 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13697 Turn into minor modes.
13698 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13699 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13700 (gdb-shell): Remove unneeded let-binding.
13701 (gdb-get-many-fields): Eliminate O(n²) behavior.
13702
13703 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13704
13705 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13706 platforms that don't link in fontset.c.
13707
13708 2012-05-25 Juri Linkov <juri@jurta.org>
13709
13710 Use the same diff color scheme as in modern VCSes (bug#10181).
13711
13712 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13713 to avoid confusion with `diff-added' that now uses green colors.
13714 (diff-removed): Use shades of red.
13715 (diff-added): Use shades of green.
13716 (diff-changed): Leave just the yellow color.
13717 (diff-use-changed-face): New variable.
13718 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13719 how to highlight context diff changes.
13720 (diff-refine-change): Use shades of yellow.
13721 (diff-refine-removed): New face that uses shades of red.
13722 (diff-refine-added): New face that uses shades of green.
13723 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13724 `diff-refine-removed' in the call to `smerge-refine-subst'
13725 depending on the value of `diff-use-changed-face'.
13726
13727 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13728 (smerge-other): Use shades of green.
13729 (smerge-base): Use shades of yellow.
13730 (smerge-refined-change): Empty face.
13731 (smerge-refined-removed): New face that uses shades of red.
13732 (smerge-refined-added): New face that uses shades of green.
13733 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13734 args `props-r' and `props-a', and use them. Doc fix.
13735 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13736 on its value use different faces `smerge-refined-change',
13737 `smerge-refined-removed', `smerge-refined-added' in the call to
13738 `smerge-refine-subst'.
13739
13740 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13741 Add face condition `min-colors 88' with shades of red.
13742 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13743 `min-colors 88' with shades of green.
13744 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13745 `min-colors 88' with shades of yellow.
13746
13747 2012-05-24 Glenn Morris <rgm@gnu.org>
13748
13749 * paths.el (prune-directory-list, remote-shell-program): Move to...
13750 * files.el (prune-directory-list, remote-shell-program): ...here.
13751 For the latter, delay initialization, prefer ssh, just search PATH.
13752
13753 * paths.el (term-file-prefix): Move to faces.el (the only user).
13754 * faces.el (term-file-prefix): Move here, make it a defcustom.
13755
13756 * paths.el (news-directory, news-path, news-inews-program):
13757 Move to gnus/nnspool.el.
13758
13759 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13760
13761 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13762 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13763 Make the latter a defcustom, with a delayed initialization.
13764
13765 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13766 These were deleted from Gnus itself late 2010.
13767
13768 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13769
13770 * progmodes/which-func.el (which-func-ff-hook):
13771 Check against user-error, not error.
13772
13773 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13774 cl-specs.el, which no longer exists.
13775
13776 2012-05-22 Glenn Morris <rgm@gnu.org>
13777
13778 * info.el (info-emacs-bug): New command.
13779 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13780 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13781
13782 2012-05-21 Glenn Morris <rgm@gnu.org>
13783
13784 * makefile.w32-in (update-subdirs-SH):
13785 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13786
13787 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13790
13791 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13792 Simplify Maven regexp, and make sure the file can't start with a space
13793 (bug#11517).
13794
13795 2012-05-21 Glenn Morris <rgm@gnu.org>
13796
13797 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13798 Scrap superfluous subshells.
13799
13800 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13801
13802 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13803 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13804
13805 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13806
13807 * calc/calc.el (calc-ensure-consistent-units): New variable.
13808
13809 * calc/calc-units.el (math-consistent-units-p)
13810 (math-check-unit-consistency): New functions.
13811 (calc-quick-units, calc-convert-units):
13812 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13813 is non-nil.
13814 (calc-extract-units): Fix typo.
13815
13816 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13817
13818 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13819
13820 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13821 (flyspell-default-deplacement-commands): Don't spell check after
13822 repeated window/frame switches (e.g. triggered by mouse-movement).
13823 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13824 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13825 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13826 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13827 Remove unused vars.
13828 (flyspell-get-casechars, flyspell-get-not-casechars):
13829 Simplify; Don't bother removing a ] just to add it back.
13830 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13831
13832 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13833
13834 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13835 New functions.
13836 (math-function-table): Add support for more C functions.
13837
13838 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13839
13840 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13841 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13842 Protect delay handling for otherchars against empty otherchars.
13843
13844 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13845
13846 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13847 their respective macro declarations.
13848 * skeleton.el (define-skeleton):
13849 * progmodes/compile.el (define-compilation-mode):
13850 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13851 (define-ibuffer-filter):
13852 * emacs-lisp/generic.el (define-generic-mode):
13853 * emacs-lisp/easy-mmode.el (define-minor-mode)
13854 (define-globalized-minor-mode):
13855 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13856 * emacs-lisp/byte-run.el (defsubst):
13857 * custom.el (deftheme): Add doc-string metadata.
13858
13859 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13860
13861 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13862
13863 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13864
13865 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13866
13867 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13868 * emacs-lisp/cl-macs.el: Idem.
13869 * emacs-lisp/cl-specs.el: Remove.
13870
13871 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13872
13873 Minor renaming of internal CL functions and variables.
13874 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13875 (cl--position): Rename from cl-position.
13876 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13877 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13878 (cl--random-state): Rename from *random-state*.
13879
13880 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13881
13882 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13883 parens around the arg list (bug#11499).
13884
13885 2012-05-17 Juri Linkov <juri@jurta.org>
13886
13887 * isearch.el (word-search-regexp, word-search-backward)
13888 (word-search-forward, word-search-backward-lax)
13889 (word-search-forward-lax): Move functions from search.c
13890 (bug#10145, bug#11381).
13891
13892 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13893
13894 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13895 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13896 Delay for otherchars as for normal word components.
13897
13898 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13899
13900 * minibuffer.el (completion--sifn-requote): Fix last change.
13901 (minibuffer-local-must-match-filename-map):
13902 Move define-obsolete-variable-alias before its var.
13903
13904 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13905
13906 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13907
13908 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13909 behavior.
13910 (completion--string-equal-p): New function.
13911 (completion--twq-all): Use it to get better assertion failure data.
13912
13913 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13914 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13915 (shell--requote-argument): New functions.
13916 (shell-completion-vars): Use them.
13917 (shell--parse-pcomplete-arguments): Rename from
13918 shell-parse-pcomplete-arguments.
13919 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13920 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13921 Obey comint-file-name-quote-list.
13922
13923 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13924 (smie-indent-keyword): Use it.
13925
13926 2012-05-14 Stefan Merten <smerten@oekonux.de>
13927
13928 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13929
13930 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13931
13932 * net/rlogin.el (rlogin-mode-map): Fix last change.
13933
13934 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13935
13936 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13937 the following \r\n using a single `process-send-string', since the
13938 Lotus SMTP server refuses to accept any commands if they are sent
13939 with two `process-send-string's (Bug#11444).
13940
13941 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13942
13943 * shell.el (shell-parse-pcomplete-arguments):
13944 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13945
13946 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13947
13948 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13949 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13950 (image-transform-width, image-transform-fit-width): New functions.
13951 (image-transform-properties): Use them.
13952 (image-transform-check-size): New function.
13953 (image-toggle-display-image): Use it (for testing).
13954 (image-transform-set-rotation): Reduce angle mod 360.
13955 Delete obsolete comment.
13956
13957 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13958
13959 * image-mode.el: Fix scaling (bug#11399).
13960 (image-transform-resize): Doc fix.
13961 (image-transform-properties): Default scale is 1 and height should
13962 be an integer.
13963
13964 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13965
13966 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13967 than hard-coding `car', to fix misbehavior when moving forward.
13968
13969 2012-05-13 Chong Yidong <cyd@gnu.org>
13970
13971 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13972 (tabulated-list-entries, tabulated-list-padding)
13973 (tabulated-list-sort-key): Make permanent-local.
13974
13975 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13976 (electric-buffer-list): Put electric buffer menu
13977 command descriptions in this docstring, instead of the docstring
13978 of electric-buffer-menu-mode. Code cleanups.
13979 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13980 Electric-buffer-menu-mode.
13981 (electric-buffer-update-highlight): Minor code cleanup.
13982
13983 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13984
13985 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13986 (Bug#11447)
13987
13988 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13989
13990 Move define-obsolete-variable-alias before the var's definition.
13991 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13992 * tooltip.el (tooltip-hook):
13993 * textmodes/reftex-toc.el (reftex-toc-map):
13994 * textmodes/reftex-sel.el (reftex-select-label-map)
13995 (reftex-select-bib-map):
13996 * textmodes/reftex-index.el (reftex-index-map)
13997 (reftex-index-phrases-map):
13998 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13999 * progmodes/meta-mode.el (meta-mode-map):
14000 * novice.el (disabled-command-hook):
14001 * loadhist.el (unload-hook-features-list):
14002 * frame.el (blink-cursor):
14003 * files.el (find-file-not-found-hooks, write-file-hooks)
14004 (write-contents-hooks):
14005 * emulation/tpu-edt.el (GOLD-map):
14006 * emacs-lock.el (emacs-lock-from-exiting):
14007 * emacs-lisp/generic.el (generic-font-lock-defaults):
14008 * emacs-lisp/chart.el (chart-map):
14009 * dos-fns.el (register-name-alist):
14010 * dired-x.el (dired-omit-files-p):
14011 * desktop.el (desktop-enable):
14012 * cus-edit.el (custom-mode-hook):
14013 * buff-menu.el (buffer-menu-mode-hook):
14014 * bookmark.el (bookmark-read-annotation-text-func)
14015 (bookmark-exit-hooks):
14016 * allout.el (allout-mode-deactivate-hook)
14017 (allout-exposure-change-hook, allout-structure-added-hook)
14018 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14019 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14020 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14021 comes before the corresponding variable's definition.
14022
14023 2012-05-12 Chong Yidong <cyd@gnu.org>
14024
14025 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14026 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14027 (Buffer-menu-mode-map): Bind it.
14028 (Buffer-menu--pretty-name): Add a mouse-face property.
14029
14030 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14031
14032 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14033 (prolog-upper-case-string, prolog-lower-case-string)
14034 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14035 (prolog-use-smie, prolog-smie-grammar): New vars.
14036 (prolog-smie-forward-token, prolog-smie-backward-token)
14037 (prolog-smie-rules): New funs.
14038 (prolog-comment-indent): Remove.
14039 (prolog-mode-variables): Use default comment indentation instead.
14040 Setup SMIE.
14041 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14042 (prolog-mode): Don't call them any more.
14043 (prolog-electric-colon, prolog-electric-dash)
14044 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14045
14046 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14047
14048 * minibuffer.el (completion--twq-all): Again, allow case differences.
14049
14050 * term.el: Move keymap initialization code to be more idiomatic.
14051 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14052 (term-terminal-menu): Move initialization into declaration.
14053 (term-escape-char): Let the user set it in her .emacs.
14054
14055 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14056 Provide SMIE-based indentation (not enabled by default yet).
14057 (sh-mode-map): Don't bind electric keys.
14058 Use electric-pair-mode instead of skeleton-pair.
14059 (sh-assignment-regexp): Fit within 80 columns.
14060 (sh-indent-supported): Specify actual shell name instead of boolean.
14061 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14062 (sh-maybe-here-document): Use it. Make obsolete.
14063 (sh-electric-here-document-mode) New minor mode.
14064 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14065 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14066 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14067 (sh-smie-rc-grammar, sh-use-smie): New vars.
14068 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14069 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14070 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14071 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14072 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14073 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14074 (sh-set-shell): Use smie-setup if requested.
14075
14076 * term.el (term-set-escape-char): Properly set term-escape-char.
14077 See http://stackoverflow.com/questions/10524656.
14078
14079 2012-05-10 Chong Yidong <cyd@gnu.org>
14080
14081 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14082 Use url-generic-parse-url, and handle host names and Windows
14083 filenames properly.
14084 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14085 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14086 URL schemes to work on.
14087 (ffap--toggle-read-only): New function.
14088 (ffap-read-only, ffap-read-only-other-window)
14089 (ffap-read-only-other-frame): Use it.
14090 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14091 necessary for ffap-url-unwrap-remote.
14092
14093 2012-05-10 Dave Abrahams <dave@boostpro.com>
14094
14095 * cus-start.el (create-lockfiles): Add it.
14096
14097 2012-05-09 Chong Yidong <cyd@gnu.org>
14098
14099 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14100 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14101
14102 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14103
14104 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14105
14106 2012-05-09 Chong Yidong <cyd@gnu.org>
14107
14108 * ansi-color.el (ansi-color-process-output): Check for validity of
14109 comint-last-output-start before using it. This avoids a bad
14110 interaction with gdb-mi's input/output buffer.
14111
14112 2012-05-09 Glenn Morris <rgm@gnu.org>
14113
14114 * files.el (dir-locals-read-from-file):
14115 Mention dir-locals in any error message.
14116
14117 2012-05-09 Chong Yidong <cyd@gnu.org>
14118
14119 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14120 package (Bug#11410).
14121
14122 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14123 variables into description.
14124
14125 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14126
14127 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14128 shell-delimiter-argument-list (bug#11348).
14129 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14130
14131 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14132
14133 * textmodes/rst.el: Silence byte-compiler warnings.
14134 (rst-re-alist, rst-reset-section-caches): Move around.
14135 (rst-re): Use `characterp', not `char-valid-p'.
14136 (font-lock-beg, font-lock-end): Declare.
14137
14138 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14139 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14140
14141 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14142
14143 2012-05-08 Glenn Morris <rgm@gnu.org>
14144
14145 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14146
14147 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14148
14149 * vc/log-edit.el: Add GNU coding standards highlighting.
14150 (log-edit-font-lock-gnu-style)
14151 (log-edit-font-lock-gnu-keywords): New vars.
14152 (log-edit-font-lock-keywords): New fun.
14153 (log-edit-mode): Don't fold case in font-lock.
14154 (log-edit-font-lock-keywords): Do not assume case-folding.
14155
14156 * imenu.el: Misc cleanup. Make docstrings out of comments.
14157 Use lexical-binding.
14158 (imenu--index-alist, imenu--last-menubar-index-alist)
14159 (imenu-menubar-modified-tick): Use defvar-local.
14160 (imenu--split-menu): Remove unused var.
14161 (imenu--cleanup-seen): Declare as global.
14162 (imenu--cleanup): Use dolist.
14163
14164 * subr.el (defvar-local): Add debug spec and doc-string position.
14165
14166 2012-05-08 Glenn Morris <rgm@gnu.org>
14167
14168 * language/burmese.el, language/cham.el, language/czech.el:
14169 * language/english.el, language/georgian.el, language/greek.el:
14170 * language/japanese.el, language/khmer.el, language/korean.el:
14171 * language/lao.el, language/misc-lang.el, language/romanian.el:
14172 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14173 * language/thai.el, language/utf-8-lang.el:
14174 Remove no-byte-compile setting.
14175
14176 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14177
14178 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14179
14180 * progmodes/make-mode.el (makefile-browse):
14181 Remove unnecessary interactive. (Bug#11324)
14182
14183 2012-05-07 Glenn Morris <rgm@gnu.org>
14184
14185 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14186
14187 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14188
14189 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14190
14191 * loadup.el: Preload newcomment.el.
14192 * newcomment.el: Move autoload-only code to toplevel.
14193
14194 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14195 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14196 Handle new :right-align column property.
14197 (tabulated-list-print-col): Idem, plus use `display' text-property to
14198 try and preserve alignment for variable pitch fonts.
14199
14200 2012-05-07 Chong Yidong <cyd@gnu.org>
14201
14202 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14203 (tabulated-list-use-header-line): New var.
14204 (tabulated-list-init-header): Use it.
14205 (tabulated-list-print-fake-header): New function.
14206 (tabulated-list-print): Use it.
14207 (tabulated-list-sort-button-map): Add non-header-line commands.
14208 (tabulated-list-init-header): Add column name property to basic
14209 labels as well.
14210 (tabulated-list-col-sort): Handle non-header-line button case.
14211 (tabulated-list--sort-by-column-name): Fix a corner case.
14212
14213 * buff-menu.el (list-buffers--refresh):
14214 Handle Buffer-menu-use-header-line.
14215
14216 2012-05-06 Chong Yidong <cyd@gnu.org>
14217
14218 * buff-menu.el: Convert to Tabulated List mode.
14219 (Buffer-menu-buffer+size-width): Make obsolete.
14220 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14221 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14222 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14223 documentation into docstring of buffer-menu.
14224 (Buffer-menu-toggle-files-only): Add an informative message.
14225 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14226 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14227 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14228 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14229 (Buffer-menu-execute, Buffer-menu-select)
14230 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14231 (Buffer-menu-bury): Use Tabulated List machinery.
14232 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14233 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14234 Delete.
14235 (list-buffers--refresh): New function.
14236 (list-buffers-noselect): Use it.
14237 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14238 (Buffer-menu--pretty-file-name): New helper functions.
14239
14240 * loadup.el: Preload tabulated-list.
14241
14242 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14243 tabulated-list-sort-column.
14244 (tabulated-list-init-header): Add the initial aligning space even
14245 if tabulated-list-padding is zero.
14246
14247 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14248
14249 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14250 whose cdr is not a cons cell correctly (bug#11038).
14251
14252 2012-05-06 Chong Yidong <cyd@gnu.org>
14253
14254 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14255 Accept additional plist in column descriptors.
14256 (tabulated-list-init-header): Obey it.
14257 (tabulated-list-get-entry): New function.
14258 (tabulated-list-put-tag): Use it. Use string-width instead of
14259 length.
14260 (tabulated-list--column-number): New function.
14261 (tabulated-list-print): Use it.
14262 (tabulated-list-print-col): New function.
14263 Set `tabulated-list-column-name' property on each column's text.
14264 (tabulated-list-print-entry): Use it.
14265 (tabulated-list-delete-entry, tabulated-list-set-col):
14266 New functions.
14267 (tabulated-list-sort-column): New command (Bug#11337).
14268
14269 * buff-menu.el (list-buffers): Move C-x C-b binding from
14270 buff-menu.el to bindings.el.
14271
14272 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14273 :advertised-binding feature.
14274
14275 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14276
14277 * progmodes/compile.el (compilation-internal-error-properties):
14278 Calculate start position correctly when end-col is set but
14279 end-line is not (Bug#11382).
14280
14281 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14282
14283 * man.el (Man-unindent): Use text-property-default-nonsticky to
14284 prevent untabify from inheriting face properties (Bug#11408).
14285
14286 2012-05-05 Stefan Merten <smerten@oekonux.de>
14287
14288 * textmodes/rst.el: Major merge with upstream development up to
14289 Docutils SVN r7399 / rst.el V1.2.1.
14290
14291 Clarify maintainership and authors.
14292
14293 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14294 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14295 (rst-official-version, rst-official-cvs-rev, rst-version)
14296 (rst-package-emacs-version-alist): New functions and variables
14297 for version information.
14298
14299 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14300 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14301 (rst-mode-syntax-table, rst-mode): New and corrected functions
14302 and variables representing reStructuredText features.
14303
14304 (rst-re): New function for reStructuredText regexes. Use in
14305 many places.
14306
14307 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14308 (rst-mode-map): Rebind keys.
14309
14310 (rst-mode-lazy, rst-font-lock-keywords)
14311 (rst-font-lock-extend-region)
14312 (rst-font-lock-extend-region-internal)
14313 (rst-font-lock-extend-region-extend)
14314 (rst-font-lock-find-unindented-line-limit)
14315 (rst-font-lock-find-unindented-line-match)
14316 (rst-adornment-level, rst-font-lock-adornment-level)
14317 (rst-font-lock-adornment-match)
14318 (rst-font-lock-handle-adornment-pre-match-form)
14319 (rst-font-lock-handle-adornment-matcher): Major revision of
14320 font-locking. Integrate with other code. Use `jit-lock-mode'.
14321
14322 (rst-preferred-adornments, rst-adjust-hook)
14323 (rst-new-adornment-down, rst-preferred-bullets)
14324 (rst-preferred-bullets, rst-indent, rst-indent-width)
14325 (rst-indent-field, rst-indent-literal-normal)
14326 (rst-indent-literal-minimized, rst-indent-comment): Change,
14327 extend and improve customization.
14328
14329 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14330 (rst-normalize-cursor-position, rst-get-decoration)
14331 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14332 (rst-rstrip, rst-toc-insert-find-delete-contents)
14333 (rst-shift-fill-region, rst-compute-bullet-tabs)
14334 (rst-debug-print-tabs, rst-debug-mark-found)
14335 (rst-shift-region-guts, rst-shift-region-right)
14336 (rst-shift-region-left, rst-use-char-classes)
14337 (rst-font-lock-keywords-function)
14338 (rst-font-lock-indentation-point)
14339 (rst-font-lock-find-unindented-line-begin)
14340 (rst-font-lock-find-unindented-line-end)
14341 (rst-font-lock-find-unindented-line)
14342 (rst-font-lock-adornment-point, rst-font-lock-level)
14343 (rst-adornment-level-alist): Remove functions and variables.
14344
14345 (rst-compare-adornments, rst-get-adornment-match)
14346 (rst-suggest-new-adornment, rst-get-adornments-around)
14347 (rst-adornment-complete-p, rst-get-next-adornment)
14348 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14349 (rst-straighten-adornments): Standardize function names to
14350 use "adornment" instead of "decoration". Correct callers.
14351 Similar standardizing in many places.
14352
14353 (rst-update-section, rst-adjust, rst-promote-region)
14354 (rst-enumerate-region, rst-bullet-list-region)
14355 (rst-repeat-last-character): Correct use of `interactive'.
14356
14357 (rst-classify-adornment, rst-find-all-adornments)
14358 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14359 (rst-find-leftmost-column, rst-repeat-last-character):
14360 Refactor functions.
14361
14362 (rst-find-title-line, rst-reset-section-caches)
14363 (rst-get-adornments-around, rst-adjust-adornment-work)
14364 (rst-arabic-to-roman, rst-roman-to-arabic)
14365 (rst-insert-list-pos, rst-insert-list-new-item)
14366 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14367 New functions.
14368
14369 (rst-all-sections, rst-section-hierarchy)
14370 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14371 New variables.
14372
14373 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14374 configuration instead of only buffer. Change where necessary.
14375
14376 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14377 (rst-shift-region, rst-adaptive-fill): New functions for
14378 indentation and filling.
14379
14380 (rst-comment-line-break, rst-comment-indent)
14381 (rst-comment-insert-comment, rst-comment-region)
14382 (rst-uncomment-region): New functions for handling comments.
14383
14384 (rst-compile): Quote shell arguments.
14385
14386 (rst-compile-pdf-preview, rst-compile-slides-preview):
14387 Delete temporary files after use.
14388
14389 2012-05-05 Glenn Morris <rgm@gnu.org>
14390
14391 * calendar/cal-html.el: Optionally include holidays in the output.
14392 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14393 (cal-html-holidays): New option.
14394 (cal-html-css-default): Add holiday entry.
14395 (holiday-in-range): Autoload it.
14396 (cal-html-htmlify-entry): Add optional class argument.
14397 (cal-html-htmlify-list): Add optional holidays argument.
14398 (cal-html-insert-agenda-days): Include holidays in the output.
14399 (cal-html-one-month): Maybe include holidays.
14400
14401 * calendar/holidays.el (holiday-in-range):
14402 Move here from cal-tex-list-holidays.
14403 * calendar/cal-tex.el (cal-tex-list-holidays):
14404 Make it an obsolete alias for holiday-in-range. Update all callers.
14405
14406 2012-05-05 Chong Yidong <cyd@gnu.org>
14407
14408 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14409 Nextstep.
14410
14411 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14412
14413 * files.el (file-auto-mode-skip): New var.
14414 (set-auto-mode-1): Use it.
14415
14416 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14417
14418 * repeat.el: Use lexical-binding.
14419 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14420 (repeat-undo-count): Remove.
14421 (repeat):
14422 * progmodes/octave-mod.el (octave-abbrev-start):
14423 * progmodes/f90.el (f90-abbrev-start):
14424 * face-remap.el (text-scale-adjust):
14425 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14426
14427 * emacs-lisp/pcase.el (pcase--let*): New function.
14428 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14429 a bit more.
14430 (pcase--split-pred): Be more clever about ruling out overlap between
14431 a predicate and some constant pattern.
14432 (pcase--q1): Use `null' instead of (eq foo nil).
14433
14434 * subr.el (setq-local, defvar-local): New macros.
14435 (kbd): Redefine as an alias.
14436 (with-selected-window): Leave unrelated frames alone.
14437 (set-temporary-overlay-map): New function.
14438
14439 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14440
14441 * subr.el (user-error): New function.
14442 * window.el (switch-to-buffer):
14443 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14444 (smerge-match-conflict):
14445 * simple.el (previous-matching-history-element)
14446 (next-matching-history-element, goto-history-element, undo-more)
14447 (undo-start):
14448 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14449 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14450 (next-file, tags-loop-scan, list-tags, complete-tag):
14451 * progmodes/compile.el (compilation-loop):
14452 * mouse.el (mouse-minibuffer-check):
14453 * man.el (Man-bgproc-sentinel, Man-goto-page):
14454 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14455 (Info-history-forward, Info-follow-reference, Info-menu)
14456 (Info-extract-menu-item, Info-extract-menu-counting)
14457 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14458 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14459 (Info-next-reference, Info-prev-reference, Info-index)
14460 (Info-index-next, Info-follow-nearest-node)
14461 (Info-copy-current-node-name):
14462 * imenu.el (imenu--make-index-alist)
14463 (imenu-default-create-index-function, imenu-add-to-menubar):
14464 * files.el (basic-save-buffer, recover-file):
14465 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14466 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14467 (checkdoc-message-text, checkdoc-defun):
14468 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14469 * cus-edit.el (customize-changed-options, customize-rogue)
14470 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14471 (custom-variable-mark-to-reset-standard)
14472 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14473 (custom-file):
14474 * completion.el (check-completion-length):
14475 * comint.el (comint-search-arg)
14476 (comint-previous-matching-input-string-position)
14477 (comint-previous-matching-input)
14478 (comint-replace-by-expanded-history-before-point, comint-send-input)
14479 (comint-copy-old-input, comint-backward-matching-input)
14480 (comint-goto-process-mark, comint-set-process-mark):
14481 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14482 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14483
14484 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14485
14486 * dabbrev.el (dabbrev--ignore-case-p): New function.
14487 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14488 Use it.
14489
14490 * files.el (automount-dir-prefix): Mark as obsolete.
14491
14492 2012-05-04 Glenn Morris <rgm@gnu.org>
14493
14494 * patcomp.el, play/bruce.el: Move to obsolete/.
14495
14496 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14497
14498 Fix minor Y10k bugs.
14499 * arc-mode.el (archive-unixdate):
14500 * autoinsert.el (auto-insert-alist):
14501 * calc/calc-forms.el (math-this-year):
14502 * emacs-lisp/copyright.el (copyright-current-year)
14503 (copyright-update-year, copyright):
14504 * tar-mode.el (tar-clip-time-string):
14505 * time.el (display-time-update):
14506 Don't assume years have 4 digits.
14507
14508 2012-05-04 Chong Yidong <cyd@gnu.org>
14509
14510 * dos-w32.el (file-name-buffer-file-type-alist)
14511 (direct-print-region-use-command-dot-com):
14512 * ffap.el (ffap-menu-regexp):
14513 * find-file.el (ff-special-constructs):
14514 * follow.el (follow-debug):
14515 * forms.el (forms--debug):
14516 * iswitchb.el (iswitchb-all-frames):
14517 * ido.el (ido-all-frames):
14518 * emacs-lisp/timer.el (timer-max-repeats):
14519 * mail/feedmail.el (feedmail-mail-send-hook)
14520 (feedmail-mail-send-hook-queued):
14521 * mail/footnote.el (footnote-signature-separator):
14522 * mail/mailabbrev.el (mail-alias-separator-string)
14523 (mail-abbrev-mode-regexp):
14524 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14525 * progmodes/idlwave.el (idlwave-libinfo-file)
14526 (idlwave-default-completion-case-is-down)
14527 (idlwave-library-routines): Convert defvars to defcustoms.
14528
14529 * mail/rmail.el (rmail-decode-mime-charset):
14530 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14531 (idlwave-shell-fix-inserted-breaks)
14532 (idlwave-shell-activate-alt-keybindings)
14533 (idlwave-shell-use-breakpoint-glyph):
14534 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14535
14536 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14537
14538 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14539
14540 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14541
14542 * progmodes/verilog-mode.el (font-lock-keywords):
14543 Fix mis-highligting auto. Reported by Craig Barner.
14544 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14545 defines from global name space. Reported by Dan Dever.
14546 (verilog-auto-reset, verilog-auto-reset-widths)
14547 (verilog-auto-tieoff): Support using unbased numbers for
14548 AUTORESET and AUTOTIEOFF.
14549 (verilog-submit-bug-report): Update variable list.
14550 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14551 parenthesis from not matching. Reported by Michael Rytting.
14552 (verilog-auto-template-lint): Fix hash error when linting modules
14553 with no used templates.
14554 (verilog-warn, verilog-warn-error)
14555 (verilog-warn-fatal): When non-interactive report multiple
14556 warnings before exiting. Suggested by Brad Dobbie.
14557 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14558 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14559 to report unused template errors. Reported by Brad Dobbie.
14560 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14561 nets, bug438. Reported by Vns Blore.
14562 (verilog-auto-inout-module, verilog-auto-reg)
14563 (verilog-read-decls, verilog-read-sub-decls-sig)
14564 (verilog-signals-edit-wire-reg, verilog-signals-with):
14565 Fix passing of Verilog data types in ANSI input/output ports
14566 such as "output logic" into the AUTOs. Special case "wire" and
14567 "reg" for backwards compatibility presuming Verilog 2001.
14568 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14569 (verilog-preprocess): Fix replication of preprocess output.
14570 Reported by Brad Dobbie.
14571 (verilog-auto-inst-interfaced-ports):
14572 Create verilog-auto-inst-interfaced-ports, bug429.
14573 Reported by Julian Gorfajn.
14574 (verilog-after-save-font-hook)
14575 (verilog-before-save-font-hook): New variable.
14576 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14577 (verilog-save-font-mods): Wrap disabling fontification, reported
14578 by David Rogoff.
14579 (verilog-do-indent, verilog-pretty-declarations-auto)
14580 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14581 Reported by Pierre-David Pfister.
14582 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14583 of class declarations, bug292. Reported by Kevin Heilman.
14584 (verilog-read-decls): Fix 'parameter type' not appearing in
14585 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14586 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14587 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14588 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14589 Reported by David Kravitz.
14590
14591 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14592
14593 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14594 assignment with tests in ifs and for loops.
14595 (verilog-extended-complete-re, verilog-complete-reg): Change so
14596 that DPI inport functions don't look like fuction declarations.
14597 (verilog-pretty-expr): Don't line up assignment
14598 operations to the test and increment in if and for loops
14599 (verilog-extended-complete-re, verilog-complete-reg): Change so
14600 that DPI inport functions don't look like fuction declarations.
14601
14602 2012-05-03 Kenichi Handa <handa@m17n.org>
14603
14604 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14605 decoding, and show a warning message without signaling an error
14606 (Bug#11282).
14607
14608 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14609
14610 * emacs-lisp/bytecomp.el
14611 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14612 since cconv.el might have introduced :fun-body, internal-make-closure,
14613 and friends for bytecomp to handle (bug#11391).
14614 * custom.el (defcustom): Avoid ((λ ..) ..).
14615
14616 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14617
14618 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14619
14620 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14621
14622 * notifications.el (dbus-debug):
14623 * term/linux.el (gpm-mouse-enable):
14624 * term/screen.el (xterm-register-default-colors): Declare.
14625
14626 2012-05-02 Chong Yidong <cyd@gnu.org>
14627
14628 * cus-start.el (gc-cons-percentage, exec-suffixes)
14629 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14630 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14631 (make-cursor-line-fully-visible, void-text-area-pointer)
14632 (font-list-limit): Add customization data.
14633
14634 * allout.el (allout-exposure-change-functions)
14635 (allout-structure-added-functions)
14636 (allout-structure-deleted-functions)
14637 (allout-structure-shifted-functions): Rename abnormal hooks from
14638 *-hook, and convert to defcustoms.
14639 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14640 Convert to defcustoms.
14641 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14642
14643 * allout-widgets.el: Hook callers changed.
14644
14645 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14646
14647 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14648 the yanked message in preference to the default value of
14649 buffer-file-coding-system.
14650
14651 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14652
14653 * window.el (display-buffer--action-function-custom-type):
14654 Fix entry.
14655
14656 2012-05-02 Alan Mackenzie <acm@muc.de>
14657
14658 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14659
14660 2012-05-01 Glenn Morris <rgm@gnu.org>
14661
14662 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14663
14664 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14665
14666 * cus-edit.el (custom-variable-documentation): Simplify with format.
14667
14668 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14669 Stefan Monnier <monnier@iro.umontreal.ca>
14670
14671 * simple.el (suggest-key-bindings, execute-extended-command):
14672 Move from keyboard.c.
14673
14674 2012-05-01 Chong Yidong <cyd@gnu.org>
14675
14676 * follow.el: Eliminate advice.
14677 (set-process-filter, process-filter, sit-for): Advice deleted.
14678 (follow-mode-off-hook): Obsolete hook removed.
14679 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14680 Vars deleted.
14681 (follow-auto): Use a :set function.
14682 (follow-mode): Rewritten. Don't advise process filters.
14683 (follow-switch-to-current-buffer-all, follow-scroll-up)
14684 (follow-scroll-down): Assume follow-mode is bound.
14685 (follow-comint-scroll-to-bottom)
14686 (follow-align-compilation-windows): New functions.
14687 (follow--window-sorter): New function.
14688 (follow-all-followers): Use it to explicitly sort windows by their
14689 positions; don't make assumptions about next-window order.
14690 (follow-windows-start-end, follow-delete-other-windows-and-split)
14691 (follow-calc-win-start): Doc fix.
14692 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14693 vertical-motion unnecessarily.
14694 (follow-adjust-window): New function.
14695 (follow-post-command-hook): Use it.
14696 (follow-call-set-process-filter, follow-call-process-filter)
14697 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14698 (follow-stop-intercept-process-output, follow-generic-filter):
14699 Functions deleted.
14700 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14701 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14702 New functions, replacing advice on scroll-bar-* commands.
14703 (follow-mwheel-scroll): New function (Bug#4112).
14704
14705 * comint.el (comint-adjust-point): New function.
14706 (comint-postoutput-scroll-to-bottom): Use it.
14707 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14708
14709 2012-05-01 Glenn Morris <rgm@gnu.org>
14710
14711 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14712 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14713 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14714 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14715 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14716 Remove no-byte-compile setting.
14717
14718 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14719
14720 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14721 all-completions code to not return a number in the last cdr.
14722
14723 2012-04-30 Leo Liu <sdl.web@gmail.com>
14724
14725 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14726 read-only error.
14727
14728 2012-04-29 Chong Yidong <cyd@gnu.org>
14729
14730 * follow.el (follow-calc-win-end): Rewrite to handle partial
14731 screen lines correctly (Bug#8390).
14732 (follow-avoid-tail-recenter): Minor cleanup.
14733
14734 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14735
14736 Avoid the obsolete `assoc' package.
14737 * speedbar.el (speedbar-refresh): Avoid adelete.
14738 (speedbar-file-lists): Simplify and avoid aput.
14739 * man.el (Man--sections, Man--refpages): New vars, replacing
14740 Man-sections-alist and Man-refpages-alist.
14741 (Man-build-section-alist, Man-build-references-alist):
14742 Use them; avoid aput.
14743 (Man--last-section, Man--last-refpage): New vars.
14744 (Man-follow-manual-reference): Use them.
14745 Use the `default' arg of completing-read.
14746 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14747
14748 2012-04-27 Chong Yidong <cyd@gnu.org>
14749
14750 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14751
14752 * startup.el (x-apply-session-resources): New function.
14753
14754 * term/ns-win.el (ns-initialize-window-system):
14755 * term/w32-win.el (w32-initialize-window-system):
14756 * term/x-win.el (x-initialize-window-system): Use it to properly
14757 set menu-bar-mode and other vars from X resources, even if the
14758 initial frame is not a window-system frame (Bug#2299).
14759
14760 * subr.el (read-key): Avoid running filter function when setting
14761 up temporary tool bar entries (Bug#9922).
14762
14763 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14764
14765 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14766 (Bug#11344)
14767
14768 2012-04-27 Chong Yidong <cyd@gnu.org>
14769
14770 * select.el (xselect--encode-string): New function, split from
14771 xselect-convert-to-string.
14772 (xselect-convert-to-string): Use it.
14773 (xselect-convert-to-filename, xselect-convert-to-os)
14774 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14775 returned strings are properly encoded (Bug#11315).
14776
14777 2012-04-27 Chong Yidong <cyd@gnu.org>
14778
14779 * simple.el (delete-active-region): Move to killing custom group.
14780
14781 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14782
14783 * progmodes/which-func.el (which-func-current): Quote %
14784 characters for mode-line processing.
14785
14786 2012-04-27 Chong Yidong <cyd@gnu.org>
14787
14788 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14789 reaching eob (Bug#11286).
14790
14791 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14792
14793 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14794 (gdb): Make it buffer-local and init to zero.
14795 (gdb-control-commands-regexp): New variable.
14796 (gdb-send): Don't wrap in "-interpreter-exec console" if
14797 gdb-control-level is positive. Increment gdb-control-level
14798 whenever the command matches gdb-control-commands-regexp, and
14799 decrement it each time the command is "end". (Bug#11279)
14800
14801 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14802
14803 * window.el (adjust-window-trailing-edge, enlarge-window)
14804 (shrink-window, window-resize):
14805 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14806 windows (Bug#11276).
14807
14808 2012-04-27 Chong Yidong <cyd@gnu.org>
14809
14810 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14811 fix "missing prefix" warning. All callers changed.
14812
14813 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14814
14815 * emacs-lisp/assoc.el: Move to obsolete/.
14816
14817 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14818
14819 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14820
14821 * term/ns-win.el (ns-define-service):
14822 * progmodes/pascal.el (pascal-goto-defun):
14823 * progmodes/js.el (js--read-tab):
14824 * progmodes/etags.el (tags-lazy-completion-table):
14825 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14826 * emacs-lisp/ewoc.el (ewoc--wrap):
14827 * emacs-lisp/assoc.el (aput, adelete, amake):
14828 * doc-view.el (doc-view-convert-current-doc):
14829 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14830
14831 2012-04-26 Chong Yidong <cyd@gnu.org>
14832
14833 * image.el (image-type-from-buffer): Only return supported image
14834 type (Bug#9045).
14835
14836 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14837 value, for symmetry with diff-end-of-hunk.
14838 (diff-split-hunk, diff-find-source-location)
14839 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14840 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14841 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14842 compute the relevant hunk or file properly (Bug#6005).
14843 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14844
14845 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14846
14847 * vc/vc-mtn.el:
14848 * vc/vc-hg.el:
14849 * vc/vc-git.el:
14850 * vc/vc-dir.el:
14851 * vc/vc-cvs.el:
14852 * vc/vc-bzr.el:
14853 * vc/vc-arch.el:
14854 * vc/vc.el: Replace lexical-let by lexical-binding.
14855 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14856 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14857 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14858
14859 2012-04-26 Chong Yidong <cyd@gnu.org>
14860
14861 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14862 (diff-mode-shared-map): Bind it to / and [remap undo].
14863
14864 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14865 (ediff-window-setup-function): Use it as the default, to set up
14866 windows based on whether the current frame is graphical (Bug#2138).
14867 (ediff-choose-window-setup-function-automatically): Make obsolete.
14868
14869 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14870
14871 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14872
14873 * ffap.el: Remove old code for obsolete package.
14874 (ffap-complete-as-file-p): Remove.
14875
14876 Use completion-table-with-quoting for comint and pcomplete.
14877 * comint.el (comint--unquote&requote-argument)
14878 (comint--unquote-argument, comint--requote-argument): New functions.
14879 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14880 (comint-quote-filename): Use regexp-opt-charset.
14881 (comint--common-suffix, comint--common-quoted-suffix)
14882 (comint--table-subvert): Remove.
14883 (comint-unquote-function, comint-requote-function): New vars.
14884 (comint--complete-file-name-data): Use them with
14885 completion-table-with-quoting.
14886 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14887 * pcomplete.el (pcomplete-arg-quote-list)
14888 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14889 (pcomplete-unquote-argument-function): Default to non-nil.
14890 (pcomplete-unquote-argument): Simplify.
14891 (pcomplete--common-quoted-suffix): Remove.
14892 (pcomplete-requote-argument-function): New var.
14893 (pcomplete--common-suffix): New function.
14894 (pcomplete-completions-at-point): Use completion-table-with-quoting
14895 and completion-table-subvert.
14896
14897 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14898 (minibuffer--double-dollars): Preserve properties.
14899 (completion--sifn-requote): New function.
14900 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14901
14902 * minibuffer.el: Add support for completion of quoted/escaped data.
14903 (completion-table-with-quoting, completion-table-subvert): New funs.
14904 (completion--twq-try, completion--twq-all): New functions.
14905 (completion--nth-completion): New function.
14906 (completion-try-completion, completion-all-completions): Use it.
14907
14908 2012-04-25 Leo Liu <sdl.web@gmail.com>
14909
14910 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14911 Use compilation-message if available to find real filename.
14912
14913 2012-04-25 Chong Yidong <cyd@gnu.org>
14914
14915 * vc/diff-mode.el (diff-setup-whitespace): New function.
14916 (diff-mode): Use it.
14917
14918 * vc/diff.el (diff-sentinel):
14919 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14920 Whitespace mode variables based on diff style (Bug#8612).
14921
14922 2012-04-25 Leo Liu <sdl.web@gmail.com>
14923
14924 * progmodes/python.el (python-send-region): Add suffix .py to the
14925 temp file.
14926
14927 * files.el (auto-mode-alist): Use javascript-mode instead.
14928
14929 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14930
14931 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14932
14933 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14934 (soap-resolve-references-for-array-type): Hack to prevent self
14935 references, see Bug#9.
14936 (soap-parse-envelope): Report the contents of the 'detail' node
14937 when receiving a fault reply.
14938 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14939
14940 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14941 (soap-inspect-simple-type): New function.
14942
14943 * net/soap-client.el (soap-simple-type): New struct.
14944 (soap-default-xsd-types, soap-default-soapenc-types)
14945 (soap-decode-basic-type, soap-encode-basic-type):
14946 support unsignedInt and double basic types.
14947 (soap-resolve-references-for-simple-type)
14948 (soap-parse-simple-type, soap-encode-simple-type): New function.
14949 (soap-parse-schema): Parse xsd:simpleType declarations.
14950
14951 * net/soap-client.el (soap-default-xsd-types)
14952 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14953 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14954 the local name of "soapenc:Array".
14955 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14956 decoding integer, byte and anyURI xsd types.
14957
14958 2012-04-25 Chong Yidong <cyd@gnu.org>
14959
14960 * cus-edit.el (custom-buffer-create-internal): Update header text.
14961
14962 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14963
14964 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14965 settings on 'system-type', not on 'window-system'. On MS-Windows,
14966 set interactive-mode on in GDB.
14967
14968 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14969
14970 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14971 (ruby-syntax-propertize-regexp): Remove.
14972 (ruby-syntax-propertize-function): Split regexp into chunks.
14973 Match following code directly.
14974
14975 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14976
14977 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14978 (ruby-syntax-propertize-regexp): New function.
14979 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14980 by a special keyword.
14981
14982 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14983 (ruby-syntax-general-delimiters-goto-beg)
14984 (ruby-syntax-propertize-general-delimiters): New functions.
14985 (ruby-syntax-propertize-function): Use them to handle GDL.
14986 (ruby-font-lock-keywords): Move old handling of GDL...
14987 (ruby-font-lock-syntactic-keywords): .. to here.
14988 (ruby-calculate-indent): Adjust indentation for GDL.
14989
14990 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14991
14992 * notifications.el (top): Remove unneeded declarations.
14993 (notifications-specification-version): Change to "1.2".
14994 (notifications-interface, notifications-notify-method)
14995 (notifications-close-notification-method): Fix docstring.
14996 (notifications-get-capabilities-method): New defconst.
14997 (notifications-notify): Add :action-items, :resident and
14998 :transient hints. Change "image_data" to "image-data" and
14999 "image_path" to "image-path".
15000 (notifications-get-capabilities): New defun.
15001
15002 2012-04-24 Leo Liu <sdl.web@gmail.com>
15003
15004 * progmodes/python.el: Move hideshow setup to the end.
15005
15006 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15007
15008 * window.el (handle-select-window): Clear echo area since this is
15009 no more done by read_char (Bug#11304).
15010
15011 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15012
15013 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15014 and `/ M' to filter-derived-mode.
15015 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15016 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15017 (ibuffer-mark-by-mode): Use default rather than initial-input.
15018 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15019
15020 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15021
15022 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15023 (ibuffer-filter-by-derived-mode): New filter.
15024 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15025
15026 2012-04-23 Andreas Politz <politza@fh-trier.de>
15027
15028 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15029
15030 2012-04-23 Chong Yidong <cyd@gnu.org>
15031
15032 * cus-edit.el (customize-apropos, customize-apropos-options):
15033 Disable matching of non-option variables (Bug#11176).
15034 (customize-option, customize-option-other-window)
15035 (customize-changed-options): Doc fix.
15036 (customize-apropos-options, customize-apropos-faces)
15037 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15038
15039 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15040 Fix word list splitting (Bug#11132).
15041 (apropos-symbol, apropos-keybinding, apropos-label)
15042 (apropos-property, apropos-function-button)
15043 (apropos-variable-button, apropos-misc-button): New faces.
15044 (apropos-symbol-face, apropos-keybinding-face)
15045 (apropos-label-face, apropos-property-face, apropos-match-face):
15046 Variables removed (Bug#8396).
15047 (apropos-library-button, apropos-format-plist, apropos-print)
15048 (apropos-print-doc, apropos-describe-plist): Callers changed.
15049
15050 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15051
15052 * net/xesam.el (xesam-mode-map): Use let-bound map in
15053 initialization. (Bug#11292)
15054
15055 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15056
15057 Preserve ispell session localwords when switching back to
15058 original buffer.
15059
15060 * textmodes/ispell.el (ispell-buffer-session-localwords):
15061 New buffer-local variable to hold buffer session localwords.
15062 (ispell-kill-ispell): Add option 'clear to delete session
15063 localwords.
15064 (ispell-command-loop, ispell-change-dictionary)
15065 (ispell-buffer-local-words): Preserve session localwords when
15066 needed.
15067
15068 * textmodes/flyspell.el (flyspell-process-localwords)
15069 (flyspell-do-correct): Preserve session localwords when needed.
15070
15071 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15072
15073 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15074 using obsolete `translation-table-for-input'.
15075 (ispell-word, ispell-process-line, ispell-complete-word):
15076 Use plain `insert' instead of removed `ispell-insert-word'.
15077
15078 2012-04-22 Chong Yidong <cyd@gnu.org>
15079
15080 * cus-edit.el (custom-variable-menu)
15081 (custom-variable-reset-saved, custom-face-menu)
15082 (custom-face-reset-saved): If there is no saved value, make the
15083 "reset-saved" operation bring back the default (Bug#9509).
15084 (custom-face-state): Properly detect themed faces.
15085
15086 * faces.el (face-spec-set): Stop supporting deprecated form of
15087 third arg.
15088
15089 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15090
15091 Move functions from C to Lisp. Make non-blocking method calls
15092 the default. Implement further D-Bus standard interfaces.
15093
15094 * net/dbus.el (dbus-message-internal): Declare function.
15095 Remove unneeded function declarations.
15096 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15097 (dbus-message-type-method-return, dbus-message-type-error)
15098 (dbus-message-type-signal): Declare variables. Remove local
15099 definitions.
15100 (dbus-interface-dbus, dbus-interface-peer)
15101 (dbus-interface-introspectable, dbus-interface-properties)
15102 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15103 Adapt docstring.
15104 (dbus-interface-objectmanager): New defconst.
15105 (dbus-call-method, dbus-call-method-asynchronously)
15106 (dbus-send-signal, dbus-method-return-internal)
15107 (dbus-method-error-internal, dbus-register-service)
15108 (dbus-register-signal, dbus-register-method): New defuns, moved
15109 from dbusbind.c
15110 (dbus-call-method-handler, dbus-setenv)
15111 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15112 New defuns.
15113 (dbus-call-method-non-blocking): Make it an obsolete function.
15114 (dbus-unregister-object, dbus-unregister-service)
15115 (dbus-handle-event, dbus-register-property)
15116 (dbus-property-handler): Obey the new structure of
15117 `bus-registered-objects'.
15118 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15119 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15120 Use `dbus-call-method'.
15121
15122 2012-04-22 Chong Yidong <cyd@gnu.org>
15123
15124 * cus-edit.el (custom-commands, custom-reset-menu)
15125 (Custom-reset-standard): Tweak labels.
15126 (custom-reset-button-menu): Change default to t.
15127 (custom-buffer-create-internal): For the custom-reset-button-menu
15128 case, put the revert button first.
15129 (custom-group-subtitle): New face.
15130 (custom-group-value-create): Align docstring to a specific column.
15131
15132 * wid-edit.el (widget-documentation-link-add): Don't handle
15133 indentation in this function.
15134 (widget-documentation-string-indent-to): New function.
15135 (widget-documentation-string-value-create): Use it.
15136
15137 * autorevert.el (auto-revert):
15138 * epg-config.el (epg):
15139 * ibuffer.el (ibuffer):
15140 * mpc.el (mpc):
15141 * ses.el (ses):
15142 * eshell/eshell.el (eshell):
15143 * net/ange-ftp.el (ange-ftp):
15144 * progmodes/ebnf2ps.el (postscript):
15145 * progmodes/flymake.el (flymake):
15146 * progmodes/prolog.el (prolog):
15147 * progmodes/verilog-mode.el (verilog-mode):
15148 * progmodes/which-func.el (which-func):
15149 * term/xterm.el (xterm):
15150 * textmodes/picture.el (picture):
15151 * textmodes/tildify.el (tildify):
15152 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15153 customization buffers.
15154
15155 2012-04-22 Alan Mackenzie <acm@muc.de>
15156
15157 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15158 Adding a ) can hide the resulting (..) from searches. Fix it.
15159 Bound the backward search to the position of the existing (.
15160
15161 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15162
15163 * progmodes/verilog-mode.el (verilog-mode): Check whether
15164 which-func-modes is t before adding verilog-mode.
15165 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15166
15167 2012-04-21 Leo Liu <sdl.web@gmail.com>
15168
15169 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15170
15171 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15172
15173 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15174 filling of the last column of a table (Bug#5635).
15175 (woman-find-next-control-line): New arg, specifying an additional
15176 regexp component for the control line.
15177 (woman2-roff-buffer): Use it.
15178 (woman-break-table): New function.
15179 (woman2-TS): Use it.
15180
15181 2012-04-21 Chong Yidong <cyd@gnu.org>
15182
15183 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15184 (woman-horizontal-escapes, woman-negative-vertical-space)
15185 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15186 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15187
15188 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15189
15190 * minibuffer.el (completion-file-name-table): Complete user names.
15191
15192 2012-04-20 Leo Liu <sdl.web@gmail.com>
15193
15194 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15195 and pcase-let*.
15196
15197 2012-04-20 Chong Yidong <cyd@gnu.org>
15198
15199 * server.el (server-execute): Respect initial-buffer-choice if it
15200 is a string and there are no files to open (Bug#2825).
15201 (server-create-window-system-frame, server-create-tty-frame):
15202 Don't switch buffers here.
15203 (server-process-filter): Only try to open a window system frame if
15204 compiled with graphical support (Bug#8314).
15205
15206 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15207
15208 * battery.el (battery-echo-area-format): Display remaining time
15209 for sysfs backend too (Bug#11269).
15210 (battery-linux-sysfs): Fix conditional for the charge.
15211
15212 2012-04-20 Chong Yidong <cyd@gnu.org>
15213
15214 * progmodes/gdb-mi.el (gdb): Revert previous change.
15215 (gdb-inferior-io--init-proc): New function.
15216 (gdb-init-1): Use it.
15217 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15218 responsible for allocating a new pty and hooking it to gdb when
15219 the old pty gets an EIO due to process exit.
15220 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15221 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15222 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15223
15224 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15225
15226 * window.el (window-min-size, window-sizable, window-min-delta)
15227 (window-max-delta, window--resizable, window-resizable)
15228 (window-total-size, window-full-height-p, window-full-width-p)
15229 (window-in-direction, window--resize-mini-window, window-resize)
15230 (window--resize-child-windows-normal)
15231 (window--resize-child-windows, window--resize-siblings)
15232 (window--resize-this-window, adjust-window-trailing-edge)
15233 (enlarge-window, shrink-window): Doc fixes.
15234
15235 2012-04-20 Chong Yidong <cyd@gnu.org>
15236
15237 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15238 New function to call delete-process on the gdb-inferior buffer's pty.
15239 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15240 pty process (Bug#11273).
15241 (gdb-update): New arg to suppress talking to the gdb process.
15242 (gdb-done-or-error): Use it.
15243 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15244 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15245 sentinel not being called.
15246
15247 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15248
15249 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15250
15251 2012-04-20 Glenn Morris <rgm@gnu.org>
15252
15253 * net/network-stream.el (open-network-stream): Doc fix.
15254
15255 2012-04-20 Chong Yidong <cyd@gnu.org>
15256
15257 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15258
15259 2012-04-20 Alan Mackenzie <acm@muc.de>
15260
15261 Ensure searching for keywords is case sensitive.
15262
15263 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15264 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15265 (c-defun-name, c-mark-function, c-cpp-define-name)
15266 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15267 (c-context-line-break): Bind case-fold-search to nil.
15268
15269 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15270 Bind case-fold-search to nil.
15271
15272 2012-04-20 Chong Yidong <cyd@gnu.org>
15273
15274 * mail/sendmail.el (mail-bury): Call return action with the right
15275 Rmail buffer (Bug#11242).
15276
15277 * server.el (server-process-filter): Handle corner case where both
15278 tty and nowait options are present (Bug#11102).
15279
15280 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15281
15282 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15283 (top level): Put into the executable the ident-style '$Id:' tag on
15284 windows-nt as well.
15285
15286 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15287
15288 * electric.el (electric-indent-post-self-insert-function): Check that
15289 electric-indent-mode is enabled in current buffer.
15290
15291 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15292
15293 * imenu.el (imenu-progress-message): Restore; it is "used" in
15294 erc/erc-imenu.el and net/snmp-mode.el.
15295
15296 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15297
15298 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15299 (mouse-avoidance-nudge-mouse): Remove unused binding.
15300
15301 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15302
15303 * descr-text.el (describe-char):
15304 * progmodes/python.el (python-describe-symbol):
15305 Don't call `toggle-read-only', set `buffer-read-only'.
15306
15307 * imenu.el (imenu-default-goto-function): Mark unused args.
15308 (imenu-progress-message): Remove obsolete macro; all callers changed.
15309
15310 * subr.el (keymap-canonicalize): Remove unused binding.
15311 (read-passwd): Mark unused arg.
15312
15313 * tutorial.el (tutorial--display-changes): Remove unused binding.
15314 (tutorial--save-tutorial-to): Remove unused variable.
15315
15316 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15317 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15318 (package-generate-autoloads, package-menu--generate)
15319 (package-menu--find-upgrades): Remove unused bindings.
15320
15321 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15322 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15323 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15324 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15325 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15326 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15327 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15328 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15329 (cua-delete-char-rectangle): Mark unused args.
15330 (cua-align-rectangle): Remove unused binding.
15331
15332 * mail/rmail.el (compilation--message->loc)
15333 (epa--find-coding-system-for-mime-charset): Declare.
15334
15335 * net/dbus.el (dbus-register-service): Declare.
15336 (dbus-name-owner-changed-handler): Remove unused binding.
15337
15338 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15339 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15340 (nxml-scan-backward-within): Mark unused arg.
15341 (nxml-dynamic-markup-word): Remove unused binding.
15342
15343 * mouse.el (mouse-menu-major-mode-map):
15344 * emacs-lisp/authors.el (authors-scan-change-log)
15345 (authors-add-to-author-list):
15346 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15347 * emacs-lisp/smie.el (smie-auto-fill):
15348 * mail/sendmail.el (mail-bury):
15349 * mail/unrmail.el (unrmail):
15350 * net/tls.el (open-tls-stream):
15351 * textmodes/picture.el (picture-mouse-set-point):
15352 Remove unused bindings.
15353
15354 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15355
15356 * net/tramp.el (tramp-action-password): Let-bind
15357 `enable-recursive-minibuffers' to t.
15358
15359 2012-04-18 Sam Steingold <sds@gnu.org>
15360
15361 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15362 instead of 'string to accommodate values like [f11].
15363 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15364 * progmodes/gdb-mi.el: Likewise.
15365
15366 2012-04-18 Leo Liu <sdl.web@gmail.com>
15367
15368 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15369 current buffer.
15370 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15371 LOCAL is nil.
15372
15373 2012-04-18 Chong Yidong <cyd@gnu.org>
15374
15375 * simple.el (line-move): Use forward-line if in batch mode
15376 (Bug#11053).
15377
15378 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15379
15380 * files.el (after-find-file): Do not try to add a final newline if
15381 the buffer is read-only (Bug#11156).
15382
15383 2012-04-17 Richard Stallman <rms@gnu.org>
15384
15385 * mail/rmail.el (rmail-start-mail):
15386 Pass (rmail-mail-return...) for the return-action.
15387 Pass (rmail-yank-current-message...) for the yank-action.
15388 (rmail-yank-current-message): New function.
15389 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15390 (rmail-reply): Likewise.
15391 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15392
15393 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15394 buffer, not the last. Reject temp buffers. Use the rmail-mode
15395 buffer, not newbuf.
15396
15397 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15398
15399 * server.el (server-ensure-safe-dir): Simplify.
15400
15401 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15402
15403 * emacs-lisp/smie.el: Provide smarter auto-filling.
15404 (smie-auto-fill): New function.
15405 (smie-setup): Use it.
15406
15407 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15408
15409 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15410
15411 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15412 (comment-indent): Use it.
15413
15414 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15415
15416 * ses.el: The overall change is to add cell renaming, that is
15417 setting fancy names for cell symbols other than name matching
15418 "\\`[A-Z]+[0-9]+\\'" regexp .
15419 (ses-localvars): Add ses--renamed-cell-symb-list.
15420 (ses-create-cell-variable): New defun.
15421 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15422 (ses-relocate-formula): Relocate formulas only for cells the
15423 symbols of which are not renamed, i.e. symbols whose names do not
15424 match regexp "\\`[A-Z]+[0-9]+\\'".
15425 (ses-relocate-all): Relocate values only for cells the symbols of
15426 which are not renamed.
15427 (ses-load): Create cells variables as the (ses-cell ...) are read,
15428 in order to check row col consistency with cell symbol name only
15429 for cells that are not renamed.
15430 (ses-replace-name-in-formula): New defun.
15431 (ses-rename-cell): New defun.
15432
15433 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15434
15435 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15436 New option (bug#11118).
15437 (perl-calculate-indent): Respect it.
15438
15439 2012-04-17 Glenn Morris <rgm@gnu.org>
15440
15441 * dired-aux.el (dired-mark-read-string): Doc fix.
15442
15443 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15444
15445 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15446 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15447
15448 2012-04-17 Glenn Morris <rgm@gnu.org>
15449
15450 * mouse.el (mouse-drag-track):
15451 * speedbar.el (speedbar-frame-mode):
15452 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15453
15454 2012-04-16 Leo Liu <sdl.web@gmail.com>
15455
15456 * progmodes/python.el: Trivial cleanup.
15457
15458 2012-04-16 Glenn Morris <rgm@gnu.org>
15459
15460 * vc/vc.el (vc-string-prefix-p):
15461 * vc/pcvs-util.el (cvs-string-prefix-p):
15462 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15463 * mpc.el (mpc-string-prefix-p):
15464 Make all of these into obsolete aliases for string-prefix-p.
15465 Update callers.
15466 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15467
15468 * textmodes/two-column.el: Move custom options to the start.
15469 (frame-width): Remove compat definition.
15470 (2C-associate-buffer, 2C-dissociate):
15471 Use with-current-buffer rather than save-excursion.
15472 (2C-dissociate): Force a mode-line update.
15473 (2C-autoscroll): Use ignore-errors.
15474
15475 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15476 Autoload trivia.
15477
15478 * emacs-lisp/cl-extra.el (*random-state*):
15479 Remove unnecessary declaration.
15480
15481 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15482
15483 * play/cookie1.el (cookie-snarf):
15484 Give an explicit error if input file cannot be read.
15485
15486 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15487
15488 * progmodes/perl-mode.el (c-macro-expand):
15489 Remove unnecessary autoload (it is in loaddefs.el).
15490
15491 * textmodes/picture.el (picture-desired-column)
15492 (picture-update-desired-column): Convert comments to doc-strings.
15493 (picture-substitute): Remove function.
15494 (picture-mode-map): Initialize in the defvar.
15495
15496 * woman.el: Remove eval-after-load for tar-mode.
15497 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15498 (woman-tar-extract-file): Autoload it.
15499
15500 * frame.el (automatic-hscrolling): Make this alias obsolete.
15501
15502 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15503
15504 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15505 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15506 (ispell-dictionary-base-alist): Revert to original XEmacs
15507 friendly version for default. [:alpha:] will be added in
15508 `ispell-set-spellchecker-params' if needed.
15509
15510 2012-04-16 Chong Yidong <cyd@gnu.org>
15511
15512 * image.el (imagemagick--file-regexp): New variable.
15513 (imagemagick-register-types): Use it.
15514 (imagemagick-types-inhibit): Add :set function. Allow new value
15515 of t to inhibit all types.
15516
15517 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15518 so we can preload it.
15519
15520 * loadup.el (fboundp): Preload regexp-opt, needed by
15521 imagemagick-register-types.
15522
15523 2012-04-15 Chong Yidong <cyd@gnu.org>
15524
15525 * frame.el (scrolling): Remove nearly unused customization group.
15526
15527 * scroll-all.el (scroll-all-mode): Move to windows group.
15528
15529 2012-04-15 Chong Yidong <cyd@gnu.org>
15530
15531 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15532
15533 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15534
15535 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15536 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15537
15538 2012-04-15 Glenn Morris <rgm@gnu.org>
15539
15540 * simple.el (process-file-side-effects): Doc fix.
15541
15542 2012-04-15 Glenn Morris <rgm@gnu.org>
15543
15544 * international/mule-cmds.el (set-language-environment): Doc fix.
15545
15546 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15547
15548 * server.el (server-auth-key, server-generate-key): Doc fixes.
15549 (server-get-auth-key): Doc fix. Use `string-match-p'.
15550 (server-start): Reflow docstring.
15551
15552 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15553
15554 * server.el (server-generate-key): `called-interactively-p'
15555 requires a parameter.
15556
15557 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15558
15559 * server.el (server-auth-key): New variable.
15560 (server-generate-key, server-get-auth-key): New function.
15561 (server-start): Use the new variable and functions to allow
15562 setting a permanent server key (bug#9423).
15563
15564 2012-04-14 Leo Liu <sdl.web@gmail.com>
15565
15566 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15567
15568 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15569
15570 Spelling fixes.
15571 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15572 Emacs uses American spelling.
15573
15574 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15575
15576 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15577 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15578 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15579 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15580
15581 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15582
15583 * progmodes/which-func.el (which-func-modes): Change default.
15584
15585 2012-04-14 Kim F. Storm <storm@cua.dk>
15586
15587 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15588 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15589
15590 2012-04-14 Chong Yidong <cyd@gnu.org>
15591
15592 * custom.el (custom-theme-set-variables): Doc fix.
15593
15594 2012-04-14 Glenn Morris <rgm@gnu.org>
15595
15596 * international/mule.el (set-auto-coding-for-load): Doc fix.
15597
15598 2012-04-14 Alan Mackenzie <acm@muc.de>
15599
15600 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15601 imenu work again for Objective C Mode. Correct the *-index values,
15602 these having been disturbed by a previous change in 2011-08.
15603
15604 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15605 Correct two search limits.
15606
15607 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15608
15609 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15610
15611 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15612
15613 * international/characters.el: Fix sorting.
15614
15615 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15616
15617 * international/characters.el: Add more missing Latin case pairs.
15618
15619 2012-04-14 Glenn Morris <rgm@gnu.org>
15620
15621 * files.el (dir-locals-set-class-variables): Doc fix.
15622
15623 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15624
15625 * international/characters.el: Add set-case-syntax-pair call for
15626 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15627 counterpart. (Bug#11209)
15628
15629 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15630
15631 2012-04-14 Glenn Morris <rgm@gnu.org>
15632
15633 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15634
15635 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15636
15637 * textmodes/ispell.el (ispell-dictionary-base-alist):
15638 Add data for Hebrew.
15639
15640 2012-04-14 Chong Yidong <cyd@gnu.org>
15641
15642 * net/rcirc.el (rcirc-cmd-quit):
15643 Revert 2012-03-18 change (Bug#11192).
15644
15645 2012-04-14 Glenn Morris <rgm@gnu.org>
15646
15647 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15648
15649 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15650
15651 * minibuffer.el (completion-in-region-mode-map):
15652 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15653
15654 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15655
15656 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15657
15658 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15659
15660 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15661 to allow `C-M-f' and `C-M-b' to move to the nearest path
15662 separator (bug#9511).
15663
15664 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15665
15666 * avoid.el: Require cl when compiling. And also move the
15667 `provide' to the end.
15668
15669 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15670
15671 * avoid.el (mouse-avoidance-banish-position): New variable.
15672 (mouse-avoidance-banish-destination): Use it (bug#10165).
15673
15674 2012-04-13 Leo Liu <sdl.web@gmail.com>
15675
15676 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15677
15678 2012-04-13 Ken Brown <kbrown@cornell.edu>
15679
15680 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15681 this is no longer needed now that cygstart understands file:// URLs.
15682 (browse-url-filename-alist): For the same reason, don't modify
15683 file:// URLs on Cygwin.
15684
15685 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15686
15687 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15688 the region on shift if the binding is already shifted (bug#11221).
15689
15690 2012-04-12 Glenn Morris <rgm@gnu.org>
15691
15692 * mail/mailpost.el: Move to obsolete/.
15693
15694 2012-04-12 Drew Adams <drew.adams@oracle.com>
15695
15696 * imenu.el (imenu--generic-function): Ignore invisible definitions
15697 (bug#10123).
15698
15699 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15700
15701 * hexl.el (hexl-bits): New variable.
15702 (hexl-options): Mention the variable in the doc string.
15703 (hexl-rulerise, hexl-line-displen): New functions.
15704 (hexl-mode): Mention the new variable.
15705 (hexl-mode, hexl-current-address, hexl-current-address):
15706 Use the displen.
15707 (hexl-ascii-start-column): New function.
15708 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15709 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15710
15711 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15712
15713 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15714 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15715 the encoding, as expected by hunspell.
15716
15717 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15718
15719 * battery.el (battery--linux-sysfs-regexp): New const.
15720 (battery-status-function): Use it. Remove yeeloong special case.
15721 (battery-yeeloong-sysfs): Remove.
15722 (battery-echo-area-format): Remove yeeloong special case.
15723
15724 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15725
15726 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15727 Reported by Noah Friedman.
15728
15729 * subr.el (read-passwd): Use read-string.
15730
15731 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15732
15733 * vcursor.el (vcursor-move): Increase the priority of the overlay
15734 (bug#9663).
15735
15736 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15737
15738 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15739 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15740
15741 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15742
15743 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15744 define-minor-mode (bug#10760).
15745
15746 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15747
15748 * progmodes/grep.el (rgrep): Tweak the find command line so
15749 that directories matching `grep-find-ignored-files' won't be
15750 pruned (bug#10351).
15751
15752 2012-04-11 Chong Yidong <cyd@gnu.org>
15753
15754 * startup.el (command-line): Remove support for long-obsolete
15755 variable font-lock-face-attributes.
15756
15757 2012-04-11 Glenn Morris <rgm@gnu.org>
15758
15759 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15760
15761 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15762
15763 * window.el (window--state-get-1): Obey window-point-insertion-type.
15764
15765 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15766
15767 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15768 to previous function when point is on the first character of a
15769 function. Take care of that in `narrow-to-defun' (bug#6157).
15770
15771 2012-04-11 Glenn Morris <rgm@gnu.org>
15772
15773 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15774 not just file-errors.
15775
15776 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15777 (vc-bzr-sha1): Use internal sha1.
15778
15779 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15780
15781 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15782
15783 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15784
15785 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15786 that start in the middle of the line (bug#10496).
15787
15788 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15789
15790 * battery.el (battery-linux-proc-acpi): Only one battery is
15791 discharged at a time, but that seems to confuse battery.el when
15792 computing `rate-type' for the battery not being discharged
15793 (bug#10332).
15794
15795 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15796
15797 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15798
15799 * international/quail.el: Use dolist and simplify.
15800 (quail-define-package, quail-update-keyboard-layout)
15801 (quail-define-rules): Use dolist.
15802 (quail-insert-kbd-layout, quail-get-translation): CSE.
15803
15804 * tmm.el: Use dolist, remove left over hook.
15805 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15806 Use dolist.
15807 (calendar-load-hook): Don't mess with it.
15808
15809 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15810 Use derived-mode-p. Run the diff asynchronously.
15811
15812 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15813
15814 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15815
15816 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15817
15818 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15819 (list-dynamic-libraries--loaded): New function.
15820 (list-dynamic-libraries--refresh): Use it.
15821
15822 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15823
15824 * progmodes/python.el (python-fill-paragraph):
15825 Make python-fill-region in a multiline string work when font-lock is
15826 disabled (bug#7018).
15827
15828 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15829
15830 * language/european.el (cp775): Add oem/legacy (en)coding on
15831 DOS/MS Windows for the Baltic languages. There are still plenty
15832 of texts written in this encoding/codepage (bug#6519).
15833
15834 2012-04-10 Glenn Morris <rgm@gnu.org>
15835
15836 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15837 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15838
15839 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15840
15841 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15842 next-line "n" and previous-line "p" in order to make recentf more
15843 consistent with ibuffer, dired or org-mode (bug#9387).
15844
15845 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15846
15847 * image.el (put-image): Return the overlay created instead of the
15848 optional input string (bug#7834). Note that this may break code
15849 that is (for some reason or other) depending on `put-image'
15850 returning the string.
15851
15852 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15853
15854 * simple.el (zap-to-char): Allow zapping using input methods
15855 (bug#1580).
15856
15857 * textmodes/fill.el (fill-region): Leave point and mark where they
15858 were before filling (bug#5399).
15859
15860 2012-04-09 Glenn Morris <rgm@gnu.org>
15861
15862 * version.el (emacs-bzr-get-version):
15863 Handle lightweight checkouts of local branches.
15864
15865 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15866
15867 * international/characters.el: Recover lost case pairs. (Bug#11209)
15868
15869 2012-04-09 Chong Yidong <cyd@gnu.org>
15870
15871 * custom.el (custom-variable-p): Return nil for non-symbol
15872 arguments instead of signaling an error.
15873 (user-variable-p): Obsolete alias for custom-variable-p.
15874
15875 * apropos.el (apropos-variable):
15876 * files-x.el (read-file-local-variable):
15877 * simple.el (set-variable):
15878 * woman.el (woman-mini-help):
15879 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15880
15881 2012-04-09 Glenn Morris <rgm@gnu.org>
15882
15883 * startup.el (normal-top-level): Don't look for leim-list.el
15884 in places where it will not be found. (Bug#910)
15885
15886 * international/mule-cmds.el (set-default-coding-systems):
15887 * files.el (normal-mode):
15888 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15889 This function was removed with ucs-tables.el in 2008.
15890
15891 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15892
15893 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15894 ispell-encoding8-command to "-i", without a trailing space.
15895 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15896 separate command-line arguments, to specify the encoding, since
15897 that's how hunspell expects it.
15898
15899 2012-04-08 Glenn Morris <rgm@gnu.org>
15900
15901 * loadup.el: Load bindings before cus-start.
15902 This reduces somewhat the number of "rogue" settings in emacs -Q.
15903
15904 2012-04-07 Glenn Morris <rgm@gnu.org>
15905
15906 * version.el (emacs-bzr-get-version): New function.
15907 (emacs-bzr-version): New variable.
15908 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15909 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15910
15911 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15912
15913 * international/uni-bidi.el, international/uni-category.el:
15914 * international/uni-combining.el, international/uni-decimal.el:
15915 * international/uni-decomposition.el, international/uni-digit.el:
15916 * international/uni-lowercase.el, international/uni-mirrored.el:
15917 * international/uni-name.el, international/uni-numeric.el:
15918 * international/uni-titlecase.el, international/uni-uppercase.el:
15919 Update for Unicode 6.1.
15920
15921 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15922
15923 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15924
15925 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15926
15927 * window.el (shrink-window): Mention the `window-min-height'
15928 variable in the doc string.
15929
15930 2012-04-05 Bastien Guerry <bzg@altern.org>
15931
15932 * color.el (color-lighten-name): Fix typo.
15933
15934 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15935
15936 * server.el (server--on-display-p): New function.
15937 (server--on-display-p): Use it.
15938
15939 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15940
15941 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15942 (bug#11145).
15943
15944 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15945
15946 * comint.el (comint--common-quoted-suffix): Check string boundary
15947 before comparing (bug#11158).
15948 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15949
15950 2012-04-04 Chong Yidong <cyd@gnu.org>
15951
15952 * minibuffer.el (completion-extra-properties): Doc fix.
15953
15954 * subr.el (delayed-warnings-hook): Doc fix.
15955
15956 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15957
15958 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15959 selection (Bug#11159).
15960 (epa-insert-keys): Inform that the default public key will be
15961 exported if no key is selected.
15962
15963 2012-04-04 Richard Stallman <rms@gnu.org>
15964
15965 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15966
15967 2012-04-03 Chong Yidong <cyd@gnu.org>
15968
15969 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15970 mail-insert-file, not its obsolete alias mail-attach-file.
15971
15972 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15973
15974 * notifications.el (notifications-notify): Fix docstring.
15975
15976 2012-04-02 Glenn Morris <rgm@gnu.org>
15977
15978 * emacs-lisp/authors.el (authors-aliases): Another addition.
15979
15980 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15981
15982 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15983 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15984 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15985
15986 2012-04-01 Chong Yidong <cyd@gnu.org>
15987
15988 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15989 Handle root directory properly.
15990 (copy-directory): Caller changed.
15991
15992 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15993 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15994
15995 2012-03-31 Glenn Morris <rgm@gnu.org>
15996
15997 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15998
15999 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16000
16001 * calendar/calendar.el (calendar-window-list)
16002 (calendar-hide-window): Restore. (Bug#11140)
16003 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16004
16005 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16006
16007 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16008
16009 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16010 Check if file is a symlink (Bug#10489).
16011
16012 * files.el (copy-directory): Likewise.
16013
16014 2012-03-30 Chong Yidong <cyd@gnu.org>
16015
16016 * image.el (imagemagick-types-inhibit)
16017 (imagemagick-register-types): Doc fix.
16018
16019 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16020
16021 * textmodes/ispell.el (ispell-get-extended-character-mode):
16022 Disable extended-char-mode for hunspell. hunspell does not support it
16023 and treats ~word as ordinary words in pipe mode.
16024
16025 2012-03-30 Glenn Morris <rgm@gnu.org>
16026
16027 * tutorial.el (help-with-tutorial): Ensure local variables don't
16028 happen to make the buffer read-only. (Bug#11127)
16029
16030 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16031
16032 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16033 (perl-calculate-indent): Return `noindent' in strings.
16034
16035 2012-03-28 Sam Steingold <sds@gnu.org>
16036
16037 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16038 instead of the broken adhockery which does not prevent calendar
16039 buffers from being displayed at random after exit.
16040 (calendar-window-list, calendar-hide-window): Remove the broken
16041 adhockery.
16042
16043 2012-03-28 Glenn Morris <rgm@gnu.org>
16044
16045 * replace.el (query-replace-map): Doc fix.
16046
16047 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16048
16049 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16050 contents. (Bug#11109)
16051
16052 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16053
16054 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16055 (bug#11077).
16056 (avl-tree--check, avl-tree--check-node): New funs.
16057
16058 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16059
16060 * window.el (switch-to-visible-buffer): New option.
16061 (switch-to-prev-buffer, switch-to-next-buffer):
16062 Observe switch-to-visible-buffer. Make sure that checking for a window
16063 showing a buffer already is done on the same frame.
16064
16065 2012-03-27 Glenn Morris <rgm@gnu.org>
16066
16067 * startup.el (mail-host-address): Doc fix.
16068
16069 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16070
16071 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16072 than 197 variables.
16073
16074 2012-03-26 Ami Fischman <ami@fischman.org>
16075
16076 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16077
16078 2012-03-26 Glenn Morris <rgm@gnu.org>
16079
16080 * files.el (save-buffers-kill-emacs): Doc fix.
16081
16082 * startup.el (normal-top-level, command-line, command-line-1):
16083 Give them doc strings.
16084
16085 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16086
16087 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16088 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16089
16090 2012-03-25 Chong Yidong <cyd@gnu.org>
16091
16092 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16093 theme if it was previously enabled before (Bug#11031).
16094
16095 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16096 spec with custom-face-get-current-spec if its :shown-value is not
16097 determined yet (Bug#9337).
16098 (customize-create-theme, custom-theme-revert): Doc fixes.
16099
16100 * button.el (button-at): Minor addition to docstring.
16101
16102 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16103
16104 * vc/vc.el (vc-merge): Fix a prompt.
16105
16106 2012-03-24 Chong Yidong <cyd@gnu.org>
16107
16108 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16109 point (Bug#9623).
16110
16111 * button.el (button-at): Minor addition to docstring.
16112
16113 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16114
16115 * newcomment.el (comment-choose-indent): No space after BOL.
16116
16117 2012-03-22 Sam Steingold <sds@gnu.org>
16118
16119 * window.el (switch-to-prev-buffer): Revert last patch because the
16120 bug turned out to be an advertised feature (Elisp manual 28.14).
16121
16122 2012-03-22 Glenn Morris <rgm@gnu.org>
16123
16124 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16125 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16126
16127 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16128
16129 * net/network-stream.el (network-stream-open-starttls): Make error
16130 message under Windows be less misleading.
16131
16132 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16133
16134 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16135 understands (bug#9942).
16136
16137 2012-03-22 Chong Yidong <cyd@gnu.org>
16138
16139 * simple.el (end-of-visible-line): Handle return value of
16140 next-single-property-change properly (Bug#9371).
16141
16142 2012-03-22 Kenichi Handa <handa@m17n.org>
16143
16144 * international/quail.el (quail-insert-kbd-layout): Fix previous
16145 change. To avoid unwanted bidi reordering, use
16146 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16147
16148 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16149
16150 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16151 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16152 (ruby-beginning-of-indent): Be more careful with the difference
16153 between word-boundary and symbol boundary.
16154 (ruby-mode-syntax-table): Make : a symbol constituent.
16155
16156 2012-03-21 Andreas Politz <politza@fh-trier.de>
16157
16158 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16159
16160 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16161
16162 * progmodes/etags.el (tags-completion-at-point-function):
16163 Improve last fix.
16164
16165 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16166
16167 2012-03-21 Sam Steingold <sds@gnu.org>
16168
16169 * progmodes/etags.el (tags-completion-at-point-function):
16170 Avoid the error when point is inside the pattern.
16171
16172 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16173
16174 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16175 line (Bug#10855).
16176
16177 2012-03-21 Drew Adams <drew.adams@oracle.com>
16178
16179 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16180
16181 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16182
16183 * ido.el (ido-set-current-directory, ido-read-internal)
16184 (ido-choose-completion-string, ido-completion-help): Handle nil
16185 value of ido-completion-buffer (Bug#11008).
16186
16187 2012-03-21 Sam Steingold <sds@gnu.org>
16188
16189 * window.el (switch-to-prev-buffer): Do not switch to a visible
16190 window previous buffer, just like with the frame previous buffers.
16191
16192 2012-03-21 Chong Yidong <cyd@gnu.org>
16193
16194 * faces.el (make-face, make-empty-face, copy-face):
16195 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16196 Doc fixes.
16197
16198 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16199
16200 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16201 (widget-complete): Remove broken use of it.
16202
16203 2012-03-20 Chong Yidong <cyd@gnu.org>
16204
16205 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16206 Use string-width and truncate-string-width to handle arbitrary
16207 characters.
16208
16209 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16210
16211 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16212 to draw rectangles, not squares. (Regression introduced by revno
16213 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16214
16215 2012-03-18 Chong Yidong <cyd@gnu.org>
16216
16217 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16218 it is not yet defined (for temacs).
16219
16220 2012-03-18 Leo Liu <sdl.web@gmail.com>
16221
16222 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16223 prefix.
16224
16225 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16226
16227 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16228 (ispell-choices-win-default-height, ispell-silently-savep)
16229 (ispell-dictionary-alist, ispell-encoding8-command)
16230 (ispell-check-version, ispell-aspell-find-dictionary)
16231 (ispell-valid-dictionary-list, ispell-words-keyword)
16232 (ispell-get-word, ispell-internal-change-dictionary)
16233 (ispell-region, ispell-skip-region-list)
16234 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16235 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16236 (ispell-message-text-end, ispell-message)
16237 (ispell-buffer-local-parsing): Doc fix.
16238
16239 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16240
16241 * htmlfontify.el: Add support for code block fontification for ODT
16242 export (Bug #9914).
16243 (hfy-optimisations): Define new option
16244 `body-text-only'
16245 (hfy-fontify-buffer): Honor above setting.
16246 (hfy-begin-span, hfy-end-span): New routines factored out form
16247 `hfy-fontify-buffer'.
16248 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16249 that permit insertion of custom tags.
16250 (hfy-fontify-buffer): Use above handlers.
16251 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16252 (hfy-face-to-css): Re-defined to be a variable.
16253 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16254 over multiple runs. This is made possible by having the caller let
16255 bind a special variable `hfy-user-sheet-assoc'.
16256 (htmlfontify-string): New defun.
16257 (hfy-compile-face-map): Make sure that the last char in the
16258 buffer is correctly fontified.
16259 (hfy-face-resolve-face): Whitespace only change.
16260
16261 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16262
16263 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16264 message more clear.
16265
16266 2012-03-16 Leo Liu <sdl.web@gmail.com>
16267
16268 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16269
16270 2012-03-16 Alan Mackenzie <acm@muc.de>
16271
16272 Further optimize the handling of large macros.
16273
16274 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16275 limit to a call of `c-literal-limits'.
16276 (c-determine-+ve-limit): New function.
16277 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16278 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16279 In CASE 5B, restrict a search limit to 500.
16280 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16281
16282 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16283 Restrict macro bounds to +-500 from after-change's BEG END.
16284
16285 2012-03-16 Leo Liu <sdl.web@gmail.com>
16286
16287 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16288
16289 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16290
16291 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16292 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16293
16294 2012-03-16 Glenn Morris <rgm@gnu.org>
16295
16296 * view.el (view-buffer, view-buffer-other-window)
16297 (view-buffer-other-frame): Doc fixes re special mode-class.
16298
16299 * subr.el (eval-after-load): If named feature is provided not from
16300 a file, run after-load forms. (Bug#10946)
16301
16302 * calendar/calendar.el (calendar-insert-at-column):
16303 Handle non-unit-width characters a bit better. (Bug#10978)
16304
16305 2012-03-15 Chong Yidong <cyd@gnu.org>
16306
16307 * emacs-lisp/ring.el (ring-extend): New function.
16308 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16309
16310 * comint.el (comint-read-input-ring)
16311 (comint-add-to-input-history): Grow comint-input-ring lazily.
16312
16313 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16314
16315 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16316 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16317
16318 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16319 (imenu-add-to-menubar): Don't add a redundant index.
16320 (imenu-update-menubar): Handle a dynamically composed keymap.
16321
16322 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16323
16324 * mail/sendmail.el (mail-encode-header):
16325 Bind rfc2047-encode-encoded-words to nil.
16326
16327 2012-03-13 Glenn Morris <rgm@gnu.org>
16328
16329 * calendar/calendar.el (calendar-string-spread):
16330 Handle non-unit-width characters a bit better. (Bug#10978)
16331
16332 2012-03-13 Leo Liu <sdl.web@gmail.com>
16333
16334 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16335 directory and file as argument (Bug#10822).
16336
16337 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16338
16339 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16340 For dynamically generated code, follow $PC.
16341 (gdb-disassembly-handler-custom): Handle no function name case.
16342
16343 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16344
16345 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16346 * emulation/ws-mode.el (ws-query-replace):
16347 * sort.el (sort-regexp-fields):
16348 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16349
16350 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16351
16352 * dabbrev.el: Fix cycle completion order (bug#10963).
16353 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16354 (dabbrev-completion): Don't use an obarray; provide
16355 a cycle-sort-function.
16356
16357 2012-03-12 Leo Liu <sdl.web@gmail.com>
16358
16359 * simple.el (kill-new): Use equal-including-properties for comparison.
16360 (kill-do-not-save-duplicates): Doc fix.
16361
16362 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16363
16364 * dabbrev.el: Fix cycle completion (bug#10963).
16365 Use lexical binding and wrap to 80 columns.
16366 (dabbrev-completion): Delay computing the list of completions.
16367
16368 2012-03-12 Kenichi Handa <handa@m17n.org>
16369
16370 * international/quail.el (quail-insert-kbd-layout): Surround each
16371 row by LRO and PDF instead of inserting many LRMs. Pad the left
16372 and right of each non-spacing marks. Insert invisible space
16373 between lower and upper characters to prevent composition.
16374
16375 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16376
16377 * minibuffer.el (minibuffer-complete): Don't get confused when the
16378 function is run twice via different commands (bug#10958).
16379 (complete-with-action): Fix docstring.
16380
16381 2012-03-12 Chong Yidong <cyd@gnu.org>
16382
16383 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16384 (nxml-completion-at-point-function): New function.
16385 (nxml-mode): Use it.
16386 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16387
16388 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16389 Load generated autoloads file before byte compiling (Bug#10970).
16390 (package--make-autoloads-and-compile): New helper fun.
16391
16392 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16393
16394 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16395
16396 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16397
16398 * autorevert.el (auto-revert-handler): Ensure, that
16399 file-readable-p is applied only for local files or in
16400 auto-revert-tail-mode.
16401
16402 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16403
16404 * server.el (server-eval-at): Handle non-tcp connections.
16405 Decode result string.
16406
16407 * server.el (server-msg-size): New constant.
16408 (server-reply-print): New function.
16409 (server-eval-and-print): Use it.
16410 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16411 Handle -print-nonl.
16412
16413 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16414
16415 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16416 (Bug#10987).
16417
16418 2012-03-11 Chong Yidong <cyd@gnu.org>
16419
16420 * simple.el (goto-line): Doc fix (Bug#9938).
16421
16422 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16423
16424 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16425 when finished (Bug#10963).
16426
16427 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16428
16429 * window.el (split-window-below): Fix bug in case where
16430 split-window-keep-point is nil (Bug#10971).
16431
16432 2012-03-11 Juri Linkov <juri@jurta.org>
16433
16434 * replace.el (replace-highlight): Set isearch-word to nil
16435 unconditionally. (Bug#10887)
16436
16437 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16438
16439 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16440 mairix-replace-illegal-chars; all callers changed. Don't remove
16441 ^, ~, and = characters: they are meaningful in mairix search specs.
16442 (mairix-widget-create-query): Add usage information about mairix
16443 search forms: negating words, searching for substrings, etc.
16444
16445 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16446
16447 * international/fontset.el (font-encoding-alist): Add an entry for
16448 ksx1001 (Bug#5667).
16449
16450 2012-03-10 Richard Stallman <rms@gnu.org>
16451
16452 * mail/sendmail.el (mail-encode-header):
16453 Set rfc2047-encode-encoded-words.
16454
16455 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16456
16457 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16458 view buffer means not swapped.
16459 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16460 (rmail-write-region-annotate): Error if real text has disappeared.
16461
16462 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16463
16464 2012-03-10 Chong Yidong <cyd@gnu.org>
16465
16466 * emulation/cua-rect.el (cua--init-rectangles):
16467 * emulation/cua-base.el (cua--init-keymaps):
16468 Add delete-forward-char to remappings (Bug#9666).
16469
16470 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16471
16472 * speedbar.el (speedbar-unhighlight-one-tag-line):
16473 Avoid unhighlighting due to frame switching (Bug#10275).
16474
16475 2012-03-10 Chong Yidong <cyd@gnu.org>
16476
16477 * minibuffer.el (completion-in-region, completion-help-at-point):
16478 Give the completion field overlay a high priority (Bug#6830).
16479
16480 * dired.el (dired-goto-file): Recognize absolute file name
16481 listings (Bug#7126).
16482 (dired-goto-file-1): New helper function.
16483 (dired-toggle-read-only): Inhibit warnings.
16484
16485 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16486
16487 * net/dbus.el (dbus-property-handler): Return empty array if
16488 there are no properties.
16489
16490 2012-03-09 Leo Liu <sdl.web@gmail.com>
16491
16492 * savehist.el (savehist-printable): Stricter check for string
16493 value (Bug#10937).
16494
16495 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16496
16497 * mail/smtpmail.el (smtpmail-send-it):
16498 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16499 valid mbox format.
16500
16501 2012-03-09 Glenn Morris <rgm@gnu.org>
16502
16503 * files.el (dir-locals-find-file):
16504 Don't check result is regular, readable.
16505 (dir-locals-read-from-file): Demote errors.
16506
16507 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16508
16509 * international/quail.el (quail-insert-kbd-layout):
16510 Insert invisible LRM characters before each character in a keyboard
16511 layout cell, to prevent their reordering by bidi display engine.
16512 For details, see the discussion in
16513 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16514
16515 2012-03-08 Alan Mackenzie <acm@muc.de>
16516
16517 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16518 the starting position; make it extend the marked region when
16519 invoked repeatedly - all under appropriate circumstances.
16520 Fixes bugs #5525, #10906.
16521
16522 2012-03-08 Glenn Morris <rgm@gnu.org>
16523
16524 * files.el (locate-dominating-file, dir-locals-find-file):
16525 Undo 2012-03-06 change.
16526
16527 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16528
16529 * international/quail.el (quail-help):
16530 Force bidi-paragraph-direction be left-to-right. See discussion in
16531 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16532 for the reason.
16533
16534 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16535
16536 Avoid superfluous registering of signals. (Bug#10807)
16537
16538 * notifications.el (notifications-on-action-object)
16539 (notifications-on-close-object): New defvars.
16540 (notifications-on-action-signal, notifications-on-closed-signal):
16541 Unregister the signal if not needed any longer.
16542 (notifications-notify): Register `notifications-action-signal' or
16543 `notifications-closed-signal', if :on-action or :on-close has been
16544 passed as argument.
16545
16546 2012-03-07 Chong Yidong <cyd@gnu.org>
16547
16548 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16549 non-X platforms.
16550
16551 2012-03-06 Glenn Morris <rgm@gnu.org>
16552
16553 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16554 (x-disown-selection-internal, x-get-selection-internal):
16555 Doc fix (add arglist signatures). (Bug#10783)
16556
16557 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16558
16559 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16560 Handle breakpoints with no "type".
16561
16562 2012-03-06 Glenn Morris <rgm@gnu.org>
16563
16564 * files.el (locate-dominating-file): Add optional predicate argument.
16565 (dir-locals-find-file): Make use of above change.
16566
16567 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16568
16569 * info.el (Info-insert-dir): Also try "dir.gz".
16570
16571 2012-03-06 Glenn Morris <rgm@gnu.org>
16572
16573 * files.el (dir-locals-find-file):
16574 Ignore non-readable or non-regular files. (Bug#10928)
16575
16576 * files.el (locate-dominating-file): Doc fix.
16577
16578 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16579
16580 * calendar/calendar.el (calendar-set-mode-line):
16581 `getenv' returns a string. (Bug#10951)
16582
16583 2012-03-05 Leo Liu <sdl.web@gmail.com>
16584
16585 * simple.el (backward-delete-char-untabify): Constrain point to
16586 field (Bug#10939).
16587
16588 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16589
16590 2012-03-05 Chong Yidong <cyd@gnu.org>
16591
16592 * simple.el (count-words): If called from Lisp, return the word
16593 count, for symmetry with `count-lines'. Arglist changed.
16594 (count-words--message): Args changed. Consolidate counting code
16595 from count-words and count-words-region.
16596 (count-words-region): Caller changed.
16597 (count-lines-region): Make it an obsolete alias.
16598
16599 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16600
16601 * saveplace.el (save-place-to-alist)
16602 (save-place-ignore-files-regexp): Allow value nil to disable this
16603 feature.
16604
16605 2012-03-04 Chong Yidong <cyd@gnu.org>
16606
16607 * faces.el (face-spec-reset-face): For the default face, reset the
16608 attributes to default values (Bug#10748).
16609
16610 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16611
16612 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16613 previous patch: Check `message-send-mail-function', and not the
16614 default function (bug#10897).
16615
16616 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16617
16618 * notifications.el (notifications-on-action-signal)
16619 (notifications-on-closed-signal): Check for unique service name of
16620 incoming event. Fix error in removing entry.
16621 (top): Register for signals with wildcard service name.
16622 (notifications-notify): Use daemon unique service name for map entries.
16623
16624 2012-03-04 Chong Yidong <cyd@gnu.org>
16625
16626 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16627
16628 2012-03-04 Glenn Morris <rgm@gnu.org>
16629
16630 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16631 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16632 (expand-abbrev, define-abbrev-table): Doc fixes.
16633
16634 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16635
16636 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16637 `message-default-send-mail-function' and not `send-mail-function'
16638 when doing the prompting for `sendmail-query-once' before sending
16639 in Message buffers (bug#10897).
16640
16641 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16642 This is inconsistent with all the other stream functions, which leave
16643 the setting up to the higher levels (if so wanted) (bug#10931).
16644
16645 2012-03-02 Alan Mackenzie <acm@muc.de>
16646
16647 Depessimize the handling of very large macros.
16648
16649 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16650 (c-macro-cache-syntactic): New variables to implement a one
16651 element macro cache.
16652 (c-invalidate-macro-cache): New function.
16653 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16654 Adapt to use the new cache.
16655 (c-state-safe-place): Use better the cache of safe positions.
16656 (c-state-semi-nonlit-pos-cache)
16657 (c-state-semi-nonlit-pos-cache-limit):
16658 New variables for...
16659 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16660 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16661 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16662 Use c-state-semi-safe-place.
16663
16664 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16665 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16666
16667 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16668
16669 * jka-compr.el (jka-compr-call-process):
16670 Apply `file-accessible-directory-p' only when the default directory is
16671 not remote.
16672
16673 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16674
16675 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16676 access of FILE2, if FILE1 does not exist.
16677
16678 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16679 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16680
16681 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16682 Add "PAGER=" to `process-environment'.
16683
16684 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16685
16686 * progmodes/sql.el: Bug fix
16687 (sql-get-login-ext): Save login values in globals.
16688 (sql-get-login): Use new version of `sql-get-login-ext'.
16689 (sql-interactive-mode): Set global `sql-connection' to nil.
16690 (sql-connect): Set global values for connection.
16691 (sql-product-interactive): Save global values as buffer local.
16692
16693 2012-02-29 Leo Liu <sdl.web@gmail.com>
16694
16695 * abbrev.el (define-abbrevs): Reset sys to nil.
16696
16697 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16698
16699 * files.el (file-equal-p): Rename from `files-equal-p'.
16700 Return nil when one or both files don't exist.
16701 (file-subdir-of-p): Now only top directory must exists,
16702 return nil if it doesn't.
16703 (copy-directory): No need to test with `file-subdir-of-p' after
16704 creating dir.
16705 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16706 to `file-equal-p'.
16707
16708 2012-02-28 Glenn Morris <rgm@gnu.org>
16709
16710 * shell.el (shell-mode):
16711 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16712 * play/landmark.el (landmark-font-lock-face-O):
16713 * play/handwrite.el (handwrite):
16714 * play/gomoku.el (gomoku-O):
16715 * net/browse-url.el (browse-url-browser-display):
16716 * international/mule.el (define-charset):
16717 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16718 * filesets.el (filesets-find-file-delay):
16719 * eshell/em-xtra.el (eshell-xtra):
16720 * eshell/em-unix.el (eshell-grep):
16721 * emulation/viper.el (viper-mode):
16722 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16723 * emacs-lisp/easymenu.el (easy-menu-define):
16724 * calendar/timeclock.el (timeclock-use-display-time):
16725 * bs.el (bs-mode):
16726 * bookmark.el (bookmark-save-flag):
16727 Doc fix (standardize possessive apostrophe usage).
16728
16729 2012-02-27 Chong Yidong <cyd@gnu.org>
16730
16731 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16732 Fix key-binding lookup for ESC key (Bug#9146).
16733
16734 * font-lock.el (font-lock-specified-p): Rename from
16735 font-lock-spec-present. Callers changed.
16736
16737 2012-02-27 Daniel Hackney <dan@haxney.org>
16738
16739 * emacs-lisp/package.el (package-compute-transaction):
16740 Handle holding a package version to t in package-load-list.
16741
16742 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16743
16744 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16745 (tramp-get-inode, tramp-get-device): Use cached values.
16746
16747 2012-02-26 Alan Mackenzie <acm@muc.de>
16748
16749 Check there is a font-lock specification before doing initial
16750 fontification.
16751
16752 * font-core.el (font-lock-mode): Move the conditional from
16753 :after-hook to font-lock-initial-fontify.
16754 (font-lock-default-function): Move the check for a specification
16755 to font-lock-spec-present.
16756
16757 * font-lock.el (font-lock-initial-fontify): Call ...
16758 (font-lock-spec-present): New function.
16759
16760 2012-02-26 Jim Blandy <jimb@red-bean.com>
16761
16762 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16763 (gdb-send): Apply it to the operand of the '-interpreter-exec
16764 console' command, so that we can pass arguments with (say) quotes
16765 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16766
16767 2012-02-26 Chong Yidong <cyd@gnu.org>
16768
16769 * help-fns.el (describe-function-1): Clarify description of
16770 remapping (Bug#10844).
16771
16772 * files.el (files-equal-p): Doc fix.
16773 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16774 and quit the loop once a mismatch is found.
16775
16776 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16777
16778 * bs.el (bs--show-with-configuration): Don't throw an error
16779 if the window cannot be split; otherwise, subsequent calls to
16780 bs-show fail, restoring a stale window config. (Bug#10882)
16781
16782 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16783
16784 * term/ns-win.el (global-map): Bind ns-drag-file to
16785 ns-find-file (Bug#5855, Bug#10050).
16786
16787 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16788
16789 * calendar/parse-time.el (parse-time-string): Allow extractor to
16790 return nil.
16791
16792 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16793
16794 * net/tramp.el (tramp-file-name-for-operation):
16795 Add `files-equal-p' and `file-subdir-of-p'.
16796
16797 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16798 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16799 Add COPY-CONTENTS argument.
16800
16801 2012-02-25 Chong Yidong <cyd@gnu.org>
16802
16803 Add custom groups for VC backends, for consistency with vc-bzr.
16804
16805 * vc/vc-arch.el (vc-arch):
16806 * vc/vc-cvs.el (vc-cvs):
16807 * vc/vc-git.el (vc-git):
16808 * vc/vc-hg.el (vc-hg):
16809 * vc/vc-mtn.el (vc-mtn):
16810 * vc/vc-rcs.el (vc-rcs):
16811 * vc/vc-sccs.el (vc-sccs):
16812 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16813 All relevant defcustoms reassigned.
16814
16815 2012-02-25 Chong Yidong <cyd@gnu.org>
16816
16817 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16818
16819 * term/x-win.el (x-initialize-window-system): Reduce default for
16820 x-selection-timeout to 5 seconds (Bug#8869).
16821
16822 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16823
16824 * files.el (files-equal-p, file-subdir-of-p): New functions.
16825 (copy-directory): Error when trying to copy a directory on itself.
16826 Add missing copy-contents arg to tramp handler.
16827 * dired-aux.el (dired-copy-file-recursive): Same.
16828 (dired-create-files): Modify destination when source is equal to
16829 dest when copying files.
16830 Return also when dest is a subdir of source. (Bug#10489)
16831
16832 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16833
16834 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16835 (Bug#10874)
16836
16837 2012-02-23 Alan Mackenzie <acm@muc.de>
16838
16839 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16840 parameter "after-hook:" to allow the expansion to run code after
16841 the execution of the mode hooks.
16842
16843 * font-lock.el (font-lock-initial-fontify): New function extracted
16844 from font-lock-mode-internal.
16845
16846 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16847 :after-hook.
16848
16849 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16850
16851 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16852 (completion--cache-all-sorted-completions): New function.
16853 (completion-all-sorted-completions): Use it.
16854 (completion--do-completion, minibuffer-force-complete):
16855 Use it to re-instate the flush hook.
16856
16857 * icomplete.el (icomplete-completions): Replace last fix with a better
16858 one (bug#10850).
16859
16860 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16861
16862 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16863 when it might call us back infinitely (bug#10797).
16864
16865 2012-02-23 Glenn Morris <rgm@gnu.org>
16866
16867 * minibuffer.el (completion-category-overrides): Doc fix.
16868
16869 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16870
16871 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16872 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16873
16874 2012-02-23 Glenn Morris <rgm@gnu.org>
16875
16876 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16877 (authors-obsolete-files-regexps, authors-ignored-files)
16878 (authors-ambiguous-files, authors-renamed-files-alist):
16879 Add more entries.
16880
16881 2012-02-23 Juri Linkov <juri@jurta.org>
16882
16883 * isearch.el (isearch-occur): Sync interactive spec with occur's
16884 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16885
16886 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16887
16888 2012-02-22 Juri Linkov <juri@jurta.org>
16889
16890 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16891 (ucs-insert): Doc fix. Check for hex digits in the string.
16892 Don't display `nil' in the error message. (Bug#10857)
16893
16894 2012-02-22 Alan Mackenzie <acm@muc.de>
16895
16896 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16897
16898 2012-02-22 Glenn Morris <rgm@gnu.org>
16899
16900 * ffap.el (ffap-c-path):
16901 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16902
16903 2012-02-22 Chong Yidong <cyd@gnu.org>
16904
16905 * custom.el (load-theme): Doc fix.
16906
16907 2012-02-22 Glenn Morris <rgm@gnu.org>
16908
16909 * dired-x.el (dired-guess-shell-alist-default):
16910 Remove escape sequences from nroff output. (Bug#172)
16911
16912 2012-02-21 Glenn Morris <rgm@gnu.org>
16913
16914 * vc/emerge.el (emerge-defvar-local):
16915 Set `permanent-local' property rather than unused `preserved'.
16916
16917 * textmodes/picture.el (picture-delete-char): New alias.
16918 (picture-mode-map): Use it. (Bug#10860)
16919 (picture-mode): Doc fix.
16920
16921 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16922
16923 * newcomment.el (uncomment-region-default): Remove unused binding.
16924
16925 2012-02-21 Glenn Morris <rgm@gnu.org>
16926
16927 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16928 (picture-self-insert, picture-tab-chars): Doc fix.
16929 (picture-mode-map): Fix C-a, C-e.
16930
16931 2012-02-20 Glenn Morris <rgm@gnu.org>
16932
16933 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16934
16935 2012-02-20 Leo Liu <sdl.web@gmail.com>
16936
16937 * icomplete.el (icomplete-completions): Check FROM arg before
16938 passing to substring (Bug#10850).
16939
16940 2012-02-19 Chong Yidong <cyd@gnu.org>
16941
16942 * comint.el: Require ansi-color.
16943 (comint-output-filter-functions): Add ansi-color-process-output.
16944
16945 * ansi-color.el: Don't set comint-output-filter-functions; it is
16946 now in the initial value defined in comint.el.
16947 (ansi-color-apply-face-function): New variable.
16948 (ansi-color-apply-on-region): Use it.
16949 (ansi-color-apply-overlay-face): New function.
16950
16951 * shell.el (shell): No need to require ansi-color.
16952 (shell-mode): Use ansi-color-apply-face-function to highlight
16953 color escapes using font-lock-face property (Bug#10835).
16954
16955 2012-02-19 Chong Yidong <cyd@gnu.org>
16956
16957 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16958 mode-line formats (Bug#10839).
16959
16960 2012-02-18 Glenn Morris <rgm@gnu.org>
16961
16962 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16963
16964 * mail/undigest.el (unforward-rmail-message): Doc fix.
16965
16966 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16967
16968 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16969
16970 * international/characters.el (script-list): Sync with the latest
16971 Unicode Character Database.
16972
16973 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16974
16975 * international/titdic-cnv.el: Remove duplicate coding tag.
16976 * language/cham.el: Likewise.
16977 * language/tai-viet.el: Likewise.
16978
16979 2012-02-18 Glenn Morris <rgm@gnu.org>
16980
16981 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16982 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16983 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16984 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16985 * calendar/holidays.el (holiday-bahai-holidays)
16986 (calendar-holidays, list-holidays):
16987 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
16988
16989 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16990
16991 * saveplace.el (save-place-ignore-files-regexp): New variable
16992 allowing for excluding files from saving their location of point.
16993 The default value matches the temporary commit message editing
16994 files from Git, SVN, Bazaar, and Mercurial.
16995 (save-place-to-alist): Use it.
16996
16997 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16998 Stefan Monnier <monnier@iro.umontreal.ca>
16999
17000 * newcomment.el (uncomment-region-default): Don't leave extra space
17001 when an arg is provided (bug#8150).
17002
17003 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17004
17005 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17006
17007 2012-02-17 Glenn Morris <rgm@gnu.org>
17008
17009 * net/socks.el: Require network-stream. (Bug#10599)
17010
17011 2012-02-17 Kenichi Handa <handa@m17n.org>
17012
17013 * international/charprop.el:
17014 * international/uni-name.el:
17015 * international/uni-old-name.el:
17016 * international/uni-comment.el: Regenerate.
17017
17018 2012-02-16 Glenn Morris <rgm@gnu.org>
17019
17020 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17021 Interactively in calendar buffer, give an error if not on a date.
17022
17023 2012-02-15 Glenn Morris <rgm@gnu.org>
17024
17025 * shell.el (shell-delimiter-argument-list):
17026 Revert 2011-02-17 change. (Bug#8027)
17027
17028 2012-02-15 Chong Yidong <cyd@gnu.org>
17029
17030 * minibuffer.el (completion-at-point-functions): Doc fix.
17031
17032 * custom.el (defcustom): Doc fix; note use of defvar.
17033
17034 2012-02-15 Glenn Morris <rgm@gnu.org>
17035
17036 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17037 Doc fixes.
17038
17039 2012-02-14 Glenn Morris <rgm@gnu.org>
17040
17041 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17042
17043 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17044
17045 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17046 way the ports list is computed.
17047 (smtpmail-query-smtp-server): Prompt the user for a port number if
17048 we can't connect to any of the standard ports (bug#10810).
17049
17050 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17051
17052 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17053
17054 2012-02-13 Glenn Morris <rgm@gnu.org>
17055
17056 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17057
17058 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17059
17060 * net/gnutls.el (gnutls-trustfiles): New variable.
17061 (gnutls-negotiate): Use it.
17062
17063 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17064
17065 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17066 does its stuff if Gnus is running.
17067
17068 2012-02-13 Alan Mackenzie <acm@muc.de>
17069
17070 Fix a loop in c-set-fl-decl-start.
17071
17072 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17073 c-backward-syntactic-ws actually moves backwards.
17074
17075 2012-02-13 Leo Liu <sdl.web@gmail.com>
17076
17077 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17078 beginning so that all \C-o chars are removed.
17079
17080 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17081
17082 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17083
17084 2012-02-12 Alan Mackenzie <acm@muc.de>
17085
17086 Fix infinite loop with long macros.
17087 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17088
17089 2012-02-12 Chong Yidong <cyd@gnu.org>
17090
17091 * window.el (display-buffer): Doc fix (Bug#10785).
17092
17093 2012-02-12 Glenn Morris <rgm@gnu.org>
17094
17095 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17096 (x-disown-selection-internal, x-get-selection-internal):
17097 Sync docs with the xselect.c versions.
17098
17099 * allout-widgets.el: Add missing license notice.
17100
17101 2012-02-11 Glenn Morris <rgm@gnu.org>
17102
17103 * select.el (x-get-selection-internal, x-own-selection-internal)
17104 (x-disown-selection-internal):
17105 * x-dnd.el (x-get-selection-internal): Update declarations.
17106
17107 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17108
17109 * window.el (window-sides-slots):
17110 * tool-bar.el (tool-bar-position):
17111 * term/xterm.el (xterm-extra-capabilities):
17112 * ses.el (ses-self-reference-early-detection):
17113 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17114 (verilog-auto-wire-type)
17115 (verilog-auto-delete-trailing-whitespace)
17116 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17117 (verilog-auto-tieoff-declaration):
17118 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17119 (sql-oracle-statement-starters, sql-oracle-scan-on):
17120 * progmodes/prolog.el (prolog-align-comments-flag)
17121 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17122 (prolog-left-indent-regexp, prolog-paren-indent-p)
17123 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17124 (prolog-types, prolog-mode-specificators)
17125 (prolog-determinism-specificators, prolog-directives)
17126 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17127 (prolog-electric-dot-flag)
17128 (prolog-electric-dot-full-predicate-template)
17129 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17130 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17131 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17132 (prolog-program-switches, prolog-prompt-regexp)
17133 (prolog-debug-on-string, prolog-debug-off-string)
17134 (prolog-trace-on-string, prolog-trace-off-string)
17135 (prolog-zip-on-string, prolog-zip-off-string)
17136 (prolog-use-standard-consult-compile-method-flag)
17137 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17138 (prolog-imenu-max-lines, prolog-info-predicate-index)
17139 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17140 (prolog-char-quote-workaround):
17141 * progmodes/cc-vars.el (c-defun-tactic):
17142 * net/tramp.el (tramp-encoding-command-interactive)
17143 (tramp-local-end-of-line):
17144 * net/soap-client.el (soap-client):
17145 * net/netrc.el (netrc-file):
17146 * net/gnutls.el (gnutls):
17147 * minibuffer.el (completion-category-overrides)
17148 (completion-cycle-threshold)
17149 (completion-pcm-complete-word-inserts-delimiters):
17150 * man.el (Man-name-local-regexp):
17151 * mail/feedmail.el (feedmail-display-full-frame):
17152 * international/characters.el (glyphless-char-display-control):
17153 * eshell/em-ls.el (eshell-ls-date-format):
17154 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17155 (lisp-lambda-list-keyword-parameter-indentation)
17156 (lisp-lambda-list-keyword-parameter-alignment):
17157 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17158 * dired-x.el (dired-omit-verbose):
17159 * cus-theme.el (custom-theme-allow-multiple-selections):
17160 * calc/calc.el (calc-highlight-selections-with-faces)
17161 (calc-lu-field-reference, calc-lu-power-reference)
17162 (calc-note-threshold):
17163 * battery.el (battery-mode-line-limit):
17164 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17165 (archive-7z-update):
17166 * allout.el (allout-prefixed-keybindings)
17167 (allout-unprefixed-keybindings)
17168 (allout-inhibit-auto-fill-on-headline)
17169 (allout-flattened-numbering-abbreviation):
17170 * allout-widgets.el (allout-widgets-auto-activation)
17171 (allout-widgets-icons-dark-subdir)
17172 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17173 (allout-widgets-theme-dark-background)
17174 (allout-widgets-theme-light-background)
17175 (allout-widgets-item-image-properties-emacs)
17176 (allout-widgets-item-image-properties-xemacs)
17177 (allout-widgets-run-unit-tests-on-load)
17178 (allout-widgets-time-decoration-activity)
17179 (allout-widgets-hook-error-post-time)
17180 (allout-widgets-track-decoration):
17181 Add missing :version tags to new defcustoms and defgroups.
17182
17183 * progmodes/sql.el (sql-ansi-statement-starters)
17184 (sql-oracle-statement-starters): Add custom type.
17185
17186 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17187 (prolog-system-version): Give it a type.
17188
17189 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17190
17191 * term/pc-win.el (x-select-text, x-selection-owner-p)
17192 (x-own-selection-internal, x-disown-selection-internal)
17193 (x-get-selection-internal): Sync doc strings and argument lists
17194 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17195
17196 2012-02-11 Leo Liu <sdl.web@gmail.com>
17197
17198 * progmodes/python.el (python-end-of-statement): Fix infinite
17199 loop. (Bug#10788)
17200
17201 2012-02-10 Glenn Morris <rgm@gnu.org>
17202
17203 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17204 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17205
17206 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17207
17208 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17209 about SMTP before checking the From header.
17210
17211 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17212 into own function for reuse by emacsbug.el.
17213
17214 2012-02-10 Leo Liu <sdl.web@gmail.com>
17215
17216 * subr.el (condition-case-unless-debug): Rename from
17217 condition-case-no-debug. All callers changed.
17218 (with-demoted-errors): Fix caller.
17219
17220 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17221 * nxml/rng-valid.el (rng-do-some-validation):
17222 * emacs-lisp/package.el (package-refresh-contents)
17223 (package-menu-execute):
17224 * desktop.el (desktop-create-buffer):
17225 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17226
17227 2012-02-10 Glenn Morris <rgm@gnu.org>
17228
17229 * textmodes/bibtex.el:
17230 Add missing :version tags for new/changed defcustoms.
17231
17232 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17233
17234 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17235
17236 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17237 (smtpmail-via-smtp): Use it, or fall back on the From address.
17238 (smtpmail-send-it): Ditto.
17239
17240 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17241
17242 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17243 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17244 (byte-compile-tmp-var): New const.
17245 (byte-compile-defvar): Use it to minimize .elc size.
17246 Just use `defvar' rather than simulate it (bug#10761).
17247
17248 2012-02-09 Glenn Morris <rgm@gnu.org>
17249
17250 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17251
17252 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17253 Add :version tags.
17254
17255 * progmodes/compile.el (compilation-error-screen-columns)
17256 (compilation-first-column, compilation-filter-start): Doc fixes.
17257
17258 * vc/log-view.el (log-view-toggle-entry-display):
17259 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17260
17261 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17262 (report-emacs-bug-can-use-xdg-email):
17263 (report-emacs-bug-insert-to-mailer): Doc fixes.
17264 (report-emacs-bug): Message fix.
17265
17266 * net/browse-url.el (browse-url-can-use-xdg-open)
17267 (browse-url-xdg-open): Doc fixes.
17268
17269 * electric.el (electric-indent-mode, electric-pair-mode)
17270 (electric-layout-rules, electric-layout-mode): Doc fixes.
17271 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17272
17273 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17274
17275 * server.el (server-unselect-display): Don't inadvertently kill
17276 the current buffer. (Bug#10729)
17277
17278 2012-02-08 Glenn Morris <rgm@gnu.org>
17279
17280 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17281 (sql-list-table): Doc fixes.
17282
17283 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17284 Comment out (does nothing).
17285
17286 * completion.el (dynamic-completion-mode):
17287 * dirtrack.el (dirtrack-debug-mode):
17288 * electric.el (electric-layout-mode):
17289 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17290 * face-remap.el (text-scale-mode, buffer-face-mode):
17291 * iimage.el (iimage-mode):
17292 * image-mode.el (image-transform-mode):
17293 * minibuffer.el (completion-in-region-mode):
17294 * scroll-lock.el (scroll-lock-mode):
17295 * simple.el (next-error-follow-minor-mode):
17296 * tar-mode.el (tar-subfile-mode):
17297 * tooltip.el (tooltip-mode):
17298 * vcursor.el (vcursor-use-vcursor-map):
17299 * wid-browse.el (widget-minor-mode):
17300 * emulation/tpu-edt.el (tpu-edt-mode):
17301 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17302 * international/iso-ascii.el (iso-ascii-mode):
17303 * language/thai-util.el (thai-word-mode):
17304 * mail/supercite.el (sc-minor-mode):
17305 * net/goto-addr.el (goto-address-mode):
17306 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17307 * progmodes/cwarn.el (cwarn-mode):
17308 * progmodes/flymake.el (flymake-mode):
17309 * progmodes/glasses.el (glasses-mode):
17310 * progmodes/hideshow.el (hs-minor-mode):
17311 * progmodes/pascal.el (pascal-outline-mode):
17312 * textmodes/enriched.el (enriched-mode):
17313 * vc/smerge-mode.el (smerge-mode):
17314 Doc fixes (minor mode argument).
17315
17316 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17317
17318 * ls-lisp.el (ls-lisp-sanitize): New function.
17319 (ls-lisp-insert-directory): Use it to fix or remove any elements
17320 in file-alist with missing attributes. (Bug#4673)
17321
17322 2012-02-07 Alan Mackenzie <acm@muc.de>
17323
17324 Fix spurious recognition of c-in-knr-argdecl.
17325
17326 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17327 putative K&R region.
17328
17329 2012-02-07 Alan Mackenzie <acm@muc.de>
17330
17331 * progmodes/cc-engine.el (c-forward-objc-directive):
17332 Prevent looping in "#pragma mark @implementation".
17333
17334 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17335
17336 * notifications.el (notifications-on-closed-signal): Make `reason'
17337 optional. (Bug#10744)
17338
17339 2012-02-07 Glenn Morris <rgm@gnu.org>
17340
17341 * emacs-lisp/easy-mmode.el (define-minor-mode):
17342 Doc fixes for the macro and the mode it defines.
17343
17344 * image.el (imagemagick-types-inhibit): Doc fix.
17345
17346 * cus-start.el (imagemagick-render-type): Add it.
17347
17348 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17349
17350 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17351 Set the default at load time, too, so that `font-lock-fontify-buffer'
17352 can be called without setting up the entire mode first. This fixes
17353 a bug in `mm-inline-text' with C MIME parts.
17354
17355 2012-02-06 Chong Yidong <cyd@gnu.org>
17356
17357 * simple.el (list-processes--refresh): Delete exited processes
17358 (Bug#8094).
17359
17360 * comint.el (comint-next-prompt): next-single-char-property-change
17361 and prev-single-char-property-change never return nil (Bug#8657).
17362
17363 * custom.el (defcustom): Doc fix (Bug#9711).
17364
17365 2012-02-05 Chong Yidong <cyd@gnu.org>
17366
17367 * cus-edit.el (custom-variable-reset-backup): Quote the value
17368 before storing it in the customized-value property (Bug#6712).
17369 (custom-display): Add a customization type tag.
17370 (custom-buffer-create-internal): Improve tooltip message.
17371
17372 * wid-edit.el (widget-field-value-get): New optional arg to
17373 suppress trailing whitespace truncation.
17374 (character): Use it (Bug#2689).
17375
17376 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17377
17378 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17379 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17380
17381 2012-02-05 Chong Yidong <cyd@gnu.org>
17382
17383 * cus-edit.el (custom-variable-value-create): For mismatched
17384 types, show the current value (Bug#7600).
17385
17386 * custom.el (defcustom): Doc fix.
17387
17388 2012-02-05 Glenn Morris <rgm@gnu.org>
17389
17390 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17391
17392 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17393
17394 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17395 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17396 (pp-last-sexp): Use `looking-at-p'.
17397
17398 2012-02-04 Glenn Morris <rgm@gnu.org>
17399
17400 * files.el (revert-buffer):
17401 Doc fix (mention revert-buffer-in-progress-p).
17402
17403 * emacs-lisp/ert-x.el (ert-simulate-command):
17404 Check deferred-action-list (which is obsolete) is bound.
17405
17406 * subr.el (with-wrapper-hook): Doc fixes.
17407
17408 * simple.el (filter-buffer-substring-functions)
17409 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17410
17411 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17412
17413 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17414 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17415
17416 2012-02-04 Leo Liu <sdl.web@gmail.com>
17417
17418 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17419
17420 2012-02-04 Glenn Morris <rgm@gnu.org>
17421
17422 * image.el (image-extension-data): Add obsolete alias.
17423
17424 * isearch.el (isearch-update): Doc fix.
17425
17426 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17427
17428 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17429
17430 2012-02-03 Glenn Morris <rgm@gnu.org>
17431
17432 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17433 (image-animate-timeout): Doc fix.
17434
17435 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17436
17437 2012-02-02 Glenn Morris <rgm@gnu.org>
17438
17439 * server.el (server-auth-dir): Doc fix.
17440 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17441
17442 * subr.el (run-mode-hooks): Doc fix.
17443
17444 2012-02-02 Juri Linkov <juri@jurta.org>
17445
17446 * image-mode.el (image-toggle-display-image): Remove tautological
17447 `major-mode' from the `derived-mode-p' test.
17448
17449 2012-02-02 Kenichi Handa <handa@m17n.org>
17450
17451 * composite.el (compose-region): Cancel previous change.
17452
17453 2012-02-02 Kenichi Handa <handa@m17n.org>
17454
17455 * composite.el (compose-region, compose-string): Signal error for
17456 a null string component (Bug#6988).
17457
17458 2012-02-01 Chong Yidong <cyd@gnu.org>
17459
17460 * view.el (view-buffer-other-window, view-buffer-other-frame):
17461 Handle special modes like view-buffer (Bug#10650).
17462 (view-buffer): Simplify.
17463
17464 * frame.el (set-frame-font): Tweak meaning of third argument.
17465
17466 * dynamic-setting.el (font-setting-change-default-font):
17467 Use set-frame-font (Bug#9982).
17468
17469 2012-02-01 Glenn Morris <rgm@gnu.org>
17470
17471 * progmodes/compile.el (compilation-internal-error-properties):
17472 Respect compilation-first-column in the "*compilation*" buffer.
17473
17474 * emacs-lisp/easy-mmode.el (define-minor-mode):
17475 Relax :variable's test for a named function.
17476
17477 2012-01-31 Alan Mackenzie <acm@muc.de>
17478
17479 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17480 off by one error.
17481
17482 2012-01-31 Chong Yidong <cyd@gnu.org>
17483
17484 * frame.el (set-frame-font): New arg ALL-FRAMES.
17485
17486 * menu-bar.el (menu-set-font): Use set-frame-font.
17487
17488 * faces.el (face-spec-reset-face): Don't apply unspecified
17489 attribute values to the default face.
17490
17491 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17492
17493 * progmodes/cwarn.el (cwarn): Remove dead link.
17494 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17495 Remove * from defcustom docstrings.
17496 (turn-on-cwarn-mode): Make obsolete.
17497 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17498 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17499
17500 2012-01-31 Glenn Morris <rgm@gnu.org>
17501
17502 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17503 Fix :variable handling of mode a symbol not equal to modefun.
17504 Allow named functions to be used as the cdr of :variable.
17505
17506 2012-01-30 Glenn Morris <rgm@gnu.org>
17507
17508 * emacs-lisp/authors.el (authors-fixed-entries):
17509 Remove reference to deleted file rnewspost.el.
17510
17511 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17512
17513 * window.el (window-with-parameter): Remove unused variable `windows'.
17514 (window--side-check): Remove unused variable `code'.
17515 (window--resize-siblings): Remove unused variable `first'.
17516 (adjust-window-trailing-edge): Remove unused variable `failed'.
17517 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17518 Use `let', not `let*'.
17519 (balance-windows-2): Remove unused variable `found'.
17520 (window--state-put-2): Remove unused variable `splits'.
17521 (window-state-put): Remove unused variable `selected'.
17522 (same-window-p): Use `string-match-p'.
17523 (display-buffer-assq-regexp): Remove unused variable `value'.
17524 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17525 Mark argument ALIST as ignored.
17526 (pop-to-buffer): Remove unused variable `old-window'.
17527
17528 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17529
17530 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17531 and .lzma compressed files.
17532
17533 2012-01-29 Chong Yidong <cyd@gnu.org>
17534
17535 * frame.el (window-system-default-frame-alist): Doc fix.
17536
17537 * dynamic-setting.el (font-setting-change-default-font): Don't
17538 change the default face if SET-FONT argument is non-nil (Bug#9982).
17539
17540 2012-01-29 Samuel Bronson <naesten@gmail.com>
17541
17542 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17543
17544 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17545
17546 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17547 breakpoints in files outside current directory (Bug#6098).
17548
17549 2012-01-29 Chong Yidong <cyd@gnu.org>
17550
17551 * progmodes/python.el: Require ansi-color at top-level.
17552
17553 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17554 Define and use in Emacs Lisp mode (Bug#9360).
17555 (lisp-mode-abbrev-table): Add doc.
17556 (lisp-mode-variables): Don't set local-abbrev-table.
17557 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17558
17559 2012-01-28 Roland Winkler <winkler@gnu.org>
17560
17561 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17562
17563 2012-01-28 Roland Winkler <winkler@gnu.org>
17564
17565 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17566 (bibtex-set-dialect): Use it. Either set global values of
17567 dialect-dependent variables or bind these variables buffer-locally
17568 (Bug#10254).
17569 (bibtex-mode): Call bibtex-set-dialect via
17570 hack-local-variables-hook.
17571 (bibtex-dialect): Update docstring.
17572 Add safe-local-variable predicate.
17573 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17574 bibtex-set-dialect.
17575 (bibtex-mode-map): Define menu for each dialect.
17576 (bibtex-entry): Fix docstring.
17577
17578 2012-01-28 Chong Yidong <cyd@gnu.org>
17579
17580 * eshell/esh-arg.el (eshell-quote-argument): New function.
17581
17582 * eshell/esh-ext.el (eshell-invoke-batch-file):
17583 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17584 first arg to eshell-parse-command (Bug#10523).
17585
17586 2012-01-28 Drew Adams <drew.adams@oracle.com>
17587
17588 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17589 `default-directory' is non-nil.
17590
17591 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17592
17593 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17594 line that displays system-configuration-options. (Bug#9924)
17595
17596 2012-01-28 Drew Adams <drew.adams@oracle.com>
17597
17598 * descr-text.el (describe-char): Show information about POS, in
17599 addition to information about the character at POS. Improve and
17600 update the doc string. Change "code point" to "code point in
17601 charset", to avoid confusion with the character's Unicode code
17602 point shown above that. (Bug#10129)
17603
17604 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17605
17606 * descr-text.el (describe-char): Show the raw character, not only
17607 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17608 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17609 for the reasons.
17610
17611 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17612
17613 * emacs-lisp/package.el (package-install):
17614 Run package-refresh-contents if there is no archive yet (Bug#9798).
17615
17616 2012-01-28 Chong Yidong <cyd@gnu.org>
17617
17618 * emacs-lisp/package.el (package-maybe-load-descriptor):
17619 New function, split from package-maybe-load-descriptor.
17620 (package-maybe-load-descriptor): Use it.
17621 (package-download-transaction): Fully load required packages
17622 inside the loop, so that `require' calls work (Bug#10593).
17623 (package-install): No need to call package-initialize now.
17624
17625 2012-01-28 Chong Yidong <cyd@gnu.org>
17626
17627 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17628
17629 * tooltip.el (tooltip-mode): Doc fix.
17630 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17631
17632 * frame.el (set-cursor-color): Doc fix (Bug#352).
17633
17634 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17635 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17636
17637 * cus-edit.el (custom-buffer-create-internal): Fix search button
17638 action (Bug#10542).
17639 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17640
17641 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17642
17643 * dired.el (dired-mark-files-regexp):
17644 Include any subdirectory components. (Bug#10445)
17645
17646 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17647
17648 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17649 Handle [host]:port syntax. (Bug#10533)
17650
17651 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17652
17653 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17654
17655 2012-01-26 Glenn Morris <rgm@gnu.org>
17656
17657 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17658 * term.el (term-raw-escape-map): Use Control-X-prefix.
17659 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17660
17661 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17662
17663 * window.el (window-state-get, window--state-get-1): Don't deal
17664 with fixed-sizeness of windows. Simplify code.
17665
17666 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17667
17668 * window.el (window--state-get-1, window--state-put-2):
17669 Don't save and restore the mark.
17670
17671 2012-01-25 Chong Yidong <cyd@gnu.org>
17672
17673 * custom.el (custom-variable-p): Doc fix.
17674
17675 2012-01-25 Glenn Morris <rgm@gnu.org>
17676
17677 * dired.el (dired-goto-file): Handle some of the more common
17678 characters that `ls -b' escapes. (Bug#10596)
17679
17680 * progmodes/compile.el (compilation-next-error-function):
17681 Respect compilation-first-column in the "*compilation*" buffer.
17682 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17683
17684 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17685
17686 2012-01-24 Glenn Morris <rgm@gnu.org>
17687
17688 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17689
17690 2012-01-24 Julien Danjou <julien@danjou.info>
17691
17692 * color.el (color-rgb-to-hsl): Fix value computing.
17693 (color-hue-to-rgb): New function.
17694 (color-hsl-to-rgb): New function.
17695 (color-clamp, color-saturate-hsl, color-saturate-name)
17696 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17697 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17698
17699 2012-01-24 Glenn Morris <rgm@gnu.org>
17700
17701 * vc/vc-rcs.el (vc-rcs-create-tag):
17702 * vc/vc-sccs.el (vc-sccs-create-tag):
17703 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17704
17705 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17706
17707 * eshell/esh-util.el (eshell-read-hosts-file):
17708 Skip comment lines. (Bug#10549)
17709
17710 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17711
17712 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17713
17714 * subr.el (display-delayed-warnings): Doc fix.
17715 (collapse-delayed-warnings): New function to collapse identical
17716 adjacent warnings.
17717 (delayed-warnings-hook): Add it.
17718
17719 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17720
17721 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17722
17723 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17724 (tramp-default-user-alist): Don't add "pscp".
17725 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17726 property "login-as", if set. (Bug#10530)
17727
17728 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17729
17730 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17731 "plink1" and "psftp". (Bug#10530)
17732
17733 2012-01-21 Kenichi Handa <handa@m17n.org>
17734
17735 * international/mule-cmds.el (prefer-coding-system): Show a
17736 warning message if the default value of file-name-coding-system
17737 was not changed.
17738
17739 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17740
17741 * windmove.el (windmove-reference-loc):
17742 Fix windmove-reference-loc miscalculation.
17743
17744 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17745
17746 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17747 default unit.
17748
17749 2012-01-21 Glenn Morris <rgm@gnu.org>
17750
17751 * international/mule.el (auto-coding-alist): Add .tbz.
17752
17753 * files.el (local-enable-local-variables): Doc fix.
17754 (inhibit-local-variables-regexps): Rename from
17755 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17756 Doc fix. Add some extensions from auto-coding-alist.
17757 (inhibit-local-variables-suffixes):
17758 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17759 (inhibit-local-variables-p):
17760 New function, extracted from set-auto-mode-1.
17761 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17762 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17763 (hack-local-variables): Doc fix. Make the mode-only case
17764 respect enable-local-variables and friends.
17765 Respect inhibit-local-variables-regexps for file-locals, but
17766 not for directory-locals.
17767 (set-visited-file-name):
17768 Take account of inhibit-local-variables-regexps.
17769 Whether it applies may change as the file name is changed.
17770 * jka-cmpr-hook.el (jka-compr-install):
17771 * jka-compr.el (jka-compr-uninstall):
17772 Update for inhibit-first-line-modes-suffixes name change.
17773
17774 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17775
17776 * help-macro.el (make-help-screen): Temporarily restore original
17777 binding for minor-mode-map-alist (Bug#10454).
17778
17779 2012-01-19 Julien Danjou <julien@danjou.info>
17780
17781 * color.el (color-name-to-rgb): Use the white color to find the max
17782 color component value and return correctly computed values.
17783 (color-name-to-rgb): Add missing float conversion for max value.
17784
17785 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17786
17787 * window.el (window--state-get-1, window-state-get): Do not use
17788 special state value for window-persistent-parameters.
17789 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17790 (window--state-put-2): Reset all window parameters to nil before
17791 assigning values of persistent parameters.
17792
17793 2012-01-18 Alan Mackenzie <acm@muc.de>
17794
17795 Eliminate sluggishness and hangs in fontification of "semicolon
17796 deserts".
17797
17798 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17799 Change value 10000 -> 3000.
17800 (c-state-safe-place): Reformulate so it doesn't stack up an
17801 infinite number of wrong entries in c-state-nonlit-pos-cache.
17802 (c-determine-limit-get-base, c-determine-limit): New functions to
17803 determine backward search limits disregarding literals.
17804 (c-find-decl-spots): Amend commenting.
17805 (c-cheap-inside-bracelist-p): New function which detects "={".
17806
17807 * progmodes/cc-fonts.el
17808 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17809 backward search.
17810 (c-font-lock-declarations): Fix an occurrence of point being
17811 undefined. Check additionally for point being in a bracelist or
17812 near a macro invocation without a semicolon so as to avoid a
17813 fruitless time consuming search for a declarator. Give a more
17814 precise search limit for declarators using the new
17815 c-determine-limit.
17816
17817 2012-01-18 Glenn Morris <rgm@gnu.org>
17818
17819 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17820 (set-auto-mode): Doc fixes.
17821
17822 2012-01-17 Glenn Morris <rgm@gnu.org>
17823
17824 * isearch.el (search-nonincremental-instead): Fix doc typo.
17825
17826 * dired.el (dired-insert-directory): Handle newlines in directory name.
17827 (dired-build-subdir-alist): Unescape newlines in directory name.
17828
17829 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17830
17831 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17832 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17833 (tramp-action-terminal): Use it. (Bug#10530)
17834
17835 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17836
17837 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17838
17839 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17840
17841 * window.el (window-state-ignored-parameters): Remove variable.
17842 (window--state-get-1): Rename argument MARKERS to IGNORE.
17843 Handle persistent window parameters. Make copy of clone-of
17844 parameter only if requested. (Bug#10348)
17845 (window--state-put-2): Install a window parameter only if it has
17846 a non-nil value or an existing parameter shall be overwritten.
17847
17848 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17849
17850 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17851
17852 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17853
17854 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17855 don't pass the (nil) value of `upnode' to string-match.
17856
17857 2012-01-14 Chong Yidong <cyd@gnu.org>
17858
17859 * startup.el (command-line): Fix X resource class for cursorColor.
17860 Fix values recognized by the cursorBlink resource.
17861
17862 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17863
17864 * epg.el (epg--make-temp-file): Avoid permission race condition
17865 when running on old Emacs versions (bug#10403).
17866
17867 2012-01-14 Glenn Morris <rgm@gnu.org>
17868
17869 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17870
17871 2012-01-13 Alan Mackenzie <acm@muc.de>
17872
17873 Fix filling for when filladapt mode is enabled.
17874
17875 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17876 c-mask-paragraph, pass in `fill-paragraph' rather than
17877 `fill-region-as-paragraph'. (This is a reversion of a previous
17878 change.)
17879 * progmodes/cc-mode.el (c-basic-common-init):
17880 Make fill-paragraph-handle-comment buffer local and set it to nil.
17881
17882 2012-01-13 Glenn Morris <rgm@gnu.org>
17883
17884 * dired.el (dired-switches-escape-p): New function.
17885 (dired-insert-directory): Use dired-switches-escape-p.
17886 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17887
17888 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17889
17890 2012-01-12 Glenn Morris <rgm@gnu.org>
17891
17892 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17893 changes in adaptive-fill-regexp. (Bug#10276)
17894
17895 2012-01-11 Alan Mackenzie <acm@muc.de>
17896
17897 Fix Emacs bug #10463 - put `widen's around the critical spots.
17898
17899 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17900 widen around each invocation of c-state-pp-to-literal. Remove an
17901 unused let variable.
17902
17903 2012-01-11 Glenn Morris <rgm@gnu.org>
17904
17905 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17906 Doc fix.
17907
17908 2012-01-10 Chong Yidong <cyd@gnu.org>
17909
17910 * net/network-stream.el (network-stream-open-starttls):
17911 Avoid emitting a confusing error message when the server gives a bad
17912 response to the capability command.
17913
17914 2012-01-10 Glenn Morris <rgm@gnu.org>
17915
17916 * mail/unrmail.el (unrmail): Tweak previous change.
17917
17918 2012-01-09 Chong Yidong <cyd@gnu.org>
17919
17920 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17921
17922 2012-01-08 Alan Mackenzie <acm@muc.de>
17923
17924 Optimize font locking in long enum definitions.
17925
17926 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17927 arm to a cond form to handle enums.
17928 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17929 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17930
17931 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17932
17933 * files.el (move-file-to-trash): Preserve default file modes on error.
17934 (Bug#10401)
17935
17936 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17937
17938 * faces.el (set-face-attribute): Clarify the meaning of the nil
17939 frame (bug#10294).
17940
17941 * subr.el (with-selected-frame): Mention that the selected frame
17942 is restored (bug#9980).
17943
17944 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17945 (bug#9759).
17946
17947 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17948 (password-read): Don't autoload unused function.
17949
17950 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17951
17952 * progmodes/which-func.el (which-func-mode): Turn into a
17953 non-interactive function and mark as obsolete (bug#10428).
17954
17955 2012-01-06 Chong Yidong <cyd@gnu.org>
17956
17957 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17958 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17959 functions, along with 1 and -1.
17960
17961 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17962
17963 * time.el (display-time-load-average)
17964 (display-time-default-load-average): Doc fixes. See the thread
17965 starting at
17966 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17967 for the details.
17968
17969 2012-01-06 Glenn Morris <rgm@gnu.org>
17970
17971 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17972 has no messages. (Bug#10377)
17973
17974 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17975 than Info-edit. (Bug#10385)
17976
17977 * time.el (display-time-load-average, display-time-next-load-average):
17978 Doc fixes.
17979
17980 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17981 local setting of buffer-read-only to the input buffer. (Bug#10419)
17982
17983 * calendar/calendar.el (calendar-mode):
17984 Locally set scroll-margin to 0. (Bug#10379)
17985
17986 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17987
17988 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17989
17990 2012-01-05 Glenn Morris <rgm@gnu.org>
17991
17992 * eshell/em-unix.el (diff-no-select): Autoload it.
17993 (eshell/diff): Use diff-no-select. (Bug#10420)
17994
17995 2012-01-05 Chong Yidong <cyd@gnu.org>
17996
17997 * shell.el (shell-dynamic-complete-functions): Revert last change.
17998 (shell-command-completion-function): New function.
17999 (shell-completion-vars): Use it to implement
18000 shell-completion-execonly (Bug#10417).
18001
18002 * custom.el (enable-theme): Don't set custom-safe-themes.
18003
18004 * cus-theme.el (custom-theme-merge-theme):
18005 Ignore custom-enabled-themes and custom-safe-themes.
18006
18007 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18008
18009 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18010 first prompt in `sql-interacive-mode'.
18011 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18012 keywords.
18013 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18014 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18015 context of original buffer. Invoke `sql-login-hook'.
18016
18017 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18018
18019 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18020 letters in cite-prefix.
18021
18022 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18023
18024 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18025
18026 2012-01-03 Chong Yidong <cyd@gnu.org>
18027
18028 * shell.el (shell-dynamic-complete-functions):
18029 Put pcomplete-completions-at-point, so as to try
18030 comint-filename-completion first (Bug#10417).
18031
18032 2012-01-02 Richard Stallman <rms@gnu.org>
18033
18034 * battery.el (battery-status-function):
18035 Detect when to use battery-yeeloong-sysfs.
18036 (battery-echo-area-format): Add string for Yeeloong.
18037 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18038 (battery-yeeloong-sysfs): New function.
18039
18040 2012-01-02 Chong Yidong <cyd@gnu.org>
18041
18042 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18043 (dirtrack): Merge code for handling relative filenames in prompt
18044 from shell-dir-cookie-watcher.
18045 (dirtrack-debug-message): New arg to avoid excess format calls.
18046
18047 * shell.el (shell-dir-cookie-re): Variable deleted.
18048 (shell-dir-cookie-watcher): Function deleted.
18049 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18050 with dirtrack-mode.
18051
18052 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18053
18054 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18055 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18056 libgnutls-26.dll.
18057
18058 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18059
18060 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18061
18062 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18063
18064 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18065 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18066
18067 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18068
18069 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18070 also for alternative shells.
18071 (tramp-open-connection-setup-interactive-shell): Check, whether
18072 the shell is a busybox.
18073 (tramp-send-command): Don't suppress multiple prompts for
18074 busyboxes, it hurts.
18075
18076 2011-12-28 Chong Yidong <cyd@gnu.org>
18077
18078 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18079 (gdb-get-source-file): Move mode line update to
18080 gdb-get-source-file (Bug#10087).
18081
18082 2011-12-25 Chong Yidong <cyd@gnu.org>
18083
18084 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18085 gud-gdb-marker-filter without taking it as an argument.
18086 (gud-gdb-run-command-fetch-lines): Caller changed.
18087 (gud-gdb-completion-function): New variable.
18088 (gud-gdb-completion-at-point): Use it.
18089 (gud-gdb-completions-1): Split from gud-gdb-completions.
18090
18091 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18092 function as separate arguments.
18093 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18094 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18095 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18096 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18097 (gdb-stopped, def-gdb-auto-update-trigger)
18098 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18099 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18100 Callers changed.
18101 (gud-gdbmi-completions): New function.
18102 (gdb): Use it for generating the completion table.
18103
18104 2011-12-24 Alan Mackenzie <acm@muc.de>
18105
18106 Introduce a mechanism to widen the region used in context font
18107 locking. Use this to protect declarations from losing their contexts.
18108
18109 * progmodes/cc-langs.el (c-before-font-lock-functions):
18110 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18111 (c-before-context-fontification-functions): New defvar, a list of
18112 functions to be run just before context (etc.) font locking.
18113
18114 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18115 New, functionality extracted from
18116 c-neutralize-syntax-in-and-mark-CPP.
18117 (c-in-after-change-fontification): New variable.
18118 (c-after-change): Set c-in-after-change-fontification.
18119 (c-set-fl-decl-start): Rejig its interface, so it can be called
18120 from both after-change and context fontifying.
18121 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18122 New functions.
18123 (c-standard-font-lock-fontify-region-function): New variable.
18124 (c-font-lock-fontify-region): New function.
18125
18126 2011-12-24 Juri Linkov <juri@jurta.org>
18127
18128 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18129 (Bug#10348)
18130
18131 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18132
18133 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18134 existence of source file. (Bug#10325)
18135
18136 2011-12-23 Alan Mackenzie <acm@muc.de>
18137
18138 Fix unstable fontification inside templates.
18139
18140 * progmodes/cc-langs.el (c-before-font-lock-functions):
18141 Newly created from the singular version. The (c c++ objc) entry now
18142 additionally has c-set-fl-decl-start. The other languages (apart
18143 from AWK) have that as a single entry.
18144
18145 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18146 The functionality for "local" declarations has been extracted to
18147 c-set-fl-decl-start.
18148
18149 * progmodes/cc-mode.el (c-common-init, c-after-change):
18150 Changes due to pluralisation of c-before-font-lock-functions.
18151 (c-set-fl-decl-start): New function, extracted from
18152 c-font-lock-enclosing-decls and enhanced.
18153
18154 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18155
18156 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18157
18158 2011-12-22 Juri Linkov <juri@jurta.org>
18159
18160 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18161
18162 2011-12-22 Chong Yidong <cyd@gnu.org>
18163
18164 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18165
18166 2011-12-21 Drew Adams <drew.adams@oracle.com>
18167
18168 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18169
18170 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18171
18172 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18173
18174 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18175
18176 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18177 highlighting and support. Fix up comments for capitalization.
18178 (cfengine-mode-debug): New var.
18179 (cfengine3-mode): Change the modeline indicator to "CFE3".
18180 (cfengine3-font-lock-keywords): Improve defun highlighting.
18181 (cfengine2-actions): Rename from `cfengine-actions'.
18182 (cfengine2-font-lock-keywords): Rename from
18183 `cfengine-font-lock-keywords'.
18184 (cfengine2-imenu-expression): Rename from
18185 `cfengine-imenu-expression'.
18186 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18187 (cfengine2-beginning-of-defun): Rename from
18188 `cfengine-beginning-of-defun'.
18189 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18190 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18191 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18192 modeline indicator to "CFE2".
18193 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18194 (cfengine-mode-abbrevs): Mark obsolete.
18195
18196 2011-12-21 Chong Yidong <cyd@gnu.org>
18197
18198 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18199 filename argument.
18200
18201 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18202
18203 * window.el (window-normalize-buffer-to-display): Remove.
18204 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18205
18206 2011-12-19 Chong Yidong <cyd@gnu.org>
18207
18208 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18209 Don't signal an error in a predicate function; return non-nil.
18210 (vc-dir-mark-file): Move the error here.
18211 (vc-dir-mark-unmark): If acting on the region, keep going if one
18212 of the entries cannot be marked/unmarked.
18213 (vc-dir-mark-all-files): If current entry is a directory, mark
18214 only child files, as documented.
18215
18216 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18217
18218 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18219 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18220 addition.
18221
18222 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18223
18224 * term/ns-win.el (ns-get-selection-internal)
18225 (ns-store-selection-internal): Declare.
18226 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18227 Declare as obsolete.
18228 (ns-get-pasteboard, ns-paste-secondary):
18229 Use ns-get-selection-internal.
18230 (ns-set-pasteboard, ns-copy-including-secondary):
18231 Use ns-store-selection-internal.
18232
18233 2011-12-17 Chong Yidong <cyd@gnu.org>
18234
18235 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18236 (vc-deduce-fileset): Doc fix.
18237
18238 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18239
18240 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18241
18242 2011-12-13 Sam Steingold <sds@gnu.org>
18243
18244 * man.el (Man-getpage-in-background): When running under a
18245 window-system, ignore $MANWIDTH and $COLUMNS.
18246
18247 2011-12-15 Kenichi Handa <handa@m17n.org>
18248
18249 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18250 (setup-ethiopic-environment-internal): Comment out key-binding for
18251 ethio-toggle-punctuation.
18252
18253 2011-12-13 Alan Mackenzie <acm@muc.de>
18254
18255 Add the switch statement to AWK Mode.
18256
18257 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18258 "default" to the keywords regexp.
18259
18260 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18261 expression as the rest.
18262 (c-nonlabel-token-key): Allow string literals for AWK.
18263 Refactor for the other modes.
18264
18265 Large brace-block initialisation makes CC Mode slow: Fix.
18266 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18267 routines. Limit backward searching in c-font-lock-enclosing.decl.
18268
18269 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18270 pp-state and literal type in addition to the limits.
18271 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18272 (c-state-literal-at): Use the above new defun.
18273 (c-slow-in-literal, c-fast-in-literal): Remove.
18274 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18275
18276 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18277 being in a literal. Add a limit for backward searching.
18278
18279 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18280 c-slow-in-literal.
18281
18282 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18283
18284 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18285
18286 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18287
18288 * window.el (delete-other-windows): Use correct frame in call to
18289 window-with-parameter.
18290
18291 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18292
18293 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18294 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18295 (makefile-gmake-statements, makefile-makepp-statements):
18296 Use it and add new makepp keywords.
18297 (makefile-makepp-font-lock-keywords): Add new patterns.
18298 (makefile-match-function-end): Match new [...] and [[...]].
18299
18300 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18301
18302 * ses.el (ses-call-printer-return, ses-cell-property-get)
18303 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18304 (ses-create-cell-variable, ses-reset-header-string)
18305 (ses-cell-set-formula, ses-repair-cell-reference-all)
18306 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18307 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18308 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18309 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18310 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18311 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18312 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18313 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18314 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18315 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18316 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18317 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18318
18319 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18320
18321 * ses.el: The overall change is to add cell renaming, that is
18322 setting fancy names for cell symbols other than name matching
18323 "\\`[A-Z]+[0-9]+\\'" regexp .
18324 (ses-create-cell-variable): New defun.
18325 (ses-relocate-formula): Relocate formulas only for cells the
18326 symbols of which are not renamed, i.e. symbols whose names do not
18327 match regexp "\\`[A-Z]+[0-9]+\\'".
18328 (ses-relocate-all): Relocate values only for cells the symbols of
18329 which are not renamed.
18330 (ses-load): Create cells variables as the (ses-cell ...) are read,
18331 in order to check row col consistency with cell symbol name only
18332 for cells that are not renamed.
18333 (ses-replace-name-in-formula): New defun.
18334 (ses-rename-cell): New defun.
18335
18336 2011-12-11 Chong Yidong <cyd@gnu.org>
18337
18338 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18339 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18340
18341 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18342
18343 * window.el (other-window): Fix docstring.
18344
18345 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18346
18347 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18348 `from' or `to' address before taking its substring.
18349 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18350 encoded name is chopped in the middle of the encoded string, and
18351 thus displayed encoded.
18352
18353 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18354
18355 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18356
18357 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18358
18359 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18360 to use texinfo-update-node and commands that call it if the
18361 Texinfo file uses @node lines without next/prev/up pointers.
18362 Correct outdated description about texinfo-master-menu.
18363 (texinfo-all-menus-update, texinfo-master-menu)
18364 (texinfo-update-node, texinfo-every-node-update)
18365 (texinfo-multiple-files-update): Doc fix. Warn against updating
18366 all the @node lines.
18367 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18368 argument is numeric. Explain better in the doc string what the
18369 function really does.
18370 (texinfo-insert-master-menu-list): Improve the error message
18371 displayed if there's no menu in the Top node.
18372 (Bug#2975) See also this thread:
18373 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18374
18375 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18376
18377 * speedbar.el (speedbar-supported-extension-expressions):
18378 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18379
18380 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18381
18382 * printing.el (pr-mode-alist):
18383 * simple.el (filter-buffer-substring-functions)
18384 (completion-list-insert-choice-function):
18385 * window.el (window-with-parameter, window-atom-root)
18386 (window-sides-slots, window-size-fixed, window-min-delta)
18387 (window-max-delta, window--resize-mini-window)
18388 (window--resize-child-windows-normal, window-tree)
18389 (delete-other-windows, quit-window, split-window)
18390 (display-buffer-record-window, special-display-buffer-names)
18391 (special-display-regexps, special-display-popup-frame)
18392 (same-window-p, split-window-sensibly)
18393 (display-buffer-overriding-action, display-buffer-alist)
18394 (display-buffer-base-action, display-buffer, switch-to-buffer)
18395 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18396 (fit-window-to-buffer, recenter-positions)
18397 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18398 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18399 and remove unneeded backslashes in docstrings.
18400
18401 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18402
18403 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18404
18405 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18406 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18407 end in ".mk".
18408 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18409 when reading the makefile (bug#10116).
18410
18411 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18412
18413 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18414 (bug#10116).
18415
18416 2011-12-06 Glenn Morris <rgm@gnu.org>
18417
18418 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18419
18420 2011-12-06 Chong Yidong <cyd@gnu.org>
18421
18422 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18423
18424 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18425
18426 * textmodes/table.el (table-shorten-cell): Fix typo.
18427
18428 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18429
18430 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18431
18432 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18433
18434 * descr-text.el (describe-char): Fix display of strong
18435 right-to-left characters and directional embeddings and overrides.
18436
18437 * simple.el (what-cursor-position): Fix display of codepoints of
18438 strong right-to-left characters.
18439
18440 2011-12-05 Chong Yidong <cyd@gnu.org>
18441
18442 * faces.el (read-color): Doc fix.
18443
18444 2011-12-05 Glenn Morris <rgm@gnu.org>
18445
18446 * align.el (align--set-marker): Add doc-string.
18447 Don't try to move something that is not a marker. (Bug#10216)
18448
18449 2011-12-04 Glenn Morris <rgm@gnu.org>
18450
18451 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18452 overly zealous deletion of trailing whitespace.
18453
18454 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18455
18456 * server.el (server-delete-client): On Windows, do not try to delete
18457 the only terminal.
18458 (server-process-filter): On Windows, treat requests for a tty frame as
18459 if they were for a GUI frame if the running server is in GUI mode.
18460
18461 2011-12-03 Glenn Morris <rgm@gnu.org>
18462
18463 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18464
18465 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18466
18467 * electric.el: Streamline electric-indent's hook.
18468 (electric-indent-chars): Revert to simple list.
18469 (electric-indent-functions): New var.
18470 (electric-indent-post-self-insert-function): Use it.
18471
18472 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18473 there's no inferior buffer (bug#10196).
18474 (prolog-consult-compile): Don't use toggle-read-only.
18475
18476 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18477
18478 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18479 interrupt. (Bug#10187)
18480
18481 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18482
18483 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18484 (bug#9160).
18485
18486 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18487 (bug#10191).
18488
18489 2011-12-02 Juri Linkov <juri@jurta.org>
18490
18491 * info.el (Info-search): Display "end of manual" when Isearch
18492 reaches the end of single-file Info manual. (Bug#9918)
18493
18494 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18495
18496 * isearch.el (isearch-message-prefix): Run the input method part
18497 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18498
18499 2011-12-02 Juri Linkov <juri@jurta.org>
18500
18501 * isearch.el (isearch-occur): Use `word-search-regexp' for
18502 `isearch-word'.
18503 (isearch-search-and-update): Add condition for `isearch-word' and
18504 call `word-search-regexp'. (Bug#10145)
18505
18506 2011-12-01 Glenn Morris <rgm@gnu.org>
18507
18508 * eshell/em-hist.el (eshell-hist-initialize):
18509 Handle eshell-history-size nil and HISTSIZE set or unset.
18510 (eshell-history-file-name, eshell-history-size): Fix custom type.
18511
18512 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18513
18514 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18515
18516 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18517
18518 * progmodes/verilog-mode.el (verilog-pretty-expr):
18519 Rework verilog-pretty-expr to handle new assignment operators in system
18520 verilog, such as += *= and the like.
18521 (verilog-assignment-operator-re): Regular expression to find the
18522 assigment operator in a verilog assignment.
18523 (verilog-assignment-operation-re): Regular expression to find an
18524 assignment statement for pretty-expr.
18525 (verilog-in-attribute-p): Query returns true if point is in an
18526 attribute context; used to skip these for expression line up from
18527 pretty-expr.
18528 (verilog-in-parameter-p): Query returns true if point is in an
18529 parameter definition context; used to skip these for expression
18530 line up from pretty-expr.
18531 (verilog-in-parenthesis-p): Query returns true if point is in a
18532 parenthetical expression, specifically ( ) but not [ ] or { };
18533 used by pretty-expr.
18534 (verilog-just-one-space): If there is no space, don't add one.
18535 (verilog-get-lineup-indent-2): Specifically skip just attribute
18536 contexts for expression lineup, rather than skipping all
18537 parenthetical expressions.
18538 (verilog-calculate-indent): Fix comment, and fix indent.
18539 (verilog-do-indent): Indent declarations in lists (suggested by
18540 Joachim Lechner).
18541 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18542 skeleton items.
18543 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18544 by Alain Mellan).
18545
18546 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18547
18548 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18549 parameters with embedded comments. Reported by Ray Stevens.
18550 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18551 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18552 Reported by Tim Holt.
18553 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18554 instantiated by upper module causing wrong expansion until AUTOed a
18555 second time. Reported by K C Buckenmaier.
18556 (verilog-diff-auto): Fix showing .* as a difference when
18557 `verilog-auto-star-save' off. Reported by Dan Dever.
18558 (verilog-auto-reset, verilog-read-always-signals)
18559 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18560 temporary signals in reset list if
18561 verilog-auto-reset-blocking-in-non is nil, and match assignment
18562 style to each signal's assignment type, bug381.
18563 Reported by Thomas Esposito.
18564 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18565 (verilog-uvm-statement-re): Support UVM indentation and
18566 highlighting, with old OVM keywords only.
18567 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18568 Support AUTOTIEOFF creating non-wire data types.
18569 Suggested by Jonathan Greenlaw.
18570 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18571 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18572 (verilog-inject-sense, verilog-read-inst-pins)
18573 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18574 Fix mismatching parenthesis inside commented out code when deleting
18575 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18576 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18577 non-numeric vector width. Reported by Alex Reed.
18578 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18579 detecting signals with parameter widths. Reported by Alex Reed.
18580 (verilog-auto-delete-trailing-whitespace):
18581 With `verilog-auto-delete-trailing-whitespace' remove trailing
18582 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18583 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18584 Fix verilog-scan-cache corruption when running user AUTO expansion
18585 hooks that call indentation routines.
18586 (verilog-simplify-range-expression): Fix typo ignoring lower case
18587 identifiers.
18588 (verilog-delete-auto): Fix delete-autos to also remove user created
18589 automatics, as long as they start with AUTO.
18590 (verilog-batch-diff-auto, verilog-diff-auto)
18591 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18592 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18593 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18594 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18595 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18596 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18597 is disabled and its cache will get corrupt, causing AUTOS not to
18598 expand. Instead use only -quick functions.
18599 (verilog-scan-region): Fix scanning over escaped quotes.
18600 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18601 (verilog-re-search-backward-quick)
18602 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18603 related functions now ignore strings, to fix misparsing of strings
18604 with magic comments embedded in them.
18605 (verilog-read-auto-template):
18606 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18607 Reported by Brad Dobbie.
18608 (verilog-read-auto-template):
18609 Fix 'verilog-auto-inst-template-numbers' with comments.
18610 Reported by Brad Dobbie.
18611 (verilog-auto-inst, verilog-auto-inst-param)
18612 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18613 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18614 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18615 debugging templates without merge conflicts, bug357.
18616 Reported by Brad Dobbie.
18617 (verilog-read-auto-template):
18618 Fix verilog-auto-inst-template-numbers with multiple templates.
18619 Reported by Brad Dobbie.
18620 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18621 abbrevs so user won't be asked to save.
18622 (verilog-read-auto-lisp-present): Fix to start at beginning of
18623 buffer in case called outside of verilog-auto.
18624 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18625 to "X-2". Reported by Matthew Myers.
18626 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18627 all inputs from module templates. Reported by Leith Johnson.
18628 (verilog-module-inside-filename-p): Fix locating programs as with
18629 modules.
18630 (verilog-auto-inst-port): Fix vl-width expressions when using
18631 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18632 (verilog-decls-get-regs, verilog-decls-get-signals,
18633 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18634 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18635 verilog-read-decls): Combine reg and wire structures into one var
18636 structure to represent SystemVerilog concepts.
18637 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18638 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18639 (verilog-auto-wire-type, verilog-insert-definition):
18640 Add verilog-auto-wire-type and AUTOLOGIC to support using
18641 SystemVerilog "logic" keyword instead of "wire"/"reg".
18642 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18643 to declares outputs that also have assignments (presumably in an
18644 ifdef or generate if so there's not a driver conflict).
18645 Reported by Matthew Myers.
18646 (verilog-auto-declare-nettype, verilog-insert-definition):
18647 Add verilog-auto-declare-nettype to fix declarations using
18648 `default_nettype none. Reported by Julian Gorfajn.
18649 (verilog-read-always-signals-recurse, verilog-read-decls)
18650 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18651 malformed end statement, bug325. Reported by Joshua Wise and
18652 Andrew Drake.
18653 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18654 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18655 when expanding .* in interfaces, bug320.
18656 Reported by Pierre-David Pfister.
18657 (verilog-read-module-name): Fix import statements between module
18658 name and open parenthesis, bug317.
18659 Reported by Pierre-David Pfister.
18660 (verilog-simplify-range-expression): Fix simplification of
18661 multiplications inside AUTOWIRE connections, bug303.
18662 (verilog-auto-inst-port): Support parameter expansion in
18663 multidimensional arrays.
18664 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18665 after "assert property". Reported by Julian Gorfajn.
18666 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18667 with multiplication, bug303.
18668 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18669 Reported by Jan Frode Lonnum.
18670
18671 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18672
18673 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18674 (hfy-shell-file-name, hfy-shell):
18675 * international/fontset.el (x-decompose-font-name): Fix typos.
18676
18677 2011-11-29 Ken Brown <kbrown@cornell.edu>
18678
18679 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18680 (gdb-version): Remove defvar.
18681 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18682 (gdb-gud-context-command, gdb-non-stop-handler)
18683 (gdb-current-context-command, gdb-stopped): Use it.
18684 (gdb-init-1): Enable pretty printing here.
18685 (gdb-non-stop-handler): Don't enable pretty-printing here.
18686 Check to see if the target supports non-stop mode; if not, turn off
18687 non-stop mode. Use the following.
18688 (gdb-check-target-async): New defun.
18689 (gud-watch, gdb-stopped): Fix whitespace.
18690 (gdb-get-source-file): Don't try to display the source file if
18691 `gdb-main-file' is nil.
18692
18693 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18694
18695 * align.el: Try to generate fewer markers (bug#10047).
18696 (align--set-marker): New macro.
18697 (align-region): Use it.
18698
18699 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18700
18701 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18702
18703 2011-11-29 Chong Yidong <cyd@gnu.org>
18704
18705 * indent.el (indent-for-tab-command, indent-according-to-mode):
18706 Doc fix.
18707 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18708
18709 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18710
18711 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18712 aware of remote file names. (Bug#10124)
18713
18714 2011-11-29 Chong Yidong <cyd@gnu.org>
18715
18716 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18717
18718 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18719
18720 * files.el (find-file): Don't use force-same-window (bug#10144).
18721 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18722 use pop-to-buffer if the selected window can't be used.
18723 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18724
18725 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18726
18727 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18728 special-mode-map.
18729
18730 2011-11-28 Chong Yidong <cyd@gnu.org>
18731
18732 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18733
18734 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18735
18736 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18737 gdb-get-source-file-list on gdb-create-source-file-list.
18738
18739 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18740
18741 * whitespace.el (whitespace-newline): Use a different foreground
18742 color for 16-color light-background displays.
18743
18744 2011-11-24 Chong Yidong <cyd@gnu.org>
18745
18746 * window.el (display-buffer--special-action): Doc fix.
18747
18748 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18749
18750 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18751 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18752 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18753 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18754 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18755 (avl-tree-stack-first):
18756 * emacs-lisp/cconv.el (cconv--analyse-use):
18757 * net/gnutls.el (gnutls-negotiate): Fix typos.
18758
18759 2011-11-24 Glenn Morris <rgm@gnu.org>
18760
18761 * lpr.el (lpr-windows-system, lpr-lp-system):
18762 * mail/binhex.el (binhex-begin-line):
18763 * progmodes/grep.el (grep-history, grep-find-history):
18764 * textmodes/flyspell.el:
18765 * vc/pcvs-defs.el (cvs-global-menu):
18766 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18767 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18768 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18769
18770 * net/tls.el: Fix case of "GnuTLS".
18771
18772 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18773
18774 * version.el (emacs-build-system): Give it a doc-string.
18775
18776 2011-11-24 Juri Linkov <juri@jurta.org>
18777
18778 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18779
18780 2011-11-24 Glenn Morris <rgm@gnu.org>
18781
18782 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18783 if called on a non-mime message just toggle the headers. (Bug#8006)
18784
18785 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18786
18787 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18788 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18789 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18790 (allout-rebullet-heading, allout-open-sibtopic)
18791 (allout-toggle-current-subtree-encryption)
18792 (allout-toggle-subtree-encryption, allout-encrypt-string)
18793 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18794 (allout-distinctive-bullets-string, allout-auto-activation):
18795 * window.el (window-normalize-buffer-to-display):
18796 * progmodes/verilog-mode.el (verilog-batch-indent):
18797 * textmodes/bibtex.el (bibtex-field-braces-opt)
18798 (bibtex-field-strings-opt):
18799 * vc/cvs-status.el (cvs-tree-merge):
18800 Fix typos.
18801
18802 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18803
18804 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18805 `non-essential' to t, in order to avoid remote connections.
18806
18807 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18808
18809 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18810 On MS-DOS and MS-Windows, compare with loaddefs.el
18811 case-insensitively.
18812
18813 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18814
18815 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18816
18817 2011-11-23 Glenn Morris <rgm@gnu.org>
18818
18819 * paths.el (rmail-file-name): Reformat the doc-string so that it
18820 is picked up.
18821
18822 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18823 (rmail-auto-file): Ignore case in the "special" field names,
18824 as mail-fetch-field does for all others.
18825
18826 * mail/rmail.el (rmail-forward):
18827 * mail/rmailkwd.el (rmail-set-label):
18828 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18829 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18830
18831 * mail/rmail.el (rmail-current-message): Doc fix.
18832
18833 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18834
18835 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18836
18837 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18838
18839 2011-11-22 Glenn Morris <rgm@gnu.org>
18840
18841 * mail/rmailmm.el (test-rmail-mime-handler)
18842 (test-rmail-mime-bulk-handler)
18843 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18844
18845 2011-11-21 Juri Linkov <juri@jurta.org>
18846
18847 * calc/calc.el (calc-read-key-sequence):
18848 Let-bind `input-method-function' to nil. (Bug#10018)
18849
18850 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18851
18852 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18853 Tell the caller that the next line needs recomputation, even
18854 though it doesn't start a sexp (bug#10094).
18855
18856 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18857
18858 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18859
18860 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18861
18862 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18863 Use force-same-window.
18864
18865 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18866
18867 * descr-text.el (describe-char-unicode-data):
18868 * json.el (json-string-escape):
18869 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18870 (Footnote-unicode, Footnote-style-p):
18871 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18872
18873 2011-11-20 Chong Yidong <cyd@gnu.org>
18874
18875 * window.el (replace-buffer-in-windows): Restore interactive spec.
18876
18877 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18878
18879 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18880
18881 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18882 (byte-compile-global-not-obsolete-vars): New var.
18883 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18884 Use it.
18885 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18886
18887 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18888
18889 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18890 * progmodes/pascal.el (electric-pascal-equal):
18891 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18892 * xml.el (xml-substitute-special): Fix typos.
18893
18894 2011-11-20 Glenn Morris <rgm@gnu.org>
18895
18896 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18897 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18898 Doc fixes.
18899 (rmail-decode-mime-charset): Mark as obsolete.
18900
18901 * mail/rmailsum.el (rmail-message-regexp-p-1):
18902 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18903 Before using mime functions, check they are set. (Bug#10077)
18904
18905 2011-11-19 Juri Linkov <juri@jurta.org>
18906
18907 * info.el (Info-finder-find-node): Use `package--builtins' instead
18908 of `package-alist'. Use node names formed by the pattern "Keyword "
18909 and the keyword name.
18910
18911 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18912
18913 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18914
18915 2011-11-19 Juri Linkov <juri@jurta.org>
18916
18917 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18918 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18919 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18920 `old-history', `old-history-forward'. Add let-binding
18921 `window-selected'. Remove calls to `kill-buffer',
18922 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18923 before calling `Info-find-node', so `Info-find-node-2' will reread
18924 the Info file. Restore window positions only when `window-selected'
18925 is non-nil.
18926
18927 2011-11-19 Juri Linkov <juri@jurta.org>
18928
18929 * isearch.el (isearch-lazy-highlight-new-loop):
18930 Remove condition `(not isearch-error)'. (Bug#9918)
18931
18932 * misearch.el (multi-isearch-search-fun): Add condition
18933 `(not bound)' to ignore lazy-highlighting search.
18934 Add the search-failed message "end of multi" when the end of
18935 multi-sequence is reached. Uncapitalize the search-failed
18936 message "Repeat for next buffer".
18937
18938 * info.el (Info-search): Add the search-failed message
18939 "end of the manual" when the end of the manual is reached
18940 in Isearch mode.
18941
18942 2011-11-19 Juri Linkov <juri@jurta.org>
18943
18944 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18945 Use non-destructive `remove' instead of `delete' because
18946 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18947 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18948
18949 2011-11-19 Juri Linkov <juri@jurta.org>
18950
18951 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18952 to nil instead of binding `search-ring' and `regexp-search-ring'.
18953 (Bug#9185)
18954
18955 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18956
18957 * simple.el (line-move): Force movement by logical lines for any
18958 hscrolled window, not only when auto-hscroll-mode is on.
18959 (line-move-visual): Update doc string to that effect. (Bug#10076)
18960
18961 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18962
18963 * language/european.el (macintosh): Define as alias for mac-roman.
18964
18965 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18966
18967 * mail/rmailmm.el (rmail-mime-display-header)
18968 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18969 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18970 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18971 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18972 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18973 of a raw aref.
18974 (rmail-mime-entity-segment): To get past the tagline, move forward
18975 2 more lines, to account for the 2 empty lines that precede and
18976 follow the line with the buttons.
18977 (rmail-mime-update-tagline): Move one more line, to get past the
18978 empty line that follows the buttons in the tagline. (Bug#9520)
18979
18980 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18981
18982 * window.el (window-max-delta-1, window-min-delta-1)
18983 (window-min-size-1, window-state-get-1, window-state-put-1)
18984 (window-state-put-2): Use "window--" prefix.
18985
18986 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18987
18988 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18989 (smie-warning-count): New var.
18990 (smie-set-prec2tab): Use it.
18991 (smie-bnf->prec2): Improve warnings. Add docstring.
18992 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18993 (smie-bnf--set-class): New function.
18994 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18995 corner case.
18996
18997 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18998 (compilation-error-properties, compilation-move-to-column):
18999 Handle compilation-first-column while in the target buffer.
19000
19001 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19002 Don't hardcode point-min==1.
19003
19004 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19005 (eshell-rewrite-for-command): Remove workaround.
19006 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19007 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19008 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19009
19010 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19011
19012 2011-11-17 Glenn Morris <rgm@gnu.org>
19013
19014 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19015 Ignore buffer-local generated-autoload-file if it is the same
19016 as the global value. (Bug#10049)
19017
19018 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19019
19020 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19021 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19022 (reftex-toc-previous-heading, reftex-toc-max-level)
19023 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19024 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19025 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19026 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19027 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19028 (reftex-toc-rename-label, reftex-toc-visit-location)
19029 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19030 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19031 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19032 leaving "*toc*" only for references to the buffer.
19033
19034 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19035
19036 * window.el (window-resize, delete-window, split-window):
19037 Replace window-splits by window-combination-resize.
19038 * cus-start.el (window-splits): Replace by window-combination-resize.
19039
19040 2011-11-17 Glenn Morris <rgm@gnu.org>
19041
19042 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19043 Make bash entry derive from sh entry, not shell entry.
19044
19045 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19046
19047 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19048 local file name.
19049
19050 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19051
19052 * menu-bar.el (menu-bar-file-menu):
19053 * printing.el (pr-ps-utility):
19054 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19055 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19056 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19057 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19058 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19059 (icalendar--convert-cyclic-to-ical)
19060 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19061 (icalendar--convert-ical-to-diary)
19062 (icalendar--convert-recurring-to-diary)
19063 (icalendar--convert-non-recurring-all-day-to-diary)
19064 (icalendar-import-format-sample):
19065 * progmodes/idlw-shell.el (idlwave-shell-mode):
19066 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19067 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19068 (vhdl-ps-print-init): Fix typos.
19069
19070 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19071
19072 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19073 FSF and collapse date sequence, obscure author/maintainer email address
19074 better, remove extra version line, track relocation of author's webpage.
19075
19076 * progmodes/python.el (python-pdbtrack-input-prompt)
19077 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19078 regular python pdb prompts. Adjustments shamelessly taken exactly as
19079 suggested in EmacsWiki page (tiny change):
19080 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19081
19082 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19083
19084 * expand.el (expand-pos, expand-index, expand-point):
19085 Remove redundant info from docstring.
19086 (expand-add-abbrevs): Doc fix.
19087 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19088 (expand-sample-perl-mode-expand-list): Fix typos.
19089
19090 * net/dbus.el (dbus-event-member-name):
19091 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19092 * term/pc-win.el (msdos-create-frame-with-faces):
19093 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19094
19095 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19096
19097 * window.el (split-window, window-state-get-1)
19098 (window-state-put-1, window-state-put-2): Rename occurrences of
19099 window-nest to window-combination-limit.
19100 * cus-start.el (window-nest): Rename to window-combination-limit.
19101
19102 2011-11-16 Chong Yidong <cyd@gnu.org>
19103
19104 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19105 regexp (Bug#10033).
19106
19107 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19108
19109 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19110 `completing-read' will remove *Completions* and will preserve
19111 current-buffer for us.
19112 (tmm-add-prompt): Users of *Completions* will always (re)set its
19113 major mode.
19114 (tmm-old-comp-map): Remove.
19115
19116 2011-11-16 Glenn Morris <rgm@gnu.org>
19117
19118 * mail/rmailedit.el: Require rmailmm when compiling.
19119 (rmail-old-mime-state): New declaration.
19120 (rmail-edit-current-message): If editing a mime message,
19121 edit the "raw" message from the mbox buffer.
19122 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19123
19124 2011-11-15 Glenn Morris <rgm@gnu.org>
19125
19126 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19127 which wasn't being used. Add optional arg to force given state.
19128 (rmail-mime): Add optional arg to force given state.
19129
19130 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19131
19132 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19133 * frame.el (display-mm-dimensions-alist):
19134 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19135 (outline-move-subtree-down):
19136 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19137 (newsticker--treeview-do-get-node):
19138 * net/quickurl.el (quickurl-list-buffer-name):
19139 * progmodes/dcl-mode.el (dcl-mode):
19140 * progmodes/gdb-mi.el (gdb-mapcar*):
19141 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19142
19143 2011-11-15 Glenn Morris <rgm@gnu.org>
19144
19145 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19146 in a boolean sense, so just make it a boolean, and fix the doc.
19147 (rmail-show-mime-function, rmail-mime-feature)
19148 (rmail-require-mime-maybe): Doc fixes.
19149 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19150
19151 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19152
19153 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19154
19155 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19156 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19157 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19158 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19159
19160 2011-11-15 Glenn Morris <rgm@gnu.org>
19161
19162 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19163 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19164 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19165 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19166 (rmail-mime, rmail-show-mime): Doc fixes.
19167
19168 * term/ns-win.el (mode-line-frame-identification):
19169 Leave it alone. (Bug#10051)
19170
19171 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19172
19173 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19174 Handle empty buffers. (Bug#9978)
19175
19176 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19177
19178 * international/mule.el (define-charset):
19179 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19180 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19181 * progmodes/verilog-mode.el (verilog-backward-token):
19182 * textmodes/ispell.el (lookup-words):
19183 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19184
19185 2011-11-14 Glenn Morris <rgm@gnu.org>
19186
19187 * progmodes/executable.el
19188 (executable-make-buffer-file-executable-if-script-p):
19189 Handle file-modes returning nil.
19190
19191 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19192 message - not necessary, and causes problems. (Bug#9831)
19193
19194 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19195
19196 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19197
19198 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19199 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19200 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19201
19202 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19203
19204 * window.el (window-resize, delete-window): Use window-splits
19205 variable instead of function.
19206 (window-state-get-1, window-state-put-2, window-state-put):
19207 Don't deal with windows' splits status.
19208
19209 2011-11-12 Glenn Morris <rgm@gnu.org>
19210
19211 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19212 (apropos-documentation): Doc fixes.
19213
19214 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19215
19216 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19217 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19218
19219 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19220
19221 * electric.el (electric-indent-post-self-insert-function): Make it
19222 possible for a char to only indent in some circumstances.
19223 (electric-indent-mode): Simplify.
19224
19225 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19226
19227 * window.el (windows-with-parameter): Remove unused function.
19228 (windows-at-side): Rename to window-at-side-list.
19229 (window-check, window-atom-check, window-atom-check-1)
19230 (window-side-check, window-size-ignore, window-size-fixed-1)
19231 (window-in-direction-2): Prefix with "window--".
19232 (window-tree-1): Rename to window--subtree, fix doc-string.
19233
19234 2011-11-11 Glenn Morris <rgm@gnu.org>
19235
19236 * subr.el (eval-after-load): If FILE is already loaded,
19237 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19238
19239 2011-11-10 Glenn Morris <rgm@gnu.org>
19240
19241 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19242 Call svn via vc-svn-command rather than vc-do-command.
19243 (vc-svn-command): Add --non-interactive. (Bug#9993)
19244 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19245
19246 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19247 Add toggle-read-only. (Bug#7292)
19248 * files.el (toggle-read-only): Mention that it should only
19249 be used interactively. (Bug#10006)
19250
19251 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19252
19253 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19254 Adjust regexp for OCaml warnings.
19255
19256 * electric.el (electric-pair-post-self-insert-function): Let user
19257 turn it off buffer-locally (bug#9932).
19258
19259 * progmodes/python.el (python-beginning-of-statement):
19260 Rewrite (bug#2703).
19261
19262 * progmodes/compile.el: Better handle TABs (bug#9749).
19263 (compilation-internal-error-properties)
19264 (compilation-next-error-function): Obey the target buffer's
19265 compilation-error-screen-columns.
19266
19267 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19268
19269 * progmodes/meta-mode.el: Remove obsolete comments.
19270 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19271 Fix typos in docstrings.
19272
19273 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19274
19275 * window.el (window-size-fixed-p): Rewrite doc-string.
19276 (window-resizable-p): Rename to window--resizable-p. Update callers.
19277 (window--resizable): New function. Make all callers of
19278 window-resizable call window--resizable instead.
19279 (window-resizable): Rewrite in terms of window--resizable.
19280
19281 2011-11-08 Glenn Morris <rgm@gnu.org>
19282
19283 * progmodes/delphi.el (delphi-mode-syntax-table):
19284 Let define-derived-mode define a proper syntax table. (Bug#9994)
19285
19286 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19287
19288 * window.el: Stay away from defsubst.
19289 (window-list-no-nils): Remove.
19290 (window-state-get-1, window-state-get): Use backquote instead.
19291
19292 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19293
19294 * emacs-lisp/find-func.el (find-function-read):
19295 Fix incorrect use of default argument in `completing-read'.
19296
19297 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19298
19299 * window.el (display-buffer-function, special-display-function):
19300 Mention display-buffer-record-window but do not mention
19301 help-setup parameter in doc-strings.
19302 (window-min-delta): Fix doc-string typo.
19303
19304 2011-11-08 Chong Yidong <cyd@gnu.org>
19305
19306 * window.el (window-total-height, window-total-width): Doc fix.
19307 (window-body-size): Move from C.
19308 (window-body-height, window-body-width): Move to C.
19309
19310 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19311
19312 * window.el: Make special-display like display-buffer-alist (bug#9532).
19313 (display-buffer--special-action): New function, morphed
19314 from display-buffer--special.
19315 (display-buffer): Use it to handle special-display-buffers at higher
19316 priority (just after display-buffer-alist).
19317 (display-buffer-fallback-action, display-buffer--other-frame-action)
19318 (pop-to-buffer-same-window): Remove display-buffer--special.
19319
19320 2011-11-07 Glenn Morris <rgm@gnu.org>
19321
19322 * calendar/cal-menu.el (cal-menu-set-date-title):
19323 Do nothing if not in a calendar. (Bug#9976)
19324
19325 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19326
19327 * files.el (find-file): Always use selected-window.
19328
19329 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19330
19331 * window.el (window-combinations): Make WINDOW argument
19332 mandatory. Rewrite doc-string.
19333 (walk-window-subtree, window-atom-check, window-min-delta)
19334 (window-max-delta, window--resize-this-window)
19335 (window--resize-root-window-vertically, window-tree)
19336 (balance-windows, window-state-put): Rewrite doc-strings as to
19337 not mention the term "subwindow".
19338 (window--resize-subwindows-skip-p): Rename to
19339 window--resize-child-windows-skip-p.
19340 (window--resize-subwindows-normal): Rename to
19341 window--resize-child-windows-normal.
19342 (window--resize-subwindows): Rename to
19343 window--resize-child-windows.
19344 (window-or-subwindow-p): Rename to window--in-subtree-p.
19345
19346 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19347
19348 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19349 Ensure that mbox format messages end in two newlines (Bug#9974).
19350
19351 2011-11-06 Chong Yidong <cyd@gnu.org>
19352
19353 * window.el (window-combination-p): Function deleted; its
19354 side-effect is not used in any existing code.
19355 (window-combinations, window-combined-p): Call window-*-child
19356 directly.
19357
19358 2011-11-05 Chong Yidong <cyd@gnu.org>
19359
19360 * window.el (window-valid-p): Rename from window-any-p.
19361 (window-size-ignore, window-state-get): Callers changed.
19362 (window-normalize-window): Rename from window-normalize-any-window.
19363 New arg LIVE-ONLY, replacing window-normalize-live-window.
19364 (window-normalize-live-window): Delete.
19365 (window-combination-p, window-combined-p, window-combinations)
19366 (walk-window-subtree, window-atom-root, window-min-size)
19367 (window-sizable, window-sizable-p, window-size-fixed-p)
19368 (window-min-delta, window-max-delta, window-resizable)
19369 (window-resizable-p, window-full-height-p, window-full-width-p)
19370 (window-current-scroll-bars, window-point-1, set-window-point-1)
19371 (window-at-side-p, window-in-direction, window-resize)
19372 (adjust-window-trailing-edge, maximize-window, minimize-window)
19373 (window-deletable-p, delete-window, delete-other-windows)
19374 (record-window-buffer, unrecord-window-buffer)
19375 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19376 (quit-window, split-window, window-state-put)
19377 (set-window-text-height, fit-window-to-buffer)
19378 (shrink-window-if-larger-than-buffer): Callers changed.
19379
19380 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19381
19382 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19383 rfc2047-decode-string.
19384 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19385 warnings.
19386
19387 * window.el (window-body-height, window-body-width): Mention in
19388 the doc string that the return values are in frame's canonical
19389 units. (Bug#9949)
19390
19391 2011-11-03 Alan Mackenzie <acm@muc.de>
19392
19393 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19394 change in cc-engine.el.
19395
19396 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19397
19398 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19399
19400 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19401
19402 * window.el (quit-window): Call unrecord-window-buffer after
19403 showing another buffer in the window. (Bug#9937)
19404 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19405
19406 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19407
19408 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19409 Accept status with more than 9 shelves. (Bug#9935)
19410 Reported by Colin D Bennett <colin@gibibit.com>.
19411
19412 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19413
19414 * help.el (with-help-window): Don't reference
19415 temp-buffer-show-specifiers in doc-string.
19416
19417 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19418
19419 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19420 menu-item.
19421
19422 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19423
19424 * whitespace.el: New version 13.2.2.
19425 (whitespace-newline-mode): Disable properly. Reported by Sarah
19426 <EmacsWiki>.
19427
19428 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19429
19430 * net/newst-treeview.el: Remove "Time-stamp".
19431 (newsticker--group-manage-orphan-feeds): Do not call
19432 newsticker--treeview-tree-update.
19433 (newsticker-treeview-update, newsticker-treeview):
19434 Call newsticker--treeview-tree-update if necessary.
19435
19436 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19437
19438 * window.el (window-iso-combination-p, window-iso-combined-p)
19439 (window-iso-combinations): Remove "iso-" infix.
19440 Suggested by Chong Yidong.
19441 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19442 (window-max-delta-1, window-resize, window--resize-siblings)
19443 (window--resize-this-window, adjust-window-trailing-edge)
19444 (split-window, balance-windows-1)
19445 (shrink-window-if-larger-than-buffer):
19446 * calendar/calendar.el (calendar-generate-window):
19447 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19448
19449 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19450
19451 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19452 in place (bug#9907).
19453 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19454 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19455 (eshell-structure-basic-command, eshell-rewrite-while-command)
19456 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19457 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19458 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19459 (eshell-do-pipelines-synchronously, eshell-eval-command):
19460 Use backquotes and prefer setq to set.
19461 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19462 (eshell-macrop): Use functionp.
19463 (eshell-do-eval): Handle multiple expressions in `while' body.
19464
19465 2011-10-30 Chong Yidong <cyd@gnu.org>
19466
19467 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19468 instead of set-mark (Bug#9810).
19469
19470 2011-10-30 Chong Yidong <cyd@gnu.org>
19471
19472 * window.el (split-window-below, split-window-right): Rename from
19473 split-window-above-each-other and split-window-side-by-side
19474 respectively. All callers changed.
19475 (split-window-sensibly, split-window-sensibly): Use them.
19476 (split-window-keep-point): Doc fix.
19477
19478 * isearch.el: Add isearch-scroll property to split-window-below
19479 and split-window-right.
19480
19481 * follow.el (follow-mode):
19482 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19483 * progmodes/ada-xref.el (ada-gdb-application):
19484 * emulation/vip.el (vip-buffer-in-two-windows):
19485 * image-dired.el (image-dired-dired-with-window-configuration):
19486 * dired-x.el (dired-do-find-marked-files):
19487 * dired.el (dired-pop-to-buffer):
19488 * bs.el (bs--show-with-configuration):
19489 * vc/emerge.el (emerge-setup-windows):
19490 * textmodes/two-column.el (2C-two-columns):
19491 * textmodes/reftex-toc.el (reftex-toc):
19492 * progmodes/gdb-mi.el (gdb-setup-windows):
19493 * progmodes/fortran.el (fortran-window-create):
19494 * net/newst-treeview.el (newsticker--treeview-window-init):
19495 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19496 * emulation/tpu-edt.el (tpu-gold-map):
19497 * emulation/crisp.el (crisp-mode-map):
19498 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19499
19500 2011-10-29 Chong Yidong <cyd@gnu.org>
19501
19502 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19503
19504 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19505
19506 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19507 forged Ispell output (Bug#7904).
19508
19509 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19510
19511 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19512
19513 * doc-view.el: Avoid ugly errors about not finding nil.
19514 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19515 (doc-view-dvipdf-program, doc-view-unoconv-program)
19516 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19517 Avoid nil or absolute file name as default value.
19518 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19519
19520 2011-10-28 Alan Mackenzie <acm@muc.de>
19521
19522 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19523
19524 2011-10-28 Alan Mackenzie <acm@muc.de>
19525
19526 Amend the handling of c-beginning/end-of-defun in nested declaration
19527 scopes.
19528
19529 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19530 cc-langs.el. Change it to a defcustom.
19531
19532 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19533 cc-vars.el.
19534
19535 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19536 Prevent "class foo : bar" being spuriously recognized as a label.
19537
19538 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19539 Add parameter `inclusive' (to include enclosing braces in the region).
19540 (c-widen-to-enclosing-decl-scope): New function.
19541 (c-while-widening-to-decl-block): New macro.
19542 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19543 outward for defun boundaries, and correspondingly change symbol
19544 `respect-enclosure' to `go-outward'.
19545 (c-declaration-limits): Change algorithm to report only the "innermost"
19546 defun's boundaries.
19547
19548 2011-10-28 Deniz Dogan <deniz@dogan.se>
19549
19550 * net/rcirc.el (rcirc-mode): Use hard newlines.
19551
19552 2011-10-28 Alan Mackenzie <acm@muc.de>
19553
19554 Amend to indent and fontify macros "which include their own semicolon"
19555 correctly, using the "virtual semicolon" mechanism.
19556
19557 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19558
19559 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19560 Recode to scan one line at a time rather than having \n and \r
19561 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19562 (c-forward-label): Amend for virtual semicolons.
19563 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19564
19565 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19566 of the new C macros.
19567
19568 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19569 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19570 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19571 (c-opt-cpp-macro-define): Make into a full language variable.
19572 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19573 AWK Mode (including \n, \r) removed, no longer needed.
19574
19575 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19576 Invoke c-make-macro-with-semi-re.
19577
19578 * progmodes/cc-vars.el (c-macro-with-semi-re):
19579 (c-macro-names-with-semicolon): New variables.
19580 (c-make-macro-with-semi-re): New function.
19581
19582 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19583
19584 * vc/log-edit.el: Fill empty field rather than adding new one.
19585 (log-edit-add-field): New function.
19586 (log-edit-insert-changelog): Use it.
19587
19588 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19589
19590 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19591
19592 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19593
19594 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19595 (gdb--check-interpreter): New function.
19596 (gdb): Use it.
19597
19598 2011-10-27 Glenn Morris <rgm@gnu.org>
19599
19600 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19601 (least-positive-float, least-negative-float)
19602 (least-positive-normalized-float, least-negative-normalized-float)
19603 (float-epsilon, float-negative-epsilon):
19604 Remove unnecessary declarations.
19605
19606 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19607 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19608 (least-positive-float, least-negative-float)
19609 (least-positive-normalized-float, least-negative-normalized-float)
19610 (float-epsilon, float-negative-epsilon): Add doc-strings,
19611 based on those in cl.texi.
19612
19613 * files.el (set-visited-file-name): If the major-mode changed,
19614 reload the local variables. (Bug#9796)
19615
19616 2011-10-27 Chong Yidong <cyd@gnu.org>
19617
19618 * subr.el (change-major-mode-after-body-hook): New hook.
19619 (run-mode-hooks): Run it.
19620
19621 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19622 Use change-major-mode-before-body-hook.
19623
19624 * simple.el (fundamental-mode):
19625 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19626 change introducing fundamental-mode-hook.
19627
19628 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19629
19630 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19631
19632 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19633
19634 * ido.el (ido-file-name-all-completions-1): Do not require
19635 tramp.el explicitly. (Bug#7583)
19636
19637 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19638
19639 * progmodes/octave-mod.el:
19640 * progmodes/octave-inf.el: Update maintainer.
19641
19642 2011-10-26 Chong Yidong <cyd@gnu.org>
19643
19644 * subr.el (with-wrapper-hook): Rewrite doc.
19645
19646 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19647
19648 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19649 filenames "/method:foo:". (Bug#9793)
19650
19651 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19652
19653 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19654 (bug#9865).
19655
19656 2011-10-24 Glenn Morris <rgm@gnu.org>
19657
19658 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19659
19660 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19661
19662 * notifications.el: Add the requirement of a running D-Bus session
19663 bus to the Commentary.
19664
19665 2011-10-24 Juri Linkov <juri@jurta.org>
19666
19667 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19668 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19669 (Bug#9364)
19670
19671 2011-10-24 Juri Linkov <juri@jurta.org>
19672
19673 * info.el (Info-following-node-name-re): Add newline to the list
19674 of allowed characters for leading space. (Bug#9824)
19675
19676 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19677
19678 * progmodes/octave-inf.el (inferior-octave-mode-map):
19679 Fix C-c C-h binding.
19680 * progmodes/octave-mod.el (octave-help): Remove.
19681
19682 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19683
19684 Sync with Tramp 2.2.3.
19685
19686 * net/tramp-cache.el (top): Pacify byte-compiler using
19687 `init-file-user' and `site-run-file'.
19688
19689 * net/trampver.el: Update release number.
19690
19691 2011-10-23 Chong Yidong <cyd@gnu.org>
19692
19693 * files.el (toggle-read-only): Remove obsolete comment about
19694 version control.
19695
19696 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19697 for toggle-read-only. Note that this hasn't called vc-next-action
19698 since 2008-05-02, though it wasn't documented at the time.
19699
19700 * vc/ediff-init.el (ediff-toggle-read-only-function):
19701 Use toggle-read-only.
19702
19703 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19704
19705 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19706 of c-parse-state.
19707
19708 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19709 correct faulty logical expression.
19710 (c-parse-state-state, c-record-parse-state-state):
19711 (c-replay-parse-state-state): New defvar/defuns.
19712 (c-debug-parse-state): Use new functions.
19713
19714 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19715
19716 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19717 last fix. Use window-in-direction correctly.
19718
19719 2011-10-21 Chong Yidong <cyd@gnu.org>
19720
19721 * progmodes/idlwave.el (idlwave-mode):
19722 * progmodes/vera-mode.el (vera-mode): No need to set
19723 require-final-newline; that's done in prog-mode.
19724 Suggested by Stefan Monnier.
19725
19726 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19727
19728 * mouse.el (mouse-drag-window-above)
19729 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19730 (mouse-drag-mode-line-1, mouse-drag-header-line)
19731 (mouse-drag-vertical-line-rightward-window): Remove.
19732 (mouse-drag-line): New function.
19733 (mouse-drag-mode-line, mouse-drag-header-line)
19734 (mouse-drag-vertical-line): Call mouse-drag-line.
19735 * window.el (window-at-side-p, windows-at-side): New functions.
19736
19737 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19738
19739 * tar-mode.el (tar-grind-file-mode):
19740 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19741
19742 2011-10-21 Chong Yidong <cyd@gnu.org>
19743
19744 * progmodes/idlwave.el (idlwave-mode):
19745 * progmodes/vera-mode.el (vera-mode):
19746 Use mode-require-final-newline.
19747
19748 2011-10-20 Glenn Morris <rgm@gnu.org>
19749
19750 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19751
19752 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19753
19754 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19755
19756 2011-10-20 Chong Yidong <cyd@gnu.org>
19757
19758 * emulation/cua-base.el (cua-mode):
19759 * mail/footnote.el (footnote-mode):
19760 * mail/mailabbrev.el (mail-abbrevs-mode):
19761 * net/xesam.el (xesam-minor-mode):
19762 * progmodes/bug-reference.el (bug-reference-mode):
19763 * progmodes/cap-words.el (capitalized-words-mode):
19764 * progmodes/compile.el (compilation-minor-mode)
19765 (compilation-shell-minor-mode):
19766 * progmodes/gud.el (gud-tooltip-mode):
19767 * progmodes/hideif.el (hide-ifdef-mode):
19768 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19769 * progmodes/subword.el (subword-mode):
19770 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19771 * progmodes/which-func.el (which-function-mode):
19772 * term/tvi970.el (tvi970-set-keypad-mode):
19773 * term/vt100.el (vt100-wide-mode):
19774 * textmodes/flyspell.el (flyspell-mode):
19775 * textmodes/ispell.el (ispell-minor-mode):
19776 * textmodes/nroff-mode.el (nroff-electric-mode):
19777 * textmodes/paragraphs.el (use-hard-newlines):
19778 * textmodes/refill.el (refill-mode):
19779 * textmodes/reftex.el (reftex-mode):
19780 * textmodes/rst.el (rst-minor-mode):
19781 * textmodes/sgml-mode.el (html-autoview-mode)
19782 (sgml-electric-tag-pair-mode):
19783 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19784 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19785 * emulation/crisp.el (crisp-mode):
19786 * emacs-lisp/eldoc.el (eldoc-mode):
19787 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19788 minor mode behavior.
19789
19790 2011-10-19 Juri Linkov <juri@jurta.org>
19791
19792 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19793 the list of hard-coded chars with escape-glyph face.
19794
19795 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19796
19797 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19798
19799 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19800
19801 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19802 running process.
19803
19804 2011-10-19 Glenn Morris <rgm@gnu.org>
19805
19806 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19807 Ignore ignored files. (Bug#9726)
19808
19809 2011-10-19 Chong Yidong <cyd@gnu.org>
19810
19811 Doc fix for minor modes, stating that an omitted argument enables
19812 the mode unconditionally when called from Lisp.
19813
19814 * abbrev.el (abbrev-mode):
19815 * allout.el (allout-mode):
19816 * autoinsert.el (auto-insert-mode):
19817 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19818 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19819 (global-auto-revert-mode):
19820 * battery.el (display-battery-mode):
19821 * composite.el (global-auto-composition-mode)
19822 (auto-composition-mode):
19823 * delsel.el (delete-selection-mode):
19824 * desktop.el (desktop-save-mode):
19825 * dired-x.el (dired-omit-mode):
19826 * dirtrack.el (dirtrack-mode):
19827 * doc-view.el (doc-view-minor-mode):
19828 * double.el (double-mode):
19829 * electric.el (electric-indent-mode, electric-pair-mode):
19830 * emacs-lock.el (emacs-lock-mode):
19831 * epa-hook.el (auto-encryption-mode):
19832 * follow.el (follow-mode):
19833 * font-core.el (font-lock-mode):
19834 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19835 * help.el (temp-buffer-resize-mode):
19836 * hilit-chg.el (highlight-changes-mode)
19837 (highlight-changes-visible-mode):
19838 * hi-lock.el (hi-lock-mode):
19839 * hl-line.el (hl-line-mode, global-hl-line-mode):
19840 * icomplete.el (icomplete-mode):
19841 * ido.el (ido-everywhere):
19842 * image-file.el (auto-image-file-mode):
19843 * image-mode.el (image-minor-mode):
19844 * iswitchb.el (iswitchb-mode):
19845 * jka-cmpr-hook.el (auto-compression-mode):
19846 * linum.el (linum-mode):
19847 * longlines.el (longlines-mode):
19848 * master.el (master-mode):
19849 * mb-depth.el (minibuffer-depth-indicate-mode):
19850 * menu-bar.el (menu-bar-mode):
19851 * minibuf-eldef.el (minibuffer-electric-default-mode):
19852 * mouse-sel.el (mouse-sel-mode):
19853 * msb.el (msb-mode):
19854 * mwheel.el (mouse-wheel-mode):
19855 * outline.el (outline-minor-mode):
19856 * paren.el (show-paren-mode):
19857 * recentf.el (recentf-mode):
19858 * reveal.el (reveal-mode, global-reveal-mode):
19859 * rfn-eshadow.el (file-name-shadow-mode):
19860 * ruler-mode.el (ruler-mode):
19861 * savehist.el (savehist-mode):
19862 * scroll-all.el (scroll-all-mode):
19863 * scroll-bar.el (scroll-bar-mode):
19864 * server.el (server-mode):
19865 * shell.el (shell-dirtrack-mode):
19866 * simple.el (auto-fill-mode, transient-mark-mode)
19867 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19868 (line-number-mode, column-number-mode, size-indication-mode)
19869 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19870 * strokes.el (strokes-mode):
19871 * time.el (display-time-mode):
19872 * t-mouse.el (gpm-mouse-mode):
19873 * tool-bar.el (tool-bar-mode):
19874 * tooltip.el (tooltip-mode):
19875 * type-break.el (type-break-mode-line-message-mode)
19876 (type-break-query-mode):
19877 * view.el (view-mode):
19878 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19879 (global-whitespace-mode, global-whitespace-newline-mode):
19880 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19881
19882 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19883 Fix autogenerated docstring.
19884
19885 2011-10-19 Juri Linkov <juri@jurta.org>
19886
19887 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19888 by checking environment variables "DESKTOP_SESSION" and
19889 "XDG_CURRENT_DESKTOP". (Bug#9779)
19890
19891 2011-10-19 Juri Linkov <juri@jurta.org>
19892
19893 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19894 (browse-url-chromium-program, browse-url-chromium-arguments):
19895 New defcustoms.
19896 (browse-url-default-browser): Check for `browse-url-chromium' and
19897 call `browse-url-chromium-program'.
19898 (browse-url-chromium): New command. (Bug#9779)
19899
19900 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19901
19902 * facemenu.el (list-colors-duplicates): On Windows, detect more
19903 duplicates by assuming that only colors matching "^System" are
19904 special "system colors". (Bug#9722)
19905
19906 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19907
19908 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19909 to distinguish the author from the committer.
19910
19911 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19912
19913 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19914
19915 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19916
19917 * international/mule.el (sgml-html-meta-auto-coding-function):
19918 Add support for detecting encoding in HTML5 specified only as
19919 <meta charset="UTF-8">. Implementation just makes http-equiv and
19920 content-type parts from HTML4 encoding string optional. (Bug#9716)
19921
19922 2011-10-18 Glenn Morris <rgm@gnu.org>
19923
19924 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19925
19926 2011-10-18 Chong Yidong <cyd@gnu.org>
19927
19928 * faces.el (cursor): Doc fix.
19929
19930 2011-10-17 Chong Yidong <cyd@gnu.org>
19931
19932 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19933
19934 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19935
19936 * dirtrack.el (dirtrack): Support shell buffers with path
19937 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19938
19939 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19940
19941 * json.el: Bump version to 1.3 and note change in History.
19942 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19943
19944 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19945
19946 * comint.el (comint-insert-input, comint-send-input)
19947 (comint-get-old-input-default, comint-backward-matching-input)
19948 (comint-next-prompt): Use nil instead of `input' for field property of
19949 past user input (bug#114).
19950
19951 * minibuffer.el (completion--replace): Inherit surrounding properties
19952 (bug#114).
19953 (minibuffer-complete-and-exit): Use it.
19954
19955 * comint.el (comint--table-subvert): Quote the all-completions output
19956 (bug#9160).
19957
19958 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19959
19960 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19961
19962 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19963 window on right of selected. (Bug#9350) Reword other window
19964 entries and separate them from frame entries.
19965
19966 2011-10-15 Glenn Morris <rgm@gnu.org>
19967
19968 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19969 Doc fixes.
19970
19971 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19972
19973 * net/network-stream.el (network-stream-open-starttls):
19974 Improve detection of failure due to lack of TLS support.
19975
19976 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19977 putting the input text in front and in bold.
19978
19979 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19980
19981 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19982
19983 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19984 empty buffer.
19985
19986 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19987 unread-command-events rather than pushing yet-another event.
19988
19989 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19990
19991 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19992 the explanation of the possible choices. Make the options passed
19993 to completing-read shorter.
19994
19995 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
19996
19997 * textmodes/flyspell.el (flyspell-large-region): Make sure
19998 extended character mode is used if defined (Bug#1339).
19999
20000 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20001
20002 * simple.el (what-cursor-position): Fix the display of the
20003 character info for LRE, LRO, RLE, and RLO characters by appending
20004 an invisible PDF.
20005
20006 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20007
20008 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20009 even in case of error; add debug spec; simplify data flow.
20010 (with-timeout-handler): Remove.
20011
20012 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20013
20014 Fix Bug#6019, Bug#9315.
20015
20016 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20017 complete `buffer-file-name', the local file name part could look
20018 remotely (for example on VMS).
20019
20020 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20021 `tramp-run-real-handler'.
20022 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20023 already quoted by '"'.
20024
20025 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20026 Let `file-name-handler-alist' be nil, the local file name part
20027 could look remotely (for example on VMS).
20028
20029 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20030
20031 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20032 from here...
20033 (flyspell-post-command-hook): ...to here.
20034
20035 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20036
20037 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20038 if not needed.
20039 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20040 using completion. Protect against "slow" callers.
20041 Remove the "message hack".
20042
20043 2011-10-11 Juri Linkov <juri@jurta.org>
20044
20045 * isearch.el (isearch-lazy-highlight-word): New variable.
20046 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20047 Use it. (Bug#9727)
20048
20049 2011-10-11 Glenn Morris <rgm@gnu.org>
20050
20051 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20052 like f90-previous-statement does.
20053
20054 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20055
20056 * eshell/eshell.el (eshell-command): History should be saved
20057 only in interactive use, to avoid error.
20058
20059 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20060
20061 * minibuffer.el (completion-file-name-table): Fix last change,
20062 i.e. ignore normal errors but not the other ones.
20063
20064 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20065
20066 * window.el (special-display-buffer-names)
20067 (special-display-regexps): Remove some remnants of earlier
20068 changes from doc-strings.
20069 (quit-windows-on): New function.
20070
20071 * vc/vc.el (vc-revert, vc-rollback):
20072 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20073 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20074 (Bug#6183) (Bug#7074) (Bug#7447)
20075
20076 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20077
20078 * window.el (frame-auto-hide-function): Add version tag.
20079 (Bug#9699)
20080
20081 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20082
20083 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20084 condition.
20085
20086 2011-10-09 Leo Liu <sdl.web@gmail.com>
20087
20088 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20089 (Bug#9701)
20090
20091 2011-10-08 Glenn Morris <rgm@gnu.org>
20092
20093 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20094 before the first code statement zero indent. (Bug#9690)
20095
20096 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20097
20098 * simple.el (count-words-region): Always count in the region.
20099 Report the number of lines and characters too.
20100 (count-words): New command, which counts in the buffer if the
20101 region is inactive, as count-words-region used to.
20102 (count-words--message): New function. Handle plurals.
20103 (count-lines-region): Make it an alias for count-words-region.
20104
20105 * bindings.el (esc-map): Replace count-lines-region with
20106 count-words-region.
20107
20108 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20109
20110 * window.el (window--delete): Delete dedicated frame
20111 unconditionally when argument KILL is non-nil. (Bug#9699)
20112 (switch-to-buffer): Fix doc-string typo.
20113
20114 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20115
20116 * eshell/eshell.el (eshell-command): Avoid using hooks.
20117
20118 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20119
20120 * bindings.el ([M-left],[M-right]): Bind to left-word and
20121 right-word respectively.
20122
20123 2011-10-07 Glenn Morris <rgm@gnu.org>
20124
20125 * cus-start.el (debug-on-quit): Fix custom type.
20126
20127 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20128
20129 * subr.el (define-key-after): Clarify that the function is not
20130 useful for non-menu keymaps.
20131
20132 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20133
20134 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20135
20136 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20137 in current minibuffer (Fix bug with recursive minibuffers).
20138
20139 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20140
20141 * progmodes/gdb-mi.el (gdb): Doc fix.
20142
20143 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20144
20145 * window.el (frame-auto-hide-function): New option replacing
20146 frame-auto-delete. Suggested by Stefan Monnier.
20147 (window--delete): Call frame-auto-hide-function instead of
20148 investigating frame-auto-delete.
20149 (window-point-1, set-window-point-1): New functions.
20150 (window-in-direction, record-window-buffer, window-state-get-1)
20151 (display-buffer-record-window): Use window-point-1 instead of
20152 window-point.
20153 (set-window-buffer-start-and-point): Use set-window-point-1.
20154
20155 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20156
20157 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20158
20159 2011-10-05 Glenn Morris <rgm@gnu.org>
20160
20161 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20162 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20163
20164 2011-10-05 Leo Liu <sdl.web@gmail.com>
20165
20166 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20167 works with buffer object.
20168
20169 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20170
20171 * mpc.el (mpc-tool-bar-map): Add labels.
20172
20173 2011-10-04 Glenn Morris <rgm@gnu.org>
20174
20175 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20176
20177 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20178
20179 * window.el (window--delete): New function.
20180 (frame-auto-delete): Resuscitate option.
20181 (bury-buffer, replace-buffer-in-windows)
20182 (quit-window): Rewrite using window--delete.
20183 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20184 Pass display-buffer-mark-dedicated to window--display-buffer-2
20185 (Bug#9639).
20186
20187 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20188
20189 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20190 returns a list (bug#9554). Add remote file name completion.
20191 * comint.el (comint--table-subvert): Curry and get quote&unquote
20192 functions as arguments.
20193 (comint--complete-file-name-data): Adjust call accordingly.
20194 * pcomplete.el (pcomplete--table-subvert): Remove.
20195 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20196
20197 * minibuffer.el (completion-table-case-fold): Use currying.
20198 (completion--styles-type, completion--cycling-threshold-type):
20199 New constants.
20200 (completion-styles, completion-category-overrides)
20201 (completion-cycle-threshold): Use them.
20202 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20203 completion-table-case-fold.
20204
20205 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20206
20207 * minibuffer.el (completion-category-overrides): Fix type of styles
20208 and add more user friendly tags (bug#9660).
20209
20210 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20211
20212 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20213 (mule-input-method-string): New widget.
20214 (default-input-method, language-info-custom-alist): Use it.
20215
20216 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20217
20218 * pcomplete.el: Require comint.
20219 (pcomplete--common-suffix): Remove.
20220 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20221 (pcomplete--table-subvert): Sync with comint--table-subvert.
20222 (pcomplete--entries): Use comint-completion-file-name-table.
20223 * comint.el (comint-unquote-filename): Simplify.
20224 (comint-completion-file-name-table): New function (bug#9616).
20225 (comint--complete-file-name-data): Use it.
20226
20227 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20228 (pcmpl-gnu-tar-buffer): Remove.
20229 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20230 around. Make sure pcomplete-suffix-list is only changed temporarily.
20231 Don't look inside the tar's file if it's too large.
20232
20233 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20234
20235 * cus-edit.el (custom-mode-map):
20236 * epa.el (epa-key-list-mode-map):
20237 * man.el (Man-mode-map):
20238 * startup.el (splash-screen-keymap):
20239 * simple.el (special-mode-map): Use scroll-up-command and
20240 scroll-down-command.
20241
20242 * progmodes/idlw-help.el (idlwave-help-mode-map):
20243 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20244 * net/newst-plainview.el (newsticker-mode-map):
20245 * emulation/ws-mode.el (wordstar-mode-map):
20246 * emulation/vi.el (vi-com-map):
20247 * calc/calc-graph.el (calc-graph-show-dumb):
20248 * term/sun.el (terminal-init-sun):
20249 * term/ns-win.el (global-map):
20250 * progmodes/grep.el (grep-mode-map):
20251 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20252 * mail/rmail.el (rmail-mode-map):
20253 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20254
20255 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20256 custom-safe-themes as special.
20257
20258 2011-10-01 Julien Danjou <julien@danjou.info>
20259
20260 * notifications.el (notifications-notify): Fix docstring.
20261
20262 2011-10-01 Per Starbäck <per@starback.se>
20263
20264 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20265
20266 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20267
20268 * startup.el (command-line-1): Fix last fix by inserting
20269 initial-scratch-message into *scratch* before displaying it.
20270 (Bug#9605) and (Bug#9636)
20271
20272 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20273
20274 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20275 window is hscrolled, move by logical lines. (Bug#9607)
20276 (line-move-visual): Update the doc string to the above effect.
20277
20278 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20279
20280 * window.el (display-buffer-record-window): When WINDOW is the
20281 selected window use `point' instead of `window-point'. (Bug#9626)
20282
20283 * startup.el (command-line-1): Use insert-before-markers when
20284 inserting initial-scratch-message. (Bug#9605)
20285
20286 * help.el (help-window): Remove variable.
20287
20288 2011-09-29 Glenn Morris <rgm@gnu.org>
20289
20290 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20291
20292 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20293
20294 * descr-text.el (describe-char-categories): Accept category
20295 descriptions more than one line long.
20296
20297 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20298
20299 * simple.el (delete-trailing-whitespace): Fix last change.
20300
20301 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20302 Don't confuse "y => 3" as the beginning of a `y' operation.
20303
20304 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20305 object has more than 4 slots (bug#9613).
20306
20307 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20308
20309 * subr.el (with-output-to-temp-buffer):
20310 * net/quickurl.el (quickurl, quickurl-browse-url):
20311 Fix typos in docstrings.
20312
20313 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20314
20315 * minibuffer.el (completion-styles)
20316 (completion-category-overrides): Cross reference each other in doc
20317 strings.
20318
20319 2011-09-27 Glenn Morris <rgm@gnu.org>
20320
20321 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20322 to split-string. (Bug#9606)
20323
20324 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20325
20326 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20327 (bug#9615).
20328
20329 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20330
20331 * emacs-lisp/package.el (list-packages): Fix echo area message.
20332
20333 2011-09-27 Leo Liu <sdl.web@gmail.com>
20334
20335 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20336
20337 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20338
20339 * net/dbus.el (dbus-unregister-object): Don't release services for
20340 registered signals. (Bug#9581)
20341
20342 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20343
20344 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20345 function that picks between cfengine 2 and 3 support
20346 automatically. Update docs accordingly.
20347
20348 2011-09-22 Kenichi Handa <handa@m17n.org>
20349
20350 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20351 ZERO.
20352 (indian-itrans-v5-table-for-tamil): New variable.
20353 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20354
20355 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20356
20357 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20358 that's true if the current command involved collapsing of text.
20359 It's reset to false at the beginning of the next command.
20360 (allout-post-command-business): Move the cursor to the beginning
20361 of entry if the cursor is hidden and collapsing activity just
20362 happened.
20363
20364 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20365
20366 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20367 tracking (Bug#9541).
20368
20369 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20370
20371 * net/newst-reader.el (newsticker-html-renderer)
20372 (newsticker-show-news): Automatically load html rendering package
20373 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20374 because w3m-fill-column is let-bound" and the error "Symbol's value
20375 as variable is void: w3m-fill-column".
20376
20377 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20378
20379 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20380 Release services only if they are defined. (Bug#9581)
20381
20382 2011-09-23 Richard Stallman <rms@gnu.org>
20383
20384 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20385 distinguish start of paragraph from start of its text.
20386
20387 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20388
20389 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20390 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20391 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20392
20393 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20394
20395 * international/mule-diag.el (mule-diag): Insert a newline after
20396 each fontset description.
20397
20398 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20399
20400 * simple.el (delete-trailing-whitespace):
20401 Document last change; simplify.
20402
20403 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20404
20405 * simple.el (delete-trailing-whitespace): Also delete
20406 extra newlines at the end of the buffer.
20407
20408 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20409 (picture-newline): Use forward-line so as to ignore fields.
20410
20411 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20412
20413 * subr.el (with-wrapper-hook): Fix edebug spec.
20414
20415 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20416
20417 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20418 (bug#4538).
20419
20420 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20421
20422 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20423 Fix nasty bug using wrong cached values.
20424
20425 2011-09-23 Alan Mackenzie <acm@muc.de>
20426
20427 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20428
20429 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20430
20431 * window.el (pop-to-buffer): Ensure right window is selected if we
20432 chose another frame.
20433
20434 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20435
20436 * simple.el (what-cursor-position): Use get-char-property-change
20437 and next-single-char-property-change, to be able to show display
20438 properties that come from overlays as well as text properties.
20439
20440 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20441
20442 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20443
20444 * cmuscheme.el (run-scheme, switch-to-scheme):
20445 * cus-edit.el (customize-group, custom-buffer-create)
20446 (customize-browse):
20447 * info.el (info):
20448 * shell.el (shell):
20449 * mail/sendmail.el (mail):
20450 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20451
20452 2011-09-22 Richard Stallman <rms@gnu.org>
20453
20454 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20455 move back only to line beg, don't move back over blank lines.
20456
20457 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20458
20459 * files.el (copy-directory): Set directory attributes only in case
20460 they could be retrieved from the source directory. (Bug#9565)
20461
20462 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20463
20464 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20465 (hs-find-block-beginning, hs-hide-level-recursive):
20466 Ignore strings as well as comments. (Bug#9502)
20467
20468 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20469
20470 * progmodes/sql.el (sql-comint-postgres):
20471 Convert port number to a string. (Bug#9566)
20472
20473 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20474
20475 * window.el (quit-window): Undedicate window when switching to
20476 previous buffer. Reported by Thierry Volpiatto
20477 <thierry.volpiatto@gmail.com>.
20478 (special-display-popup-frame): When popping up a new frame reset
20479 its previous buffers to nil. Simplify code.
20480
20481 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20482
20483 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20484 and process filter, as done also in `shell-command'.
20485
20486 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20487
20488 * window.el (set-window-buffer-start-and-point):
20489 Call set-window-start with NOFORCE argument t.
20490 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20491 (quit-window): Reword doc-string. Handle new format of
20492 quit-restore parameter. Don't delete window if it has a
20493 previous buffer we can show instead of the present one.
20494 (display-buffer-record-window): Rewrite using a new format for
20495 the quit-restore window parameter
20496 (special-display-popup-frame, display-buffer-same-window)
20497 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20498 (display-buffer-pop-up-window, display-buffer-use-some-window):
20499 Adapt symbol passed to display-buffer-record-window.
20500 * help.el (help-window-setup): Handle new format of quit-restore
20501 parameter.
20502
20503 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20504
20505 * faces.el (face-list): Fix docstring (bug#9564).
20506
20507 * window.el (display-buffer--action-function-custom-type):
20508 Don't include internal functions in the Custom interface.
20509
20510 2011-09-20 Juri Linkov <juri@jurta.org>
20511
20512 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20513 (Info-forward-node, Info-backward-node, Info-next-preorder)
20514 (Info-last-preorder): Use it. (Bug#9528)
20515
20516 2011-09-20 Juri Linkov <juri@jurta.org>
20517
20518 * info.el (Info-last-preorder): Visit last menu item only when
20519 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20520
20521 2011-09-20 Julien Danjou <julien@danjou.info>
20522
20523 * password-cache.el (password-cache-remove): Remove entries even if the
20524 value is nil, so that password with a nil value (negative caching) is
20525 possible to invalidate.
20526
20527 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20528
20529 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20530 all whitespace around breakpoint. (Bug#9553)
20531 (f90-find-breakpoint): Only break at whitespace inside a comment.
20532
20533 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20534
20535 * minibuffer.el (completion-file-name-table): Keep track of errors.
20536 (completion-table-with-predicate): Handle the case where pred1 is nil.
20537 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20538
20539 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20540
20541 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20542 (debugger-return-value): Signal an error if the debugging context does
20543 not await any return value.
20544
20545 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20546 * image-mode.el (image-toggle-display-text)
20547 (image-toggle-display-image): Stay away from evil `intangible'.
20548
20549 2011-09-19 Leo Liu <sdl.web@gmail.com>
20550
20551 * replace.el (occur-revert-arguments): Make it permanent-local.
20552 (occur-mode): Don't call font-lock-defontify.
20553
20554 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20555
20556 * net/ldap.el (ldap-search-internal): Don't push empty search
20557 result (Bug#9508).
20558
20559 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20560
20561 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20562
20563 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20564
20565 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20566 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20567
20568 2011-09-18 Juri Linkov <juri@jurta.org>
20569
20570 * buff-menu.el (Buffer-menu-mode-map):
20571 * dired.el (dired-mode-map):
20572 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20573 (lisp-interaction-mode-map):
20574 * emacs-lisp/package.el (package-menu-mode-map):
20575 * epa.el (epa-key-list-mode-map):
20576 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20577 (menu-bar-options-menu):
20578 * outline.el (outline-mode-menu-bar-map):
20579 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20580 * vc/vc-dir.el (vc-dir-menu-map):
20581 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20582 Capitalize non-function content words in menu item strings.
20583
20584 * dired.el (dired-mode-map): Add menu item for
20585 `image-dired-dired-toggle-marked-thumbs'.
20586
20587 2011-09-18 Juri Linkov <juri@jurta.org>
20588
20589 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20590 to `isearch-case-fold-search' and restore its original value
20591 after the `isearch-mode' call.
20592
20593 2011-09-18 Juri Linkov <juri@jurta.org>
20594
20595 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20596 because `zgrep' returns 1 for successful matches (bug#9226).
20597
20598 2011-09-18 Juri Linkov <juri@jurta.org>
20599
20600 * info.el (Info-extract-menu-node-name): Check the second match
20601 for empty string (second test-case of bug#9528).
20602 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20603 intermediate nodes to the history (first test-case of bug#9528).
20604
20605 2011-09-18 Juri Linkov <juri@jurta.org>
20606
20607 * info.el (Info-mode-syntax-table): New variable.
20608 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20609
20610 2011-09-18 Juri Linkov <juri@jurta.org>
20611
20612 * info.el (Info-file-supports-index-cookies):
20613 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20614 outputs one more line for long file names (bug#4142).
20615
20616 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20617
20618 * newcomment.el (comment-normalize-vars): If prompting for
20619 comment-start, set comment-start-skip too (Bug#8424).
20620
20621 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20622
20623 * icomplete.el: Fix previous fix of Bug#5849.
20624 (icomplete-mode): Don't set completion-show-inline-help.
20625 (icomplete-minibuffer-setup): Set completion-show-inline-help
20626 locally during icompletion.
20627
20628 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20629
20630 * woman.el (woman2-process-escapes): Don't delete unrecognized
20631 escapes (Bug#7843).
20632
20633 * files.el (inhibit-first-line-modes-regexps): Add image files.
20634 (hack-local-variables-prop-line): Return nil for malformed
20635 prop-lines (Bug#9044).
20636
20637 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20638
20639 * net/tramp.el (top): Don't require 'shell.
20640 (tramp-methods): Fix docstring.
20641 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20642 Return complete remote file name. Handle "smb" case.
20643 Use `tramp-tmpdir', if defined for the respective method.
20644 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20645
20646 * net/tramp-compat.el (top): Require 'shell.
20647
20648 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20649 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20650 `tramp-current-host'.
20651 (tramp-get-remote-tmpdir): Remove.
20652
20653 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20654 `tramp-tmpdir' entries.
20655 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20656 (tramp-smb-handle-file-attributes): Ignore errors.
20657 (tramp-smb-wait-for-output): Check also for process end.
20658
20659 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20660
20661 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20662 when sending QUIT (bug#9312).
20663
20664 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20665
20666 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20667 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20668 occur-mode-display-occurrence.
20669 (occur-edit-mode): Add usage message.
20670 (occur-cease-edit): New command.
20671 (occur-after-change-function): Use text properties to find the
20672 position of the prefix text.
20673 (occur-engine): Set stickiness of prefix text properties.
20674
20675 2011-09-17 Glenn Morris <rgm@gnu.org>
20676
20677 * progmodes/etags.el (complete-tag):
20678 Fix call to completion-in-region. (Bug#9526)
20679
20680 2011-09-17 Juri Linkov <juri@jurta.org>
20681
20682 * textmodes/ispell.el (ispell-word): Add to the error message
20683 the word, ispell program name and current dictionary (bug#9121).
20684 (ispell-tex-arg-end): Capitalize "error" in the error message.
20685
20686 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20687
20688 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20689 check. (Bug#4251)
20690
20691 2011-09-17 Juri Linkov <juri@jurta.org>
20692
20693 * window.el (window-safe-min-height, window-safe-min-width):
20694 Fix typos (followup to bug#9522).
20695
20696 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20697
20698 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20699
20700 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20701
20702 * simple.el (line-move): If goal-column is set, move by logical
20703 lines, not by display lines. (Bug#971)
20704 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20705 to reflect the above change.
20706
20707 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20708
20709 * image.el (imagemagick-register-types): Use regexp-opt.
20710
20711 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20712
20713 * window.el (display-buffer-base-action): Rename from
20714 display-buffer-default-action. Make default value empty.
20715 (display-buffer-overriding-action): Convert to defvar.
20716 (display-buffer-fallback-action): New var.
20717
20718 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20719
20720 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20721 declaration.
20722 (package--add-to-archive-contents): If there is a duplicate entry
20723 with an older version, remove it.
20724 (package-menu-mark-delete, package-menu-mark-install)
20725 (package-menu-mark-unmark): Make unused args optional.
20726 (package-menu-mark-obsolete-for-deletion):
20727 Use package-menu-get-status instead of a regexp search.
20728 (package-menu-get-status): Use tabulated-list-entry.
20729 (package-menu-mark-upgrades): New command.
20730 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20731 (package-menu-execute): Do installation before deletion.
20732 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20733 instead of checking major-mode.
20734 (package-menu--find-upgrades): New function.
20735
20736 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20737
20738 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20739 passwords in the log buffer.
20740 (smtpmail-process-filter): Update the process marker so that the
20741 "broken by peer" status message is inserted in the right place.
20742
20743 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20744
20745 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20746 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20747 bibtex-completion-at-point-function.
20748 (bibtex-completion-at-point-function): Use them.
20749
20750 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20751
20752 * mpc.el (mpc-constraints-tag-lookup): New function.
20753 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20754 also to browser "album|playlist".
20755
20756 2011-09-14 Juri Linkov <juri@jurta.org>
20757
20758 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20759 (isearch-edit-string): Use length of `isearch-string' when
20760 `isearch-fail-pos' returns nil.
20761 (isearch-message): Remove duplicate code and call
20762 `isearch-fail-pos' with arg `t'.
20763
20764 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20765
20766 * replace.el (occur-mode-goto-occurrence): Don't force using other
20767 window (Bug#9499).
20768
20769 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20770
20771 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20772
20773 * window.el (display-buffer-window): Remove.
20774 (display-buffer-record-window): Use help-setup window parameter
20775 instead of variable display-buffer-window.
20776 (display-buffer-function, special-display-buffer-names)
20777 (special-display-function): Mention help-setup parameter instead
20778 of display-buffer-window in doc-string.
20779 * help.el (help-window-setup): New argument help-window.
20780 Use help-window-setup parameter instead of display-buffer-window.
20781 Reword some messages.
20782 (with-help-window): Pass window used for displaying the buffer
20783 to help-window-setup. Don't set display-buffer-window.
20784
20785 2011-09-13 Glenn Morris <rgm@gnu.org>
20786
20787 * emacs-lisp/debug.el (debugger-make-xrefs):
20788 Preserve point. (Bug#9462)
20789
20790 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20791
20792 * window.el (window-deletable-p): Use next-frame.
20793
20794 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20795
20796 * window.el (window-auto-delete): Remove.
20797 (window-deletable-p): Remove argument FORCE. Don't deal with
20798 dedication and previous buffers.
20799 (switch-to-prev-buffer): Don't delete window.
20800 (delete-windows-on): Delete a window's frame if and only if the
20801 window is dedicated.
20802 (replace-buffer-in-windows): Delete buffer's window or frame if
20803 and only if window is dedicated.
20804 (quit-window): Handle quit-restore as before last change.
20805 (bury-buffer): Delete window only if window-deletable-p returns t.
20806
20807 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20808
20809 * window.el (window-deletable-p): Never delete the last frame on a
20810 given terminal.
20811
20812 2011-09-13 Glenn Morris <rgm@gnu.org>
20813
20814 * help.el (describe-key-briefly): Copy previous standard-output change.
20815
20816 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20817
20818 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20819
20820 2011-09-13 Glenn Morris <rgm@gnu.org>
20821
20822 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20823 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20824
20825 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20826
20827 * dired-aux.el (dired-mark-read-string): Don't return default
20828 value on empty input (Bug#9361).
20829 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20830 Omit initial minibuffer contents.
20831 (dired-do-chmod): Signal an error on empty input.
20832 (dired-mark-read-string): Don't return default on empty input.
20833
20834 * files.el (file-modes-symbolic-to-number): Doc fix.
20835
20836 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20837
20838 * international/mule-cmds.el (ucs-completions): Remove.
20839 (read-char-by-name): Use complete-with-action instead; add metadata.
20840
20841 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20842
20843 * window.el (display-buffer--action-function-custom-type)
20844 (display-buffer--action-custom-type): New vars.
20845 (display-buffer-alist, display-buffer-default-action)
20846 (display-buffer-overriding-action): Add defcustom types.
20847
20848 * frame.el (delete-other-frames): Doc fix (Bug#276).
20849
20850 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20851
20852 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20853
20854 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20855
20856 Change modes that used same-window-* vars to use switch-to-buffer.
20857
20858 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20859 Use switch-to-buffer.
20860
20861 * cus-edit.el (customize-group, custom-buffer-create)
20862 (customize-browse, custom-buffer-create-other-window):
20863 Use switch-to-buffer or switch-to-buffer-other-window.
20864
20865 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20866 (Info-prev, Info-up, Info-speedbar-goto-node)
20867 (info-display-manual): Use switch-to-buffer.
20868 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20869
20870 * mail/sendmail.el (mail): Use switch-to-buffer.
20871 (mail-recover): Use switch-to-buffer-other-window.
20872
20873 * cmuscheme.el (run-scheme, switch-to-scheme):
20874 * ielm.el (ielm):
20875 * shell.el (shell):
20876 * net/rlogin.el (rlogin):
20877 * net/telnet.el (telnet, rsh):
20878 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20879
20880 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20881
20882 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20883
20884 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20885
20886 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20887 so don't mention it (bug#9301).
20888 (dired-sort-toggle-or-edit): Clarify string further.
20889
20890 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20891 match `x', `w32' and `ns', like the manual says (bug#9029).
20892
20893 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20894 (process-kill-buffer-query-function): Mention the buffer name in
20895 the query.
20896
20897 * image-mode.el (image-next-line): The line parameter is mandatory
20898 (bug#9258).
20899
20900 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20901 which can be useful (bug#9301).
20902
20903 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20904
20905 * subr.el (match-string): Mention that the current buffer should
20906 be the same as the search was done in (bug#9282).
20907
20908 * facemenu.el: Disable the remove-* commands if the mark isn't
20909 active (bug#9162).
20910
20911 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20912
20913 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20914 of display-buffer.
20915 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20916
20917 * replace.el (occur-mode-goto-occurrence)
20918 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20919 and display-buffer.
20920
20921 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20922 display-buffer.
20923
20924 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20925 special-display and same-window variables.
20926 (mail-other-window): Use switch-to-buffer-other-window.
20927 (mail-other-frame): USe switch-to-buffer-other-frame.
20928
20929 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20930 Use display-buffer-other-frame.
20931 (gdb-display-gdb-buffer): Use pop-to-buffer.
20932
20933 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20934
20935 * progmodes/python.el: Don't set same-window-buffer-names.
20936
20937 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20938
20939 * window.el (display-buffer-alist): Add *Python*.
20940
20941 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20942
20943 * window.el (display-buffer-alist): Add entry for buffers
20944 previously handled same-window-*.
20945 (display-buffer-alist, display-buffer-default-action)
20946 (display-buffer-overriding-action): Mark as risky.
20947 (display-buffer-alist): Document action function changes.
20948 (display-buffer--same-window-action)
20949 (display-buffer--other-frame-action): New variables.
20950 (switch-to-buffer, display-buffer-other-frame): Use them.
20951 (display-buffer): Rename reuse-frame entry to reusable-frames.
20952 (display-buffer-reuse-selected-window): Function deleted.
20953 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20954 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20955 (display-buffer-special): New function.
20956 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20957 display-buffer-reuse-or-pop-window. Split off special-display
20958 part into display-buffer-special.
20959 (display-buffer-use-some-window): Don't perform any special
20960 pop-up-frames handling.
20961 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20962 (display-buffer--maybe-same-window): Rename from
20963 display-buffer-maybe-same-window.
20964
20965 * info.el: Don't set same-window-regexps.
20966 (info-setup): New function.
20967 (info-other-window, info): Call it.
20968
20969 * cus-edit.el: Don't set same-window-regexps.
20970 (customize-group): New argument.
20971 (customize-group-other-window): Use it.
20972 (customize-face, customize-face-other-window): Likewise.
20973 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20974
20975 * net/rlogin.el:
20976 * net/telnet.el:
20977 * progmodes/gud.el: Don't set same-window-regexps.
20978
20979 * cmuscheme.el:
20980 * ielm.el:
20981 * shell.el:
20982 * mail/sendmail.el:
20983 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20984
20985 2011-09-10 Juri Linkov <juri@jurta.org>
20986
20987 * isearch.el (isearch-edit-string): Remove obsolete mention of
20988 `C-w' (`isearch-yank-word-or-char') from docstring.
20989 (isearch-query-replace): Fix typo in docstring (bug#9466).
20990
20991 2011-09-10 Juri Linkov <juri@jurta.org>
20992
20993 * paren.el (show-paren-function): Don't show escaped parens.
20994 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20995
20996 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20997
20998 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20999 (mm-default-file-encoding): Remove autoload forms, they are
21000 replaced with autoload cookies in mml.el and mm-encode.el.
21001 (mail-add-attachment): New command.
21002 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21003 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21004 the doc string.
21005 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21006
21007 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21008
21009 * simple.el (count-words-region): Use buffer if there's no region
21010 (bug#9429).
21011
21012 2011-09-09 Juri Linkov <juri@jurta.org>
21013
21014 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21015 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21016 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21017
21018 2011-09-09 Alan Mackenzie <acm@muc.de>
21019
21020 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21021 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21022
21023 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21024
21025 Fix for Savannah bug#9392.
21026 * simple.el (mail-encode-mml): New defvar.
21027
21028 * mail/rmail.el (mail-encode-mml): Add a defvar.
21029 (rmail-enable-mime-composing): Default to t.
21030 (rmail-forward): Use MIME method of forwarding only if both
21031 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21032 Set mail-encode-mml non-nil if the MIME method was used.
21033
21034 * mail/sendmail.el (mml-to-mime): Add autoload form.
21035 (mail-encode-mml): Add a defvar.
21036 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21037 to nil.
21038 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21039 message through mml-to-mime, and reset mail-encode-mml to nil.
21040
21041 2011-09-09 Glenn Morris <rgm@gnu.org>
21042
21043 * woman.el (woman-if-body): When processing an .el block,
21044 do not delete the next .el block as well. (Bug#9447)
21045 (woman-special-characters): Add oq, cq, and hy characters.
21046
21047 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21048
21049 * window.el (window-deletable-p): Make sure window is live before
21050 invoking window-prev-buffers.
21051
21052 2011-09-08 Leo Liu <sdl.web@gmail.com>
21053
21054 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21055
21056 2011-09-08 Juri Linkov <juri@jurta.org>
21057
21058 * progmodes/compile.el (compilation-environment): Make it
21059 a defcustom (bug#8340).
21060
21061 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21062
21063 * window.el (frame-auto-delete): Rename to window-auto-delete.
21064 Make it control auto-deletion of windows and/or frames.
21065 (window-deletable-p): New argument FORCE. Rewrite conditions
21066 for deleting window/frame. (Bug#9419)
21067 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21068 Rewrite handling of case when window/frame can be deleted.
21069 (delete-windows-on): Call window-deletable-p with new FORCE
21070 argument t. (Bug#9456)
21071
21072 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21073
21074 * help-mode.el (help-mode): Restore autoload.
21075
21076 2011-09-07 Juri Linkov <juri@jurta.org>
21077
21078 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21079 `compilation-environment'. Set buffer-local
21080 `compilation-environment' to `thisenv' later after (funcall mode).
21081 (Bug#8340)
21082
21083 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21084 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21085 instead of replacing its value. (Bug#8340)
21086
21087 2011-09-07 Juri Linkov <juri@jurta.org>
21088
21089 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21090 based on text properties put by `grep-filter' instead of matching
21091 escape sequences.
21092 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21093 to the value of `grep-error-screen-columns' (bug#9438).
21094
21095 2011-09-07 Juri Linkov <juri@jurta.org>
21096
21097 * simple.el (next-error-highlight, next-error-highlight-no-select):
21098 Doc fix (bug#9432).
21099
21100 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21101
21102 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21103 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21104
21105 2011-09-07 Leo Liu <sdl.web@gmail.com>
21106
21107 * net/rcirc.el (rcirc-mode): Conditionally initialize
21108 rcirc-input-ring.
21109
21110 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21111
21112 * emacs-lisp/find-func.el (find-function-C-source): Only set
21113 find-function-C-source-directory after checking that we found a source
21114 file there (bug#9440).
21115
21116 2011-09-06 Alan Mackenzie <acm@muc.de>
21117
21118 * isearch.el (isearch-other-meta-char): Wherever a key list is
21119 unread, "unread" the prefix arg, too. This fixes bug #8901.
21120
21121 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21122
21123 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21124
21125 2011-09-05 Juri Linkov <juri@jurta.org>
21126
21127 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21128
21129 2011-09-05 Juri Linkov <juri@jurta.org>
21130
21131 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21132 keeping point where processing of grep matches begins, and
21133 continue to delete remaining escape sequences from the same point.
21134 (grep-filter): Make leading zero optional in "0?1;31m" because
21135 git-grep emits "\033[1;31m" escape sequences unlike expected
21136 "\033[01;31m" as GNU Grep does (bug#9408).
21137 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21138
21139 2011-09-05 Juri Linkov <juri@jurta.org>
21140
21141 * subr.el (y-or-n-p): Capitalize "yes".
21142
21143 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21144
21145 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21146 `tramp-cache-unload-hook' where appropriate.
21147 (tramp-methods): Rename `tramp-remote-sh' to
21148 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21149 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21150
21151 * net/tramp-sh.el (top): Don't require 'shell.
21152 (tramp-methods): Add `tramp-remote-shell' and
21153 `tramp-remote-shell-args' entries.
21154 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21155 (tramp-sh-handle-shell-command): Remove.
21156 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21157 Use `tramp-remote-shell'.
21158
21159 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21160
21161 * mail/sendmail.el (sendmail-query-once-function): Delete.
21162 (sendmail-query-once): Save directly to send-mail-function.
21163 Update message-send-mail-function too.
21164
21165 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21166
21167 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21168
21169 * progmodes/python.el (python-mode-map): Use correct function to
21170 start python interpreter from menu-bar (as reported by Geert
21171 Kloosterman).
21172 (inferior-python-mode-map): Fix typo.
21173 (python-shell-map): Remove.
21174
21175 2011-09-03 Deniz Dogan <deniz@dogan.se>
21176
21177 * net/rcirc.el (rcirc-print): Simplify code for
21178 rcirc-scroll-show-maximum-output. There is no need to walk
21179 through all windows to find the right one.
21180
21181 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21182
21183 * help.el (help-return-method): Doc fix.
21184
21185 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21186
21187 * window.el (window-deletable-p): Don't return a non-nil value
21188 when there's a buffer that was shown in the window before.
21189 (Bug#9419)
21190 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21191 Set window's previous buffers to nil.
21192
21193 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21194
21195 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21196 newline before and after the tag line, so it doesn't interfere
21197 with determining the paragraph direction of bidirectional text.
21198
21199 2011-09-03 Leo Liu <sdl.web@gmail.com>
21200
21201 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21202
21203 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21204
21205 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21206 (pop-to-buffer): Change interactive spec. Pass second argument
21207 directly to display-buffer.
21208 (display-buffer): Fix interactive spec. Use functionp to
21209 distinguish between a function and a list of functions.
21210
21211 * abbrev.el (edit-abbrevs):
21212 * arc-mode.el (archive-extract):
21213 * autoinsert.el (auto-insert):
21214 * bookmark.el (bookmark-bmenu-list):
21215 * files.el (find-file):
21216 * view.el (view-buffer):
21217 * progmodes/compile.el (compilation-goto-locus):
21218 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21219
21220 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21221
21222 * window.el (display-buffer-alist): Doc fix.
21223 (display-buffer): Add docstring. Don't treat
21224 display-buffer-default specially.
21225 (display-buffer-reuse-selected-window)
21226 (display-buffer-same-window, display-buffer-maybe-same-window)
21227 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21228 (display-buffer-pop-up-window)
21229 (display-buffer-reuse-or-pop-window)
21230 (display-buffer-use-some-window): New functions.
21231 (display-buffer-default-action): Use them.
21232 (display-buffer-default): Delete.
21233 (pop-to-buffer-1): Fix choice of actions.
21234
21235 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21236
21237 * minibuffer.el (completion--insert-strings): Don't get confused by
21238 completion entries that end with an LF char.
21239
21240 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21241
21242 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21243
21244 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21245
21246 * window.el (display-buffer): Restore interactive spec.
21247 (display-buffer-same-window, display-buffer-other-window):
21248 New functions.
21249 (pop-to-buffer-1): New function. Use the above.
21250 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21251 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21252
21253 * view.el (view-buffer-other-window, view-buffer-other-frame):
21254 Just use pop-to-buffer.
21255
21256 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21257
21258 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21259
21260 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21261
21262 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21263
21264 2011-08-31 Richard Stallman <rms@gnu.org>
21265
21266 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21267 of the separation of rmail-view-buffer from rmail-buffer.
21268 If you say no to "replace original", the decrypt is in the
21269 view buffer. If you say yes, the decrypt goes into the
21270 rmail buffer also.
21271
21272 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21273
21274 * window.el (display-buffer-window): Rewrite doc-string.
21275 (display-buffer-record-window): New function.
21276 (display-buffer-macro-specifiers)
21277 (display-buffer-even-window-sizes, display-buffer-set-height)
21278 (display-buffer-set-width, display-buffer-in-window)
21279 (display-buffer-reuse-window, display-buffer-split-specifiers)
21280 (display-buffer-side-specifiers, display-buffer-split-window-1)
21281 (display-buffer-split-window, display-buffer-split-atom-window)
21282 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21283 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21284 (display-buffer-other-window-means-other-frame)
21285 (display-buffer-normalize-special)
21286 (display-buffer-normalize-default)
21287 (display-buffer-normalize-argument)
21288 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21289 (display-buffer-normalize-specifiers, display-buffer-frame)
21290 (display-buffer-same-window, display-buffer-same-frame)
21291 (display-buffer-other-window)
21292 (display-buffer-same-frame-other-window)
21293 (display-buffer-other-frame, pop-to-buffer-same-window)
21294 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21295 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21296 (switch-to-buffer-same-frame)
21297 (switch-to-buffer-other-window-same-frame)
21298 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21299 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21300 (display-buffer-alist-set): Remove.
21301 (display-buffer-function, special-display-buffer-names)
21302 (special-display-regexps, special-display-function):
21303 In doc-string refer to display-buffer-window and quit-restore
21304 parameter.
21305 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21306 (special-display-frame-alist, special-display-popup-frame)
21307 (same-window-buffer-names, same-window-regexps, same-window-p)
21308 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21309 (split-window-preferred-function, split-height-threshold)
21310 (split-width-threshold, window-splittable-p)
21311 (split-window-sensibly, window--try-to-split-window)
21312 (window--frame-usable-p, even-window-heights)
21313 (window--even-window-heights, window--display-buffer-1)
21314 (window--display-buffer-2, display-buffer-other-frame):
21315 Restore old Emacs 23 code, order and doc-strings where applicable.
21316 (display-buffer-default, display-buffer-assq-regexp): New functions.
21317 (display-buffer-alist): Rewrite doc-string.
21318 (display-buffer-default-action)
21319 (display-buffer-overriding-action): New variables.
21320 (display-buffer, switch-to-buffer): Rewrite.
21321 (pop-to-buffer): Restore Emacs 23 behavior but use
21322 window-normalize-buffer-to-display.
21323 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21324 Restore Emacs 23 behavior but use
21325 window-normalize-buffer-to-switch-to.
21326 (pop-to-buffer-same-window): Rewrite.
21327 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21328 Rewrite using Emacs 23 options.
21329
21330 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21331
21332 * net/tramp.el (tramp-root-regexp): Remove.
21333 (tramp-completion-file-name-regexp-unified)
21334 (tramp-completion-file-name-regexp-separate)
21335 (tramp-completion-file-name-regexp-url): Don't use leading volume
21336 letter on w32 systems. (Bug#5303, Bug#9311)
21337 (tramp-drop-volume-letter): Simplify definition.
21338 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21339
21340 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21341
21342 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21343 (bug#9356).
21344
21345 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21346
21347 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21348
21349 2011-08-29 Juri Linkov <juri@jurta.org>
21350
21351 * isearch.el (isearch-done): Don't display message "Mark saved"
21352 when arg `edit' is non-nil to prevent its flicker in the echo area.
21353
21354 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21355
21356 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21357 obsolete packages for deletion.
21358
21359 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21360
21361 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21362 (help-mode): Derive help-mode from special-mode. Don't invoke
21363 view-mode from help-mode.
21364 (help-xref-override-view-map): Remove.
21365 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21366 view-mode is not used anymore.
21367
21368 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21369
21370 * server.el (server-port): Doc fix.
21371
21372 * cus-theme.el (custom-theme-choose-mode): Inherit from
21373 special-mode (Bug#9124).
21374 (custom-theme-choose-mode-map): Add special-mode to parent.
21375
21376 2011-08-28 Alan Mackenzie <acm@muc.de>
21377
21378 * progmodes/cc-fonts.el
21379 (c-make-font-lock-BO-decl-search-function): New function.
21380 (c-basic-matchers-after - "Fontify the clauses after various
21381 keywords"): Extract the three keyword lists for the 3 erroneous
21382 constructs from the list of four, and use the new function above
21383 in place of an old one.
21384
21385 2011-08-28 Deniz Dogan <deniz@dogan.se>
21386
21387 * net/rcirc.el (rcirc-insert-prev-input)
21388 (rcirc-insert-next-input): Remove unused argument.
21389
21390 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21391
21392 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21393
21394 2011-08-27 Alan Mackenzie <acm@muc.de>
21395
21396 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21397 handle function pointer parameters properly.
21398
21399 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21400
21401 * window.el (display-buffer-reuse-window): Fix case where
21402 selected window was reused with non-nil OTHER-WINDOW argument.
21403 (Bug#9381)
21404
21405 2011-08-27 Deniz Dogan <deniz@dogan.se>
21406
21407 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21408 oftc's NickServ messages.
21409
21410 2011-08-27 Glenn Morris <rgm@gnu.org>
21411
21412 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21413
21414 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21415
21416 * emacs-lisp/package.el (package-install): Call package-initialize
21417 if called interactively.
21418
21419 2011-08-26 Leo Liu <sdl.web@gmail.com>
21420
21421 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21422
21423 2011-08-25 Juri Linkov <juri@jurta.org>
21424
21425 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21426 `search-whitespace-regexp' (bug#9364).
21427
21428 2011-08-25 Juri Linkov <juri@jurta.org>
21429
21430 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21431 `regexp-search-ring' to their global values to protect from
21432 updating by `read-from-minibuffer' (bug#9185).
21433
21434 2011-08-25 Juri Linkov <juri@jurta.org>
21435
21436 * textmodes/ispell.el (ispell-command-loop): Add newline
21437 at the end of the "Use option `i'..." line.
21438
21439 2011-08-25 Juri Linkov <juri@jurta.org>
21440
21441 * battery.el (display-battery-mode): If `battery-status-function'
21442 or `battery-mode-line-format' is nil, display the message and set
21443 `display-battery-mode' to nil (bug#9363).
21444
21445 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21446
21447 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21448 bidi-string-mark-left-to-right; they are unnecessary now.
21449
21450 2011-08-25 Deniz Dogan <deniz@dogan.se>
21451
21452 * net/quickurl.el: Documentation typo fixes.
21453
21454 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21455
21456 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21457
21458 2011-08-25 Glenn Morris <rgm@gnu.org>
21459
21460 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21461
21462 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21463 (smtpmail-via-smtp): Handle nil response from smtp.
21464
21465 2011-08-24 Juri Linkov <juri@jurta.org>
21466
21467 * proced.el (proced-marked): Inherit from `error' instead of
21468 `font-lock-warning-face'.
21469
21470 * ibuffer.el (ibuffer-marked-face): Change default face from
21471 `font-lock-warning-face' to `warning'.
21472 (ibuffer-deletion-face): Change default face from
21473 `font-lock-type-face' to `error'.
21474
21475 * battery.el (battery-update): Use the face `error' instead of
21476 `font-lock-warning-face' (bug#6117).
21477
21478 2011-08-24 Juri Linkov <juri@jurta.org>
21479
21480 * faces.el (success): Change face color from "Green3" to
21481 "ForestGreen" on light background (bug#9353).
21482
21483 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21484
21485 * window.el (quit-window): Rename from quit-restore-window.
21486 Use same arglist as old quit-window.
21487 (frame-auto-delete): Doc fix.
21488
21489 * view.el (view-mode-exit): Use quit-window.
21490
21491 2011-08-24 Juri Linkov <juri@jurta.org>
21492
21493 * isearch.el (isearch-ring-adjust1): Start visiting previous
21494 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21495 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21496 for empty search string (when the last search string is reused
21497 automatically) to adjust the isearch ring to the last element and
21498 prepare the correct index for further M-p commands (bug#9185).
21499
21500 2011-08-24 Kenichi Handa <handa@m17n.org>
21501
21502 * international/ucs-normalize.el: If decomposition property of
21503 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21504 nil.
21505 (nfd, nfkd): Likewise.
21506
21507 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21508
21509 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21510 from process filters aren't reliably transmitted to the surrounding
21511 accept-process-output.
21512 (mpc-proc-check): New function.
21513 (mpc-proc-sync): Use it (bug#8293)
21514
21515 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21516
21517 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21518 Add compatibility functions (bug#9313).
21519
21520 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21521
21522 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21523
21524 * international/uni-bidi.el: Regenerate.
21525
21526 2011-08-23 Kenichi Handa <handa@m17n.org>
21527
21528 * international/charprop.el:
21529 * international/uni-bidi.el:
21530 * international/uni-category.el:
21531 * international/uni-combining.el:
21532 * international/uni-comment.el:
21533 * international/uni-decimal.el:
21534 * international/uni-decomposition.el:
21535 * international/uni-digit.el:
21536 * international/uni-lowercase.el:
21537 * international/uni-mirrored.el:
21538 * international/uni-name.el:
21539 * international/uni-numeric.el:
21540 * international/uni-old-name.el:
21541 * international/uni-titlecase.el:
21542 * international/uni-uppercase.el: Regenerate.
21543
21544 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21545
21546 * help.el (help-window-setup): Fix message displayed when other
21547 window is reused. (Bug#9341)
21548
21549 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21550
21551 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21552 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21553
21554 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21555 Mark obsolete.
21556 * shell.el (shell-parse-pcomplete-arguments): New function.
21557 (shell-completion-vars): Use it instead (bug#9160).
21558
21559 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21560
21561 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21562 strings and comments (bug#9333).
21563
21564 * emacs-lisp/debug.el (debug-arglist): New function.
21565 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21566 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21567
21568 2011-08-22 Juri Linkov <juri@jurta.org>
21569
21570 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21571 Revert regexp that highlights output switches to its old
21572 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21573
21574 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21575 to check for empty output (bug#9226).
21576
21577 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21578
21579 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21580 symbol-constituent as the default, as that stops font-lock from
21581 working properly (Bug#8843).
21582
21583 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21584
21585 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21586 `coding-system-for-*' around the process open call to avoid
21587 auth-source side effects.
21588 (smtpmail-try-auth-methods): Expand the secret password.
21589 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21590 probe hangs.
21591
21592 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21593
21594 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21595
21596 * emacs-lisp/find-func.el (find-function-noselect): New arg
21597 lisp-only.
21598
21599 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21600 signal an error for built-in functions (Bug#6664).
21601
21602 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21603
21604 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21605 (smtpmail-try-auth-methods): Use it.
21606
21607 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21608
21609 * font-lock.el (font-lock-fontify-region)
21610 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21611 (font-lock-default-unfontify-buffer)
21612 (font-lock-default-fontify-region)
21613 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21614
21615 * progmodes/compile.el (compilation-error-properties):
21616 Fix confusion between file struct and message struct (Bug#9319).
21617 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21618 `ant' regexp.
21619
21620 * net/browse-url.el (browse-url-firefox): Don't call
21621 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21622
21623 2011-08-20 Glenn Morris <rgm@gnu.org>
21624
21625 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21626
21627 * tutorial.el (tutorial--default-keys): Update some default bindings.
21628
21629 * files.el (hack-local-variables): Fully ignore case for "mode:".
21630
21631 2011-08-20 Alan Mackenzie <acm@muc.de>
21632
21633 Resolve invalid use of a regexp in regexp-opt.
21634
21635 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21636 detection for a java annotation.
21637
21638 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21639 detection for a java annotation.
21640
21641 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21642 handling for java.
21643 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21644
21645 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21646
21647 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21648 (Bug#9274).
21649
21650 2011-08-20 Alan Mackenzie <acm@muc.de>
21651
21652 Fontify CPP expressions correctly when starting in the middle of
21653 such a construct. Mainly for when jit-lock etc. starts a chunk
21654 here.
21655
21656 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21657 variable.
21658 (c-make-font-lock-search-form): New function, extracted from
21659 c-make-font-lock-search-function.
21660 (c-make-font-lock-search-function): Use the above function.
21661 (c-make-font-lock-context-search-function): New function.
21662 (c-cpp-matchers): Enhance the preprocessor expression case with
21663 the above function
21664 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21665 which takes an expression.
21666
21667 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21668
21669 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21670
21671 * window.el (display-buffer-reuse-window)
21672 (display-buffer-pop-up-window): Don't reuse or split a side
21673 window.
21674
21675 2011-08-19 Glenn Morris <rgm@gnu.org>
21676
21677 * files.el (hack-local-variables-prop-line, hack-local-variables):
21678 Downcase "Mode:". (Bug#9331)
21679
21680 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21681
21682 * international/characters.el: Add L and R categories.
21683
21684 * subr.el (bidi-string-mark-left-to-right): Rename from
21685 string-mark-left-to-right. Use category search.
21686
21687 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21688
21689 2011-08-18 Juri Linkov <juri@jurta.org>
21690
21691 * faces.el (error, warning, success): New faces with definitions
21692 copied from old default values of `font-lock-warning-face',
21693 `compilation-warning', `compilation-info' (bug#6117).
21694
21695 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21696
21697 * progmodes/compile.el (compilation-error): Inherit from `error'.
21698 (compilation-warning): Inherit from `warning'.
21699 (compilation-info): Inherit from `success'.
21700
21701 * dired.el (dired-marked): Inherit from `warning'.
21702 (dired-flagged): Inherit from `error'.
21703
21704 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21705
21706 * mail/smtpmail.el (auth-source): Require to avoid problems with
21707 binding variables (bug#9298). Also clean up some unused
21708 autoloads.
21709
21710 * net/network-stream.el (network-stream-open-starttls):
21711 Support using starttls.el without using gnutls-cli.
21712
21713 2011-08-17 Juri Linkov <juri@jurta.org>
21714
21715 * progmodes/grep.el (rgrep): Handle the case when
21716 `grep-find-command' is a cons cell (bug#9278).
21717
21718 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21719
21720 * window.el (display-buffer-pop-up-frame): Run frame creation
21721 function with BUFFER current (as special-display-popup-frame
21722 does). Reported by Drew Adams.
21723
21724 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21725
21726 * epa-mail.el: Simplify GnuPG group expansion using
21727 epg-expand-group.
21728 (epa-mail-group-alist, epa-mail-group-modtime)
21729 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21730 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21731 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21732 Remove.
21733
21734 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21735
21736 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21737
21738 2011-08-16 Alan Mackenzie <acm@muc.de>
21739
21740 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21741 Correct, to avoid the inside of macros.
21742
21743 2011-08-16 Richard Stallman <rms@gnu.org>
21744
21745 * epa-mail.el: Handle GnuPG group definitions.
21746 (epa-mail-group-alist, epa-mail-group-modtime)
21747 (epa-mail-gnupg-conf-file): New variables.
21748 (epa-mail-parse-groups, epa-mail-sync-groups)
21749 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21750 (epa-mail-expand-recipients): New functions.
21751 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21752
21753 * mail/rmail.el (rmail-epa-decrypt): New command.
21754
21755 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21756 Don't bind buffer-read-only, just inhibit-read-only.
21757 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21758 (epa-decrypt-armor-in-region): Make error message clearer.
21759
21760 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21761
21762 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21763 and "a2b" to "ab" for `prefix'.
21764
21765 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21766
21767 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21768 filter groups.
21769 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21770 Fourquet (Bug#8804).
21771
21772 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21773
21774 * startup.el (argi): Declare as global variable (bug#9275).
21775
21776 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21777
21778 * subr.el (string-mark-left-to-right): Search the entire string
21779 for RTL script, not just the terminating character. Doc fix.
21780
21781 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21782
21783 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21784 New function.
21785 (js--regexp-literal, js-syntax-propertize-function): Remove.
21786 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21787 (js-mode-map): Don't rebind electric keys.
21788 (js-insert-and-indent): Remove.
21789 (js-mode): Setup electric-layout and electric-indent instead.
21790
21791 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21792
21793 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21794
21795 * epa.el (epa-progress-callback-function): Fix the logic of
21796 displaying progress.
21797 * epa-file.el (epa-file-insert-file-contents): Make progress
21798 display more user-friendly.
21799 (epa-file-write-region): Ditto.
21800
21801 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21802
21803 * subr.el (string-mark-left-to-right): New function.
21804
21805 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21806 Use string-mark-left-to-right.
21807 (list-buffers-noselect): Caller changed.
21808
21809 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21810 Use string-mark-left-to-right.
21811 (tabulated-list-print): Recenter after moving point.
21812
21813 2011-08-10 Juri Linkov <juri@jurta.org>
21814
21815 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21816 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21817 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21818
21819 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21820
21821 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21822 (Bug#7554).
21823
21824 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21825
21826 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21827 character. (Bug#6594)
21828
21829 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21830
21831 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21832 (image-dired--with-db-file): New macro.
21833 (image-dired-write-tags, image-dired-remove-tag)
21834 (image-dired-create-gallery-lists, image-dired-write-comments)
21835 (image-dired-get-comment, image-dired-mark-tagged-files)
21836 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21837 (image-dired-gallery-generate): Use insert-file-contents.
21838
21839 * time.el (display-time-world-list, display-time-world-display):
21840 * time-stamp.el (time-stamp-string):
21841 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21842 set-time-zone-rule (Bug#7337).
21843
21844 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21845
21846 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21847 (epg-error-to-string, epg-errors-to-string): New function.
21848 (epg-wait-for-completion): Reverse errors list.
21849 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21850 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21851 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21852 (epg-sign-keys, epg-generate-key-from-file)
21853 (epg-generate-key-from-string): Format errors by using
21854 epg-errors-to-string (bug#9255).
21855 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21856
21857 2011-08-07 Juri Linkov <juri@jurta.org>
21858
21859 * faces.el (list-faces-display): Remove extra angle bracket
21860 from `help-mode-map'.
21861
21862 * info.el (Info-history-toc-nodes): Doc fix.
21863
21864 * longlines.el (longlines-mode): Doc fix.
21865
21866 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21867
21868 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21869 of statements and in a few more cases (bug#9183).
21870
21871 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21872 New functions.
21873 (cl-transform-lambda): Use them (bug#9239).
21874
21875 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21876
21877 * window.el (display-buffer-same-window)
21878 (display-buffer-same-frame, display-buffer-other-window)
21879 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21880 (pop-to-buffer-other-window)
21881 (pop-to-buffer-same-frame-other-window)
21882 (pop-to-buffer-other-frame): Make them defuns.
21883 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21884
21885 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21886
21887 * subr.el (make-composed-keymap): Move from C. Change calling
21888 convention, and improve docstring to bring attention to a subtle point.
21889 * minibuffer.el (completing-read-default): Adjust accordingly.
21890
21891 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21892
21893 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21894 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21895
21896 * net/trampver.el: Update release number.
21897
21898 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21899
21900 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21901 "in" (bug#9190).
21902
21903 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21904
21905 * mail/sendmail.el (sendmail-query-once): Restore the current
21906 buffer after querying (bug#9074).
21907
21908 * dired.el (dired-flagged): Use different faces for marked and
21909 flagged files (bug#6117).
21910
21911 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21912 (bug#4433).
21913
21914 * ido.el (ido-mode): Switch off the message if called
21915 non-interactively.
21916
21917 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21918 before 587, since it appears that that's more likely to work for
21919 more people.
21920
21921 * cus-edit.el (custom-file): When running under emacs -q, always
21922 refuse to save the customizations, even if the .emacs file doesn't
21923 exist.
21924
21925 * info.el: Remove the `Info-beginning-of-buffer' function
21926 (bug#8325).
21927
21928 * net/network-stream.el (network-stream-open-starttls):
21929 Use `starttls-available-p' to see whether starttls.el can be used.
21930
21931 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21932
21933 * window.el (display-buffer-in-window): Don't set dedicated status
21934 of window here (Bug#9215).
21935 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21936 (display-buffer-pop-up-side-window)
21937 (display-buffer-in-side-window): Set dedicated status of window here.
21938
21939 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21940
21941 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21942 before binding generated-autoload-file.
21943
21944 2011-08-01 Deniz Dogan <deniz@dogan.se>
21945
21946 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21947
21948 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21949
21950 Sync with Tramp 2.2.2.
21951
21952 * net/trampver.el: Update release number.
21953
21954 2011-07-30 Juri Linkov <juri@jurta.org>
21955
21956 * dired-aux.el (dired-touch-initial): Remove function.
21957 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21958 current time, and `default' to the last modification time of the
21959 current marked file (bug#6887).
21960
21961 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21962
21963 * simple.el (goto-line): Use string-to-number to provide a
21964 numeric argument to read-number (bug#9163).
21965
21966 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21967
21968 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21969 connection process, it could be nil.
21970
21971 2011-07-27 Leo Liu <sdl.web@gmail.com>
21972
21973 Simplify url handling in rcirc-mode.
21974
21975 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21976 (rcirc-browse-url-at-mouse): Remove.
21977 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21978
21979 2011-07-26 Alan Mackenzie <acm@muc.de>
21980
21981 Fontify bitfield declarations properly.
21982
21983 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21984 (c-symbol-chars): Now exported as a lang variable.
21985 (c-not-primitive-type-keywords): New lang variable.
21986
21987 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21988 QT keyword "more" to prevent "more slots: ...." being spuriously
21989 parsed as a bitfield declaration.
21990
21991 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21992 Refactor and enhance to handle bitfield declarations.
21993 (c-punctuation-in): New function.
21994 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21995 declarations properly.
21996
21997 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21998
21999 * calendar/icalendar.el (icalendar--all-events): Take care of
22000 multiple vcalendars in a single file.
22001 (icalendar--convert-float-to-ical): Checkdoc fixes.
22002
22003 2011-07-25 Deniz Dogan <deniz@dogan.se>
22004
22005 * image.el (insert-image): Clarifying docstring.
22006
22007 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22008
22009 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22010 `tramp-send-command-and-check' if there is no error.
22011 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22012
22013 2011-07-22 Alan Mackenzie <acm@muc.de>
22014
22015 Prevent cc-langs.elc being loaded at run time.
22016
22017 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22018 cc-langs.
22019
22020 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22021 "(require 'cc-langs)". Quote a form so it will evaluate at
22022 (cc-mode's) compilation time.
22023
22024 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22025
22026 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22027 loading. (Bug#9114)
22028
22029 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22030
22031 * window.el (display-buffer-pop-up-window)
22032 (display-buffer-pop-up-side-window)
22033 (display-buffer-in-side-window): Call display-buffer-set-height
22034 and display-buffer-set-width after setting the new window's
22035 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22036
22037 2011-07-20 Sam Steingold <sds@gnu.org>
22038
22039 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22040 (etags-tags-included-tables): Call `convert-standard-filename' on
22041 the file names contained in TAGS so that windows Emacs can handle
22042 TAGS files created by cygwin ctags.
22043
22044 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22045
22046 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22047 which apparently didn't work.
22048
22049 2011-07-19 Roland Winkler <winkler@gnu.org>
22050
22051 * proced.el (proced-send-signal): For *Marked Processes* buffer
22052 put point at beginning of buffer.
22053
22054 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22055
22056 * proced.el (proced-format): Make header lines align with the text
22057 (bug#1779).
22058
22059 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22060
22061 * view.el (view-buffer): Allow running in `special' modes if we're
22062 visiting a file (bug#8615).
22063
22064 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22065
22066 * window.el (display-buffer-alist-of-strings-p)
22067 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22068 New functions.
22069 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22070 more accurately.
22071
22072 2011-07-18 Alan Mackenzie <acm@muc.de>
22073
22074 Fontify declarators properly when, e.g., a jit-lock chunk begins
22075 inside a declaration.
22076
22077 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22078
22079 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22080 New function.
22081 (c-complex-decl-matchers): Insert reference to
22082 c-font-lock-enclosing-decls.
22083
22084 * progmodes/cc-engine.el (c-backward-single-comment):
22085 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22086 to nil around calls to (forward-comment -1).
22087
22088 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22089
22090 * image.el (put-image): Doc typo fix.
22091
22092 * progmodes/etags.el (tags-search): Doc typo fix.
22093
22094 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22095 password if we get errors 550 to 554.
22096
22097 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22098
22099 * net/gnutls.el (gnutls-log-level): Remove.
22100
22101 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22102 indentation character (bug#6380).
22103
22104 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22105
22106 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22107 to clarify what the problem is (bug#4291).
22108
22109 * simple.el (current-kill): Clarify what
22110 `interprogram-paste-function' does (bug#7500).
22111 (auto-fill-mode): Document `auto-fill-function' in relation to
22112 `auto-fill-mode' (bug#2470).
22113
22114 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22115
22116 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22117 method if slot is read-only (bug#9035).
22118
22119 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22120
22121 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22122 * window.el (pop-to-buffer): Select window used even if it was
22123 selected before, see discussion of (Bug#8615), (Bug#6954).
22124 Pass argument NORECORD on to select-frame-set-input-focus.
22125
22126 2011-07-15 Glenn Morris <rgm@gnu.org>
22127
22128 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22129 Respect help-form.
22130
22131 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22132
22133 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22134 (gnutls-negotiate): Use it.
22135
22136 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22137
22138 * net/gnutls.el (gnutls-negotiate):
22139 Upcase `gnutls-algorithm-priority'.
22140
22141 2011-07-15 Glenn Morris <rgm@gnu.org>
22142
22143 * jka-compr.el (jka-compr-verbose): Move from here...
22144 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22145 Add missing :version tag.
22146 * info.el: No need to require jka-compr when compiling.
22147
22148 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22149
22150 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22151 (gnutls-negotiate): Use it.
22152
22153 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22154
22155 * info.el (Info-beginning-of-buffer): New command.
22156 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22157 announcing `b' as the key (bug#8325).
22158 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22159
22160 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22161
22162 * international/mule-cmds.el
22163 (describe-specified-language-support): Make the error message
22164 clearer (bug#8905).
22165
22166 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22167
22168 * isearch.el (isearch-barrier): Add a doc string, since it's
22169 mentioned in a function doc string (bug#8678).
22170
22171 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22172
22173 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22174 buffer argument (Bug#9083) and self-identifying label argument.
22175
22176 2011-07-15 Glenn Morris <rgm@gnu.org>
22177
22178 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22179
22180 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22181
22182 * man.el (Man-fontify-manpage): Fix message when formatting the
22183 man page (bug#7929).
22184
22185 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22186
22187 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22188 argument LRM; if non-nil, append an invisible LRM character to the
22189 buffer name.
22190 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22191 last argument non-nil, when formatting buffer names.
22192 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22193 paragraph direction.
22194
22195 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22196
22197 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22198 the man page name (bug#7929).
22199
22200 * image.el (put-image): Mention the `put-image' overlay property
22201 (bug#7834).
22202
22203 * scroll-bar.el (set-scroll-bar-mode): Mention that
22204 `scroll-bar-mode' lists the values (bug#7772).
22205
22206 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22207 command (bug#7729).
22208
22209 * rect.el (apply-on-rectangle): Return the point after the last
22210 operation.
22211 (string-rectangle): Go to the point after the last operation
22212 (bug#7522).
22213
22214 * printing.el (pr-toggle-region): Clarify the documentation
22215 slightly (bug#7493).
22216
22217 * time.el (display-time-update):
22218 Allow `display-time-mail-function' to return nil (bug#7158).
22219 Fix suggested by Detlev Zundel.
22220
22221 * vc/diff.el (diff): Clarify the order the file names are read
22222 (bug#7111).
22223
22224 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22225 the doc string (bug#7015).
22226
22227 * font-lock.el (font-lock-maximum-decoration): Mention what
22228 numeric levels mean (bug#6935).
22229
22230 * startup.el (initial-buffer-choice): Don't mention the `none'
22231 selection, which is against policy.
22232
22233 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22234
22235 * window.el (display-buffer-normalize-special):
22236 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22237
22238 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22239
22240 * subr.el (version<, version<=, version=): Mention "-CVS" and
22241 "-12345" alpha version numbers.
22242
22243 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22244
22245 * bindings.el: Add advertised binding for set-mark-command
22246 (Bug#5772).
22247
22248 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22249
22250 * bindings.el (mode-line-other-buffer):
22251 * bookmark.el (bookmark-bmenu-2-window):
22252 * bs.el (bs-cycle-next, bs-cycle-previous):
22253 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22254 switch-to-buffer.
22255
22256 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22257 Delete.
22258
22259 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22260
22261 * follow.el (follow-debug-message, follow-redisplay):
22262 * jka-cmpr-hook.el (with-auto-compression-mode):
22263 Fix typos in docstrings.
22264
22265 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22266
22267 * subr.el (with-silent-modifications): Clarify somewhat what the
22268 macro inhibits (bug#6525).
22269
22270 * simple.el (eval-expression): Note what it does if called
22271 interactively (bug#6495).
22272
22273 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22274
22275 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22276 Use pop-to-buffer buffer-or-name if it is nil.
22277
22278 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22279 Remove switch-to-buffer.
22280
22281 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22282
22283 * files.el (make-directory): Clarify that an error will be raised
22284 if there's an error (bug#6397).
22285
22286 * startup.el (initial-buffer-choice): Add `none' as a choice
22287 (bug#6234).
22288
22289 * subr.el (add-hook): Clarify section about buffer-local hooks
22290 (bug#6218).
22291
22292 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22293
22294 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22295
22296 * tabify.el (untabify): Preserve the current column so that point
22297 doesn't move (bug#6032).
22298
22299 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22300
22301 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22302 Rewrite to avoid awkward possessive "s" (bug#5986).
22303
22304 2011-07-13 Glenn Morris <rgm@gnu.org>
22305
22306 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22307 (dired-insert-directory): Give a message the first time
22308 if ls is found not to support --dired.
22309
22310 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22311
22312 * simple.el (toggle-truncate-lines): Clarify what is toggled
22313 (bug#5580). Text by Drew Adams.
22314
22315 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22316
22317 * simple.el (blink-matching-open): Make the error message from the
22318 last change less verbose.
22319
22320 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22321
22322 * font-lock.el (font-lock-comment-face): Use the high contrast
22323 "yellow" color for font-lock-comment-face on low color terminals
22324 using a dark background color (bug#4221).
22325
22326 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22327
22328 * dired.el (dired-insert-set-properties): Make the doc string
22329 reflect what it does now (bug#5325).
22330
22331 * simple.el (blink-matching-open): Say that we were unable to find
22332 the match within the limit, if we're limited (bug#5122).
22333
22334 * international/mule-cmds.el (prefer-coding-system): Add an
22335 example (bug#4869).
22336
22337 * progmodes/etags.el (tags-search): Document `file-list-form'
22338 (bug#4731).
22339
22340 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22341
22342 * net/browse-url.el (browse-url-default-browser)
22343 (browse-url-browser-function): Make the default browser choice a
22344 bit more logical (bug#4300). Also clean up the doc string.
22345
22346 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22347
22348 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22349 binary endings (bug#4440).
22350
22351 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22352
22353 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22354 which can be pretty annoying (bug#8971).
22355
22356 * jka-compr.el (jka-compr-verbose): New variable, and use
22357 throughout (bug#8971).
22358
22359 * info.el (Info-find-file): Fall back on the installation
22360 directory if we can't find the info node anywhere else.
22361
22362 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22363
22364 * vc/vc.el (vc-revert-file):
22365 Don't set file time-stamp in the past. (Bug#5181)
22366
22367 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22368
22369 * files.el (after-find-file): Give a better error message when
22370 trying to find a symlink that points to a file that doesn't exist
22371 (bug#4398).
22372
22373 * progmodes/cc-vars.el: Remove (probably) misleading comment
22374 (bug#4396).
22375
22376 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22377
22378 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22379
22380 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22381
22382 * mouse-sel.el: Hack restoring functionality, while keeping
22383 compatibility with 2010-07-03 changes to mouse selection.
22384 (mouse-sel-primary-overlay): New var.
22385 (mouse-sel-selection-alist): Use it.
22386 (mouse-sel-mode): Doc fix; remove points that are default features
22387 of mouse.el.
22388
22389 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22390
22391 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22392 Fix previous fix (bug#2490).
22393
22394 2011-07-12 Roland Winkler <winkler@gnu.org>
22395
22396 * textmodes/bibtex.el (bibtex-initialize):
22397 Use pop-to-buffer-same-window.
22398 (bibtex-search-entries): Fix interactive call.
22399
22400 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22401
22402 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22403 Fontise bytecomp Error lines more correctly (bug#2490).
22404 Fix suggested by Johan BockgĂ¥rd.
22405
22406 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22407
22408 * dired-x.el (dired-guess-default): Use `delete-dups'.
22409
22410 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22411
22412 * dired.el (dired-mark-prompt):
22413 * dired-aux.el (dired-read-shell-command): Doc fix.
22414
22415 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22416
22417 * mail/sendmail.el (sendmail-query-once):
22418 Use `customize-save-variable' unconditionally, now that it works under
22419 emacs -Q.
22420
22421 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22422
22423 * cus-edit.el (custom-file): Take an optional no-error variable.
22424 (customize-save-variable): Set the variable, and give a warning if
22425 running under "emacs -q".
22426
22427 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22428
22429 * loadhist.el (unload-feature-special-hooks):
22430 Add `auto-coding-functions', `fill-nobreak-predicate' and
22431 `find-directory-functions' (bug#5327).
22432
22433 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22434
22435 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22436
22437 * cus-edit.el (custom-guess-name-alist): -alist variables should
22438 use the `alist' type (bug#3120). Suggested by Drew Adams.
22439
22440 * printing.el: Add documentation to all the `pr-toggle-' commands.
22441
22442 2011-07-11 Leo Liu <sdl.web@gmail.com>
22443
22444 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22445 backends where it makes sense (bug#2623).
22446
22447 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22448
22449 * dired-x.el (dired-guess-default): Remove duplicate shell command
22450 entries (bug#2028).
22451 (dired-guess-default): Fix grammar in doc string (bug#2028).
22452 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22453
22454 * subr.el (remove-duplicates): New conveniency function.
22455
22456 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22457
22458 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22459 (bug#1526).
22460
22461 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22462
22463 * window.el (display-buffer-normalize-default): Don't invert
22464 meaning of even-window-heights. Reported by Eli Zaretskii
22465 <eliz@gnu.org>.
22466
22467 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22468
22469 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22470
22471 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22472
22473 * window.el (display-buffer): Fix arguments to
22474 display-buffer-reuse-window in last change.
22475
22476 * faces.el (link): Use a less saturated blue on light backgrounds.
22477
22478 * startup.el (fancy-startup-text, fancy-about-text)
22479 (fancy-startup-tail): Use font-lock faces, for background safety.
22480
22481 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22482
22483 * emulation/viper-cmd.el (viper-change-state-to-vi):
22484 Limit triggering of abbrev expansion (Bug#9038).
22485
22486 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22487
22488 * window.el (display-buffer-default-specifiers): Remove.
22489 (display-buffer-macro-specifiers): Remove default specifiers.
22490 (display-buffer-alist): Default to nil.
22491 (display-buffer-reuse-window): New optional argument other-window.
22492 (display-buffer-pop-up-window): Allow splitting internal
22493 windows. Check whether a live window was created.
22494 (display-buffer-other-window-means-other-frame)
22495 (display-buffer-normalize-arguments): Rename to
22496 display-buffer-normalize-argument and rewrite. Set the
22497 other-window specifier.
22498 (display-buffer-normalize-special): New function.
22499 (display-buffer-normalize-options): Rename to
22500 display-buffer-normalize-default and rewrite.
22501 (display-buffer-normalize-options-inhibit): Remove.
22502 (display-buffer-normalize-specifiers): Rewrite.
22503 (display-buffer): Process other-window specifier and call
22504 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22505 more faithfully.
22506 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22507 (display-buffer-alist-set): Don't handle 'unset default values.
22508 (display-buffer-in-window, display-buffer-alist-set):
22509 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22510 <tassilo@member.fsf.org>.
22511
22512 2011-07-09 Leo Liu <sdl.web@gmail.com>
22513
22514 * register.el (insert-register): Restore accidental change on
22515 2011-06-26. (Bug#9028)
22516
22517 2011-07-09 Glenn Morris <rgm@gnu.org>
22518
22519 * subr.el (remq): Handle the empty list. (Bug#9024)
22520
22521 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22522
22523 * mail/sendmail.el (send-mail-function): No longer delay custom
22524 initialization.
22525 * custom.el (custom-initialize-delay): Doc fix.
22526
22527 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22528
22529 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22530
22531 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22532
22533 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22534 human-friendly prompt.
22535
22536 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22537
22538 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22539 provided by a particular plugin.
22540
22541 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22542
22543 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22544 save customizations (with "emacs -Q"), just set the variable
22545 instead of erroring out.
22546
22547 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22548
22549 2011-07-08 Juri Linkov <juri@jurta.org>
22550
22551 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22552 (archive-zip-update-case): Use 7z if found by `executable-find'.
22553 The order of searching the available programs is the same as in
22554 `archive-zip-extract' (bug#8968).
22555
22556 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22557
22558 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22559 (menu-bar-options-menu): Tweak descriptions.
22560
22561 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22562
22563 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22564 menu items into verb phrases (bug#1421). Also refill to fit under
22565 80 columns.
22566
22567 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22568
22569 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22570 (Info-read-node-name): Doc fix (Bug#1084).
22571
22572 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22573 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22574 (end-of-sexp, beginning-of-sexp)
22575 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22576 (forward-symbol, forward-same-syntax, word-at-point)
22577 (sentence-at-point): Doc fix (Bug#1144).
22578
22579 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22580
22581 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22582 should cover it (bug#1281).
22583
22584 * cus-edit.el (custom-show): Mark as obsolete.
22585
22586 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22587 negotiation fails, then possibly try again with a non-encrypted
22588 connection (bug#9017).
22589
22590 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22591 be used.
22592
22593 2011-07-07 Richard Stallman <rms@gnu.org>
22594
22595 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22596 property, and handle its changed format.
22597 Look for the correct line number.
22598 Use file's line contents (but not past first =) to find
22599 correct line in message.
22600
22601 2011-07-07 Kenichi Handa <handa@m17n.org>
22602
22603 * international/characters.el (build-unicode-category-table):
22604 Delete it.
22605 (unicode-category-table): Set it by unicode-property-table-internal.
22606
22607 * international/mule-cmds.el (char-code-property-alist): Move to
22608 to src/chartab.c.
22609 (get-char-code-property): Call unicode-property-table-internal to
22610 load a file. Call get-unicode-property-internal where necessary.
22611 (put-char-code-property): Call unicode-property-table-internal to
22612 load a file. Call put-unicode-property-internal where necessary.
22613 put-unicode-property-internal where necessary.
22614 (char-code-property-description):
22615 Call unicode-property-table-internal to load a file.
22616
22617 * international/charprop.el:
22618 * international/uni-bidi.el:
22619 * international/uni-category.el:
22620 * international/uni-combining.el:
22621 * international/uni-comment.el:
22622 * international/uni-decimal.el:
22623 * international/uni-decomposition.el:
22624 * international/uni-digit.el:
22625 * international/uni-lowercase.el:
22626 * international/uni-mirrored.el:
22627 * international/uni-name.el:
22628 * international/uni-numeric.el:
22629 * international/uni-old-name.el:
22630 * international/uni-titlecase.el:
22631 * international/uni-uppercase.el: Regenerate.
22632
22633 * loadup.el: Load international/charprop.el before
22634 international/characters.
22635
22636 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22637
22638 * window.el (next-buffer, previous-buffer): Signal an error if
22639 called from a minibuffer window.
22640
22641 * bindings.el: Revert 2011-07-04 change.
22642
22643 2011-07-06 Richard Stallman <rms@gnu.org>
22644
22645 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22646 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22647 Treat markers like ints.
22648 (rmail-mime-entity): Doc fix.
22649
22650 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22651
22652 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22653 defcustom again for backwards compatibility.
22654
22655 * simple.el (shell-command-on-region): Fill.
22656
22657 * dired-aux.el (dired-kill-line): Add a doc string.
22658
22659 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22660 to "\\sw\\|\\s_" (bug#358).
22661
22662 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22663 (dired-unmark-backward): Ditto.
22664 (dired-flag-backup-files): Ditto.
22665
22666 * dired-x.el (dired-mark-sexp): Ditto.
22667
22668 2011-07-06 Richard Stallman <rms@gnu.org>
22669
22670 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22671 (rmail-mime-entity): New arg TRUNCATED.
22672 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22673 New functions.
22674 (rmail-mime-save): Warn if entity is truncated.
22675 (rmail-mime-toggle-hidden): Likewise, for showing.
22676 (rmail-mime-process-multipart): Record when an entity is truncated.
22677
22678 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22679 if ENTITY is a string.
22680
22681 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22682
22683 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22684 of faces when `M-C-x'-ing their definitions (bug#8378).
22685 Also clean up the code slightly.
22686
22687 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22688 because that makes the colors go away.
22689
22690 * mail/sendmail.el (send-mail-function): Change the default to
22691 `sendmail-query-once'.
22692 (sendmail-query-once): Add an autoload cookie.
22693
22694 * net/network-stream.el (network-stream-open-starttls): Try using
22695 a plain connection even if the server offered STARTTLS, and we
22696 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22697 capability. This should make smtpmail.el work in slightly more
22698 configurations.
22699
22700 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22701
22702 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22703 New defun.
22704 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22705
22706 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22707
22708 * progmodes/sql.el: Version 3.0
22709 (sql-product-alist): Add product :completion-object,
22710 :completion-column, and :statement attributes.
22711 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22712 (sql-mode-syntax-table): Mark all punctuation.
22713 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22714 ansi keywords.
22715 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22716 (sql-mode-oracle-font-lock-keywords): Improve.
22717 (sql-oracle-show-reserved-words): New function for development.
22718 (sql-product-font-lock): Simplify for source code buffers.
22719 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22720 New functions.
22721 (sql-highlight-product): Set product specific syntax table.
22722 (sql-mode-map): Add statement movement functions.
22723 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22724 New variable.
22725 (sql-statement-regexp, sql-beginning-of-statement)
22726 (sql-end-of-statement, sql-signum): New functions.
22727 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22728 (sql-show-sqli-buffer): Bug fix.
22729 (sql-interactive-mode): Store connection data as buffer local.
22730 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22731 with sql-interactive-mode.
22732 (sql-save-connection): Save buffer local settings.
22733 (sql-connection-menu-filter): Change menu entry name.
22734 (sql-product-interactive): Bug fix.
22735 (sql-preoutput-hold): New variable.
22736 (sql-interactive-remove-continuation-prompt): Bug fixes.
22737 (sql-debug-redirect): New variable.
22738 (sql-str-literal): New function.
22739 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22740 Redesign.
22741 (sql-oracle-save-settings, sql-oracle-restore-settings)
22742 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22743 (sql-completion-object, sql-completion-column)
22744 (sql-completion-sqlbuf): New variables.
22745 (sql-build-completions-1, sql-build-completions)
22746 (sql-try-completion): New functions.
22747 (sql-read-table-name): Use them.
22748 (sql-contains-names): New buffer local variable.
22749 (sql-list-all, sql-list-table): Use it.
22750 (sql-oracle-completion-types): New variable.
22751 (sql-oracle-completion-object, sql-sqlite-completion-object)
22752 (sql-postgres-completion-object): New functions.
22753
22754 2011-07-06 Glenn Morris <rgm@gnu.org>
22755
22756 * window.el (pop-to-buffer): Doc fix.
22757
22758 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22759
22760 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22761
22762 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22763
22764 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22765
22766 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22767
22768 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22769
22770 * button.el (button): Inherit from link face. Suggested by Dan
22771 Nicolaescu.
22772
22773 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22774
22775 * progmodes/gdb-mi.el: Fit in 80 columns.
22776 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22777 switch-to-buffer.
22778
22779 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22780 if imenu is simply not configured (bug#8941).
22781
22782 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22783
22784 * allout.el (allout-post-undo-hook): New allout outline-change
22785 event hook to signal undo activity.
22786 (allout-post-command-business): Run allout-post-undo-hook if an
22787 undo just occurred.
22788 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22789 * allout-widgets.el (allout-widgets-after-undo-function):
22790 Ensure the integrity of the current item's decoration after it has been
22791 in the vicinity of an undo.
22792 (allout-widgets-mode): Include allout-widgets-after-undo-function
22793 on the new allout-post-undo-hook.
22794
22795 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22796
22797 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22798 Let define-derived-mode define it.
22799 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22800 cycles of abbrev-table inheritance (bug#8998).
22801
22802 2011-07-05 Roland Winkler <winkler@gnu.org>
22803
22804 * textmodes/bibtex.el: Add support for biblatex.
22805 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22806 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22807 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22808 (bibtex-entry-alist, bibtex-field-alist): New variables.
22809 (bibtex-entry-field-alist): Obsolete alias for
22810 bibtex-BibTeX-entry-alist.
22811 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22812 (bibtex-set-dialect): New command.
22813 (bibtex-entry-type, bibtex-entry-head)
22814 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22815 Bind via bibtex-set-dialect.
22816 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22817 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22818 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22819 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22820 Define via bibtex-set-dialect.
22821 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22822 Obey bibtex-no-opt-remove-re.
22823 (bibtex-vec-push, bibtex-vec-incr): New functions.
22824 (bibtex-format-entry, bibtex-field-list)
22825 (bibtex-print-help-message, bibtex-validate)
22826 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22827
22828 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22829
22830 * progmodes/compile.el (compilation-goto-locus):
22831 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22832 * bs.el (bs-cycle-next, bs-cycle-previous):
22833 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22834 * bindings.el (mode-line-other-buffer):
22835 * autoinsert.el (auto-insert):
22836 * arc-mode.el (archive-extract):
22837 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22838
22839 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22840
22841 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22842 Fix check of `emacs-lock-unlockable-modes'.
22843 Coerce true values of `emacs-lock--try-unlocking' to t.
22844
22845 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22846
22847 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22848 * emacs-lock.el: New file.
22849
22850 2011-07-05 Julien Danjou <julien@danjou.info>
22851
22852 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22853 than `boundp' to check if face is set.
22854
22855 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22856
22857 * register.el (registerv-make):
22858 * window.el (window-min-height): Fix typos in docstrings.
22859
22860 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22861
22862 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22863 Update doc string.
22864
22865 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22866
22867 * server.el (server-execute): Catch quit and call
22868 `server-return-error' to pass the error back to emacsclient and
22869 close the connection (bug#8942).
22870
22871 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22872
22873 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22874 insecure exception for current topic. Also note that auto-saves
22875 are handled differently.
22876
22877 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22878 State variables for tracking auto-save inhibition situation.
22879
22880 (allout-write-contents-hook-handler): Rename from
22881 'allout-write-file-hook-handler', and describe how it depends on
22882 write-contents-functions sensitivity to non-nil value to prevent
22883 file write.
22884
22885 (allout-auto-save-hook-handler): Remove. auto-save does not check
22886 this in individual buffers, only in the starting buffer, so this
22887 is not the right way for us to inhibit auto-save in a buffer
22888 according to its condition.
22889
22890 (allout-mode): Use new allout-write-contents-hook-handler, and
22891 only with write-contents-functions. Remove auto-save provisions -
22892 they're implemented elsewhere.
22893
22894 (allout-before-change-handler): If undo is in progress, note that
22895 for attention of allout-post-command-business.
22896
22897 (allout-post-command-business): If the command we're following was
22898 an undo, check for change in the status of encrypted items and
22899 adjust auto-save inhibitions accordingly.
22900
22901 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22902 according to whether there are or aren't any plain-text topics
22903 pending encryption.
22904
22905 (allout-inhibit-auto-save-info-for-decryption):
22906 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22907 if there are plain-text topics pending encryption.
22908
22909 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22910 buffer-saved-size and some allout state to not inhibit auto-saves
22911 if there are no longer any plain-text topics pending encryption.
22912
22913 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22914 No longer provide for exemption of the current topic.
22915
22916 2011-07-04 Juri Linkov <juri@jurta.org>
22917
22918 Add 7z operations to delete and save changed members (bug#8968).
22919 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22920 New defcustoms.
22921 (archive-7z-write-file-member): New function.
22922 (archive-7z-summarize): Fix the number of dashes in the
22923 listing output.
22924
22925 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22926
22927 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22928 (bug#8958).
22929
22930 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22931
22932 * bindings.el: Ignore next-buffer and previous-buffer in
22933 minibuffer-local-map.
22934
22935 * font-lock.el (font-lock-builtin-face): Change light background
22936 color to dark slate blue (Bug#6693).
22937
22938 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22939
22940 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22941
22942 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22943
22944 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22945 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22946 Add switch-to-buffer.
22947
22948 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22949
22950 * isearch.el (isearch-search-fun-function): Clarify further the
22951 meaning of the function returned.
22952
22953 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22954
22955 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22956
22957 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22958 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22959 Use it.
22960 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22961 `tramp-default-remote-path' does not exist.
22962 (tramp-send-command-and-read): New optional argument NOERROR.
22963 (tramp-open-connection-setup-interactive-shell)
22964 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22965 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22966 (tramp-process-sentinel): Flush also process' connection property.
22967 (tramp-sh-handle-start-file-process): Do not set process
22968 sentinel. It is done now ...
22969 (tramp-maybe-open-connection): ... here. (Bug#8929)
22970
22971 2011-07-04 MON KEY <monkey@sandpframing.com>
22972
22973 * play/animate.el (animate-string): Doc fixes and allow changing
22974 the buffer name (bug#5417).
22975
22976 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22977
22978 * play/animate.el (animation-buffer-name): Rename from *animate*.
22979
22980 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22981
22982 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22983 This is simpler and helps future-proof the code.
22984 (timer-until): Use time-subtract and float-time.
22985 (timer--time-less-p): Use time-less-p.
22986
22987 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22988
22989 * type-break.el (timep): Use the value of `float-time' to avoid a
22990 byte-compiler warning.
22991
22992 * server.el (server-eval-and-print): Return any result, even nil.
22993
22994 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22995
22996 * type-break.el: Accept time formats that the builtins accept.
22997 (timep, type-break-time-difference): Accept any format that
22998 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22999 This is simpler and helps future-proof the code.
23000 (type-break-time-difference): Round rather than ignoring
23001 subseconds components.
23002
23003 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23004
23005 * info.el (Info-apropos-matches): Make non-interactive, since it
23006 doesn't seem to do anything useful as a command (bug#8829).
23007
23008 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23009
23010 * frame.el (frame-background-mode, frame-set-background-mode):
23011 Move from faces.el.
23012 (frame-default-terminal-background): New function.
23013
23014 * custom.el (custom-push-theme): Don't record faces in `changed'
23015 theme; this doesn't work correctly for per-frame face settings.
23016 (disable-theme): Use face-set-after-frame-default to reset faces.
23017 (custom--frame-color-default): New function.
23018
23019 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23020
23021 * dired.el (dired-flagging-regexp): Remove unused variable
23022 (bug#8769).
23023
23024 2011-03-29 Kevin Ryde <user42@zip.com.au>
23025
23026 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23027 `perl-Test2' extend to match possible "fail #N" rep count
23028 (bug#8377).
23029
23030 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23031
23032 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23033 `smtpmail-via-smtp' now returns the error instead of nil.
23034
23035 * isearch.el (isearch-search-fun-function): Clarify the doc string
23036 (bug#8101).
23037
23038 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23039
23040 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23041 unnecessary spaces (bug#8987).
23042
23043 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23044
23045 * net/network-stream.el (open-network-stream): Use the
23046 :end-of-capability command thoughout.
23047
23048 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23049
23050 * net/network-stream.el (open-network-stream): Add the
23051 :end-of-capability command parameter, used by pop3.el.
23052
23053 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23054
23055 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23056
23057 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23058 for list)" (bug#6475).
23059
23060 * files.el (file-expand-wildcards): Ignore non-readable
23061 sub-directories while trying to find matches instead of signaling
23062 an error (bug#6297).
23063
23064 * man.el (Man-reference-regexp): Allow matching possible
23065 word-wrapped references (bug#6289).
23066
23067 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23068 for consistency with the other vc buffers (bug#6197).
23069 (vc-checkin): Ditto.
23070
23071 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23072
23073 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23074
23075 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23076
23077 * custom.el (defcustom): Clarify that :set is only used in the
23078 Customize user interface (bug#6089).
23079
23080 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23081 associated with a file, refuse to run instead of erroring out
23082 (bug#6084).
23083
23084 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23085 the doc string, since it appears that using `fill-column' always
23086 controls the width (bug#7845).
23087
23088 * simple.el (shell-command-on-region): Say where the error output
23089 went if `shell-command-default-error-buffer' is set (bug#6857).
23090
23091 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23092
23093 * allout.el (allout-yank-processing): Adjust cursor position for
23094 backwards-deleted space.
23095
23096 (allout-rebullet-heading): Register changes with
23097 allout-exposure-changed-hook, so the modified topic is properly
23098 decorated.
23099
23100 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23101
23102 * minibuffer.el (completion-in-region): Document PREDICATE
23103 (bug#7136).
23104
23105 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23106 of keyword/argument pairs (bug#6904).
23107
23108 * replace.el (multi-occur):
23109 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23110
23111 2011-07-02 Drew Adams <drew.adams@oracle.com>
23112
23113 * dired.el (dired-mark-if): Make the message about whether it's
23114 marking or unmarking clearer (bug#8523).
23115
23116 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23117
23118 * disp-table.el (display-table-print-array): New function.
23119 (describe-display-table): Use it to print the vectors more pretty
23120 (Bug#8859).
23121
23122 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23123
23124 * window.el (window-state-get-1): Don't assign clone numbers.
23125 Add clone-of item to list of window parameters.
23126 (window-state-put-2): Don't process clone numbers.
23127 (display-buffer-alist): Fix doc-string.
23128
23129 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23130
23131 * subr.el (remq): Don't allocate if it's not needed.
23132 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23133 (keymap--merge-bindings): New functions.
23134 (keymap-canonicalize): Use them to refine the canonicalization.
23135 * minibuffer.el (minibuffer-local-completion-map)
23136 (minibuffer-local-must-match-map): Move initialization from C.
23137 (minibuffer-local-filename-completion-map): Move initialization from C;
23138 don't inherit from anything here.
23139 (minibuffer-local-filename-must-match-map): Make obsolete.
23140 (completing-read-default): Use make-composed-keymap to combine
23141 minibuffer-local-filename-completion-map with either
23142 minibuffer-local-must-match-map or
23143 minibuffer-local-filename-completion-map.
23144
23145 2011-07-01 Glenn Morris <rgm@gnu.org>
23146
23147 * type-break.el (type-break-time-sum): Use dolist.
23148
23149 * textmodes/flyspell.el (flyspell-word-search-backward):
23150 Replace CL function.
23151
23152 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23153
23154 * mouse.el (mouse--strip-first-event): New function.
23155 (function-key-map): Use it to map fringe clicks to normal clicks
23156 by default.
23157
23158 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23159 (vc-bzr-revision-completion-table): Add support for annotate and date.
23160
23161 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23162 inherit from parent.
23163
23164 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23165
23166 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23167 (dired-show-file-type): Doc fixup (bug#8818).
23168
23169 * dired.el (dired-mode): Fix up the doc string as suggested by
23170 Drew Adams (bug#8817).
23171
23172 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23173 cookie, since the manual says that it should be possible to add
23174 this function to `find-file-hook' (bug#8709).
23175
23176 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23177
23178 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23179 here. Noted Ted Zlatanov as the maintainer.
23180 (cfengine-common-settings, cfengine-common-syntax): New functions
23181 to set up common things between `cfengine-mode' and
23182 `cfengine3-mode'.
23183 (cfengine3-mode): New mode.
23184 (cfengine3-defuns cfengine3-defuns-regex
23185 (cfengine3-class-selector-regex cfengine3-category-regex)
23186 (cfengine3-vartypes cfengine3-font-lock-keywords)
23187 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23188 (cfengine3-indent-line): Add from cfengine3.el.
23189
23190 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23191
23192 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23193
23194 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23195
23196 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23197
23198 * window.el (same-window-buffer-names, same-window-regexps)
23199 (same-window-p, special-display-frame-alist)
23200 (special-display-popup-frame, special-display-function)
23201 (special-display-buffer-names, special-display-regexps)
23202 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23203 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23204 (split-window-preferred-function, split-height-threshold)
23205 (split-width-threshold, even-window-heights)
23206 (display-buffer-mark-dedicated, window-splittable-p)
23207 (split-window-sensibly, window-safely-shrinkable-p):
23208 Un-obsolete.
23209 (display-buffer): Don't spread args with function specifier
23210 because special-display-popup-frame won't like it.
23211
23212 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23213
23214 Time-stamp simplifications and fixes.
23215 These improve accuracy slightly, and future-proof the code
23216 against some potential changes to current-time format.
23217
23218 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23219 by using time-since and float-time.
23220
23221 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23222 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23223 + NNN microseconds".
23224
23225 * type-break.el (type-break-time-sum): Rewrite using time-add.
23226
23227 * play/hanoi.el (hanoi-current-time-float): Remove.
23228 All uses replaced by float-time.
23229
23230 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23231 This yields a more-accurate answer.
23232 (rng-time-to-float): Remove; no longer needed.
23233
23234 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23235
23236 * calendar/timeclock.el (timeclock-seconds-to-time):
23237 Defalias to seconds-to-time, since they're the same thing.
23238
23239 * emacs-lisp/elp.el (elp-elapsed-time):
23240 * emacs-lisp/benchmark.el (benchmark-elapse):
23241 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23242
23243 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23244
23245 * window.el (bury-buffer): Don't iconify the only frame.
23246 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23247 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23248
23249 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23250
23251 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23252 Add mouse-yank-primary.
23253
23254 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23255
23256 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23257
23258 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23259
23260 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23261 (find-library-name): Use it to find relative load names when provided
23262 absolute file name (bug#8803).
23263
23264 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23265
23266 * textmodes/flyspell.el (flyspell-word): Consider words that
23267 differ only in case as potential doublons (bug#5687).
23268
23269 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23270 Remove two rather uninteresting debugging-like messages to make
23271 debbugs.el more silent.
23272
23273 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23274 a password-like phrase.
23275
23276 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23277
23278 * progmodes/cc-guess.el: New file.
23279
23280 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23281
23282 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23283 derived from `c-basic-common-init'.
23284
23285 * progmodes/cc-mode.el (top-level): Require cc-guess.
23286 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23287
23288 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23289
23290 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23291
23292 2011-06-30 Alan Mackenzie <acm@muc.de>
23293
23294 * progmodes/cc-engine.el (c-guess-continued-construct):
23295 Correct the handling of template-args-cont, particularly for when font
23296 lock is disabled. Name this case as "CASE G".
23297
23298 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23299
23300 * allout.el (allout-yank-processing): Fix injection of extra space
23301 between bullet and non-whitespace character in first topic when
23302 pasting, ensuring that the actual spacing in the pasted topic
23303 following the bullet char is preserved. This extra space was
23304 causing pasted encrypted topics to get a decrypted status even
23305 when the content was actually still encrypted. Now the decryption
23306 status from before the paste is preserved.
23307
23308 (allout-flag-region): Set all allout overlays so they evaporate
23309 when reduced to zero length (evanescent), to prevent overlay
23310 leakage.
23311
23312 2011-06-30 Glenn Morris <rgm@gnu.org>
23313
23314 * w32-fns.el (w32-charset-info-alist): Declare.
23315
23316 * find-dired.el (find-grep-options): Simplify.
23317
23318 * term/ns-win.el (ns-set-resource): Declare.
23319
23320 * ses.el (row, col): Declare dynamic variables honestly.
23321
23322 * textmodes/reftex-parse.el (index-tags): Declare.
23323
23324 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23325
23326 * cus-edit.el (customize-push-and-save): New function.
23327
23328 * files.el (hack-local-variables-confirm): Use it.
23329
23330 * custom.el (load-theme): New arg NO-CONFIRM.
23331 Use customize-push-and-save (Bug#8720).
23332 (custom-enabled-themes): Doc fix.
23333
23334 * cus-theme.el (customize-create-theme)
23335 (custom-theme-merge-theme): Callers to load-theme changed.
23336
23337 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23338
23339 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23340 short URLs have at least one dot in them (bug #7614).
23341
23342 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23343 nil, because using a pty is apparently too slow (bug #895).
23344
23345 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23346
23347 * mail/sendmail.el (sendmail-query-once): New function.
23348 (sendmail-query-once-function): New variable.
23349
23350 2011-06-29 Glenn Morris <rgm@gnu.org>
23351
23352 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23353
23354 * ses.el (top-level): Require cl when compiling.
23355 (ses-set-localvars): Fix error statement.
23356 Call it at compile time to silence a storm of warnings.
23357
23358 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23359
23360 * window.el (normalize-live-buffer): Rename to
23361 window-normalize-buffer.
23362 (normalize-live-frame): Rename to window-normalize-frame.
23363 (normalize-any-window): Rename to window-normalize-any-window.
23364 (normalize-live-window): Rename to window-normalize-live-window.
23365 (make-window-atom): Rename to window-make-atom.
23366 (window-resize-reset): Rename to window--resize-reset.
23367 (window-resize-reset-1): Rename to window--resize-reset-1.
23368 (resize-mini-window): Rename to window--resize-mini-window.
23369 (resize-subwindows-skip-p): Rename to
23370 window--resize-subwindows-skip-p.
23371 (resize-subwindows-normal): Rename to
23372 window--resize-subwindows-normal.
23373 (resize-subwindows): Rename to window--resize-subwindows.
23374 (resize-other-windows): Rename to window--resize-siblings.
23375 (resize-this-window): Rename to window--resize-this-window.
23376 (resize-root-window): Rename to window--resize-root-window.
23377 (resize-root-window-vertically): Rename to
23378 window--resize-root-window-vertically.
23379 (normalize-buffer-to-display): Rename to
23380 window-normalize-buffer-to-display.
23381 (normalize-buffer-to-switch-to): Rename to
23382 window-normalize-buffer-to-switch-to.
23383 Correspondingly update all callers of the functions listed
23384 above.
23385 (display-buffer-alist, display-buffer-normalize-arguments)
23386 (display-buffer-normalize-options, display-buffer)
23387 (display-buffer-alist-set): Use "function" instead of
23388 "fun-with-args".
23389
23390 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23391
23392 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23393 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23394 debbugs.gnu.org. Mention acknowledgment email.
23395
23396 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23397
23398 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23399 buffer multibyteness, since it shouldn't matter.
23400
23401 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23402
23403 * window.el (display-buffer-in-side-window): Handle dedicated
23404 windows as in display-buffer-reuse-window.
23405 (display-buffer-normalize-alist): Use value of override
23406 specifier.
23407 (display-buffer-normalize-specifiers): Use value of
23408 other-window-means-other-frame specifier.
23409 (display-buffer-alist): Rewrite some texts in widgets.
23410 (display-buffer): Spread arguments when calling function
23411 specified by fun-with-args.
23412
23413 2011-06-28 Deniz Dogan <deniz@dogan.se>
23414
23415 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23416 Unnest `let'.
23417
23418 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23419 selectors (Bug#5732).
23420 (css-proprietary-nmstart-re): Use `regexp-opt'.
23421
23422 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23423
23424 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23425 (eshell-ls-date-format): New defcustom.
23426 (eshell-ls-file): Use it.
23427
23428 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23429
23430 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23431
23432 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23433
23434 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23435 (ange-ftp-make-tmp-name): New arg.
23436 (ange-ftp-file-local-copy): Use it.
23437
23438 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23439
23440 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23441 no-conversion (Bug#8870).
23442
23443 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23444
23445 * window.el (window-right, window-left, window-child)
23446 (window-child-count, window-last-child)
23447 (window-iso-combination-p, walk-window-tree-1)
23448 (window-atom-check-1, window-tree-1, delete-window)
23449 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23450 new naming conventions - window-vchild, window-hchild,
23451 window-next and window-prev are now called window-top-child,
23452 window-left-child, window-next-sibling and window-prev-sibling
23453 respectively.
23454 (resize-window-reset): Rename to window-resize-reset.
23455 (resize-window-reset-1): Rename to window-resize-reset-1.
23456 (resize-window): Rename to window-resize.
23457 (window-min-height, window-min-width)
23458 (resize-mini-window, resize-this-window, resize-root-window)
23459 (resize-root-window-vertically, adjust-window-trailing-edge)
23460 (enlarge-window, shrink-window, maximize-window)
23461 (minimize-window, delete-window, quit-restore-window)
23462 (split-window, balance-windows, balance-windows-area-adjust)
23463 (balance-windows-area, window-state-put-2)
23464 (display-buffer-even-window-sizes, display-buffer-set-height)
23465 (display-buffer-set-width, set-window-text-height)
23466 (fit-window-to-buffer): Rename all "resize-window" prefixed
23467 calls to use the "window-resize" prefix convention.
23468 (display-buffer-alist): Fix symbol for label specifier.
23469 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23470 corresponding specifier.
23471 Reported by Juanma Barranquero <lekktu@gmail.com>.
23472
23473 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23474
23475 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23476 convention.
23477 (ses-call-printer): Does not pass an empty string to formatter when the
23478 cell is empty to keep from barking printer Calc math-format-value.
23479
23480 2011-06-27 Richard Stallman <rms@gnu.org>
23481
23482 * battery.el (battery-mode-line-limit): New variable.
23483 (battery-update): Handle it.
23484
23485 * mail/rmailmm.el (rmail-mime-process-multipart):
23486 Handle truncated messages.
23487
23488 2011-06-27 Glenn Morris <rgm@gnu.org>
23489
23490 * progmodes/flymake.el (flymake-err-line-patterns):
23491 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23492
23493 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23494
23495 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23496 (ses--clean-!, ses--clean-_): New functions.
23497 (ses-range): Add configurability of readout order, and conversion
23498 to Calc vector.
23499
23500 * ses.el (ses-repair-cell-reference-all): New function.
23501 (ses-cell-symbol): Set macro as safe, so that it can be used in
23502 formulas.
23503
23504 * ses.el: Update cycle detection algorithm.
23505 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23506 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23507 (ses-set-localvars): New function.
23508 (ses-make-cell): Add property-list as a cell element.
23509 (ses-cell-property-get-fun, ses-cell-property-get)
23510 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23511 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23512 New functions.
23513 (ses-cell-property-set, ses-cell-property-pop)
23514 (ses-cell-property-get-handle): New macro.
23515 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23516 New aliases, used for code readability.
23517 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23518 cycle detection.
23519 (ses-self-reference-early-detection): New defcustom.
23520 (ses-formula-references): Robustify against self-referring cells.
23521 (ses-mode): Use ses-set-localvars.
23522 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23523 before lauching the update processing.
23524 (ses-initialize-Dijkstra-attempt): New function.
23525 (ses-recalculate-cell): Update for cycle detection based on
23526 Dijkstra algorithm.
23527
23528 * ses.el: Fix commenting and indenting convention.
23529
23530 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23531
23532 * bs.el (bs-cycle-next): Complete last change.
23533
23534 2011-06-27 Drew Adams <drew.adams@oracle.com>
23535
23536 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23537
23538 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23539
23540 * net/network-stream.el (network-stream-open-starttls):
23541 Don't re-get capabilities unless we've reestablished connection.
23542 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23543
23544 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23545 to binary to possibly avoid line encoding issues on Windows (among
23546 other things).
23547
23548 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23549
23550 * net/network-stream.el (open-network-stream): Return an :error
23551 saying what the problem was, if possible.
23552
23553 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23554 server.
23555
23556 * net/network-stream.el (network-stream-open-starttls): If we
23557 wanted to use STARTTLS, and the server offered it, but we weren't
23558 able to because we had no STARTTLS support, then close the connection.
23559 (open-network-stream): Return an :error element, if present.
23560
23561 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23562
23563 * hl-line.el (hl-line-sticky-flag): Doc fix.
23564 (global-hl-line-sticky-flag): New option (Bug#8323).
23565 (global-hl-line-highlight): Obey it.
23566
23567 * vc/vc.el (vc-revert-show-diff): Default to t.
23568
23569 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23570
23571 * allout-widgets.el (allout-widgets-post-command-business):
23572 Stop decorating intermediate isearch matches. They're not being
23573 undecorated when an isearch is continued past, and isearch
23574 automatically collapses them. This leads to "widget leaks", where
23575 decorated items accumulate in collapsed areas. Lines with lots of
23576 hidden widgets can slow down cursor travel, substantially.
23577 Too much complicated machinery would be needed to ensure undecoration,
23578 so we're doing without this nicety.
23579
23580 (allout-widgets-tally-string): Don't try to do a hash-table-count
23581 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23582 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23583 *Messages* when allout-widgets-maintain-tally is t.
23584
23585 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23586
23587 * window.el (display-buffer-normalize-argument): Rename to
23588 display-buffer-normalize-arguments. Handle special meaning of
23589 LABEL argument. Respect special-display-function when popping up
23590 a new frame. Fix code searching for a window showing the buffer
23591 on another frame.
23592 (display-buffer-normalize-specifiers):
23593 Call display-buffer-normalize-arguments.
23594 (display-buffer-in-window): Don't undedicate the window if its
23595 buffer remains the same.
23596 Reported by Drew Adams <drew.adams@oracle.com>.
23597 (display-buffer-alist): Add choice for same-window macro
23598 specfier.
23599 (display-buffer): Mention special meaning of LABEL argument in
23600 doc-string. Fix quoting. Don't pop up a new frame even as
23601 fallback.
23602
23603 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23604
23605 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23606 avoid deleting the current window in some cases (bug#8911).
23607
23608 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23609
23610 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23611 (Bug#8934)
23612
23613 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23614
23615 * net/network-stream.el (network-stream-open-starttls):
23616 Use built-in TLS support if `gnutls-available-p' is true.
23617 (network-stream-open-tls): Ditto.
23618
23619 2011-06-26 Leo Liu <sdl.web@gmail.com>
23620
23621 * register.el (registerv): New struct.
23622 (registerv-make): New function.
23623 (jump-to-register, describe-register-1, insert-register):
23624 Support the jump-func, print-func and insert-func slot of a registerv
23625 struct. (Bug#8415)
23626
23627 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23628
23629 * vc/vc.el (vc-revert-show-diff): New defcustom.
23630 (vc-diff-internal): New arg specifying diff buffer.
23631 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23632 reuse an existing *vc-diff* buffer (Bug#8927).
23633
23634 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23635
23636 2011-06-26 Glenn Morris <rgm@gnu.org>
23637
23638 * progmodes/f90.el (f90-critical-indent): New option.
23639 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23640 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23641 (f90-mode): Doc fix.
23642 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23643 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23644 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23645 (f90-match-end): Handle block, critical.
23646
23647 2011-06-25 Glenn Morris <rgm@gnu.org>
23648
23649 * calendar/diary-lib.el (diary-included-files): Doc fix.
23650 (diary-include-files): New function, extracted from
23651 diary-include-other-diary-files and diary-mark-included-diary-files.
23652 (diary-include-other-diary-files, diary-mark-included-diary-files):
23653 Just call diary-include-files.
23654 (diary-mark-entries): Reset diary-included-files on first call.
23655
23656 * calendar/diary-lib.el (diary-mark-entries)
23657 (diary-mark-included-diary-files):
23658 Visit included diary-files in temp buffers.
23659
23660 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23661 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23662 (f90-start-block-re, f90-imenu-generic-expression)
23663 (f90-looking-at-program-block-start, f90-no-block-limit):
23664 Add support for submodules.
23665
23666 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23667 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23668
23669 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23670
23671 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23672 buffer-file-type before setting its value, to avoid disastrous
23673 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23674
23675 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23676
23677 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23678
23679 * ses.el (ses-unload-function):
23680 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23681
23682 * proced.el (proced-unload-function):
23683 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23684
23685 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23686
23687 * server.el (server-create-window-system-frame): Add parameters arg.
23688 (server-process-filter): Doc fix. Handle frame-parameters.
23689
23690 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23691
23692 Fix bug#8730, bug#8781.
23693
23694 * loadhist.el (unload--set-major-mode): New function.
23695 (unload-feature): Use it.
23696
23697 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23698 (python-unload-function): New function.
23699
23700 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23701
23702 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23703
23704 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23705
23706 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23707 the candidates list.
23708
23709 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23710
23711 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23712
23713 2011-06-23 Richard Stallman <rms@gnu.org>
23714
23715 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23716 (rmail-variables): Set next-error-move-function.
23717 (rmail-what-message): Take argument POS.
23718 (rmail-next-error-move): New function.
23719
23720 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23721
23722 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23723 messages for adjacent non-terminals.
23724
23725 2011-06-23 Richard Stallman <rms@gnu.org>
23726
23727 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23728 (rmail-show-message-1): Preserve buffer modified flag.
23729 (rmail-start-mail): Don't specify use of rmail-mail-return;
23730 that's done by mail-bury now.
23731 (rmail-mail-return): Handle arg NEWBUF.
23732
23733 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23734
23735 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23736 SIZE is a number.
23737
23738 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23739
23740 * window.el (get-lru-window, get-mru-window)
23741 (get-largest-window): Never return a minibuffer window.
23742 (display-buffer-pop-up-window): Fix a bug that could lead to
23743 reusing the minibuffer window.
23744 (display-buffer): Pass original specifier argument to
23745 display-buffer-function instead of the normalized one.
23746 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23747
23748 2011-06-22 Leo Liu <sdl.web@gmail.com>
23749
23750 * minibuffer.el (completing-read-function)
23751 (completing-read-default): Move from minibuf.c.
23752
23753 2011-06-22 Richard Stallman <rms@gnu.org>
23754
23755 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23756 to Rmail even if not started by a special Rmail command.
23757
23758 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23759 Copy the buffer currently showing just one message.
23760
23761 2011-06-22 Roland Winkler <winkler@gnu.org>
23762
23763 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23764 (bibtex-clean-entry): First delete the old key so that a
23765 customized algorithm for generating the new key does not get
23766 confused by the old key.
23767 (bibtex-url): Obey regexp of first step.
23768 (bibtex-search-entries): Do not use add-to-list with local
23769 list-var.
23770
23771 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23772
23773 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23774 stored a user name, then query for the password first, instead of
23775 waiting for SMTP to give an error message and the trying again.
23776
23777 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23778
23779 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23780 BUFFER in call-process.
23781
23782 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23783
23784 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23785 QUIT twice.
23786 (smtpmail-try-auth-methods): Require user name and password from
23787 auth-source.
23788
23789 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23790
23791 * window.el (display-buffer-default-specifiers)
23792 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23793 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23794 (split-window): Normalize SIDE argument (Bug#8916).
23795
23796 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23797 (special-display-frame-alist, special-display-popup-frame):
23798 Remove duplicate declarations. These are now in window.el.
23799
23800 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23801
23802 * mail/smtpmail.el (smtpmail-via-smtp):
23803 Set :use-starttls-if-possible so that we always use STARTTLS if the
23804 server supports it. SMTP servers that support STARTTLS commonly
23805 require it.
23806
23807 * net/network-stream.el (network-stream-open-starttls): Support
23808 upgrading to STARTTLS always, even if we don't have built-in support.
23809 (open-network-stream): Add the :always-query-capabilities keyword.
23810
23811 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23812 upgrades with `open-network-stream', and rely solely on
23813 auth-source for all credentials. Big changes throughout the file,
23814 but in particular:
23815 (smtpmail-auth-credentials): Remove.
23816 (smtpmail-starttls-credentials): Remove.
23817 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23818 MAIL FROM, too.
23819
23820 * net/network-stream.el (network-stream-open-starttls):
23821 Provide support for client certificates both for external and built-in
23822 STARTTLS.
23823 (auth-source): Require.
23824 (open-network-stream): Document the :client-certificate keyword.
23825 (network-stream-certificate): Change cert-cert to cert and
23826 cert-key to key.
23827
23828 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23829
23830 * net/tramp-cache.el (top): Don't load the persistency file when
23831 "emacs -Q" has been called.
23832
23833 2011-06-21 Tim Harper <timcharper@gmail.com>
23834
23835 * term/ns-win.el (ns-initialize-window-system):
23836 Set application-specific `ApplePressAndHoldEnabled' system
23837 resource to NO as it is not yet supported by the NS port.
23838
23839 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23840
23841 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23842 (list-dynamic-libraries): ...not here.
23843
23844 2011-06-21 Leo Liu <sdl.web@gmail.com>
23845
23846 * subr.el (sha1): Implement sha1 using secure-hash.
23847
23848 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23849
23850 * window.el (display-buffer-alist): In default value do not
23851 enforce searching a window on any but the selected frame.
23852 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23853 (display-buffer-select-window): Remove function.
23854 (display-buffer-in-window): When a window on another frame gets
23855 reused, do not select it any more but just raise its frame if
23856 necessary (Bug#8851) and (Bug#8856).
23857 (display-buffer-normalize-options): Handle pop-up-frames related
23858 options more faithfully.
23859 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23860 window if it is on another frame.
23861 (display-buffer-alist, display-buffer-default-specifiers):
23862 Don't make new frame unsplittable by default.
23863 (display-buffer-normalize-argument): Fix doc-string typo and use
23864 'same-frame-other-window instead of 'other-window when associating
23865 with display-buffer-macro-specifiers.
23866
23867 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23868
23869 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23870 New functions.
23871 (5x5-mode-map, 5x5-mode-menu): Bind them.
23872 (5x5-draw-grid): Tweak the solver's rendering.
23873
23874 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23875
23876 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23877 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23878
23879 2011-06-21 Drew Adams <drew.adams@oracle.com>
23880
23881 * menu-bar.el: Use function variable instead of switch-to-buffer.
23882 (menu-bar-select-buffer-function): New variable.
23883 (menu-bar-update-buffers): Use it (bug#8876).
23884
23885 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23886
23887 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23888 variable's status.
23889
23890 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23891
23892 * x-dnd.el (x-dnd-version-from-flags)
23893 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23894 and long as number (Bug#8899).
23895 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23896
23897 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23898
23899 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23900 (completion-try-completion, completion-all-completions): Compute the
23901 metadata argument if it's missing; make it optional (bug#8795).
23902
23903 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23904 (widget-complete): Use new :completion-function property.
23905 (widget-completions-at-point): New function.
23906 (default): Use :completion-function instead of :complete.
23907 (widget-default-completions): Rename from widget-default-complete;
23908 Rewrite.
23909 (widget-string-complete, widget-file-complete, widget-color-complete):
23910 Remove functions.
23911 (file, symbol, function, variable, coding-system, color):
23912 * international/mule-cmds.el (default-input-method, charset)
23913 (language-info-custom-alist):
23914 * cus-edit.el (face): Use new property :completions.
23915
23916 * progmodes/pascal.el (pascal-completions-at-point): New function.
23917 (pascal-mode): Use it.
23918 (pascal-mode-map): Use completion-at-point.
23919 (pascal-toggle-completions): Make obsolete.
23920 (pascal-complete-word, pascal-show-completions):
23921 * progmodes/octave-mod.el (octave-complete-symbol):
23922 Redefine as obsolete alias.
23923 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23924 Signal absence of completion info for old Octave,
23925 (inferior-octave-complete): Redefine as obsolete alias.
23926 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23927 (meta-completions-at-point): Rename from meta-complete-symbol and
23928 adapt it for use on completion-at-point-functions.
23929 (meta-common-mode): Use it.
23930 (meta-looking-at-backward, meta-match-buffer): Remove.
23931 (meta-complete-symbol): Redefine as obsolete alias.
23932 (meta-common-mode-map): Use completion-at-point.
23933 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23934 (makefile-mode-map): Use completion-at-point.
23935 (makefile-completions-at-point): Rename from makefile-complete and
23936 adapt it for use on completion-at-point-functions.
23937 (makefile-mode): Use it.
23938 (makefile-complete): Redefine as obsolete alias.
23939
23940 2011-06-20 Deniz Dogan <deniz@dogan.se>
23941
23942 * net/rcirc.el: Delete trailing whitespaces once and for all.
23943
23944 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23945
23946 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23947
23948 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23949
23950 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23951
23952 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23953
23954 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23955
23956 * window.el (display-buffer-other-window-means-other-frame):
23957 Call display-buffer-normalize-alist.
23958 (display-buffer-normalize-specifiers-1): Rename to
23959 display-buffer-normalize-argument. New argument other-frame.
23960 Rewrite.
23961 (display-buffer-normalize-specifiers-2): Rename to
23962 display-buffer-normalize-options.
23963 (display-buffer-normalize-alist-1): New function.
23964 (display-buffer-normalize-specifiers-3): Rename to
23965 display-buffer-normalize-alist.
23966 Call display-buffer-normalize-alist-1.
23967 (display-buffer-normalize-options-inhibit): New variable.
23968 (display-buffer-normalize-specifiers): Rewrite calling
23969 display-buffer-normalize-alist,
23970 display-buffer-normalize-argument, and
23971 display-buffer-normalize-options. Don't call the latter if
23972 display-buffer-normalize-options-inhibit is non-nil.
23973 (frame-auto-delete): New option.
23974 (window-deletable-p): Use frame-auto-delete.
23975 (window-list-no-nils, window-state-ignored-parameters)
23976 (window-state-get-1, window-state-get, window-state-put-list)
23977 (window-state-put-1, window-state-put-2, window-state-put):
23978 New functions.
23979 (display-buffer-normalize-options): Move special-display-p group
23980 after pop-up-frame group (Bug#8851) and (Bug#8856).
23981
23982 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23983
23984 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23985 groups (Bug#8776).
23986 (rx-submatch-n): New function.
23987 (rx): Document it.
23988
23989 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23990 (Bug#8768).
23991
23992 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23993
23994 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23995
23996 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23997 anytime existing face settings are present (Bug#8889).
23998
23999 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24000 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24001 Remove unused argument.
24002
24003 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24004
24005 * window.el (display-buffer-default-specifiers):
24006 Remove pop-up-frame. Add pop-up-window-min-height,
24007 pop-up-window-min-width, and another reuse-window specifier
24008 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24009 (display-buffer-normalize-specifiers-2):
24010 Handle split-height-threshold and split-width-threshold also when
24011 pop-up-windows is unset. Add a reuse-window specifier for the
24012 case popping up a new window fails.
24013 (special-display-popup-frame): Remove double quoting.
24014 (display-buffer-normalize-specifiers-1): Fix thinko.
24015
24016 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24017
24018 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24019 according to comint-completion-addsuffix.
24020
24021 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24022 (pcomplete-suffix-list): Mark as obsolete.
24023 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24024 pcomplete-seen in the closure.
24025 (pcomplete-comint-setup): Setup completion-at-point as well.
24026 (pcomplete--entries): New function.
24027 (pcomplete--env-regexp): New var.
24028 (pcomplete-entries): Rewrite to work with partial-completion and
24029 without relying on pcomplete-suffix-list.
24030 (pcomplete-pare-list): Remove, unused.
24031
24032 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24033
24034 * window.el (display-buffer-alist): Set pop-up-window-min-height
24035 and pop-up-window-min-width in default value. Reported by
24036 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24037 other-window-means-other-frame.
24038 (display-buffer-macro-specifiers): Comment out entry for
24039 other-window specifier.
24040 (display-buffer-other-window-means-other-frame): New function.
24041 (display-buffer-normalize-specifiers-1): New arguments
24042 buffer-name and label. Treat other-window case specially.
24043 (display-buffer-normalize-specifiers-2): Treat other-window case
24044 specially.
24045 (display-buffer-normalize-specifiers-3): New function.
24046 (display-buffer-normalize-specifiers):
24047 Call display-buffer-normalize-specifiers-3.
24048
24049 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24050
24051 * window.el (same-window-p): Fix two typos introduced when
24052 adding with-no-warnings.
24053 (display-buffer-normalize-specifiers-1): Don't check
24054 pop-up-frames for 'unset initialization.
24055 (display-buffer-normalize-specifiers-2): Major rewrite using
24056 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24057 (pop-up-frames, display-buffer-reuse-frames)
24058 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24059 Suggested by David Engster <deng@randomsample.de>.
24060 (even-window-heights): Initialize to 'unset.
24061 (display-buffer-alist-set): Handle new 'unset initializations.
24062 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24063 other window case.
24064
24065 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24066
24067 * window.el (display-buffer-normalize-specifiers-1):
24068 Respect current value of pop-up-frames for most reasonable values of
24069 second argument of display-buffer (Bug#8865).
24070 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24071 (switch-to-buffer-other-window-same-frame)
24072 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24073 Adams (Bug#8875).
24074 (display-buffer): Don't check noninteractive when calling
24075 display-buffer-pop-up-frame.
24076 (display-buffer-pop-up-frame): Never pop up a frame in
24077 noninteractive mode (Bug#8857).
24078 (enlarge-window, shrink-window): Don't report an error when the
24079 window can't be resized as requested (Bug#8862).
24080
24081 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24082
24083 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24084
24085 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24086
24087 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24088
24089 2011-06-15 Alan Mackenzie <acm@muc.de>
24090
24091 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24092 for declarators, disable knr checking to speed up for normal files.
24093 2: Refactor, replacing a sequence of nested if forms by a cond form.
24094
24095 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24096
24097 * net/network-stream.el (open-network-stream): Add the keyword
24098 :always-query-capabilities for the case where you want to force a
24099 `plain' network connection, but the protocol still requires the
24100 capabilitiy command (i.e., SMTP and EHLO).
24101
24102 * subr.el (process-live-p): Rename from `process-alive-p' for
24103 consistency with other `-live-p' functions.
24104
24105 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24106
24107 * window.el (same-window-buffer-names, same-window-regexps)
24108 (special-display-frame-alist, special-display-popup-frame)
24109 (special-display-function, special-display-buffer-names)
24110 (special-display-regexps, pop-up-frame-alist)
24111 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24112 (pop-up-windows, split-window-preferred-function)
24113 (split-height-threshold, split-width-threshold, even-window-heights)
24114 (display-buffer-mark-dedicated): Don't encourage the use of
24115 display-buffer-alist from Elisp code.
24116
24117 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24118
24119 * progmodes/python.el (python-mode): Derive from prog-mode.
24120 * progmodes/ps-mode.el (ps-mode):
24121 * progmodes/mixal-mode.el (mixal-mode):
24122 * progmodes/cfengine.el (cfengine-mode):
24123 * progmodes/ld-script.el (ld-script-mode): Likewise.
24124
24125 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24126
24127 * window.el (display-buffer-alist): Trim default value to avoid
24128 popping up a new frame (Bug#8857) or reusing an arbitrary window
24129 on another frame.
24130 (display-buffer): Do not fall back on popping up a new frame in
24131 batch mode (Bug#8857).
24132
24133 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24134
24135 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24136 (custom-theme-summary): New function.
24137 (customize-themes): Use it.
24138
24139 2011-06-13 Glenn Morris <rgm@gnu.org>
24140
24141 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24142
24143 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24144
24145 * help.el (help-window): Remove variable.
24146 (help-window-point-marker, temp-buffer-max-height)
24147 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24148 (help-print-return-message): Don't set help-window.
24149 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24150 (help-window-setup-finish): Remove.
24151 (help-window-display-message, help-window-setup)
24152 (with-help-window): Major rewrite based on new
24153 display-buffer-window variable.
24154
24155 * help-mode.el (help-mode-finish): Remove help-window related
24156 code.
24157
24158 * view.el (view-exits-all-viewing-windows): Remove reference to
24159 view-return-to-alist in doc-string.
24160 (view-return-to-alist): Make obsolete.
24161 (view-buffer): Call pop-to-buffer-same-window and remove
24162 undo-window code.
24163 (view-buffer-other-window): Call pop-to-buffer-other-window and
24164 simplify code. Ignore second argument.
24165 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24166 simplify code. Ignore second argument.
24167 (view-return-to-alist-update): Make obsolete.
24168 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24169 Rewrite using quit-restore window parameters.
24170 (view-mode-exit): Rename second argument to EXIT-ONLY.
24171 Rewrite using quit-restore-window.
24172 (View-exit, View-exit-and-edit, View-leave, View-quit)
24173 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24174 appropriate arguments.
24175 (view-end-message): Use quit-restore window parameter.
24176
24177 * window.el (display-buffer-function): Rewrite doc-string.
24178 (display-buffer-window, display-buffer-alist): New variables.
24179 (display-buffer-split-specifiers)
24180 (display-buffer-side-specifiers)
24181 (display-buffer-macro-specifiers): New constants.
24182 (display-buffer-even-window-sizes, display-buffer-set-height)
24183 (display-buffer-set-width, display-buffer-select-window)
24184 (display-buffer-in-window, display-buffer-reuse-window)
24185 (display-buffer-split-window-1, display-buffer-split-window)
24186 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24187 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24188 (display-buffer-in-side-window, normalize-buffer-to-display)
24189 (display-buffer-normalize-specifiers-1)
24190 (display-buffer-normalize-specifiers-2)
24191 (display-buffer-normalize-specifiers, display-buffer-frame):
24192 New functions.
24193 (display-buffer): Major rewrite.
24194 (display-buffer-other-window, display-buffer-other-frame)
24195 (pop-to-buffer, switch-to-buffer-other-window)
24196 (switch-to-buffer-other-frame): Rewrite.
24197 (display-buffer-same-window, display-buffer-same-frame)
24198 (display-buffer-same-frame-other-window)
24199 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24200 (pop-to-buffer-other-window)
24201 (pop-to-buffer-same-frame-other-window)
24202 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24203 (switch-to-buffer-other-window-same-frame): New functions.
24204 (same-window-p, special-display-p): Rewrite disabling warnings.
24205 Make obsolete.
24206 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24207 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24208 Make obsolete
24209 (same-window-buffer-names, same-window-regexps)
24210 (special-display-frame-alist, special-display-popup-frame)
24211 (special-display-function, special-display-buffer-names)
24212 (special-display-regexps, pop-up-frame-alist)
24213 (pop-up-frame-function, split-window-preferred-function)
24214 (split-height-threshold, split-width-threshold)
24215 (even-window-heights): Make obsolete.
24216
24217 2011-06-12 Glenn Morris <rgm@gnu.org>
24218
24219 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24220 Misc simplifications.
24221
24222 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24223
24224 * window.el (window-safely-shrinkable-p): Restore function which
24225 was inadvertently removed in change from 2011-06-11. Declare as
24226 obsolete.
24227
24228 * calendar/calendar.el (calendar-generate-window):
24229 Use window-iso-combined-p instead of combination of one-window-p and
24230 window-safely-shrinkable-p.
24231
24232 2011-06-12 Glenn Morris <rgm@gnu.org>
24233
24234 * progmodes/fortran.el (fortran-mode-syntax-table):
24235 * progmodes/f90.el (f90-mode-syntax-table):
24236 Set % to punctuation. (Bug#8820)
24237 (f90-find-tag-default): Remove, no longer needed.
24238
24239 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24240
24241 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24242
24243 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24244
24245 * image.el (image-animated-p): Return animation delay in seconds.
24246 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24247 (image-animate-timeout): Remove DELAY argument. Don't assume
24248 every subimage has the same delay; get it from image-animated-p.
24249 (image-animate): Caller changed.
24250
24251 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24252
24253 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24254 to ignored backtrace functions.
24255
24256 2011-06-11 Glenn Morris <rgm@gnu.org>
24257
24258 * calendar/appt.el (appt-disp-window-function): Doc fix.
24259 (appt-check): Handle overlapping appointments. (Bug#8337)
24260
24261 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24262
24263 * window.el (window-tree-1, window-tree): New functions, moving
24264 the latter to window.el.
24265 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24266 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24267 (bw-refresh-edges): Remove.
24268 (balance-windows-1, balance-windows-2): New functions.
24269 (balance-windows): Rewrite in terms of window tree functions,
24270 balance-windows-1 and balance-windows-2.
24271 (bw-adjust-window): Remove.
24272 (balance-windows-area-adjust): New function with functionality of
24273 bw-adjust-window but using resize-window.
24274 (set-window-text-height): Rewrite doc-string.
24275 Use normalize-live-window and resize-window.
24276 (enlarge-window-horizontally, shrink-window-horizontally):
24277 Rename argument to DELTA.
24278 (window-buffer-height): New function.
24279 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24280 Rewrite using new window resize routines.
24281 (kill-buffer-and-window, mouse-autoselect-window-select):
24282 Use ignore-errors instead of condition-case.
24283 (quit-window): Call delete-frame instead of delete-windows-on
24284 for the only buffer on frame.
24285
24286 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24287
24288 * loadup.el (top-level): Load window before files for the sake
24289 of replace-buffer-in-windows.
24290
24291 * files.el (read-buffer-to-switch)
24292 (switch-to-buffer-other-window)
24293 (switch-to-buffer-other-frame, display-buffer-other-frame):
24294 Move to window.el.
24295
24296 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24297 (previous-buffer): Move to window.el.
24298
24299 * bindings.el (unbury-buffer): Move to window.el.
24300
24301 * window.el (delete-other-windows-vertically): Move after
24302 definition of delete-other-windows.
24303 (other-window, delete-windows-on, replace-buffer-in-windows):
24304 Move here from window.c.
24305 (record-window-buffer, unrecord-window-buffer)
24306 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24307 (switch-to-next-buffer): New functions.
24308 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24309 from simple.el. Call switch-to-next-buffer.
24310 (previous-buffer): Move here from simple.el.
24311 Call switch-to-prev-buffer.
24312 (bury-buffer): Move here from buffer.c. Switch to previous
24313 buffer when window cannot be deleted.
24314 (unbury-buffer): Move here from bindings.el.
24315 (ctl-x-map): Move binding for other-window from window.c to
24316 here.
24317 (read-buffer-to-switch, switch-to-buffer-other-window)
24318 (switch-to-buffer-other-frame): Move here from files.el.
24319 (normalize-buffer-to-switch-to): New functions.
24320 (switch-to-buffer): Move here from buffer.c.
24321 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24322
24323 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24324
24325 * window.el (window-min-height, window-min-width): Move here
24326 from window.c. Add defcustoms and rewrite doc-strings.
24327 (resize-mini-window, resize-window): New functions.
24328 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24329 Move here from window.c.
24330 (maximize-window, minimize-window): New functions.
24331 (delete-window, delete-other-windows, split-window): Move here
24332 from window.c.
24333 (window-split-min-size): New function.
24334 (split-window-keep-point): Mention split-window-above-each-other
24335 instead of split-window-vertically.
24336 (split-window-above-each-other, split-window-vertically):
24337 Rename split-window-vertically to split-window-above-each-other
24338 and provide defalias for old definition.
24339 (split-window-side-by-side, split-window-horizontally):
24340 Rename split-window-horizontally to split-window-side-by-side
24341 and provide defalias for the old definition.
24342 (ctl-x-map): Move bindings for delete-window,
24343 delete-other-windows and enlarge-window here from window.c.
24344 Replace bindings for split-window-vertically and
24345 split-window-horizontally by bindings for
24346 split-window-above-each-other and split-window-side-by-side.
24347
24348 * cus-start.el (all): Remove entries for window-min-height and
24349 window-min-width. Add entries for window-splits and
24350 window-nest.
24351
24352 2011-06-09 Glenn Morris <rgm@gnu.org>
24353
24354 * calendar/appt.el (appt-mode-line): New function.
24355 (appt-check, appt-disp-window): Use it.
24356
24357 * files.el (hack-one-local-variable-eval-safep):
24358 Allow minor-modes with explicit +/-1 arguments.
24359
24360 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24361
24362 * term/xterm.el (xterm): Add defgroup.
24363 (xterm-extra-capabilities): Add defcustom to supply known xterm
24364 capabilities, skip querying them, or query them (default).
24365 (terminal-init-xterm): Use it.
24366 (terminal-init-xterm-modify-other-keys): New function to set up
24367 modifyOtherKeys support to simplify `terminal-init-xterm'.
24368
24369 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24370
24371 * window.el (resize-window-reset, resize-window-reset-1)
24372 (resize-subwindows-skip-p, resize-subwindows-normal)
24373 (resize-subwindows, resize-other-windows, resize-this-window)
24374 (resize-root-window, resize-root-window-vertically)
24375 (window-deletable-p, window-or-subwindow-p)
24376 (frame-root-window-p): New functions.
24377
24378 2011-06-09 Glenn Morris <rgm@gnu.org>
24379
24380 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24381 (ange-ftp-get-files): Use it.
24382
24383 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24384
24385 * mail/sendmail.el (mail-recover-1, mail-recover):
24386 * files.el (recover-file, recover-session):
24387 Handle dired-listing-switches not being just a single short option.
24388
24389 2011-06-09 Glenn Morris <rgm@gnu.org>
24390
24391 * calendar/appt.el (appt-display-message, appt-disp-window):
24392 Handle lists of appointments.
24393
24394 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24395
24396 * window.el (one-window-p): Move down in code.
24397 Rewrite doc-string.
24398 (window-current-scroll-bars): Rewrite doc-string.
24399 Normalize live window argument.
24400 (walk-windows, get-window-with-predicate, count-windows):
24401 Rewrite doc-string. Use window-list-1.
24402 (window-in-direction-2, window-in-direction, get-mru-window):
24403 New functions.
24404
24405 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24406
24407 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24408 Doc fix (Bug#8713).
24409
24410 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24411
24412 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24413
24414 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24415
24416 * loadhist.el (unload-feature-special-hooks):
24417 Add `comint-output-filter-functions'.
24418
24419 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24420
24421 * calendar/appt.el (appt-check): Move some initializations into the let.
24422
24423 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24424
24425 * window.el (window-height): Defalias to window-total-height.
24426 (window-width): Defalias to window-body-width.
24427
24428 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24429
24430 * image-mode.el (image-toggle-animation): New command.
24431 (image-mode-map): Bind it to RET.
24432 (image-mode): Update message.
24433 (image-toggle-display-image): Avoid a spurious cache flush.
24434 (image-transform-rotation): Doc fix.
24435 (image-transform-properties): Return quickly in the normal case.
24436 (image-animate-loop): Rename from image-animate-max-time.
24437
24438 * image.el (image-animate-max-time): Move to image-mode.el.
24439 (create-animated-image): Remove unnecessary function.
24440 (image-animate): Rename from image-animate-start. New arg.
24441 (image-animate-stop): Remove; just use image-animate-timer.
24442 (image-animate-timer): Use car-safe.
24443 (image-animate-timeout): Rename argument.
24444
24445 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24446
24447 * window.el (get-lru-window, get-largest-window): Move here from
24448 window.c. Rename first argument to ALL-FRAMES.
24449 Rephrase doc-strings.
24450 (get-buffer-window-list): Rewrite using window-list-1.
24451 Rephrase doc-string.
24452 (window-safe-min-height, window-safe-min-width): New constants.
24453 (window-size-ignore, window-min-size, window-min-size-1)
24454 (window-sizable, window-sizable-p, window-size-fixed-1)
24455 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24456 (window-max-delta-1, window-max-delta, window-resizable)
24457 (window-resizable-p, window-total-height, window-total-width)
24458 (window-body-width): New functions.
24459 (window-full-height-p, window-full-width-p): Rewrite using
24460 window-total-size.
24461 (window-body-height): Rewrite using window-body-size.
24462
24463 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24464
24465 * window.el (window-right, window-left, window-child)
24466 (window-child-count, window-last-child, window-any-p)
24467 (normalize-live-buffer, normalize-live-frame)
24468 (normalize-any-window, normalize-live-window)
24469 (window-iso-combination-p, window-iso-combined-p)
24470 (window-iso-combinations)
24471 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24472 (windows-with-parameter, window-with-parameter)
24473 (window-atom-root, make-window-atom, window-atom-check-1)
24474 (window-atom-check, window-side-check, window-check):
24475 New functions.
24476 (ignore-window-parameters, window-sides, window-sides-vertical)
24477 (window-sides-slots): New variables.
24478 (window-size-fixed): Move down in code. Minor doc-string fix.
24479
24480 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24481
24482 * comint.el (comint-dynamic-complete-as-filename)
24483 (comint-dynamic-complete-filename): Correctly call
24484 completion-in-region.
24485
24486 2011-06-05 Deniz Dogan <deniz@dogan.se>
24487
24488 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24489 in last change.
24490
24491 2011-06-05 Deniz Dogan <deniz@dogan.se>
24492
24493 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24494 (rcirc): Use it to prompt for encryption.
24495
24496 2011-06-05 Roland Winkler <winkler@gnu.org>
24497
24498 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24499 (bibtex-search-entries): New command bound to C-c C-a.
24500 (bibtex-display-entries): New function.
24501
24502 2011-06-05 Roland Winkler <winkler@gnu.org>
24503
24504 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24505 (bibtex-insert-kill): After yanking insert newline if necessary.
24506 (bibtex-initialize): Call bibtex-string-files-init only once.
24507 (bibtex-mode): Do not call easy-menu-add.
24508 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24509 (bibtex-yank): Set arg properly if nil.
24510
24511 2011-06-05 Roland Winkler <winkler@gnu.org>
24512
24513 * textmodes/bibtex.el (bibtex-search-entry-globally):
24514 New variable.
24515 (bibtex-search-entry): Use it.
24516
24517 2011-06-05 Roland Winkler <winkler@gnu.org>
24518
24519 * textmodes/bibtex.el (bibtex-entry-format): New option
24520 sort-fields.
24521 (bibtex-format-entry, bibtex-reformat): Honor this option.
24522 (bibtex-parse-entry): Return fields in proper order.
24523
24524 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24525
24526 * doc-view.el (doc-view-remove-if): Move computation of result out
24527 of `dolist' to silence misleading lexical-binding warning.
24528
24529 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24530
24531 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24532 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24533
24534 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24535
24536 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24537 "SunOS 5.10".
24538
24539 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24540
24541 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24542 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24543 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24544 (tramp-parse-putty):
24545 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24546 (tramp-completion-function-alist-ssh)
24547 (tramp-completion-function-alist-telnet)
24548 (tramp-completion-function-alist-su)
24549 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24550 cookie.
24551
24552 * net/tramp-ftp.el:
24553 * net/tramp-sh.el:
24554 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24555 load "tramp.el" `tramp-set-completion-function'.
24556
24557 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24558
24559 * shell.el: Require and use pcomplete.
24560 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24561 (shell-completion-vars): Set pcomplete-default-completion-function.
24562
24563 2011-06-04 Deniz Dogan <deniz@dogan.se>
24564
24565 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24566 `memq' (Bug#8799).
24567
24568 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24569
24570 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24571
24572 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24573
24574 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24575 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24576 * vc/log-view.el (log-view-beginning-of-defun):
24577 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24578 (smerge-refine-forward, smerge-refine-chopup-region):
24579 Silence warning for unused `dotimes' counter variables.
24580
24581 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24582
24583 * net/tramp.el (tramp-with-progress-reporter): Rename from
24584 with-progress-reporter. Use `declare'.
24585 * net/tramp-smb.el:
24586 * net/tramp-sh.el:
24587 * net/tramp-gvfs.el: Update all uses.
24588
24589 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24590
24591 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24592 buffer isn't killed before making it current.
24593
24594 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24595
24596 Silence various byte-compiler warnings.
24597 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24598 `access-type' and new obsolescence format.
24599 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24600 new format.
24601 (byte-compile-check-variable): New `access-type' argument.
24602 Only warn if the access-type is obsolete.
24603 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24604 (byte-compile-variable-set): Adjust callers.
24605 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24606 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24607 setting it as obsolete.
24608 * simple.el (minibuffer-completing-symbol):
24609 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24610 access as obsolete.
24611 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24612 obsolete yet.
24613 * international/quail.el (quail-mouse-choose-completion): Remove unused
24614 code referring to obsolete var.
24615 (quail-choose-completion-string): Remove.
24616 * server.el (server-clients-with, server-kill-buffer-query-function)
24617 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24618 * proced.el (proced-send-signal):
24619 * emacs-lisp/lisp.el (lisp-complete-symbol):
24620 Replace completion-annotate-function with completion-extra-properties.
24621
24622 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24623
24624 * simple.el (goto-line): Use read-number.
24625 (overriding-map-is-bound): Remove.
24626 (saved-overriding-map): Change default.
24627 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24628 Take the map as argument.
24629 (universal-argument, negative-argument, digit-argument): Use it.
24630 (restore-overriding-map): Adjust.
24631 (do-auto-fill): Use fill-forward-paragraph.
24632 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24633
24634 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24635 (minibuffer-inactive-mode): New major mode.
24636 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24637 the *Messages* buffer" hack.
24638 (mouse-popup-menubar): Don't burp if the event is a normal key.
24639
24640 Miscellaneous tweaks.
24641 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24642 lexical scoping as in subr.el's dolist and dotimes.
24643 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24644 Silence compiler warning.
24645 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24646 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24647 * international/ccl.el (ccl-compile): Trivial simplification.
24648 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24649 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24650 `printflag' argument.
24651 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24652 Purecopy the whole obsolescence data.
24653
24654 2011-06-01 Leo Liu <sdl.web@gmail.com>
24655
24656 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24657 improve doc-string as suggested by Marco Pessotto
24658 <melmothx@gmail.com>.
24659 (rcirc-print): Fix last change.
24660
24661 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24662
24663 * minibuffer.el (complete-with-action): Return nil for the metadata and
24664 boundaries of non-functional tables.
24665 (completion-table-dynamic): Return nil for the metadata.
24666 (completion-table-with-terminator): Add default case, using
24667 complete-with-action.
24668 (completion--metadata): New function.
24669 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24670 to try and avoid pathological performance problems.
24671 (completion--embedded-envvar-table): Return `category' metadata.
24672
24673 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24674
24675 * subr.el (process-alive-p): New tiny convenience function.
24676
24677 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24678
24679 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24680 content but also its previous major mode.
24681
24682 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24683
24684 * emacs-lisp/debug.el (debug): Restore the previous content of the
24685 *Backtrace* buffer when we exit with C-M-c.
24686
24687 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24688
24689 * minibuffer.el: Add metadata method to completion tables.
24690 (completion-category-overrides): New defcustom.
24691 (completion-metadata, completion--field-metadata)
24692 (completion-metadata-get, completion--styles)
24693 (completion--cycle-threshold): New functions.
24694 (completion-try-completion, completion-all-completions):
24695 Add `metadata' argument to choose completion-styles.
24696 (completion--do-completion): Use metadata to choose cycling.
24697 (completion-all-sorted-completions): Use metadata for sorting.
24698 Remove :completion-cycle-penalty which is not needed any more.
24699 (completion--try-word-completion): Add `metadata' argument.
24700 (minibuffer-completion-help): Check metadata for annotation function
24701 and sorting.
24702 (completion-file-name-table): Return `category' metadata.
24703 (minibuffer-completing-file-name): Make obsolete.
24704 * simple.el (minibuffer-completing-symbol): Make obsolete.
24705 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24706 completion-try-completion.
24707
24708 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24709
24710 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24711
24712 2011-05-30 Leo Liu <sdl.web@gmail.com>
24713
24714 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24715 (rcirc-print): Decode all incoming messages (bug#8744).
24716 (rcirc-decode-coding-system): Allow value nil for automatic coding
24717 system detection.
24718
24719 2011-06-01 Glenn Morris <rgm@gnu.org>
24720
24721 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24722
24723 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24724
24725 * image.el (image-animate-max-time): Allow nil and t values.
24726 Default to nil.
24727 (create-animated-image): Doc fix.
24728 (image-animate-start): Remove second arg; just use
24729 image-animate-max-time.
24730 (image-animate-timeout): Doc fix. Args changed.
24731
24732 * image-mode.el (image-toggle-display-image): Ensure that the
24733 image spec passed to the animate timer is the same object as in
24734 the buffer's display property (Bug#6981).
24735 (image-transform-properties): Doc fix.
24736
24737 * image.el (image-animate-max-time): Default to nil.
24738
24739 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24740
24741 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24742 entire buffer list (Bug#8184).
24743
24744 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24745
24746 * image.el (imagemagick-types-inhibit)
24747 (imagemagick-register-types): Doc fix.
24748
24749 2011-05-29 Deniz Dogan <deniz@dogan.se>
24750
24751 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24752 default.
24753
24754 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24755
24756 * select.el: Don't perform clipboard-manager saving in hooks;
24757 leave the hooks empty.
24758
24759 2011-05-28 Leo Liu <sdl.web@gmail.com>
24760
24761 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24762 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24763 (occur-edit-mode): New major mode (Bug#8463).
24764 (occur-after-change-function): New function.
24765 (occur-engine): Give Occur tags a read-only property.
24766
24767 2011-05-28 Kevin Ryde <user42@zip.com.au>
24768
24769 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24770
24771 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24772
24773 * bindings.el (help-echo): Make the initial non-indicator dash
24774 empty on graphical terminals (Bug#7295).
24775
24776 * files.el (auto-mode-alist): Move config rule after the
24777 in-stripping one (Bug#8547).
24778
24779 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24780
24781 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24782 setting (Bug#8740).
24783
24784 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24785
24786 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24787 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24788 (Bug#8539).
24789
24790 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24791
24792 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24793
24794 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24795
24796 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24797 (hs-hide-block-at-point, hs-find-block-beginning)
24798 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24799 (Bug#8279).
24800
24801 2011-05-28 Glenn Morris <rgm@gnu.org>
24802
24803 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24804
24805 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24806
24807 * help-fns.el (describe-function-1): If the function is a derived
24808 major mode, print the parent mode.
24809
24810 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24811 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24812
24813 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24814
24815 * minibuffer.el (completion--capf-wrapper): Check applicability before
24816 returning non-nil for non-exclusive completion data.
24817 * progmodes/etags.el (tags-completion-at-point-function):
24818 * info-look.el (info-lookup-completions-at-point): Mark as
24819 non-exclusive.
24820 (info-complete): Adjust accordingly.
24821
24822 * info-look.el: Convert to lexical-binding and completion-at-point.
24823 (info-lookup-completions-at-point): New function.
24824 (info-complete): Use it and completion-in-region.
24825
24826 2011-05-28 Drew Adams <drew.adams@oracle.com>
24827
24828 * isearch.el: Let M-e start with point at the first mismatched char.
24829 (isearch-fail-pos): New function.
24830 (isearch-edit-string): Use it.
24831
24832 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24833
24834 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24835
24836 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24837
24838 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24839 traversal functions for avl-trees.
24840 (avl-tree--stack): New struct.
24841 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24842 (avl-tree-enter): Add optional `updatefun' arg.
24843 (avl-tree--do-enter): Add optional `updatefun' arg.
24844 Change return value.
24845 (avl-tree-delete): Add optional `test' and `nilflag' args.
24846 (avl-tree--do-delete): Add `test' and `nilflag' args.
24847 Change return value.
24848 (avl-tree-member): Add optional `nilflag'
24849 (avl-tree-member-p): New function.
24850 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24851 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24852 (avl-tree-stack-empty-p): New functions.
24853
24854 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24855 avl-tree--del-balance1 and make it work both ways.
24856 (avl-tree--del-balance2): Remove.
24857 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24858 make it work both ways.
24859 (avl-tree--enter-balance2): Remove.
24860 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24861 New macros.
24862 (avl-tree--mapc, avl-tree-map): Add direction argument.
24863
24864 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24865
24866 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24867
24868 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24869
24870 * select.el: Support clipboard managers with built-in function
24871 x-clipboard-manager-save, via delete-frame-functions and
24872 kill-emacs-hook.
24873 (xselect-convert-to-targets): Add MULTIPLE target to list.
24874 (xselect-convert-to-save-targets): New function.
24875
24876 2011-05-27 Kenichi Handa <handa@m17n.org>
24877
24878 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24879 let-binding rfc2047-encode-encoded-words to nil.
24880
24881 2011-05-27 Glenn Morris <rgm@gnu.org>
24882
24883 * mail/emacsbug.el: Don't require url-util.
24884
24885 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24886
24887 * files.el (set-auto-mode):
24888 Also respect mode: entries at the end of the file. (Bug#8586)
24889
24890 2011-05-26 Glenn Morris <rgm@gnu.org>
24891
24892 * files.el (hack-local-variables-prop-line, hack-local-variables):
24893 Downcase mode names, as seems to be traditional.
24894 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24895
24896 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24897 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24898
24899 2011-05-25 Julien Danjou <julien@danjou.info>
24900
24901 * textmodes/rst.el (rst-define-level-faces): Do not define face
24902 symbol if it is already defined.
24903
24904 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24905
24906 * play/5x5.el (5x5-new-game, 5x5-randomize):
24907 Reset 5x5-solver-output to nil when a new grid is cast.
24908 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24909 these debugging traces, as defmacro breaks the compiled code.
24910
24911 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24912
24913 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24914
24915 2011-05-24 Leo Liu <sdl.web@gmail.com>
24916
24917 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24918 (vc-bzr-sha1): Adapt.
24919
24920 * sha1.el: Remove. Function `sha1' is now builtin.
24921
24922 * bindings.el: Provide sha1 feature.
24923
24924 2011-05-24 Kenichi Handa <handa@m17n.org>
24925
24926 * mail/sendmail.el: Require `rfc2047'.
24927 (mail-insert-from-field): Do not perform RFC2047 encoding.
24928 (mail-encode-header): New function.
24929 (sendmail-send-it): Set buffer-file-coding-system of the work
24930 buffer to the return value of select-message-coding-system.
24931 Call mail-encode-header.
24932
24933 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24934
24935 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24936
24937 * mail/supercite.el (sc-default-cite-frame):
24938 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24939
24940 2011-05-24 Glenn Morris <rgm@gnu.org>
24941
24942 * progmodes/python.el (brm-menu): Declare.
24943
24944 * emulation/viper.el (viper-set-hooks): Declare.
24945
24946 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24947 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24948 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24949 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24950 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24951 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24952
24953 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24954
24955 Add an :exit-function for completion-at-point.
24956
24957 * minibuffer.el (completion--done): New fun.
24958 (completion--do-completion): Use it. New arg `expect-exact'.
24959 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24960 since completion--do-completion does it for us now.
24961 (minibuffer-force-complete): Use completion--done and
24962 completion--replace. Handle sole-completion case with more care.
24963 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24964 (completion-extra-properties): New var.
24965 (completion-annotate-function): Make obsolete.
24966 (minibuffer-completion-help): Adjust accordingly.
24967 Use completion-list-insert-choice-function.
24968 (completion-at-point, completion-help-at-point):
24969 Bind completion-extra-properties.
24970 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24971 * simple.el (completion-list-insert-choice-function): New var.
24972 (completion-setup-function): Preserve it.
24973 (choose-completion): Pay attention to it, shuffle the code a bit.
24974 (choose-completion-string): New arg `insert-function'.
24975
24976 * textmodes/bibtex.el: Convert to lexical binding.
24977 (bibtex-mode-map): Use completion-at-point.
24978 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24979 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24980 (bibtex-complete): Define as obsolete alias.
24981 (bibtex-complete-internal): Remove.
24982 (bibtex-format-entry): Remove unused sub-group in regexp.
24983 * shell.el (shell--command-completion-data)
24984 (shell-environment-variable-completion):
24985 * pcomplete.el (pcomplete-completions-at-point):
24986 * comint.el (comint--complete-file-name-data): Use :exit-function
24987 instead of completion-table-with-terminator so it also works for
24988 choose-completion.
24989
24990 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24991
24992 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24993
24994 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24995 (bug#8710).
24996
24997 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24998
24999 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25000
25001 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25002 customization variable and implement: If non-nil, auto-fill will
25003 be inhibited while on topic's header line.
25004
25005 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
25006
25007 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25008 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25009 always have a solution in grid size = 5 cases.
25010 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25011 (5x5-solver-output, 5x5-log-buffer): New vars.
25012 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25013 Make these variables buffer local to achieve 5x5 multi-session-ness.
25014 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25015 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25016 (5x5-solve-suggest): New funs.
25017 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25018 randomize a grid so that we ensure that there is always a solution.
25019 (5x5-make-random-grid): Allow other movement than flipping.
25020
25021 2011-05-23 Kevin Ryde <user42@zip.com.au>
25022
25023 * emacs-lisp/advice.el (ad-read-advised-function):
25024 Use `function-called-at-point' as the default, if it has
25025 advice and passes PREDICATE.
25026
25027 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25028
25029 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25030 byte-compile-lambda if it's actually a lambda.
25031
25032 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25033 Fix function quoting. Use backquote better.
25034
25035 2011-05-22 Yuanle Song <sylecn@gmail.com>
25036
25037 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25038 matching (Bug#8516).
25039
25040 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25041
25042 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25043 different face (Bug#8178).
25044
25045 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25046
25047 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25048 defface (Bug#8144).
25049
25050 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25051
25052 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25053 funcall as well (bug#8712). Warn when performing those conversions.
25054 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25055
25056 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25057
25058 2011-05-22 Glenn Morris <rgm@gnu.org>
25059
25060 * files.el (hack-local-variables-prop-line): Small simplifications.
25061 (hack-local-variables, hack-local-variables-prop-line):
25062 If MODE-ONLY, return the mode, rather than just `t'.
25063
25064 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25065
25066 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25067
25068 2011-05-21 Glenn Morris <rgm@gnu.org>
25069
25070 * files.el (hack-local-variables-prop-line, hack-local-variables):
25071 If only interested in the mode, don't bother doing the other stuff.
25072
25073 * image-mode.el (image-after-revert-hook):
25074 Redraw all frames on which the image is visible. (Bug#8567)
25075
25076 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25077
25078 * wid-edit.el (widget-checklist-match-inline):
25079 Fix 2011-04-19 change. (Bug#8649)
25080
25081 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25082
25083 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25084 Also allow singlespace after single-letter capitals followed by a dot.
25085
25086 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25087 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25088
25089 2011-05-20 Nix <nix@esperi.org.uk>
25090
25091 * files.el (basic-save-buffer-2):
25092 Fix handling of break-hardlink-on-save with non-existent files.
25093
25094 2011-05-19 Deniz Dogan <deniz@dogan.se>
25095
25096 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25097 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25098
25099 2011-05-19 Glenn Morris <rgm@gnu.org>
25100
25101 * progmodes/f90.el (f90-type-def-re):
25102 Handle "type, bind(c)". (Bug#8691)
25103
25104 * emacs-lisp/autoload.el (batch-update-autoloads):
25105 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25106
25107 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25108
25109 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25110 property for the correct connection in case of multihops.
25111
25112 2011-05-18 Glenn Morris <rgm@gnu.org>
25113
25114 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25115 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25116
25117 Rationalize calendar handling of day and month abbrev-arrays.
25118 * calendar/calendar.el (calendar-customized-p): New function.
25119 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25120 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25121 Add :set function.
25122 (calendar-abbrev-length, calendar-day-abbrev-array)
25123 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25124 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25125 Elements may no longer be nil.
25126 (calendar-day-name, calendar-month-name):
25127 Update for changed nature of abbrev arrays.
25128 * calendar/diary-lib.el (diary-name-pattern):
25129 Update for changed nature of abbrev arrays.
25130 (diary-mark-entries-1): Update calendar-make-alist calls.
25131 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25132 * calendar/cal-html.el (cal-html-day-abbrev-array):
25133 Simply inherit from calendar-day-abbrev-array.
25134
25135 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25136
25137 * progmodes/grep.el (grep-mode): Disable default
25138 compilation-directory-matcher setting (bug#8684).
25139
25140 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25141
25142 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25143 instead of "head" and "tail". There were problems with SunOS 5.9,
25144 and it performs better.
25145
25146 2011-05-17 Glenn Morris <rgm@gnu.org>
25147
25148 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25149
25150 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25151 Replace obsolete function.
25152
25153 * shell.el (pcomplete-parse-arguments-function): Declare.
25154
25155 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25156 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25157 (appt-check): Doc fixes.
25158 (appt-disp-window-function, appt-delete-window-function):
25159 Remove needless special case in custom :type.
25160 (appt-display-count): Default to 0, not nil.
25161 (appt-check): Reset appt-display-count to 0, not nil.
25162
25163 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25164
25165 * progmodes/python.el (python-font-lock-keywords):
25166 Add the Python 3.X keyword "nonlocal" (bug#8639).
25167
25168 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25169
25170 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25171
25172 2011-05-16 Kevin Ryde <user42@zip.com.au>
25173
25174 * info-look.el (makefile-automake-mode): New setups, looking in
25175 automake manual, then makefile-mode.
25176 (makefile-mode): Remove automake manual, have it just in
25177 makefile-automake-mode since there's various things different or
25178 not relevant to plain make.
25179 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25180 believe a hypothetical automake-mode would go to makefile-mode,
25181 not the other way around.
25182
25183 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25184
25185 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25186 hunk-end tags (Bug#8672).
25187
25188 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25189 vc-annotate-show-diff-revision-at-line (Bug#8671).
25190
25191 2011-05-14 Glenn Morris <rgm@gnu.org>
25192
25193 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25194 in the middle of an existing one with multiple authors. (Bug#8645)
25195 (change-log-font-lock-keywords): Also handle multiple author lines
25196 with leading tabs. (Bug#8644)
25197
25198 * calendar/appt.el (appt-check): Rename some local variables.
25199 Some simplification/reordering.
25200
25201 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25202 (feedmail-sendmail-f-doesnt-sell-me-out)
25203 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25204 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25205 (feedmail-queue-runner-message-sender): Set :version.
25206 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25207 (bbdb-dwim-net-address, vm-mail): Declare.
25208 (feedmail-binmail-gnulinuxish-template):
25209 Rename from feedmail-binmail-linuxish-template.
25210 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25211 Use insert-buffer-substring.
25212
25213 2011-05-14 Bill Carpenter <bill@carpenter.org>
25214
25215 * mail/feedmail.el (feedmail-patch-level): Increase.
25216 (feedmail-debug): New custom group.
25217 (feedmail-confirm-outgoing-timeout)
25218 (feedmail-sendmail-f-doesnt-sell-me-out)
25219 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25220 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25221 (feedmail-sender-line, feedmail-from-line)
25222 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25223 (feedmail-spray-this-address)
25224 (feedmail-spray-address-fiddle-plex-list)
25225 (feedmail-queue-use-send-time-for-date)
25226 (feedmail-queue-use-send-time-for-message-id)
25227 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25228 (feedmail-buffer-eating-function):
25229 Doc fixes.
25230 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25231 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25232 (feedmail-message-action-scroll-down): New functions.
25233 (feedmail-queue-directory, feedmail-queue-draft-directory):
25234 Use expand-file-name.
25235 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25236 Remove C-v help entry.
25237 (feedmail-queue-buffer-file-name): New variable.
25238 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25239 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25240 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25241 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25242 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25243 (feedmail-message-action-toggle-spray)
25244 (feedmail-run-the-queue-no-prompts)
25245 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25246 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25247 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25248 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25249 (feedmail-envelope-deducer, feedmail-fiddle-from)
25250 (feedmail-fiddle-sender, feedmail-default-date-generator)
25251 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25252 (feedmail-fiddle-spray-address)
25253 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25254 (feedmail-fiddle-list-of-fiddle-plexes)
25255 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25256 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25257 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25258 Change default. Doc fix.
25259 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25260 (feedmail-binmail-linuxish-template): New constant.
25261 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25262 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25263 (feedmail-send-it): Add debug call.
25264 Use feedmail-queue-buffer-file-name, and
25265 feedmail-send-it-immediately-wrapper.
25266 (feedmail-message-action-send): Add debug call.
25267 Use feedmail-send-it-immediately-wrapper.
25268 (feedmail-queue-express-to-queue): Add debug call.
25269 Run feedmail-queue-express-hook.
25270 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25271 (feedmail-message-action-help-blat):
25272 Rename from feedmail-queue-send-edit-prompt-help-first.
25273 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25274 Check line-endings. Handle errors better.
25275 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25276 Doc fix. Add debug call.
25277 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25278 Use feedmail-queue-send-edit-prompt-inner.
25279 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25280 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25281 from feedmail-queue-send-edit-prompt.
25282 (feedmail-queue-send-edit-prompt-help)
25283 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25284 (feedmail-tidy-up-slug): Add debug call.
25285 Respect feedmail-queue-slug-suspect-regexp.
25286 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25287 (feedmail-dump-message-to-queue): Add debug call.
25288 Expand queue-directory.
25289 (feedmail-dump-message-to-queue): Change message slightly.
25290 Use feedmail-say-chatter.
25291 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25292 (feedmail-send-it-immediately-wrapper): New function.
25293 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25294 Insert empty string rather than newline. Handle full-frame case.
25295 Use catch/throw. Use feedmail-say-chatter.
25296 (feedmail-fiddle-from): Try mail-host-address.
25297 (feedmail-default-message-id-generator): Doc fix.
25298 Bind system-time-locale. Handle missing end.
25299 (feedmail-fiddle-x-mailer): Add debug call.
25300 Handle feedmail-x-mailer-line being nil.
25301 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25302 Add debug call. Use buffer-substring-no-properties.
25303 (feedmail-say-debug, feedmail-say-chatter): New functions.
25304 (feedmail-find-eoh): Give an explicit error.
25305
25306 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25307
25308 * net/newst-treeview.el (newsticker-treeview-face): Change default
25309 family from helvetica to sans.
25310 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25311 etc/images/newsticker.
25312
25313 * net/newst-reader.el (newsticker-feed-face): Change default
25314 family from helvetica to sans.
25315
25316 * net/newst-plainview.el (newsticker-new-item-face)
25317 (newsticker-old-item-face, newsticker-immortal-item-face)
25318 (newsticker-obsolete-item-face, newsticker-date-face)
25319 (newsticker-statistics-face): Change default family from
25320 helvetica to sans.
25321 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25322 etc/images/newsticker.
25323
25324 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25325 (newsticker--process-auto-mark-filter-match): Tell user about
25326 auto-marking.
25327
25328 2011-05-13 Didier Verna <didier@xemacs.org>
25329
25330 Common Lisp indentation improvements on defmethod and lambda-lists.
25331 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25332 TODO entries.
25333 (lisp-lambda-list-keyword-parameter-indentation)
25334 (lisp-lambda-list-keyword-parameter-alignment)
25335 (lisp-lambda-list-keyword-alignment): New customizable user options.
25336 (lisp-indent-defun-method): Improve docstring.
25337 (extended-loop-p): Fix comment.
25338 (lisp-indent-lambda-list-keywords-regexp): New variable.
25339 (lisp-indent-lambda-list): New function.
25340 (lisp-indent-259): Use it.
25341 (lisp-indent-defmethod): Support for more than one
25342 method qualifier and properly indent methods lambda-lists.
25343 (defgeneric): Provide a missing common-lisp-indent-function property.
25344
25345 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25346
25347 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25348 bounds for the empty string (bug#8667).
25349
25350 2011-05-13 Glenn Morris <rgm@gnu.org>
25351
25352 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25353
25354 * mail/sendmail.el (sendmail-program): Try executable-find first.
25355 (sendmail-send-it): `sendmail-program' cannot be unbound.
25356
25357 * calendar/appt.el (appt-make-list): Simplify.
25358 (appt-time-msg-list): Doc fix.
25359 (appt-check): Change mode-line message at the time of the appointment.
25360
25361 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25362
25363 * progmodes/ld-script.el (ld-script-keywords)
25364 (ld-script-builtins): Update keywords list.
25365
25366 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25367
25368 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25369
25370 * shell.el (shell-completion-vars): New function.
25371 (shell-mode):
25372 * simple.el (read-shell-command): Use it.
25373 (blink-matching-open): No need for " [...]" in minibuffer-message.
25374
25375 2011-05-12 Glenn Morris <rgm@gnu.org>
25376
25377 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25378 (appt-check): Simplify.
25379
25380 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25381
25382 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25383 literal "/dev/null".
25384
25385 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25386
25387 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25388 Fix typo.
25389
25390 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25391
25392 * progmodes/which-func.el (which-function):
25393 Use add-log-current-defun instead of add-log-current-defun-function,
25394 which might not be defined (Bug#8260).
25395
25396 2011-05-12 Glenn Morris <rgm@gnu.org>
25397
25398 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25399 Let byte-compile-initial-macro-environment always take precedence.
25400
25401 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25402
25403 * net/rcirc.el: Add support for SSL/TLS connections.
25404 (rcirc-server-alist): New field `encryption'.
25405 (rcirc): Check `encryption' settings.
25406 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25407 Merge make-local-variable into `set'.
25408 (rcirc--connection-open-p): New function.
25409 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25410 the process is not a network process (e.g. running gnutls-cli).
25411 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25412 Make rcirc-(en|de)code-coding-system local here.
25413 (rcirc-mode): Merge make-local-variable into `set'.
25414 (rcirc-parent-buffer): Make permanent buffer-local.
25415 (rcirc-multiline-minor-mode): Don't do it here.
25416 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25417 there's no server buffer.
25418
25419 2011-05-11 Glenn Morris <rgm@gnu.org>
25420
25421 * newcomment.el (comment-kill): Prefix "unused" local.
25422
25423 * term/w32console.el (get-screen-color): Declare.
25424
25425 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25426 Handle symbol elements of byte-compile-initial-macro-environment.
25427
25428 2011-05-10 Leo Liu <sdl.web@gmail.com>
25429
25430 * bookmark.el (bookmark-bmenu-mode-map):
25431 Bind bookmark-bmenu-search to `/'.
25432
25433 * mail/footnote.el: Convert to utf-8 encoding.
25434 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25435 (Footnote-unicode): New function.
25436 (footnote-style-alist): Add unicode style to the list.
25437 (footnote-style): Doc fix.
25438
25439 2011-05-10 Jim Meyering <meyering@redhat.com>
25440
25441 Fix doubled-word typos.
25442 * international/quail.el (quail-insert-kbd-layout): and and -> and
25443 * kermit.el: and and -> and
25444 * net/ldap.el (ldap-search-internal): to to -> to
25445 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25446 * progmodes/js.el (js-mode): and and -> and
25447 * textmodes/artist.el (artist-move-to-xy): at at -> at
25448 (artist-draw-region-trim-line-endings): if if -> if
25449 And Safetyc -> Safety.
25450 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25451
25452 2011-05-10 Glenn Morris <rgm@gnu.org>
25453 Stefan Monnier <monnier@iro.umontreal.ca>
25454
25455 * files.el (hack-one-local-variable-eval-safep):
25456 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25457
25458 2011-05-10 Glenn Morris <rgm@gnu.org>
25459
25460 * calendar/diary-lib.el (diary-list-entries-hook)
25461 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25462 (diary-nongregorian-marking-hook, diary-list-entries)
25463 (diary-include-other-diary-files, diary-mark-entries)
25464 (diary-mark-included-diary-files): Doc fixes.
25465
25466 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25467
25468 * misc.el: Require tabulated-list.el during compilation.
25469
25470 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25471
25472 * progmodes/compile.el (compilation-start):
25473 Run compilation-filter-hook for the async case too.
25474 (compilation-filter-hook): Doc fix.
25475
25476 2011-05-09 Deniz Dogan <deniz@dogan.se>
25477
25478 * wdired.el: Remove outdated installation comment. Fix usage
25479 comment.
25480
25481 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25482
25483 * misc.el: Implement new command `list-dynamic-libraries'.
25484 (list-dynamic-libraries--loaded-only-p): New variable.
25485 (list-dynamic-libraries--refresh): New function.
25486 (list-dynamic-libraries): New command.
25487
25488 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25489
25490 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25491 Fix the ant regexp to handle end-line and end-column info from jikes.
25492 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25493 higher priority to avoid clobbering by gnu.
25494
25495 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25496
25497 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25498 if the face has existing theme settings (Bug#8454).
25499
25500 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25501
25502 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25503 Only match variables declared via `my' or `our' (Bug#8261).
25504
25505 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25506 special file names `.' and `..' (Bug#8259).
25507
25508 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25509
25510 * progmodes/grep.el (grep-mode-font-lock-keywords):
25511 Remove buffer-changing entries.
25512 (grep-filter): New function.
25513 (grep-mode): Add it to compilation-filter-hook.
25514
25515 * progmodes/compile.el (compilation-filter-hook)
25516 (compilation-filter-start): New defvars.
25517 (compilation-filter): Call compilation-filter-hook prior to
25518 updating the process mark.
25519
25520 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25521
25522 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25523
25524 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25525
25526 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25527 mailclient-send-it even if window-system is nil. (Bug#8595)
25528
25529 * term/w32console.el (terminal-init-w32console):
25530 Call get-screen-color and use its output to set the frame
25531 background-mode. (Bug#8597)
25532
25533 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25534
25535 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25536 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25537 New functions.
25538 (defgeneric, eieio--defmethod): Use them.
25539 (eieio-defgeneric): Remove.
25540 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25541
25542 2011-05-07 Glenn Morris <rgm@gnu.org>
25543
25544 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25545 Use let rather than let*.
25546 (timeclock-find-discrep): Remove unused local.
25547
25548 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25549
25550 * calendar/appt.el (appt-time-msg-list): Doc fix.
25551
25552 2011-05-06 Noah Friedman <friedman@splode.com>
25553
25554 * apropos.el (apropos-print-doc): Only use
25555 emacs-lisp-docstring-fill-column when it is bound to an integer,
25556 per that variable's documentation.
25557
25558 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25559
25560 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25561 and warnings are not silently discarded (e.g. use -d instead of -P).
25562
25563 2011-05-06 Glenn Morris <rgm@gnu.org>
25564
25565 * calendar/appt.el (appt-message-warning-time): Doc fix.
25566 (appt-warning-time-regexp): New option.
25567 (appt-make-list): Respect appt-message-warning-time.
25568
25569 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25570 New options.
25571 (diary-add-to-list): Strip comments from the displayed string.
25572 (diary-mode): Set comment-start and comment-end.
25573
25574 * vc/diff-mode.el (smerge-refine-subst): Declare.
25575 (diff-refine-hunk): Don't require smerge-mode when compiling.
25576
25577 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25578
25579 * simple.el (list-processes): Return nil as the docstring says.
25580
25581 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25582
25583 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25584 to "".
25585 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25586 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25587 determining of binary transfer. (Bug#7383)
25588
25589 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25590
25591 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25592 Fix port computation bug. (Bug#8618)
25593
25594 2011-05-05 Glenn Morris <rgm@gnu.org>
25595
25596 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25597
25598 * simple.el (shell-dynamic-complete-functions)
25599 (comint-dynamic-complete-functions): Declare.
25600
25601 * net/network-stream.el (gnutls-negotiate):
25602 * simple.el (tabulated-list-print): Fix declarations.
25603
25604 * progmodes/gud.el (syntax-symbol, syntax-point):
25605 Remove unnecessary and incorrect declarations.
25606
25607 * emacs-lisp/check-declare.el (check-declare-scan):
25608 Handle byte-compile-initial-macro-environment in bytecomp.el.
25609
25610 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25611
25612 Fix earlier half-done eieio-defmethod change (bug#8338).
25613 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25614 Streamline and change calling convention.
25615 (defmethod): Adjust accordingly and simplify.
25616 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25617 new eieio--defmethod.
25618 (slot-boundp): Minor CSE simplification.
25619
25620 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25621
25622 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25623 (glasses-make-readable): Use glasses-separate-capital-groups.
25624
25625 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25626
25627 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25628 (warning-series): Doc fix.
25629 (display-warning): Don't try to create the buffer if we just found it.
25630
25631 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25632
25633 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25634 (autoload-find-generated-file): New function.
25635 (generate-file-autoloads): Bind generated-autoload-file to
25636 buffer-file-name.
25637 (update-file-autoloads, update-directory-autoloads):
25638 Use autoload-find-generated-file. If called interactively, prompt for
25639 output file (Bug#7989).
25640 (batch-update-autoloads): Doc fix.
25641
25642 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25643
25644 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25645
25646 2011-05-04 Glenn Morris <rgm@gnu.org>
25647
25648 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25649 function, so it follows changes in calendar-date-style.
25650 (diary-fancy-date-matcher): New function.
25651 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25652 (diary-fancy-font-lock-fontify-region-function):
25653 Use diary-fancy-date-pattern as a function.
25654
25655 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25656 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25657
25658 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25659
25660 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25661 instead of positional arguments. Allow :keylist and :crlfiles
25662 arguments.
25663 (open-gnutls-stream): Call it.
25664
25665 * net/network-stream.el (network-stream-open-starttls): Adjust to
25666 call `gnutls-negotiate' with :process and :hostname arguments.
25667
25668 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25669
25670 * minibuffer.el (completion--message): New function.
25671 (completion--do-completion, minibuffer-complete)
25672 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25673 (completion--do-completion): Don't ignore completion-auto-help when in
25674 icomplete-mode.
25675
25676 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25677 internal encoding (e.g. tibetan zero is not whitespace).
25678 (global-whitespace-mode): Prefer save-current-buffer.
25679 (whitespace-trailing-regexp): Remove useless save-match-data.
25680 (whitespace-empty-at-bob-regexp): Minor simplification.
25681
25682 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25683
25684 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25685
25686 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
25687
25688 * textmodes/ispell.el (ispell-add-per-file-word-list):
25689 Use `concat' to create string for insertion.
25690
25691 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25692
25693 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25694 Avoid open-line which runs post-self-insert-hook.
25695 (bibtex-fill-entry): Remove unused `end' var.
25696
25697 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25698
25699 * textmodes/ispell.el (ispell-add-per-file-word-list):
25700 Protect against `nil' value of `comment-start' (Bug#8579).
25701
25702 2011-05-03 Leo Liu <sdl.web@gmail.com>
25703
25704 * isearch.el (isearch-yank-pop): New command.
25705 (isearch-mode-map): Bind it to `M-y'.
25706 (isearch-forward): Mention it.
25707
25708 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25709
25710 * simple.el (minibuffer-complete-shell-command): Remove.
25711 (minibuffer-local-shell-command-map): Use completion-at-point.
25712 (read-shell-command): Setup completion vars here instead.
25713 (read-expression-map): Bind TAB to symbol completion.
25714
25715 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25716 error directly rather via storing it into `results'.
25717
25718 2011-05-02 Leo Liu <sdl.web@gmail.com>
25719
25720 * vc/diff.el: Fix description.
25721
25722 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25723
25724 * server.el (server-eval-at): New function.
25725
25726 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25727
25728 * net/network-stream.el (open-network-stream): Take a :nowait
25729 parameter and pass it on to `make-network-process'.
25730 (network-stream-open-plain): Ditto.
25731
25732 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25733
25734 * faces.el (face-spec-set-match-display): Don't match toolkit
25735 options on terminal frames.
25736
25737 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25738
25739 * progmodes/pascal.el: Use lexical binding.
25740 (pascal-mode-map): Remove author preferences.
25741
25742 * pcomplete.el (pcomplete-std-complete): Don't abuse
25743 completion-at-point.
25744
25745 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25746
25747 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25748 removing code that has been dead since 1991 or so.
25749
25750 * startup.el (command-line): When warning about "_emacs", use a
25751 delayed warning to allow the user to filter it out.
25752
25753 2011-04-28 Deniz Dogan <deniz@dogan.se>
25754
25755 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25756 user has not joined.
25757
25758 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25759
25760 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25761 aren't any completions at point.
25762
25763 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25764
25765 * subr.el (display-delayed-warnings): New function.
25766 (delayed-warnings-hook): New variable.
25767
25768 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25769
25770 * minibuffer.el (completion-at-point, completion-help-at-point):
25771 Don't presume that a given completion-at-point-function will always
25772 use the same calling convention.
25773
25774 * pcomplete.el (pcomplete-completions-at-point):
25775 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25776 pcomplete-seen is non-nil.
25777 (pcomplete-comint-setup): Also recognize the new comint/shell
25778 completion functions.
25779 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25780 pcomplete-seen is non-nil.
25781
25782 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25783
25784 * calendar/icalendar.el (diary-lib): Add require statement.
25785 (icalendar--create-uid): Read out a uid from a text-property on
25786 the first character in the entry. This allows for code to add its
25787 own uid to the entry.
25788 (icalendar--convert-float-to-ical): Add export of
25789 `diary-float'-entries save for those with the optional DAY
25790 argument.
25791
25792 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25793
25794 * subr.el (shell-quote-argument): Use alternate escaping strategy
25795 when we spot a variable reference in a string.
25796
25797 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25798
25799 * cus-start.el (all): Define customization for debug-on-event.
25800
25801 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25802
25803 * subr.el (shell-quote-argument): Escape correctly under Windows.
25804
25805 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25806
25807 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25808
25809 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25810
25811 * net/tramp.el (tramp-process-actions): Add POS argument.
25812 Delete region between POS and (pos).
25813
25814 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25815 Use `nil' position in `tramp-process-actions' call.
25816 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25817
25818 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25819 position in `tramp-process-actions' call.
25820
25821 * net/trampver.el: Update release number.
25822
25823 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25824
25825 * custom.el (defcustom): Obey lexical-binding.
25826
25827 Fix octave-inf completion problems reported by Alexander Klimov.
25828 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25829 Inherit from octave-mode-syntax-table.
25830 (inferior-octave-mode): Set info-lookup-mode.
25831 (inferior-octave-completion-at-point): New function.
25832 (inferior-octave-complete): Use it and completion-in-region.
25833 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25834 comint-filename-completion.
25835 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25836 symbol elements which shouldn't be word elements.
25837 (octave-font-lock-keywords, octave-beginning-of-defun)
25838 (octave-function-header-regexp): Adjust regexps accordingly.
25839 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25840
25841 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25842
25843 * net/gnutls.el (gnutls-errorp): Declare before first use.
25844
25845 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25846
25847 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25848 verify-error, and verify-hostname-error parameters. Check whether
25849 default trustfile exists before going to use it. Add missing
25850 argument to gnutls-message-maybe call. Return value.
25851 Reported by Claudio Bley <claudio.bley@gmail.com>.
25852 (open-gnutls-stream): Add usage example.
25853
25854 * net/network-stream.el (network-stream-open-starttls): Give host
25855 parameter to `gnutls-negotiate'.
25856 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25857 * subr.el (shell-quote-argument): Escape correctly under Windows.
25858
25859 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25860
25861 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25862 Use correct match group (bug#8438).
25863
25864 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25865
25866 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25867 (package-menu--generate): New arg specifying packages to show.
25868 (package-menu-refresh, package-menu-execute, list-packages):
25869 Callers changed.
25870 (package-show-package-list): New function, replacing deleted
25871 package--list-packages (renamed because it is non-internal).
25872
25873 * finder.el (finder-list-matches): Use package-show-package-list
25874 instead of deleted package--list-packages.
25875
25876 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25877 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25878 (vc-annotate-mode-map): Bind it to RET.
25879
25880 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25881
25882 * progmodes/etags.el (next-file): Don't use set-buffer to change
25883 buffers (Bug#8478).
25884
25885 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25886
25887 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25888
25889 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25890 (apropos-accumulator): Doc fix.
25891 (apropos-function, apropos-macro, apropos-command)
25892 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25893 (apropos-plist): Add face property.
25894 (apropos-symbols-internal): Fix indentation.
25895 (apropos-print): Simplify help, and recognize apropos-multi-type.
25896 (apropos-print-doc): Use button-type-get to extract the button's
25897 face property. Fill docstring (Bug#8352).
25898
25899 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25900
25901 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25902
25903 * play/mpuz.el (mpuz-silent): Doc fix.
25904 (mpuz-mode-map): Use mapc.
25905 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25906 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25907 Fix typos in docstrings.
25908
25909 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25910 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25911
25912 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25913
25914 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25915
25916 * minibuffer.el (completion--do-completion): Avoid the "Next char
25917 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25918
25919 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25920 mouse-2 into unread-command-events, it is interpreted correctly.
25921
25922 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25923 (image-toggle-display): Doc fix.
25924
25925 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25926
25927 * textmodes/page.el (what-page): Use line-number-at-pos to
25928 calculate line number (Bug#6825).
25929
25930 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25931
25932 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25933 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25934 Pass argument NO-DEFAULT to `find-tag-interactive'.
25935
25936 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25937
25938 Lexical-binding cleanup.
25939
25940 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25941 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25942 * progmodes/ada-prj.el (ada-prj-initialize-values)
25943 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25944 (ada-prj-show-value):
25945 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25946 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25947 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25948 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25949 * progmodes/bug-reference.el (bug-reference-push-button):
25950 * progmodes/fortran.el (fortran-line-length):
25951 * progmodes/glasses.el (glasses-change):
25952 * progmodes/octave-mod.el (octave-fill-paragraph):
25953 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25954 (python-pdbtrack-grub-for-buffer, python-sentinel):
25955 * progmodes/sql.el (sql-save-connection):
25956 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25957 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25958 Mark unused parameters.
25959
25960 * progmodes/compile.el (compilation--flush-directory-cache)
25961 (compilation--flush-parse, compile-internal): Mark unused parameters.
25962 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25963 (compilation-next-error-function): Remove unused variable `timestamp'.
25964
25965 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25966 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25967
25968 * progmodes/dcl-mode.el (dcl-end-of-command):
25969 Remove unused variable `start'.
25970 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25971 (dcl-option-value-basic, dcl-option-value-offset)
25972 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25973 Mark unused parameters.
25974 (dcl-save-local-variable): Remove unused variable `val'.
25975 (mode): Declare.
25976
25977 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25978 Mark unused parameters.
25979 (delphi-ignore-changes): Move before first use.
25980 (delphi-charset-token-at): Remove unused variable `start'.
25981 (delphi-else-start): Remove unused variable `if-count'.
25982 (delphi-comment-block-start, delphi-comment-block-end):
25983 Remove unused variable `kind'.
25984 (delphi-indent-line): Remove unused variable `new-point'.
25985
25986 * progmodes/ebrowse.el (ebrowse-files-list)
25987 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25988 Mark unused parameters. Don't quote `lambda'.
25989 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25990 Don't quote `lambda'.
25991 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25992 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25993 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25994 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25995 Use `ignore-errors'.
25996 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25997 (ebrowse-view/find-file-and-search-pattern)
25998 (ebrowse-view/find-member-declaration/definition):
25999 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26000 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26001 Rename parameter PREFIX-ARG to PREFIX.
26002 (ebrowse-tags-read-name): Remove unused variables `start' and
26003 `member-info'.
26004 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26005 to `tags-file'.
26006
26007 * progmodes/etags.el (local-find-tag-hook): Declare.
26008 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26009 Mark unused parameters.
26010
26011 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26012 (executable-interpret): Mark unused parameter.
26013
26014 * progmodes/flymake.el (flymake-process-sentinel)
26015 (flymake-after-change-function)
26016 (flymake-create-temp-with-folder-structure)
26017 (flymake-get-include-dirs-dot): Mark unused parameters.
26018 (flymake-safe-delete-directory): Remove unused variable `err'.
26019
26020 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26021 (speedbar-timer-fn, speedbar-line-text)
26022 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26023 (speedbar-center-buffer-smartly): Declare functions.
26024 (gdb-find-watch-expression): Remove unused variable `array'.
26025 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26026 (gdb-starting): Mark unused parameters.
26027 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26028 (gdb-table-string): Remove unused variable `res'.
26029 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26030 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26031 (gdb-display-buffer): Remove unused variable `cur-size'.
26032
26033 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26034 allow lexical-binding compilation.
26035 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26036 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26037 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26038 Mark unused parameters.
26039 (gud-gdb-marker-filter): Remove unused variable `match'.
26040 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26041 lambda expressions and funcall them, instead of using `fset'.
26042
26043 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26044 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26045
26046 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26047 variable `header-beg'; use `let'.
26048
26049 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26050 `restart', `last-sexp' and `at-do'.
26051
26052 * progmodes/js.el (js--debug): Mark unused parameter.
26053 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26054 (js--splice-into-items): Remove unused variable `item'.
26055 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26056
26057 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26058 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26059 (makefile-complete): Remove unused variable `try'.
26060 (makefile-fill-paragraph, makefile-match-function-end):
26061 Mark unused parameters.
26062
26063 * progmodes/octave-inf.el (inferior-octave-complete):
26064 Remove unused variable `proc'.
26065 (inferior-octave-output-digest): Mark unused parameter.
26066
26067 * progmodes/perl-mode.el (perl-calculate-indent):
26068 Remove unused variable `err'.
26069
26070 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26071 (prolog-indent-line): Mark unused parameters.
26072 (prolog-indent-line): Remove unused variable `beg'.
26073
26074 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26075 (reporter-dont-compact-list): Declare.
26076
26077 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26078 Remove unused variable `char'.
26079 (sh-debug): Mark unused parameter.
26080 (sh-get-indent-info): Remove unused variable `start'.
26081 (sh-calculate-indent): Remove unused variable `var'.
26082
26083 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26084 (simula-electric-keyword): Remove unused variable `null'.
26085 (simula-search-backward, simula-search-forward): Remove unused
26086 variables `begin' and `end'.
26087
26088 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26089 Remove unused variable `pos'.
26090 (vera-electric-tab, vera-comment-uncomment-region):
26091 Mark unused parameters.
26092 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26093
26094 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26095
26096 * emacs-lisp/package.el (package--builtins, package-alist)
26097 (package-load-descriptor, package-built-in-p, package-activate)
26098 (define-package, package-installed-p)
26099 (package-compute-transaction, package-buffer-info)
26100 (package--push): Doc fix. Distinguish more clearly between
26101 version strings and version lists.
26102
26103 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26104
26105 Lexical-binding cleanup.
26106
26107 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26108 (5x5-make-mutate-best):
26109 * play/fortune.el (fortune-in-buffer):
26110 * play/gomoku.el (gomoku-init-display):
26111 * play/solitaire.el (solitaire, solitaire-do-check):
26112 * play/tetris.el (tetris-default-update-speed-function):
26113 Mark unused parameters.
26114
26115 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26116 (bubbles--shift): Remove unused variable `char-org'.
26117 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26118 (bubbles--show-images): Remove unused variable `char'.
26119
26120 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26121 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26122 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26123 (decipher-analyze-buffer): Use ?\s.
26124 (decipher-make-checkpoint): Remove unused variable `mapping'.
26125
26126 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26127
26128 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26129 Remove unused variable `result'; use `let'.
26130
26131 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26132 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26133 (gametree-children-shown-p, gametree-compute-reduced-score):
26134 Use `ignore-errors'.
26135
26136 * play/handwrite.el (ps-lpr-switches): Declare.
26137 (handwrite): Remove unused variables `pmin' and `lastp'.
26138
26139 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26140
26141 * play/landmark.el (landmark-init-display)
26142 (landmark-update-naught-weights): Mark unused parameters.
26143 (landmark-y): Remove unused variable `noise'. Simplify.
26144 (landmark-human-plays): Remove unused variable `score'.
26145
26146 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26147 (mpuz-try-proposal): Remove unused variable `game'.
26148
26149 * play/zone.el (life-patterns): Declare.
26150
26151 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26152
26153 * vc/vc.el (ediff-vc-internal): Declare function.
26154
26155 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26156
26157 * shell.el: Use lexical-binding and std completion UI.
26158 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26159 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26160 comint-preoutput-filter-functions rather than on
26161 comint-output-filter-functions.
26162 (shell-command-completion, shell--command-completion-data)
26163 (shell-filename-completion, shell-environment-variable-completion)
26164 (shell-c-a-p-replace-by-expanded-directory): New functions.
26165 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26166 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26167 (shell-dynamic-complete-environment-variable): Use them.
26168 (shell-dynamic-complete-as-environment-variable)
26169 (shell-dynamic-complete-as-command): Remove.
26170 (shell-match-partial-variable): Match past point.
26171 * comint.el: Clean up use of completion-at-point-functions.
26172 (comint-completion-at-point): New function.
26173 (comint-mode): Use it completion-at-point-functions.
26174 (comint-dynamic-complete): Make it obsolete.
26175 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26176 (comint-c-a-p-replace-by-expanded-history): New function.
26177 (comint-dynamic-complete-functions)
26178 (comint-replace-by-expanded-history): Use it.
26179 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26180 termination strings. Try harder to avoid second try-completion.
26181 (completion-in-region-mode-map): Disable bindings that don't work yet.
26182
26183 * comint.el: Use lexical-binding. Require CL.
26184 (comint-dynamic-complete-functions): Use comint-filename-completion.
26185 (comint-completion-addsuffix): Tweak custom type.
26186 (comint-filename-completion, comint--common-suffix)
26187 (comint--common-quoted-suffix, comint--table-subvert)
26188 (comint--complete-file-name-data): New functions.
26189 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26190 (comint-dynamic-list-filename-completions): Use them.
26191 (comint-dynamic-simple-complete): Make obsolete.
26192
26193 * minibuffer.el (completion-in-region-mode):
26194 Keep completion-in-region-mode--predicate global.
26195 (completion-in-region--postch):
26196 Assume completion-in-region-mode--predicate is not null.
26197
26198 * progmodes/flymake.el (flymake-start-syntax-check-process):
26199 Obey `dir'. Simplify.
26200
26201 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26202 we're in VC after all.
26203
26204 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26205
26206 * vc/vc.el (vc-diff-build-argument-list-internal)
26207 (vc-version-ediff, vc-ediff): New commands.
26208 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26209
26210 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26211
26212 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26213 add sanity check.
26214
26215 * obsolete/erc-hecomplete.el: Make obsolete.
26216 * obsolete/: Standardize obsolescence info in the header.
26217
26218 2011-04-20 Glenn Morris <rgm@gnu.org>
26219
26220 * calendar/solar.el (solar-horizontal-coordinates):
26221 Use the longitude argument rather than `calendar-longitude'.
26222 (solar-date-next-longitude): Remove unused locals.
26223
26224 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26225
26226 * whitespace.el: New version 13.2.1.
26227
26228 2011-04-20 felix <EmacsWiki> (tiny change)
26229
26230 * whitespace.el (global-whitespace-mode): Keep highlight when
26231 switching between major modes on a file.
26232
26233 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26234
26235 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26236 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26237 multi-line comments as well.
26238
26239 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26240
26241 Lexical-binding cleanup.
26242
26243 * arc-mode.el (archive-mode-revert):
26244 * cmuscheme.el (scheme-interactively-start-process):
26245 * custom.el (custom-initialize-delay):
26246 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26247 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26248 * emacs-lock.el (emacs-lock-clear-sentinel):
26249 * ezimage.el (defezimage):
26250 * follow.el (follow-avoid-tail-recenter):
26251 * fringe.el (set-fringe-mode-1):
26252 * generic-x.el (bat-generic-mode-compile):
26253 * help-mode.el (help-info-variable, help-do-xref)
26254 (help-mode-revert-buffer):
26255 * help.el (view-emacs-todo):
26256 * iswitchb.el (iswitchb-completion-help):
26257 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26258 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26259 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26260 * locate.el (locate-update):
26261 * longlines.el (longlines-encode-region)
26262 (longlines-after-change-function):
26263 * outline.el (outline-isearch-open-invisible):
26264 * ps-def.el (declare-function, charset-dimension, char-width)
26265 (encode-char):
26266 * ps-mule.el (ps-mule-plot-string):
26267 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26268 (recentf-edit-list-select, recentf-edit-list-validate)
26269 (recentf-open-files-action):
26270 * rect.el (delete-whitespace-rectangle-line)
26271 (rectangle-number-line-callback):
26272 * register.el (window-configuration-to-register)
26273 (frame-configuration-to-register):
26274 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26275 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26276 (xselect-convert-to-targets, xselect-convert-to-delete)
26277 (xselect-convert-to-filename, xselect-convert-to-charpos)
26278 (xselect-convert-to-lineno, xselect-convert-to-colno)
26279 (xselect-convert-to-os, xselect-convert-to-host)
26280 (xselect-convert-to-user, xselect-convert-to-class)
26281 (xselect-convert-to-name, xselect-convert-to-integer)
26282 (xselect-convert-to-atom, xselect-convert-to-identity):
26283 * subr.el (declare, ignore, process-kill-without-query)
26284 (text-clone-maintain):
26285 * terminal.el (te-get-char, te-tic-sentinel):
26286 * tool-bar.el (tool-bar-make-keymap):
26287 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26288 * type-break.el (type-break-mode, type-break-noninteractive-query):
26289 * view.el (View-back-to-mark):
26290 * wid-browse.el (widget-browse-action, widget-browse-widget)
26291 (widget-browse-widgets, widget-browse-sexp):
26292 * widget.el (define-widget-keywords):
26293 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26294 Mark unused parameters.
26295
26296 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26297 (align-areas): Remove unused variable `look'.
26298 (align-region): Remove unused variables `real-end' and `pos-list'.
26299
26300 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26301
26302 * bindings.el (mode-line-modified, mode-line-remote):
26303 Mark unused parameters.
26304 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26305
26306 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26307 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26308
26309 * comint.el (comint-history-isearch-pop-state)
26310 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26311 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26312 (comint-substitute-in-file-name): Doc fix.
26313
26314 * completion.el (cmpl-statistics-block): Mark unused parameter.
26315 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26316 (save-completions-to-file, load-completions-from-file):
26317 Remove unused local variable `e'.
26318
26319 * composite.el (compose-chars): Remove unused variable `len'.
26320 (lgstring-insert-glyph): Remove unused variable `g'.
26321 (compose-glyph-string): Remove unused variables `ascent',
26322 `descent', `lbearing' and `rbearing'.
26323 (compose-glyph-string-relative): Remove unused variables
26324 `lbearing', `rbearing' and `wadjust'.
26325 (compose-gstring-for-graphic): Remove unused variables `header',
26326 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26327 (compose-gstring-for-terminal): Remove unused variables `header'
26328 and `nchars'. Use `let', not `let*'.
26329
26330 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26331 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26332 (Custom-buffer-done, custom-buffer-create-internal)
26333 (custom-browse-visibility-action, custom-browse-group-tag-action)
26334 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26335 (widget-magic-mouse-down-action, custom-toggle-parent)
26336 (custom-add-parent-links, custom-toggle-hide-variable)
26337 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26338 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26339 (custom-face-menu-create, custom-variable-menu-create, get)
26340 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26341 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26342 (customize-apropos): Remove unused variable `tests'.
26343 (custom-group-value-create): Remove unused variable `hidden-p'.
26344 (sort-fold-case): Declare.
26345
26346 * cus-theme.el (custom-reset-standard-faces-list)
26347 (custom-reset-standard-variables-list): Declare.
26348 (customize-create-theme, custom-theme-revert, custom-theme-write)
26349 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26350 Mark unused parameters.
26351
26352 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26353
26354 * delim-col.el (delimit-columns-max): Move defvar before first use.
26355
26356 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26357 (describe-char): Don't quote `lambda'. Mark unused parameter.
26358
26359 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26360 (auto-insert): Declare.
26361 (desktop-restore-file-buffer): Rename desktop-* parameters;
26362 mark unused ones.
26363 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26364 (desktop-buffer): Rename desktop-* parameters.
26365
26366 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26367 (dframe-reposition-frame-xemacs, dframe-help-echo)
26368 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26369 Mark unused parameters.
26370
26371 * dired-aux.el (backup-extract-version-start, overwrite-query)
26372 (overwrite-backup-query, rename-regexp-query)
26373 (rename-non-directory-query): Declare.
26374 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26375 (dired-add-entry): Remove unused variable `orig-file-name'.
26376 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26377 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26378 `dired-copy-preserve-time' directly.
26379 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26380 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26381
26382 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26383 (dired-virtual-revert, dired-make-relative-symlink):
26384 Mark unused parameters.
26385 (manual-program): Declare.
26386 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26387 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26388 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26389
26390 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26391
26392 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26393
26394 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26395 Declare.
26396
26397 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26398
26399 * electric.el (Electric-command-loop): Rename parameter
26400 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26401
26402 * expand.el (expand-in-literal): Remove unused variable `here'.
26403
26404 * facemenu.el (facemenu-add-new-color):
26405 Remove unused variable `docstring'.
26406
26407 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26408 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26409 (face-attr-construct): Mark unused parameter. Doc fix.
26410 (read-color): Remove unused variable `hex-string'.
26411
26412 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26413 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26414 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26415 (display-buffer-other-frame): Remove unused variable `old-window'.
26416 (kill-buffer-hook): Declare.
26417 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26418 Mark unused parameters.
26419 (after-find-file): Pass 1 to `auto-save-mode', not t.
26420
26421 * files-x.el (auto-insert): Declare.
26422 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26423
26424 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26425 variable `buf'. Mark unused parameter.
26426 (find-lisp-insert-directory): Mark unused parameter.
26427
26428 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26429 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26430 (format-common-tail): Remove, unused.
26431 (format-deannotate-region): Remove unused variable `loc'.
26432 (format-annotate-region): Remove unused variable `p'.
26433 (format-annotate-single-property-change): Remove unused variables
26434 `default' and `tail'.
26435
26436 * forms.el (read-file-filter): Declare.
26437 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26438
26439 * frame.el (frame-creation-function-alist): Mark unused parameter.
26440 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26441
26442 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26443 Remove unused parameters.
26444 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26445 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26446
26447 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26448 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26449 (hfy-prepare-tag-map): Mark unused parameters.
26450 (htmlfontify-buffer): Use `called-interactively-p'.
26451
26452 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26453 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26454 (ibuffer-do-occur): Mark unused parameters.
26455 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26456 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26457
26458 * ibuffer.el: Don't quote `lambda'.
26459 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26460 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26461 Mark unused parameters.
26462
26463 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26464 (ido-completing-read): Mark unused parameters.
26465 (ido-copy-current-word): Mark unused parameters;
26466 remove unused variable `name'.
26467 (ido-sort-merged-list): Remove unused parameter `dirs'.
26468
26469 * ielm.el (ielm-input-sender): Mark unused parameter.
26470 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26471 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26472 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26473 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26474 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26475
26476 * image-dired.el (image-dired-display-thumbs): Remove unused
26477 variables `curr-file' and `count'.
26478 (image-dired-remove-tag): Remove unused variable `start'.
26479 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26480 variable `curr-file'
26481 (image-dired-rotate-original): Remove unused variable `temp-file'.
26482 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26483 Remove unused variable `file'.
26484 (image-dired-gallery-generate): Remove unused variable `curr'.
26485 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26486
26487 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26488
26489 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26490
26491 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26492
26493 * isearch.el (minibuffer-history-symbol): Declare.
26494 (isearch-edit-string): Remove unused variable `err'.
26495 (isearch-message-prefix, isearch-message-suffix):
26496 Mark unused parameters.
26497
26498 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26499
26500 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26501
26502 * makesum.el (double-column): Remove unused variable `cnt'.
26503
26504 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26505 (ido-ignore-item-temp-list): Declare.
26506
26507 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26508 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26509 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26510 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26511 `mouse-col-delta'.
26512
26513 * mouse-sel.el (mouse-extend-internal):
26514 Remove unused variable `orig-window-frame'.
26515
26516 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26517 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26518 Move declarations before first use.
26519 (pcomplete-opt): Mark unused parameters; doc fix.
26520
26521 * proced.el (proced-revert): Mark unused parameter.
26522 (proced-send-signal): Remove unused variable `err'.
26523
26524 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26525 Rename parameter PREFIX-ARG to ARG.
26526 (ps-basic-plot-string, ps-basic-plot-whitespace):
26527 Mark unused parameters.
26528
26529 * replace.el (replace-count): Define.
26530 (occur-revert-function): Mark unused parameters.
26531 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26532 (isearch-case-fold-search, isearch-string): Declare.
26533 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26534 bind `case-fold-search'. Remove unused variables `beg' and `end',
26535 and simplify.
26536 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26537 COUNT and bind `replace-count'.
26538 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26539 to COUNT.
26540
26541 * savehist.el (print-readably, print-string-length): Declare.
26542
26543 * shadowfile.el (shadow-expand-cluster-in-file-name):
26544 Remove unused variable `cluster'.
26545 (shadow-copy-file): Remove unused variable `i'.
26546 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26547 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26548 (shadow-define-literal-group, shadow-define-regexp-group)
26549 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26550
26551 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26552 (shell): Use `called-interactively-p'.
26553 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26554
26555 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26556 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26557 (delete-backward-char): Remove unused variable `ocol'.
26558 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26559 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26560 (event-apply-hyper-modifier, event-apply-shift-modifier)
26561 (event-apply-control-modifier, event-apply-meta-modifier):
26562 Mark unused parameters.
26563 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26564 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26565
26566 * speedbar.el (speedbar-ignored-directory-expressions)
26567 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26568 (speedbar-find-file, speedbar-dir-follow)
26569 (speedbar-directory-buttons-follow, speedbar-tag-find)
26570 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26571 (speedbar-buffers-line-directory, speedbar-buffer-click):
26572 Mark unused parameters.
26573 (speedbar-tag-file): Remove unused variable `mode'.
26574 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26575
26576 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26577
26578 * talk.el (talk): Remove unused variable `display'.
26579
26580 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26581 (tar-write-region-annotate): Mark unused parameter.
26582
26583 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26584 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26585 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26586 warning by another.
26587
26588 * time-stamp.el (time-stamp-string-preprocess):
26589 Remove unused variable `require-padding'.
26590
26591 * tree-widget.el (widget-glyph-enable): Declare.
26592 (tree-widget-action): Mark unused parameter.
26593
26594 * w32-fns.el (x-get-selection): Mark unused parameter.
26595 (autoload-make-program, generated-autoload-file): Declare.
26596
26597 * wdired.el (wdired-revert): Mark unused parameters.
26598 (wdired-xcase-word): Remove unused variable `err'.
26599
26600 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26601 (whitespace-help-scroll): Remove unused variable `data-help'.
26602
26603 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26604 (widget-image-insert, widget-after-change, default)
26605 (widget-default-format-handler, widget-default-notify)
26606 (widget-default-prompt-value, widget-info-link-action)
26607 (widget-url-link-action, widget-function-link-action)
26608 (widget-variable-link-action, widget-file-link-action)
26609 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26610 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26611 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26612 (widget-insert-button-action, widget-delete-button-action, visibility)
26613 (widget-documentation-link-action, widget-documentation-string-action)
26614 (widget-const-prompt-value, widget-regexp-match, symbol)
26615 (widget-coding-system-prompt-value)
26616 (widget-key-sequence-value-to-external, sexp)
26617 (widget-sexp-value-to-internal, character, vector, cons)
26618 (widget-choice-prompt-value, widget-boolean-prompt-value)
26619 (widget-color--choose-action): Mark unused parameters.
26620 (widget-item-match-inline, widget-choice-match-inline)
26621 (widget-checklist-match, widget-checklist-match-inline)
26622 (widget-group-match): Rename parameter VALUES to VALS.
26623 (widget-field-value-set): Remove unused variable `size'.
26624 (widget-color-action): Remove unused variables `value' and `start'.
26625
26626 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26627 variable `dir'. Doc fix.
26628 (windmove-find-other-window): Don't pass it.
26629
26630 * window.el (count-windows): Mark unused parameter.
26631 (bw-adjust-window): Remove unused variable `err'.
26632
26633 * woman.el (woman-file-name): Remove unused variable `default'.
26634 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26635 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26636 (global-font-lock-mode): Declare.
26637 (woman-decode-region): Mark unused parameter.
26638 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26639
26640 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26641 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26642 (x-dnd-handle-moz-url): Remove unused variable `title'.
26643 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26644
26645 * xml.el (xml-parse-tag, xml-parse-attlist):
26646 Remove unused variable `pos'.
26647
26648 2011-04-19 Glenn Morris <rgm@gnu.org>
26649
26650 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26651 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26652 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26653 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26654 * calendar/cal-html.el (cal-html-insert-minical):
26655 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26656 (calendar-mark-date-pattern):
26657 Prefix "unused" locals.
26658
26659 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26660 optional argument `style'.
26661
26662 * calendar/appt.el (appt-make-list):
26663 * calendar/cal-china.el (calendar-chinese-date-string):
26664 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26665 (diary-hebrew-yahrzeit):
26666 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26667 * calendar/calendar.el (calendar-generate-window):
26668 * calendar/time-date.el (time-to-days):
26669 Remove unused local variables.
26670
26671 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26672
26673 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26674 glyphless-char-display table.
26675 (tabulated-list-glyphless-char-display): New var.
26676
26677 2011-04-18 Sam Steingold <sds@gnu.org>
26678
26679 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26680 to acknowledgments.
26681
26682 2011-04-17 Glenn Morris <rgm@gnu.org>
26683
26684 * calendar/diary-lib.el (diary-sexp-entry):
26685 * calendar/holidays.el (holiday-sexp):
26686 Set debug-on-error rather than the removed stack-trace-on-error.
26687
26688 2011-04-16 Glenn Morris <rgm@gnu.org>
26689
26690 * progmodes/f90.el: Use lexical-binding.
26691 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26692
26693 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26694
26695 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26696 (mail-mode): Setup mailalias completion here instead.
26697 * mail/mailalias.el: Use lexical-binding.
26698 (pattern, mailalias-done): Declare dynamic.
26699 (mail-completion-at-point-function): New function, from mail-complete.
26700 (mail-complete): Use it.
26701 (mail-completion-expand): New function.
26702 (mail-get-names): Use it.
26703 (mail-directory, mail-directory-process, mail-directory-stream):
26704 Don't use `pattern' for lexically bound arg.
26705
26706 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26707
26708 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26709 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26710 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26711
26712 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26713 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26714 (byte-interactive-p): Define them again, for use when inlining
26715 old code.
26716
26717 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26718
26719 * loadup.el: Use `string-to-number', not `string-to-int'.
26720
26721 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26722
26723 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26724 gud-gdb-complete-command.
26725 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26726 (gud-gdb-completion-at-point): New function.
26727 (gud-gdb-completions): Remove.
26728
26729 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26730
26731 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26732 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26733 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26734 whether `executable-find' is bound.
26735
26736 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26737
26738 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26739
26740 * minibuffer.el (completion-in-region-mode-predicate)
26741 (completion-in-region-mode--predicate): New vars.
26742 (completion-in-region, completion-in-region--postch)
26743 (completion-in-region-mode): Use them.
26744 (completion--capf-wrapper): Also return the hook function.
26745 (completion-at-point, completion-help-at-point):
26746 Adjust and provide a predicate.
26747
26748 Preserve arg names for advice of subr and lexical functions (bug#8457).
26749 * help-fns.el (help-function-arglist): Consolidate the subr and
26750 new-byte-code cases. Add argument `preserve-names' to extract names
26751 from the docstring when needed.
26752 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26753 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26754 (ad-arglist): Use help-function-arglist's new arg.
26755 (ad-definition-type): Use cond.
26756
26757 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26758
26759 * autorevert.el (auto-revert-handler):
26760 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26761 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26762 Don't quote lambda.
26763
26764 * image-mode.el (image-transform-set-scale):
26765 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26766
26767 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26768
26769 * net/network-stream.el (network-stream-open-starttls): Only do
26770 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26771 Upgrades via gnutls-cli are too slow to be done opportunistically.
26772
26773 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26774
26775 * dframe.el (dframe-current-frame): Remove spurious quote.
26776
26777 2011-04-12 Glenn Morris <rgm@gnu.org>
26778
26779 * calendar/cal-tex.el (cal-tex-end-document):
26780 Try to automatically use latin1 input if needed.
26781
26782 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26783 Don't try to cons a mark onto an empty element.
26784
26785 2011-04-11 Leo Liu <sdl.web@gmail.com>
26786
26787 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26788 buffers.
26789 (ido-kill-buffer-at-head): Support killing virtual buffers.
26790
26791 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26792
26793 * minibuffer.el (completion-show-inline-help): New var.
26794 (completion--do-completion, minibuffer-complete)
26795 (minibuffer-force-complete, minibuffer-complete-word):
26796 Inhibit minibuffer messages if completion-show-inline-help is nil.
26797
26798 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26799 to avoid interference from inline help (Bug#5849).
26800
26801 2011-04-10 Leo Liu <sdl.web@gmail.com>
26802
26803 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26804 Fix typo.
26805
26806 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26807
26808 * image-mode.el (image-toggle-display-image): Signal an error if
26809 not in Image mode.
26810 (image-transform-mode, image-transform-resize)
26811 (image-transform-set-rotation): Doc fix.
26812 (image-transform-set-resize): Delete.
26813 (image-transform-set-scale, image-transform-fit-to-height)
26814 (image-transform-fit-to-width): Handle image-toggle-display-image
26815 and image-transform-resize directly.
26816
26817 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26818
26819 * doc-view.el (doc-view-fit-width-to-window)
26820 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26821 New functions for fitting the shown image to the Emacs window size.
26822 (doc-view-mode-map): Add bindings for the new functions.
26823
26824 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26825
26826 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26827 Fix typo in docstring.
26828
26829 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26830
26831 * files.el (file-size-human-readable): Produce one digit after
26832 decimal, like "ls -lh" does.
26833
26834 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26835 the file size representation.
26836
26837 * simple.el (list-processes): If async subprocesses are not
26838 available, error out with a clear error message.
26839
26840 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26841
26842 * help.el (help-form-show): New function, to be called from C.
26843 Put help-form output in a buffer named differently than *Help*.
26844
26845 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26846
26847 * files.el (file-size-human-readable): New function.
26848
26849 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26850 computing the representation inline. Don't require `cl'.
26851
26852 2011-04-08 Glenn Morris <rgm@gnu.org>
26853
26854 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26855
26856 * net/browse-url.el (browse-url-firefox):
26857 Test system-type, not system-configuration.
26858
26859 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26860 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26861 Use log-edit-empty-buffer-p. (Bug#7598)
26862
26863 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26864 (rlogin-mode-map): Initialize in the defvar.
26865 (rlogin): Use ignore-errors.
26866
26867 * replace.el (occur-mode-map): Some fixes for menu items.
26868
26869 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26870
26871 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26872
26873 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26874
26875 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26876 issuing unused warnings.
26877
26878 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26879 macro directly.
26880
26881 * simple.el: Lisp reimplement of list-processes. Based on an
26882 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26883 (process-menu-mode): New major mode.
26884 (list-processes--refresh, list-processes):
26885 (process-menu-visit-buffer): New functions.
26886
26887 * files.el (save-buffers-kill-emacs): Don't assume any return
26888 value of list-processes, which is undocumented anyway.
26889
26890 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26891
26892 * emacs-lisp/tabulated-list.el: New file.
26893
26894 * emacs-lisp/package.el: Use Tabulated List mode.
26895 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26896 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26897 table format using Tabulated List mode variables.
26898 (package--push): New macro, replacing package-list-maybe-add.
26899 (package-menu--generate): Use package--push. Renamed from
26900 package--generate-package-list.
26901 (package-menu-refresh, list-packages): Use it.
26902 (package-menu--print-info): Rename from package-print-package.
26903 Return insertion data instead of inserting it directly.
26904 (package-menu-describe-package, package-menu-execute):
26905 Use tabulated-list-get-id.
26906 (package-menu-mark-delete, package-menu-mark-install)
26907 (package-menu-mark-unmark, package-menu-backup-unmark)
26908 (package-menu-mark-obsolete-for-deletion):
26909 Use tabulated-list-put-tag.
26910 (package--list-packages, package-menu-revert)
26911 (package-menu-get-package, package-menu-get-version)
26912 (package-menu-sort-by-column): Functions deleted.
26913 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26914 (package-menu--status-predicate, package-menu--version-predicate)
26915 (package-menu--name-predicate)
26916 (package-menu--description-predicate): Handle arguments in the
26917 Tabulated List format.
26918 (package-list-packages-no-fetch): Call list-packages.
26919
26920 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26921
26922 * files.el (after-find-file-from-revert-buffer): Remove variable.
26923 (after-find-file): Don't bind it.
26924 (revert-buffer-in-progress-p): New variable.
26925 (revert-buffer): Bind it.
26926 Pass nil for `after-find-file-from-revert-buffer'.
26927
26928 * saveplace.el (save-place-find-file-hook): Use new variable
26929 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26930
26931 2011-04-06 Glenn Morris <rgm@gnu.org>
26932
26933 * Makefile.in (AUTOGEN_VCS): New variable.
26934 (autoloads): Use $AUTOGEN_VCS.
26935
26936 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26937 * calendar/calendar.el (calendar-mode-map):
26938 Check for toolkit scroll bars. (Bug#8305)
26939
26940 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26941
26942 * minibuffer.el (completion-in-region--postch)
26943 (completion-in-region-mode): Remove unnecessary messages.
26944
26945 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26946
26947 * font-lock.el (font-lock-refresh-defaults):
26948 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26949 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26950
26951 * info.el (Info-directory-list, Info-read-node-name-2)
26952 (Info-split-parameter-string): Doc fixes.
26953 (Info-virtual-nodes): Reflow docstring.
26954 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26955 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26956 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26957 Fix typos in docstrings.
26958 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26959 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26960 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26961 (Info-restore-desktop-buffer): Mark unused parameters.
26962 (Info-directory-find-file, Info-directory-find-node)
26963 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26964 (Info-virtual-index-find-node, Info-apropos-find-file)
26965 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26966 Mark unused parameters; fix typos in docstrings.
26967 (Info-virtual-index): Remove unused local variable `nodename'.
26968
26969 2011-04-05 Deniz Dogan <deniz@dogan.se>
26970
26971 * net/rcirc.el: Update my e-mail address.
26972 (rcirc-mode-map): Remove M-o binding.
26973
26974 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26975
26976 * startup.el (command-line): Save the cursor's theme-face
26977 directly, instead of using face-override-spec.
26978
26979 * custom.el (load-theme): Minor optimization in assigning faces.
26980
26981 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26982
26983 * help-fns.el (describe-variable): Complete all variables having
26984 documentation, including keywords.
26985 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26986
26987 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26988
26989 Convert to lexical-binding.
26990
26991 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26992 (bs--get-marked-string, bs--get-modified-string)
26993 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26994 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26995 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26996
26997 * ehelp.el (electric-help-execute-extended)
26998 (electric-help-ctrl-x-prefix):
26999 * hexl.el (hexl-revert-buffer-function):
27000 * linum.el (linum-after-change, linum-after-scroll):
27001 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27002
27003 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27004
27005 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27006
27007 * epa-dired.el:
27008 * epa-mail.el:
27009 * epa-hook.el:
27010 * epa-file.el:
27011 * epa.el:
27012 * epg.el: Use lexical binding.
27013
27014 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27015
27016 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27017
27018 * textmodes/flyspell.el (flyspell-word): Recognize default
27019 dictionary case for flyspell-mark-duplications-exceptions.
27020 Use regexp matching for languages.
27021 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27022 default dictionary (Bug#7926).
27023
27024 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27025
27026 * emacs-lisp/package.el (package--with-work-buffer):
27027 Recognize https URLs.
27028
27029 * net/network-stream.el: Move from gnus/proto-stream.el.
27030 Change prefix to network-stream throughout.
27031 (open-protocol-stream): Merge into open-network-stream, leaving
27032 open-protocol-stream as an alias. Handle nil BUFFER args.
27033
27034 * subr.el (open-network-stream): Move to net/network-stream.el.
27035
27036 2011-04-02 Glenn Morris <rgm@gnu.org>
27037
27038 * find-dired.el (find-exec-terminator): New option.
27039 (find-ls-option): Test for -ls support.
27040 (find-ls-subdir-switches): Test for -b in find-ls-option.
27041 (find-dired, find-grep-dired): Doc fixes.
27042 (find-dired): Use find-exec-terminator.
27043
27044 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27045 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27046 (find-name-arg): Remove purecopy.
27047
27048 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27049 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27050 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27051 accordingly. Don't add the null-device if not needed.
27052
27053 * files.el (save-some-buffers): Doc fix.
27054
27055 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27056
27057 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27058
27059 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27060
27061 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27062 Use `dolist' rather than `mapcar'.
27063
27064 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27065
27066 Add lexical binding.
27067
27068 * subr.el (apply-partially): Use new closures rather than CL.
27069 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27070 (dolist, dotimes): Use slightly different expansion for lexical code.
27071 (functionp): Move to C.
27072 (letrec): New macro.
27073 (with-wrapper-hook): Use it and apply-partially instead of CL.
27074 (eval-after-load): Preserve lexical-binding.
27075 (save-window-excursion, with-output-to-temp-buffer): Turn them
27076 into macros.
27077
27078 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27079
27080 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27081 than the arglist.
27082 (help-add-fundoc-usage): Don't add `Not documented'.
27083 (help-function-arglist): Handle closures, subroutines, and new
27084 byte-code-functions.
27085 (help-make-usage): Remove leading underscores.
27086 (describe-function-1): Handle closures.
27087 (describe-variable): Use special-variable-p for completion.
27088
27089 * files.el (lexical-binding): Declare safe.
27090
27091 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27092 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27093 (pcase): Add `let' pattern.
27094 Change memoization so it actually works.
27095 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27096 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27097 <let>: New case.
27098
27099 * emacs-lisp/macroexp.el: Use lexical binding.
27100 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27101 Don't convert ' to #' without checking that it's indeed quoting
27102 a lambda.
27103
27104 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27105 Use eval-sexp-add-defvars.
27106 (eval-sexp-add-defvars): New fun.
27107
27108 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27109
27110 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27111 Don't autoload.
27112 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27113 than the internal `byte-compile-lambda'.
27114 (defmethod): Don't hide code under quotes.
27115 (eieio-defmethod): New `code' argument.
27116
27117 * emacs-lisp/eieio-comp.el: Remove.
27118
27119 * emacs-lisp/edebug.el (edebug-eval-defun)
27120 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27121 (edebug-toggle): Avoid `eval'.
27122
27123 * emacs-lisp/disass.el (disassemble-internal): Handle new
27124 `closure' objects.
27125 (disassemble-1): Handle new byte codes.
27126
27127 * emacs-lisp/cl.el (pushnew): Silence warning.
27128
27129 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27130 (cl-byte-compile-throw): Remove.
27131 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27132
27133 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27134 closures.
27135
27136 * emacs-lisp/cconv.el: New file.
27137
27138 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27139 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27140 (byte-compile-initial-macro-environment):
27141 Handle declare-function here.
27142 (byte-compile--lexical-environment): New var.
27143 (byte-stack-ref, byte-stack-set, byte-discardN)
27144 (byte-discardN-preserve-tos): New lap codes.
27145 (byte-interactive-p): Don't use any more.
27146 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27147 New macros.
27148 (byte-compile-lapcode): Use them and handle new lap codes.
27149 (byte-compile-obsolete): Remove.
27150 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27151 (byte-compile-arglist-warn): Check late def of inlinable funs.
27152 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27153 since they should have been expanded by now.
27154 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27155 (byte-compile-from-buffer): Remove unused second arg.
27156 (byte-compile-preprocess): New function.
27157 (byte-compile-toplevel-file-form): New function to distinguish
27158 file-form calls from outside from file-form calls from hunk-handlers.
27159 (byte-compile-file-form): Simplify.
27160 (byte-compile-file-form-defsubst): Remove.
27161 (byte-compile-file-form-defmumble): Simplify now that
27162 byte-compile-lambda always returns a byte-code-function.
27163 (byte-compile): Preprocess.
27164 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27165 Remove, not used any more.
27166 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27167 (byte-compile-make-args-desc): New funs.
27168 (byte-compile-lambda): Handle lexical functions. Always return
27169 a byte-code-function.
27170 (byte-compile-reserved-constants): New var, to make up room for
27171 closed-over variables.
27172 (byte-compile-constants-vector): Obey it.
27173 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27174 (byte-compile-macroexpand-declare-function): New function.
27175 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27176 byte-code-functions.
27177 (byte-compile-form): Check obsolescence here.
27178 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27179 (byte-compile-variable-ref): Remove.
27180 (byte-compile-dynamic-variable-op): New fun.
27181 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27182 (byte-compile-variable-set): New funs.
27183 (byte-compile-discard): Add 2 args.
27184 (byte-compile-stack-ref, byte-compile-stack-set)
27185 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27186 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27187 macroexpand-all instead.
27188 (byte-compile-quote-form): Remove.
27189 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27190 (byte-compile-bind, byte-compile-unbind): New funs.
27191 (byte-compile-let): Handle let* and lexical binding.
27192 (byte-compile-let*): Remove.
27193 (byte-compile-catch, byte-compile-unwind-protect)
27194 (byte-compile-track-mouse, byte-compile-condition-case):
27195 Handle a new :fun-body form, used for lexical scoping.
27196 (byte-compile-save-window-excursion)
27197 (byte-compile-with-output-to-temp-buffer): Remove.
27198 (byte-compile-defun): Simplify.
27199 (byte-compile-stack-adjustment): New fun.
27200 (byte-compile-out): Use it.
27201 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27202
27203 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27204 handler any more.
27205
27206 * emacs-lisp/byte-opt.el: Use lexical binding.
27207 (byte-inline-lapcode): Remove (to bytecomp).
27208 (byte-compile-inline-expand): Pay attention to inlining to/from
27209 lexically bound code.
27210 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27211 any more.
27212 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27213 any more and don't call compiler-macros.
27214 (byte-compile-splice-in-already-compiled-code): Remove.
27215 (byte-code): Don't inline any more.
27216 (disassemble-offset): Receive `bytes' as argument rather than via
27217 dynamic scoping.
27218 (byte-compile-tag-number): Declare before first use.
27219 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27220 `return' even if make-spliceable.
27221 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27222 obsolete interactive-p.
27223 (byte-optimize-lapcode): Optimize new lap-codes.
27224 Don't trip up on new form of `byte-constant' lap code.
27225
27226 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27227
27228 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27229
27230 * custom.el (custom-initialize-default, custom-declare-variable):
27231 Use `defvar'.
27232
27233 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27234 New variables.
27235 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27236 (COMPILE_FIRST): Add macroexp and cconv.
27237 * makefile.w32-in: Mirror changes in Makefile.in.
27238
27239 * vc/cvs-status.el:
27240 * vc/diff-mode.el:
27241 * vc/log-edit.el:
27242 * vc/log-view.el:
27243 * vc/smerge-mode.el:
27244 * textmodes/bibtex-style.el:
27245 * textmodes/css-mode.el:
27246 * startup.el:
27247 * uniquify.el:
27248 * minibuffer.el:
27249 * newcomment.el:
27250 * reveal.el:
27251 * server.el:
27252 * mpc.el:
27253 * emacs-lisp/smie.el:
27254 * doc-view.el:
27255 * dired.el:
27256 * abbrev.el: Use lexical binding.
27257
27258 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27259
27260 * info.el (info-display-manual): New function.
27261
27262 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27263
27264 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27265
27266 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27267
27268 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27269 an entry for that server in rcirc-authinfo. (Bug#8385)
27270
27271 2011-03-31 Glenn Morris <rgm@gnu.org>
27272
27273 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27274
27275 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27276
27277 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27278
27279 * progmodes/python.el (python-default-interpreter)
27280 (python-python-command-args, python-jython-command-args)
27281 (python-which-shell, python-which-args, python-which-bufname)
27282 (python-file-queue, python-comint-output-filter-function)
27283 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27284 variables and functions.
27285
27286 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27287
27288 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27289 (completion-in-region-mode): New minor mode.
27290 (completion-in-region): Use it.
27291 (completion-in-region--data, completion-in-region-mode-map): New vars.
27292 (completion-in-region--postch): New function.
27293 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27294 New vars.
27295 (completion--capf-wrapper): New function.
27296 (completion-at-point): Use it to track well-behavedness of
27297 hook functions.
27298 (completion-help-at-point): New command.
27299
27300 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27301
27302 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27303 syntax class to search for whitespace on a single line
27304 (Message-ID: <4D938140.4030905@redhat.com>).
27305
27306 2011-03-30 Leo Liu <sdl.web@gmail.com>
27307
27308 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27309 New commands.
27310 (edit-abbrevs-map): Bind them here.
27311 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27312
27313 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27314
27315 * allout.el (allout-hide-by-annotation, allout-flag-region):
27316 Reduce possibility of overlay leakage by making them volatile.
27317
27318 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27319 hash is not shared between buffers. Mode initialization is
27320 responsible for giving it a useful starting value.
27321 (allout-item-span): Reduce possibility of overlay leakage by
27322 making them volatile.
27323 (allout-widgets-count-buttons-in-region): Add diagnostic function
27324 for tracking down button overlay leaks.
27325
27326 2011-03-29 Leo Liu <sdl.web@gmail.com>
27327
27328 * ido.el (ido-read-internal): Use the default history var
27329 minibuffer-history if no HISTORY is specified.
27330
27331 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27332
27333 * net/imap.el (imap-shell-open, imap-process-connection-type):
27334 Use imap-process-connection-type for 'shell' streams as well as
27335 Kerberos, SSL, other subprocesses.
27336
27337 2011-03-28 Leo Liu <sdl.web@gmail.com>
27338
27339 * abbrev.el (abbrev-table-empty-p): New function.
27340 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27341 nonempty ones. (Bug#5937)
27342
27343 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27344
27345 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27346
27347 2011-03-27 Leo Liu <sdl.web@gmail.com>
27348
27349 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27350 for foreground and background colors.
27351 (ansi-color-make-color-map): Adapt.
27352
27353 2011-03-25 Leo Liu <sdl.web@gmail.com>
27354
27355 * midnight.el (midnight-time-float): Remove. Note it calculates
27356 the microsecond component incorrectly and seconds-to-time does the
27357 same job.
27358 Remove redundant (require 'timer).
27359
27360 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27361 (ido-completions): Remove unused arguments. (Bug#8329)
27362
27363 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27364
27365 * minibuffer.el (completion--flush-all-sorted-completions):
27366 Remove itself from hook.
27367 (completion-at-point): Let the functions perform the completion
27368 immediately and return nil or t.
27369 * comint.el (comint-dynamic-complete-functions): Now identical to
27370 completion-at-point-functions.
27371 (comint-dynamic-list-input-ring): Remove unused var `index'.
27372 (comint--match-partial-filename, comint--unquote&expand-filename):
27373 New funs, split from comint-match-partial-filename.
27374 (comint-dynamic-complete): Use completion-at-point.
27375 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27376
27377 2011-03-24 Drew Adams <drew.adams@oracle.com>
27378
27379 * thingatpt.el: Support `defun'.
27380
27381 2011-03-23 Leo Liu <sdl.web@gmail.com>
27382
27383 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27384
27385 * help-mode.el (help-mode-finish): Tweak regexp.
27386
27387 2011-03-23 Glenn Morris <rgm@gnu.org>
27388
27389 * eshell/esh-opt.el (eshell-eval-using-options):
27390 Do not bind unused local variable `eshell-option-stub'.
27391
27392 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27393
27394 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27395
27396 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27397 keymap variable in `with-no-warnings' to avoid a warning when the
27398 keymap has been already `defconst'ed.
27399
27400 2011-03-22 Leo Liu <sdl.web@gmail.com>
27401
27402 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27403 encode all chars in abbrevs; otherwise use emacs-mule or
27404 utf-8-emacs. (Bug#8308)
27405
27406 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27407
27408 * simple.el (backward-delete-char-untabify):
27409 Avoid warning about using `delete-backward-char'.
27410
27411 * image.el (image-type-file-name-regexps): Make it variable.
27412 `imagemagick-register-types' modifies it, and the user may want
27413 to add new extensions for known image types.
27414 (imagemagick-register-types): Throw error if not using ImageMagick.
27415
27416 2011-03-22 Leo Liu <sdl.web@gmail.com>
27417
27418 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27419 located before rcirc-prompt-end-marker.
27420 (rcirc-complete): Error if point is not after rcirc prompt.
27421 Handle the case when table is nil.
27422 (rcirc-user-authenticated): Define to fix compiler warning.
27423
27424 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27425
27426 * custom.el (custom--inhibit-theme-enable): Make it affect only
27427 custom-theme-set-variables and custom-theme-set-faces.
27428 (provide-theme): Ignore custom--inhibit-theme-enable.
27429 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27430 (custom-enabling-themes): Delete variable.
27431 (enable-theme): Accept only loaded themes as arguments.
27432 Ignore the special custom-enabled-themes variable.
27433 (custom-enabled-themes): Forbid themes from setting this.
27434 Eliminate use of custom-enabling-themes.
27435 (custom-push-theme): Quote "changed" custom var entry.
27436
27437 2011-03-21 Leo Liu <sdl.web@gmail.com>
27438
27439 * ido.el (ido-read-internal): Add ido-selected to history instead
27440 of user input.
27441
27442 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27443
27444 * subr.el (deferred-action-list, deferred-action-function):
27445 Mark obsolete.
27446
27447 2011-03-21 Leo Liu <sdl.web@gmail.com>
27448
27449 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27450 change on 2011-02-13 (bug#8309).
27451
27452 * minibuffer.el (read-file-name-function): Change default value.
27453 (read-file-name--defaults): Rename from read-file-name-defaults.
27454 (read-file-name-default): Rename from read-file-name.
27455 (read-file-name): Call read-file-name-function.
27456
27457 2011-03-21 Glenn Morris <rgm@gnu.org>
27458
27459 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27460 Doc fixes.
27461
27462 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27463
27464 * cus-theme.el: Add missing provide statement.
27465 (customize-create-theme): Extract theme value correctly.
27466 (custom-theme-visit-theme): Autoload.
27467 (customize-create-theme): Prompt before inserting default faces.
27468
27469 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27470
27471 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27472 units and musical notes.
27473
27474 2011-03-20 Leo Liu <sdl.web@gmail.com>
27475
27476 * ido.el (ido-read-internal): Use completing-read-default.
27477 (ido-completing-read): Fix compatibility with completing-read.
27478
27479 2011-03-20 Christian Ohler <ohler@gnu.org>
27480
27481 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27482 (ert-delete-all-tests): Use `called-interactively-p' rather than
27483 `interactive-p'.
27484 (ert--make-xrefs-region): Respect END.
27485
27486 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27487
27488 * dired-aux.el (dired-create-directory): Signal an error if the
27489 directory already exists (Bug#8246).
27490
27491 * facemenu.el (list-colors-display): Call list-faces-display
27492 inside with-help-window.
27493 (list-colors-print): Use display property to align the final
27494 column, instead of checking window-width.
27495
27496 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27497
27498 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27499 windows-nt systems.
27500 (emerge-protect-metachars): Quote correctly for ms-dos and
27501 windows-nt systems.
27502
27503 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27504
27505 * info.el (info-initialize): Replace all uses of `:' with
27506 path-separator for compatibility with non-Unix systems.
27507 Cache quoting of path-separator. (Bug#8258)
27508
27509 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27510
27511 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27512 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27513 (mouse-avoidance-mode): Fix typos in docstrings.
27514
27515 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27516
27517 * startup.el (package-subdirectory-regexp): Move from package.el.
27518 Omit \\` and \\', and let callers add them.
27519
27520 * emacs-lisp/package.el (package-strip-version)
27521 (package-load-all-descriptors): Add \\` and \\' to
27522 package-subdirectory-regexp before using it.
27523 (package-untar-buffer): New arg DIR; ensure that file untars only
27524 into this expected directory. Remove superfluous delete-region.
27525 (package-unpack): Caller changed.
27526 (package-tar-file-info): Use package-subdirectory-regexp.
27527
27528 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27529
27530 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27531 diff-mode-shared-map (bug#8284).
27532 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27533
27534 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27535
27536 * calendar/time-date.el (format-seconds): Use assoc instead of
27537 assoc-string, since assoc-string doesn't exist in XEmacs.
27538
27539 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27540
27541 * custom.el (custom-known-themes): Reflow docstring.
27542 (custom-theme-load-path): Fix typo in docstring.
27543 (load-theme): Fix typo in error message.
27544 (custom-available-themes, custom-variable-theme-value):
27545 Use `let', not `let*'.
27546
27547 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27548
27549 * calc/README: Mention inclusion of musical notes.
27550
27551 * calc/calc-units.el (calc-lu-quant): Rename from
27552 `calc-logunits-quantity'.
27553 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27554 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27555 (calc-db): Rename from `calc-dblevel'.
27556 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27557 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27558 (calc-np): Rename from `calc-nplevel'.
27559 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27560 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27561 (calc-lu-plus): Rename from `calc-logunits-add'.
27562 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27563 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27564 (calc-lu-minus): Rename from `calc-logunits-sub'.
27565 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27566 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27567 (calc-lu-times): Rename from `calc-logunits-mul'.
27568 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27569 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27570 (calc-lu-divide): Rename from `calc-logunits-div'.
27571 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27572 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27573
27574 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27575 functions being autoloaded.
27576
27577 * calc/calc.el (calc-lu-power-reference): Rename from
27578 `calc-logunits-power-reference'.
27579 (calc-lu-field-reference): Rename from
27580 `calc-logunits-field-reference'.
27581
27582 * calc/calc-help.el (calc-l-prefix-help):
27583 Mention musical note functions.
27584
27585 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27586
27587 * minibuffer.el (completion-all-sorted-completions):
27588 Use :completion-cycle-penalty text property if present.
27589
27590 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27591
27592 * allout.el (allout-yank-processing): Adjust for new rebulleting
27593 regime so bullet being yanked is used without prompting the user
27594 for a choice.
27595
27596 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27597
27598 * startup.el (command-line): Warn the user that _emacs is deprecated.
27599
27600 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27601
27602 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27603 (delphi-verbose, delphi-comment-face, delphi-string-face)
27604 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27605 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27606 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27607 (delphi-new-comment-line, delphi-font-lock-defaults)
27608 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27609 Fix typos in docstrings.
27610
27611 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27612
27613 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27614 Invert the roles of character and string values for INSTEAD, so a
27615 string is used for the more common case of a defaulting prompt.
27616
27617 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27618
27619 * progmodes/ruby-mode.el (ruby-backward-sexp):
27620 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27621 * play/gamegrid.el (gamegrid-make-face):
27622 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27623 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27624 * notifications.el (notifications-notify):
27625 * net/xesam.el (xesam-search-engines):
27626 * net/quickurl.el (quickurl-list-insert):
27627 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27628
27629 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27630
27631 * startup.el (command-line): Update package subdirectory regexp.
27632
27633 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27634
27635 * allout.el (allout-abbreviate-flattened-numbering)
27636 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27637
27638 * subr.el (read-char-choice): Only show the cursor after the prompt,
27639 not after the answer.
27640
27641 2011-03-15 Kevin Ryde <user42@zip.com.au>
27642
27643 * help-fns.el (variable-at-point): Skip leading quotes, if any
27644 (bug#8253).
27645
27646 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27647
27648 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27649 warning message.
27650
27651 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27652
27653 * shell.el (shell): When called interactively, offer to change the
27654 shell file name on remote hosts.
27655
27656 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27657
27658 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27659 integration for LDAP parameters. The host, base, user or binddn,
27660 and secret tokens can be specified in a netrc file, for instance.
27661 This is optional because an `auth-source' parameter must be
27662 specified in the search attributes.
27663
27664 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27665
27666 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27667
27668 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27669
27670 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27671 into declaration. Remove redundant and harmful binding.
27672
27673 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27674
27675 * files.el (file-ownership-preserved-p): Pass `integer' as an
27676 explicit 2nd argument to `file-attributes'. If the file's owner
27677 is the Administrators group on Windows, and the current user is
27678 Administrator, consider that a match.
27679
27680 * server.el (server-ensure-safe-dir): Consider server directory
27681 safe on MS-Windows if its owner is the Administrators group while
27682 the current Emacs user is Administrator. Use `=' to compare
27683 numerical UIDs, since they could be integers or floats.
27684
27685 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27686
27687 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27688
27689 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27690
27691 Sync with Tramp 2.2.1.
27692
27693 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27694
27695 * net/trampver.el: Update release number.
27696
27697 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27698
27699 * progmodes/compile.el (compilation--previous-directory): Fix up
27700 various nil/dead-marker mismatches (bug#8014).
27701 (compilation-directory-properties, compilation-error-properties):
27702 Don't call it at a position past the one we're about to change.
27703
27704 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27705 Disable obsolescence warnings in the file that declares it.
27706
27707 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27708
27709 * allout-widgets.el (allout-widgets-tally):
27710 Initialize allout-widgets-tally as a hash table rather than nil to
27711 prevent mode-line redisplay warnings. Also, clarify the module
27712 description and fix a comment typo.
27713
27714 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27715
27716 * help-fns.el (describe-variable): Don't complete keywords.
27717 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27718
27719 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27720
27721 * emacs-lisp/package.el (package-version-join): Impose a standard
27722 string representation for pre/alpha/beta version lists.
27723 (package-unpack-single): Standardize the directory name by passing
27724 it through package-version-join.
27725 (package-strip-rcs-id): Accept any version string that does not
27726 signal an error in version-to-list.
27727
27728 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27729
27730 * simple.el (delete-trailing-whitespace): Return nil for the
27731 benefit of `write-file-functions'.
27732
27733 2011-03-10 Glenn Morris <rgm@gnu.org>
27734
27735 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27736
27737 * vc/vc-git.el (vc-git-program): New option.
27738 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27739 (vc-git--call): Use it.
27740
27741 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27742
27743 * cus-edit.el (Custom-newline): If no button at point, look
27744 for a subgroup button at start-of-line. (Bug#2298)
27745
27746 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27747
27748 2011-03-10 Julien Danjou <julien@danjou.info>
27749
27750 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27751 `cursor-type' is nil.
27752
27753 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27754
27755 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27756
27757 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27758
27759 * allout.el: Change so yank of distinctive-bullet items
27760 preserves the existing header prefix, rebulleting it if necessary,
27761 rather than replacing it. This is necessary for proper operation
27762 of cooperative addons like allout-widgets.
27763 (allout-make-topic-prefix, allout-rebullet-heading):
27764 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27765 value as alternate bullet to be used, instead of prompting the user
27766 for a bullet character.
27767
27768 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27769
27770 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27771 Do not use `tramp-file-name-port', because this returns also
27772 `tramp-default-port'.
27773
27774 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27775
27776 * net/rcirc.el (rcirc-handler-001): Remove useless
27777 with-rcirc-process-buffer.
27778 (rcirc-check-auth-status): Swap arguments to string-match.
27779
27780 2011-03-09 Glenn Morris <rgm@gnu.org>
27781
27782 * shell.el (shell-mode):
27783 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27784
27785 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27786 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27787
27788 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27789
27790 * emacs-lisp/package.el (package-refresh-contents)
27791 (package-menu-execute): Use condition-case-no-debug.
27792
27793 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27794
27795 * simple.el (shell-command-to-string): Use `process-file'.
27796
27797 * emacs-lisp/package.el (package-tar-file-info): Handle also
27798 remote files.
27799
27800 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27801 Use `equal' for upload base check.
27802
27803 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27804
27805 * textmodes/texinfo.el (texinfo-environments):
27806 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27807
27808 2011-03-08 Glenn Morris <rgm@gnu.org>
27809
27810 * cus-start.el (cursor-in-non-selected-windows):
27811 Fix :set quoting oddness. (Bug#8192)
27812
27813 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27814 in some setf expressions. (Bug#2159)
27815
27816 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27817
27818 * custom.el (custom-available-themes): Return themes in
27819 alphabetical order.
27820
27821 See ChangeLog.15 for earlier changes.
27822
27823 ;; Local Variables:
27824 ;; coding: utf-8
27825 ;; End:
27826
27827 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27828
27829 This file is part of GNU Emacs.
27830
27831 GNU Emacs is free software: you can redistribute it and/or modify
27832 it under the terms of the GNU General Public License as published by
27833 the Free Software Foundation, either version 3 of the License, or
27834 (at your option) any later version.
27835
27836 GNU Emacs is distributed in the hope that it will be useful,
27837 but WITHOUT ANY WARRANTY; without even the implied warranty of
27838 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27839 GNU General Public License for more details.
27840
27841 You should have received a copy of the GNU General Public License
27842 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.