* lisp/emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
4 prog-mode-map.
5
6 2013-05-29 Leo Liu <sdl.web@gmail.com>
7
8 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9 (octave-help): Small simplification.
10
11 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12 off the highlight first.
13
14 2013-05-29 Glenn Morris <rgm@gnu.org>
15
16 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
17 Handle idlwave-last-system-routine-info-cons-cell being nil.
18
19 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
20 (idlwave-write-paths): Simplify via with-temp-buffer.
21
22 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
23 * emulation/cua-rect.el: Also load cua-base at run time.
24
25 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
26 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
27 (cperl-imenu-on-info): Require imenu.
28
29 2013-05-28 Alan Mackenzie <acm@muc.de>
30
31 Handle "capitalised keywords" correctly.
32 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
33
34 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
35
36 * eshell/em-unix.el: Added -r option to cp
37
38 2013-05-28 Glenn Morris <rgm@gnu.org>
39
40 * vc/vc-arch.el (vc-exec-after): Declare.
41 (vc-switches): Autoload.
42 * vc/vc-bzr.el: No need to require vc when compiling.
43 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
44 (vc-resynch-buffer, vc-dir-refresh): Declare.
45 (vc-setup-buffer, vc-switches): Autoload.
46 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
47 (vc-resynch-buffer): Declare.
48 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
49 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
50 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
51 (grep-read-regexp, grep-read-files, grep-expand-template)
52 (vc-dir-refresh): Declare.
53 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
54 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
55 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
56 * vc/vc-mtn.el (vc-exec-after): Declare.
57 (vc-switches): Autoload.
58 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
59 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
60 (vc-file-tree-walk): Declare.
61 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
62 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
63 (vc-tag-precondition, vc-rename-master): Autoload.
64 * vc/vc-svn.el (vc-exec-after): Declare.
65 (vc-switches, vc-setup-buffer): Autoload.
66 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
67 Autoload.
68 (vc-resynch-buffer): Declare.
69
70 * obsolete/fast-lock.el (byte-compile-warnings):
71 Don't warn about obsolete features in this obsolete file.
72
73 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
74 Move definition before use.
75
76 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
77 (dun-unix-verbs): Remove dun-zippy.
78 (dun-zippy): Remove function.
79
80 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
81
82 2013-05-27 Juri Linkov <juri@jurta.org>
83
84 * replace.el (replace-search): New function with code moved out
85 from `perform-replace'.
86 (replace-highlight, replace-dehighlight): Move function definitions
87 up closer to `replace-search'. (Bug#11746)
88
89 2013-05-27 Juri Linkov <juri@jurta.org>
90
91 * replace.el (perform-replace): Ignore invisible matches.
92 In addition to checking `query-replace-skip-read-only', also
93 filter out matches by calling `run-hook-with-args-until-failure'
94 on `isearch-filter-predicates', and also check `search-invisible'
95 for t or call `isearch-range-invisible'.
96 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
97
98 2013-05-27 Juri Linkov <juri@jurta.org>
99
100 * isearch.el (isearch-filter-predicates): Rename from
101 `isearch-filter-predicate'. Doc fix. (Bug#11378)
102 (isearch-message-prefix): Display text from the property
103 `isearch-message-prefix' of the currently active filters.
104 (isearch-search): Don't compare `isearch-filter-predicate' with
105 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
106 on `isearch-filter-predicates'. Also check `search-invisible' for t
107 or call `isearch-range-invisible'.
108 (isearch-filter-visible): Make obsolete.
109 (isearch-lazy-highlight-search):
110 Call `run-hook-with-args-until-failure' on
111 `isearch-filter-predicates' and use `isearch-range-invisible'.
112
113 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
114 `isearch-filter-predicates' instead of `funcall'ing
115 `isearch-filter-predicate'.
116 (Info-mode): Set `Info-isearch-filter' to
117 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
118
119 * dired-aux.el (dired-isearch-filter-predicate-orig):
120 Remove variable.
121 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
122 (dired-isearch-filenames-end): Add and remove
123 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
124 instead of changing the value of `isearch-filter-predicate'.
125 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
126 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
127 Put property `isearch-message-prefix' to "filename " on
128 `dired-isearch-filter-filenames'.
129
130 * wdired.el (wdired-change-to-wdired-mode):
131 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
132 locally instead of changing `isearch-filter-predicate'.
133 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
134
135 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
136
137 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
138 return the commit hash (Bug#14459). Also set the
139 `vc-git-detached' property.
140 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
141 (vc-git-mode-line-string): Use the same help-echo format whether
142 in detached mode or not, because we know the actual revision now.
143 When in detached mode, shorten the revision to 7 chars.
144
145 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
146
147 * emacs-lisp/easy-mmode.el (define-minor-mode):
148 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
149 mode hook and provide a docstring.
150
151 2013-05-27 Alan Mackenzie <acm@muc.de>
152
153 Remove spurious syntax-table text properties inserted by C-y.
154 * progmodes/cc-mode.el (c-after-change): Also clear hard
155 syntax-table property with value nil.
156
157 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
158
159 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
160 when reading the events; the buffer layout shall not be changed.
161
162 2013-05-27 Leo Liu <sdl.web@gmail.com>
163
164 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
165 New variable.
166 (inferior-octave-directory-tracker): Automatically re-sync
167 default-directory.
168 (octave-help): Improve handling of 'See also'.
169
170 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * doc-view.el: Minor naming convention tweaks.
173 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
174
175 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
176 even if there's no `display' property yet (bug#14435).
177
178 2013-05-25 Eli Zaretskii <eliz@gnu.org>
179
180 * subr.el (unmsys--file-name): Rename from reveal-filename.
181
182 * Makefile.in (custom-deps, finder-data, autoloads)
183 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
184 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
185 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
186
187 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
190 error-completion on the first 2 args of condition-case (bug#14446).
191 Don't burp at EOB.
192
193 2013-05-25 Leo Liu <sdl.web@gmail.com>
194
195 * comint.el (comint-previous-matching-input): Do not flood the
196 *Messages* buffer with trivial messages.
197
198 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
199
200 * progmodes/flymake.el (flymake-nop): Don't return a string.
201 (flymake-set-at): Fix typo.
202
203 * simple.el (read--expression): New function, extracted from
204 eval-expression. Set completion-at-point-functions (bug#14465).
205 (eval-expression, eval-minibuffer): Use it.
206
207 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
208
209 * progmodes/flymake.el (flymake-save-buffer-in-file)
210 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
211 (flymake-selected-frame, flymake-log, flymake-ins-after)
212 (flymake-set-at, flymake-get-buildfile-from-cache)
213 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
214 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
215 Refine the doc string.
216 (flymake-get-file-name-mode-and-masks): Reformat.
217 (flymake-get-real-file-name-function): Fix a minor bug.
218
219 2013-05-24 Juri Linkov <juri@jurta.org>
220
221 * progmodes/grep.el (grep-mode-font-lock-keywords):
222 Support =linenumber= format used by git-grep for lines with
223 function names. (Bug#13549)
224
225 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * progmodes/octave.el (octave-smie-rules): Return nil rather than
228 0 after a semi-colon; it works better for smie-auto-fill.
229 (octave--indent-new-comment-line): New function.
230 (octave-indent-new-comment-line): Use it (indirectly).
231 (octave-mode): Don't disable smie-auto-fill. Use add-function to
232 modify comment-line-break-function.
233
234 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
235 (smie-setup): Use add-function to set it.
236
237 2013-05-24 Sam Steingold <sds@gnu.org>
238
239 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
240 argument (before the `interactive' argument).
241
242 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
243
244 * image-mode.el (image-mode-winprops): Add winprops to
245 image-mode-winprops-alist before running
246 image-mode-new-window-functions.
247 * doc-view.el (doc-view-new-window-function): Don't delay
248 doc-view-goto-page via timers (bug#14435).
249
250 2013-05-24 Tassilo Horn <tsdh@gnu.org>
251
252 * doc-view.el: Integrate with desktop.el. (Bug#14435)
253 (doc-view-desktop-save-buffer): New function.
254 (doc-view-restore-desktop-buffer): New function.
255 (desktop-buffer-mode-handlers):
256 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
257 handler.
258 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
259 `desktop-save-buffer' function.
260
261 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
262
263 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
264 (tramp-gvfs-file-name-handler): Raise a user error when
265 `tramp-gvfs-enabled' is nil.
266 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
267 Do not raise a user error when loading package. (Bug#14447)
268
269 * net/xesam.el: Move to obsolete/.
270
271 2013-05-24 Glenn Morris <rgm@gnu.org>
272
273 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
274
275 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
276
277 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
278 (Info-find-node, Man-getpage-in-background): Declare.
279
280 * mail/unrmail.el (unrmail):
281 Replace obsolete detect-coding-with-priority.
282
283 * net/socks.el (socks-split-string): Use this rather than split-string.
284 (socks-nslookup-host): Update for above change.
285 (dynamic-choice, s5-dynamic-choice-match)
286 (s5-dynamic-choice-match-inline, s5-widget-value-create):
287 Comment out unused code.
288
289 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
290 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
291 (gud-tooltip-echo-area): Make obsolete.
292 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
293
294 * progmodes/js.el (js--optimize-arglist): Declare.
295
296 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
297
298 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
299 (ediff-window-C): Declare.
300
301 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
302 Tweak requires to silence compiler.
303
304 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
305 (he-search-string, he-tried-table, he-expand-list)
306 (he-init-string, he-string-member, he-substitute-string)
307 (he-reset-string): Declare.
308
309 * obsolete/options.el (list-options): Use custom-variable-p,
310 rather than obsolete alias.
311
312 2013-05-23 Sam Steingold <sds@gnu.org>
313
314 * simple.el (shell-command-on-region): Pass the `replace' argument
315 down to `call-process-region' to comply with the doc as reported on
316 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
317
318 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
319
320 * emacs-lisp/smie.el (smie-indent-forward-token)
321 (smie-indent-backward-token): Handle string tokens (bug#14381).
322
323 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
324
325 * ielm.el (ielm-menu): New menu.
326 (inferior-emacs-lisp-mode): Set comment-start.
327
328 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
329
330 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
331 Fix deactivate action.
332
333 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
334 Add cleveref macros.
335
336 * lisp/textmodes/reftex-parse.el
337 (reftex-locate-bibliography-files): Accept options for
338 bibliography commands.
339 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
340 Add addbibresource. Basic Biblatex support.
341
342 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
343
344 * net/tramp-gvfs.el (top):
345 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
346 when loading package. (Bug#14447)
347
348 2013-05-23 Glenn Morris <rgm@gnu.org>
349
350 * progmodes/js.el: No need to load comint when compiling.
351 (ring-insert, comint-send-string, comint-send-input)
352 (comint-last-input-end, ido-chop): Declare.
353
354 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
355 * vc/ediff-mult.el: Adjust requires.
356 (ediff-directories-internal, ediff-directory-revisions-internal)
357 (ediff-patch-file-internal): Declare.
358 * vc/ediff-ptch.el: Adjust requires.
359 (ediff-use-last-dir, ediff-buffers-internal): Declare.
360 (ediff-find-file): Autoload.
361 * vc/ediff-util.el: No need to load ediff when compiling.
362 (ediff-regions-internal): Declare.
363 * vc/ediff-wind.el: Adjust requires.
364 (ediff-compute-toolbar-width): Define when compiling.
365 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
366 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
367 (dired-get-filename, dired-get-marked-files)
368 (ediff-last-dir-patch, ediff-patch-default-directory)
369 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
370 (ediff-patch-buffer-internal): Declare.
371
372 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
373 (ispell-process, ispell-buffer-local-words, lm-summary)
374 (lm-section-start, lm-section-end): Declare.
375 (checkdoc-ispell-init): Simplify.
376
377 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
378 (he-string-member, he-reset-string, he-substitute-string): Declare.
379
380 * eshell/em-ls.el: Adjust requires.
381 (eshell-glob-regexp): Declare.
382 * eshell/em-tramp.el: Adjust requires.
383 (eshell-parse-command): Autoload.
384 * eshell/em-xtra.el: Adjust requires.
385 (eshell-parse-command): Autoload.
386 * eshell/esh-ext.el: Adjust requires.
387 (eshell-parse-command, eshell-close-handles): Autoload.
388 * eshell/esh-io.el: Adjust requires.
389 (eshell-output-filter): Autoload.
390 * eshell/esh-util.el: No need to load tramp when compiling.
391 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
392 Declare.
393 (eshell-parse-ange-ls): Require ange-ftp and tramp.
394 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
395 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
396 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
397 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
398 * eshell/esh-opt.el, eshell/esh-proc.el:
399 * eshell/esh-var.el: Adjust requires.
400 * eshell/eshell.el: Do not require esh-util twice.
401 (eshell-add-input-to-history): Declare.
402 (eshell-command): Check history module is active before using it.
403
404 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
405
406 2013-05-22 Leo Liu <sdl.web@gmail.com>
407
408 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
409
410 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
411
412 * autorevert.el (auto-revert-notify-add-watch)
413 (auto-revert-notify-handler): Add `attrib' for the inotify case,
414 it indicates changes in file modification time.
415
416 2013-05-22 Glenn Morris <rgm@gnu.org>
417
418 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
419 Always delete the autoloaded function from the noruntime and
420 unresolved functions lists.
421
422 * allout.el: No need to load epa, epg, overlay when compiling.
423 (epg-context-set-passphrase-callback, epg-list-keys)
424 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
425 (epg-key-user-id-list): Declare.
426
427 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
428 (viper-set-parsing-style-toggling-macro)
429 (viper-set-emacs-state-searchstyle-macros):
430 Use called-interactively-p on Emacs.
431 (viper-looking-back): Make it an obsolete alias. Update callers.
432 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
433 Use looking-back rather than viper-looking-back.
434 (viper-tmp-insert-at-eob, viper-enlarge-region)
435 (viper-read-string-with-history, viper-register-to-point)
436 (viper-append-to-register, viper-change-state-to-vi)
437 (viper-backward-char-carefully, viper-forward-char-carefully)
438 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
439 (viper-change-state-to-emacs): Declare.
440 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
441 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
442 * emulation/viper-mous.el: Do not load viper-cmd.
443 (viper-backward-char-carefully, viper-forward-char-carefully)
444 (viper-forward-word, viper-adjust-window): Declare.
445
446 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
447
448 * progmodes/idlw-help.el (idlwave-help-fontify):
449 Use called-interactively-p.
450
451 * term/w32console.el (w32-get-console-codepage)
452 (w32-get-console-output-codepage): Declare.
453
454 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
455 Remove unnecessary declarations.
456 (dframe-message): Doc fix.
457
458 * info.el (dframe-select-attached-frame, dframe-current-frame):
459 Declare.
460
461 * speedbar.el (speedbar-message): Make it an obsolete alias.
462 Update all callers.
463 (speedbar-with-attached-buffer)
464 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
465 (speedbar-with-writable): Use backquote.
466 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
467 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
468 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
469 rather than speedbar- aliases.
470 * mail/rmail.el: Load dframe rather than speedbar when compiling.
471 (speedbar-make-specialized-keymap, speedbar-insert-button)
472 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
473 (speedbar-do-function-pointer): Declare.
474 (rmail-speedbar-button, rmail-speedbar-find-file)
475 (rmail-speedbar-move-message):
476 Use dframe-with-attached-buffer rather than speedbar- alias.
477 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
478 (dframe-message, speedbar-make-specialized-keymap)
479 (speedbar-add-expansion-list, speedbar-mode-functions-list)
480 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
481 (speedbar-insert-button, dframe-select-attached-frame)
482 (dframe-maybee-jump-to-attached-frame)
483 (speedbar-change-initial-expansion-list)
484 (speedbar-previously-used-expansion-list-name): Declare.
485 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
486 Use dframe-message, dframe-with-attached-buffer rather than
487 speedbar- aliases.
488 (gud-sentinel): Silence compiler.
489 * progmodes/vhdl-mode.el (speedbar-refresh)
490 (speedbar-do-function-pointer, speedbar-add-supported-extension)
491 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
492 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
493 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
494 (speedbar-file-lists, speedbar-make-tag-line)
495 (speedbar-line-directory, speedbar-goto-this-file)
496 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
497 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
498 (speedbar-make-button, speedbar-reset-scanners)
499 (speedbar-files-item-info, speedbar-line-text)
500 (speedbar-find-file-in-frame, speedbar-set-timer)
501 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
502 (speedbar-with-writable): Do not (re)define it.
503 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
504 rather than speedbar- alias.
505
506 2013-05-21 Leo Liu <sdl.web@gmail.com>
507
508 * progmodes/octave.el (octave-mode-menu): Update and re-organize
509 menu items.
510 (octave-mode): Tweak fill-nobreak-predicate.
511 (inferior-octave-startup): Check process to avoid infinite loop.
512 (inferior-octave): Pop to buffer first to show abornmal process
513 exit information.
514
515 2013-05-21 Glenn Morris <rgm@gnu.org>
516
517 * printing.el (pr-menu-bar): Define when compiling.
518
519 2013-05-21 Leo Liu <sdl.web@gmail.com>
520
521 * progmodes/octave.el (octave-auto-fill): Remove.
522 (octave-indent-new-comment-line): Improve.
523 (octave-mode): Use auto fill mode through
524 comment-line-break-function and fill-nobreak-predicate
525 (octave-goto-function-definition): Support DEFUN_DLD.
526 (octave-beginning-of-defun): Small Tweak
527 (octave-help): Show parent directory.
528
529 2013-05-21 Glenn Morris <rgm@gnu.org>
530
531 * files.el (dired-unmark):
532 * progmodes/gud.el (gdb-input): Update declarations.
533
534 * calculator.el (electric, ehelp): No need to load when compiling.
535 (Electric-command-loop, electric-describe-mode): Declare.
536
537 * doc-view.el (doc-view-current-converter-processes): Move before use.
538
539 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
540 Move MODE-set-explicitly definition before use.
541
542 * international/mule-diag.el (mule-diag):
543 Don't use obsolete window-system-version.
544
545 * mail/feedmail.el (smtpmail): No need to load when compiling.
546 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
547
548 * mail/mail-utils.el (rfc822): No need to load when compiling.
549 (rfc822-addresses): Autoload it.
550 (mail-strip-quoted-names): Trivial simplification.
551
552 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
553 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
554
555 * net/snmp-mode.el (tempo): Don't duplicate requires.
556
557 * progmodes/prolog.el (info): No need to load when compiling.
558 (comint): Require before shell requires it.
559 (Info-goto-node): Autoload it.
560 (Info-follow-nearest-node): Declare.
561 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
562
563 * textmodes/artist.el (picture-mode-exit): Declare.
564
565 * textmodes/reftex-parse.el (reftex-parse-from-file):
566 Trivial rewrite so the compiler can parse it better.
567
568 2013-05-20 Leo Liu <sdl.web@gmail.com>
569
570 * progmodes/octave.el (octave-help-mode-map)
571 (octave-help-mode-finish-hook): New variables.
572 (octave-help-mode, octave-help-mode-finish): New functions.
573 (octave-help): Use octave-help-mode.
574
575 2013-05-20 Glenn Morris <rgm@gnu.org>
576
577 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
578
579 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
580
581 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
582 start at point, so that expansion starting right after opening
583 slash in a regexp is recognized.
584 (ruby-syntax-before-regexp-re): New defvar, extracted from
585 ruby-syntax-propertize-function. Since the value of this regexp
586 is looked up at runtime now, we should be able to turn
587 `ruby-syntax-methods-before-regexp' into a defcustom later.
588 (ruby-syntax-propertize-function): Split regexp matching into two
589 parts, for opening and closing slashes. That allows us to skip
590 over string interpolations and support multiline regexps.
591 Don't call `ruby-syntax-propertize-expansions', instead use another rule
592 for them, which calls `ruby-syntax-propertize-expansion'.
593 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
594 call to `ruby-syntax-propertize-function'.
595 (ruby-syntax-propertize-expansion): Extracted from
596 `ruby-syntax-propertize-expansions'. Handles one expansion.
597 (ruby-syntax-propertize-percent-literal): Leave point right after
598 the percent symbol, so that the expression expansion rule can
599 propertize the contents.
600 (ruby-syntax-propertize-heredoc): Leave point at bol following the
601 heredoc openers.
602 (ruby-syntax-propertize-expansions): Remove.
603
604 2013-05-18 Juri Linkov <juri@jurta.org>
605
606 * man.el (Man-default-man-entry): Remove `-' from the end
607 of the default value. (Bug#14400)
608
609 2013-05-18 Glenn Morris <rgm@gnu.org>
610
611 * comint.el (comint-password-prompt-regexp):
612 Allow "password for XXX" where XXX contains colons (eg https://...).
613
614 2013-05-18 Leo Liu <sdl.web@gmail.com>
615
616 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
617 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
618 (octave-source-directories): Don't check process.
619 (octave-source-directories, octave-find-definition): Doc fix.
620
621 2013-05-18 Glenn Morris <rgm@gnu.org>
622
623 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
624 Remove backspace/delete bindings. (Bug#14392)
625
626 * cus-dep.el (custom-make-dependencies): Sort the output.
627 (custom-versions-load-alist): Convert comment to doc.
628
629 2013-05-17 Leo Liu <sdl.web@gmail.com>
630
631 * newcomment.el (comment-search-backward): Stricter in finding
632 comment start. (Bug#14303)
633
634 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
635 (octave-comment-start-skip): Properly anchored.
636
637 2013-05-17 Leo Liu <sdl.web@gmail.com>
638
639 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
640 Clean up when turned off. (Bug#14395)
641 (smie--highlight-matching-block-overlay): No longer buffer-local.
642 (smie-highlight-matching-block): Adjust.
643
644 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
645
646 Doc string fix for "nanoseconds" (Bug#14406).
647 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
648 Fix doc string typo that had "nanoseconds" instead of "microseconds".
649
650 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
651
652 * calc/calc-units.el (math-extract-units): Preserve powers
653 of units.
654
655 2013-05-17 Leo Liu <sdl.web@gmail.com>
656
657 * subr.el (delete-consecutive-dups): New function.
658 * ido.el (ido-set-matches-1): Use it.
659 * progmodes/octave.el (inferior-octave-completion-table): Use it.
660 * ido.el (ido-remove-consecutive-dups): Remove.
661
662 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
663
664 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
665 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
666 regexp-opt's `words'.
667
668 2013-05-16 Leo Liu <sdl.web@gmail.com>
669
670 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
671 (smie--highlight-matching-block-overlay)
672 (smie--highlight-matching-block-lastpos)
673 (smie--highlight-matching-block-timer): New variables.
674 (smie-highlight-matching-block): New function.
675 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
676 (smie-setup): Conditionally enable smie-blink-matching-open.
677
678 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
679
680 Sync with upstream verilog-mode r840.
681 * progmodes/verilog-mode.el (verilog-mode-version)
682 (verilog-mode-release-date): Update.
683 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
684 (verilog-sig-tieoff): Fix string error on
685 AUTORESET with colon define, bug594. Reported by Andrew Hou.
686 (verilog-read-decls): Fix parameters confusing
687 AUTOINST interfaces, bug565. Reported by Leith Johnson.
688
689 2013-05-16 Eli Zaretskii <eliz@gnu.org>
690
691 * subr.el (reveal-filename): New function.
692
693 * loadup.el: Compute Emacs executable versions on MS-Windows,
694 where executables have the .exe extension. Add a hard link
695 emacs-XX.YY.ZZ.exe on MS-Windows.
696
697 * Makefile.in (XARGS_LIMIT): New variable.
698 (custom-deps, finder-data, autoloads)
699 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
700 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
701 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
702 (compile-main): Limit xargs according to $(XARGS_LIMIT).
703
704 2013-05-16 Leo Liu <sdl.web@gmail.com>
705
706 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
707 (octave-mode-menu, octave-mode-map): Remove its uses.
708
709 2013-05-16 Reto Zimmermann <reto@gnu.org>
710
711 Sync with upstream vhdl mode v3.34.2.
712 * progmodes/vhdl-mode.el: Use `push' throughout.
713 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
714 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
715 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
716 (vhdl-actual-generic-name): New option to derive actual generic name.
717 (vhdl-port-paste-signals): Replace formal by actual generics.
718 (vhdl-beautify): New name for old group vhdl-align. Update users.
719 (vhdl-beautify-options): New option.
720 (vhdl-last-input-event): New compat alias. Use throughout.
721 (vhdl-goto-line): Replace user level function `goto-line'.
722 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
723 vhdl-fix-statement-buffer.
724 (vhdl-create-mode-menu): Add some entries.
725 (vhdl-align-region-groups): Respect vhdl-beautify-options.
726 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
727 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
728 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
729 to force statements on one line.
730 (vhdl-remove-trailing-spaces-region):
731 New, split from vhdl-remove-trailing-spaces.
732 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
733 Respect vhdl-beautify-options.
734 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
735 (vhdl-update-sensitivity-list): Not add with index if exists without.
736 Not include array index with signal. Ignore keywords in comments.
737 (vhdl-get-visible-signals): Regexp tweaks.
738 (vhdl-template-component-inst): Handle empty library.
739 (vhdl-template-type): Add template for 'enum' type.
740 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
741 Use vhdl-replace-string.
742 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
743 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
744 (vhdl-speedbar-initialize): Update for above name change.
745 (vhdl-compose-wire-components): Fix in handling of constants.
746 (vhdl-error-regexp-emacs-alist): New variable.
747 (vhdl-error-regexp-add-emacs): New function;
748 adds support for new compile.el (Emacs 22+)
749 (vhdl-generate-makefile-1): Change target order for single lib. units.
750 Allow use of absolute file names.
751
752 2013-05-16 Leo Liu <sdl.web@gmail.com>
753
754 * simple.el (prog-indent-sexp): Indent enclosing defun.
755
756 2013-05-15 Glenn Morris <rgm@gnu.org>
757
758 * cus-start.el (show-trailing-whitespace): Move to editing basics.
759 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
760 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
761 (whitespace-highlight): Move to whitespace group.
762
763 * comint.el (comint-source):
764 * pcmpl-linux.el (pcmpl-linux):
765 * shell.el (shell-faces):
766 * eshell/esh-opt.el (eshell-opt):
767 * international/ccl.el (ccl): Remove empty custom groups.
768
769 * completion.el (dynamic-completion-mode):
770 * jit-lock.el (jit-lock-debug-mode):
771 * minibuffer.el (completion-in-region-mode):
772 * type-break.el (type-break-mode-line-message-mode)
773 (type-break-query-mode):
774 * emulation/tpu-edt.el (tpu-edt-mode):
775 * progmodes/subword.el (global-subword-mode, global-superword-mode):
776 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
777 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
778
779 * term/xterm.el (xterm): Change parent group to terminals.
780
781 * master.el (master): Remove empty custom group.
782 (master-mode): Remove unused :group argument.
783 * textmodes/refill.el (refill): Remove empty custom group.
784 (refill-mode): Remove unused :group argument.
785
786 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
787
788 * cus-dep.el: Provide a feature.
789 (custom-make-dependencies): Ignore dotfiles (dir-locals).
790 Don't mistakenly ignore files whose basenames match a basename
791 from preloaded-file-list (eg cedet/ede/simple.el).
792 Add a fallback method for getting :group.
793
794 2013-05-15 Juri Linkov <juri@jurta.org>
795
796 * isearch.el (isearch-char-by-name): Rename from
797 `isearch-insert-char-by-name'. Doc fix.
798 (isearch-forward): Mention `isearch-char-by-name' in
799 the docstring. (Bug#13348)
800
801 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
802 `exit-minibuffer' instead of
803 `isearch-nonincremental-exit-minibuffer'.
804 (isearch-edit-string): Remove mention of
805 `isearch-nonincremental-exit-minibuffer' from docstring.
806 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
807 (isearch-forward-exit-minibuffer)
808 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
809
810 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * loadup.el: Just use unversioned DOC.
813
814 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
815 literals as extending to EOB.
816 (nxml-last-fontify-end): Remove unused variable.
817 (nxml-after-change1): Use with-silent-modifications.
818 (nxml-extend-after-change-region): Simplify.
819 (nxml-extend-after-change-region1): Remove function.
820 (nxml-after-change1): Don't adjust for dependent regions.
821 (nxml-fontify-matcher): Simplify.
822 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
823 (xmltok-add-dependent): Remove function.
824 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
825 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
826 (xmltok-scan-prolog-after-processing-instruction-open): Treat
827 unclosed <[[, <?, comment, and other literals as extending to EOB.
828 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
829 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
830 Remove functions.
831 (rng-do-some-validation-1): Don't mark dependent regions.
832 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
833 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
834 (nxml-clear-dependent-regions): Remove functions.
835 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
836 (nxml-ensure-scan-up-to-date):
837 Don't clear&mark dependent regions.
838
839 2013-05-15 Leo Liu <sdl.web@gmail.com>
840
841 * progmodes/octave.el (octave-goto-function-definition):
842 Improve and fix callers.
843
844 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
845
846 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
847 the setter (bug#14387).
848
849 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
850 surrounding group (bug#14402).
851
852 2013-05-14 Juri Linkov <juri@jurta.org>
853
854 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
855 (Bug#14390)
856
857 2013-05-14 Glenn Morris <rgm@gnu.org>
858
859 * progmodes/f90.el (f90-imenu-generic-expression):
860 Fix typo in 2013-05-08 change. (Bug#14402)
861
862 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
863
864 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
865 Remove signals for which replies are never received.
866
867 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
868
869 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
870 (gdb-handler-alist, gdb-handler-number): Remove variables.
871 (gdb-handler-list): New variable.
872 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
873 (gdb-pending-handler-p, gdb-handle-reply)
874 (gdb-remove-all-pending-triggers): New functions.
875 (gdb-discard-unordered-replies): New defcustom.
876 (gdb-handler): New defstruct.
877 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
878 instead of gdb-pending-triggers. Update docstring.
879 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
880 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
881 (gdb-var-update-handler, def-gdb-auto-update-trigger)
882 (def-gdb-auto-update-handler, gdb-get-changed-registers)
883 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
884 (gdb-frame-handler): Pending triggers are now automatically managed.
885 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
886 Remove argument.
887 (gdb-input): Automatically handles pending triggers. Update docstring.
888 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
889 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
890 Update comments.
891 (gdb-done-or-error): Now use gdb-handle-reply.
892
893 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
894
895 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
896 gdb-debug-log.
897
898 2013-05-14 Glenn Morris <rgm@gnu.org>
899
900 * subr.el (user-emacs-directory-warning): New option.
901 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
902
903 2013-05-14 Leo Liu <sdl.web@gmail.com>
904
905 * progmodes/octave.el (octave-font-lock-keywords): Fix error
906 during redisplay.
907 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
908 (octave-font-lock-texinfo-comment): Fix invalid search bound
909 error: wrong side of point.
910
911 2013-05-14 Glenn Morris <rgm@gnu.org>
912
913 * progmodes/flymake.el (flymake-xml-program): New option.
914 (flymake-xml-init): Use it.
915
916 * term/xterm.el: Provide a feature.
917
918 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
919
920 2013-05-13 Glenn Morris <rgm@gnu.org>
921
922 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
923 Add compat aliases as a hack workaround. (Bug#14384)
924
925 2013-05-13 Leo Liu <sdl.web@gmail.com>
926
927 * progmodes/octave.el (octave-indent-comment): Fix indentation for
928 ###, and %!.
929 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
930 C-M-q.
931 (octave-comment-start-skip): Include %!.
932 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
933
934 2013-05-12 Leo Liu <sdl.web@gmail.com>
935
936 * progmodes/octave.el (inferior-octave-startup): Store the value
937 of __octave_srcdir__ for octave-source-directories.
938 (inferior-octave-check-process): New function refactored out of
939 inferior-octave-send-list-and-digest.
940 (octave-source-directories)
941 (octave-find-definition-filename-function): New variables.
942 (octave-source-directories)
943 (octave-find-definition-default-filename): New functions.
944 (octave-find-definition): Improve to find functions implemented in C++.
945
946 2013-05-12 Glenn Morris <rgm@gnu.org>
947
948 * calendar/diary-lib.el (diary-outlook-format-1):
949 Don't include dayname in the output. (Bug#14349)
950
951 2013-05-11 Glenn Morris <rgm@gnu.org>
952
953 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
954
955 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
956 Treat cc-provide like provide.
957
958 2013-05-11 Kevin Ryde <user42@zip.com.au>
959
960 * cus-dep.el (custom-make-dependencies):
961 Use generated-autoload-load-name for the sake of files such
962 such cedet/semantic/bovine/c.el, where the base file name
963 is not in load-path. (Bug#5277)
964
965 2013-05-11 Glenn Morris <rgm@gnu.org>
966
967 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
968 Provide features.
969
970 2013-05-11 Leo Liu <sdl.web@gmail.com>
971
972 * progmodes/octave.el (octave-indent-comment): Improve.
973 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
974 (octave-eldoc-function-signatures, octave-eldoc-function):
975 New functions.
976 (octave-mode, inferior-octave-mode): Add eldoc support.
977
978 2013-05-11 Richard Stallman <rms@gnu.org>
979
980 * epa.el (epa-decrypt-file): Take output file name as argument
981 and read it using `interactive'.
982
983 2013-05-11 Leo Liu <sdl.web@gmail.com>
984
985 * progmodes/octave.el (octave-beginning-of-line)
986 (octave-end-of-line): Check before using up-list because it jumps
987 out of more syntactic contructs since moving to smie.
988 (octave-indent-comment): New function.
989 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
990 (octave-begin-keywords, octave-end-keywords)
991 (octave-reserved-words, octave-smie-bnf-table)
992 (octave-smie-rules): Add new keywords from Octave 3.6.4.
993
994 2013-05-11 Glenn Morris <rgm@gnu.org>
995
996 * faces.el (internal-face-x-get-resource):
997 * frame.el (ns-display-monitor-attributes-list):
998 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
999
1000 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1001
1002 * calc/calc-menu.el: Make it loadable in isolation.
1003
1004 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1005 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1006 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1007 (eudc-bbdb-query-internal): Require 'bbdb.
1008
1009 * lpr.el (lpr-headers-switches):
1010 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1011
1012 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1013
1014 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1015
1016 * term.el (term-set-escape-char): Make it idempotent.
1017
1018 2013-05-10 Leo Liu <sdl.web@gmail.com>
1019
1020 * progmodes/octave.el (inferior-octave-completion-table):
1021 No longer a function and all uses changed. Use cache to speed up
1022 completion due to bug#11906.
1023 (octave-beginning-of-defun): Re-write to be more general.
1024
1025 2013-05-10 Glenn Morris <rgm@gnu.org>
1026
1027 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1028
1029 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1030
1031 * comint.el (comint-redirect-send-command-to-process): Use :around
1032 rather than :override for comint-redirect-filter.
1033 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1034 Call it instead of comint-redirect-original-filter-function (which
1035 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1036
1037 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1038
1039 * frame.el (display-monitor-attributes-list): Add NS case.
1040 (ns-display-monitor-attributes-list): Declare.
1041
1042 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1043
1044 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1045
1046 2013-05-09 Glenn Morris <rgm@gnu.org>
1047
1048 * international/fontset.el (vertical-centering-font-regexp):
1049 Set standard-value.
1050
1051 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1052
1053 * bookmark.el (bookmark-search-delay):
1054 * cus-start.el (vertical-centering-font-regexp):
1055 * ps-mule.el (ps-mule-font-info-database-default):
1056 * ps-print.el (ps-default-fg, ps-default-bg):
1057 * type-break.el (type-break-good-break-interval):
1058 * whitespace.el (whitespace-indentation-regexp)
1059 (whitespace-space-after-tab-regexp):
1060 * emacs-lisp/testcover.el (testcover-1value-functions)
1061 (testcover-noreturn-functions, testcover-progn-functions)
1062 (testcover-prog1-functions):
1063 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1064 * eshell/em-glob.el (eshell-glob-translate-alist):
1065 * play/tetris.el (tetris-tty-colors):
1066 * progmodes/cpp.el (cpp-face-default-list):
1067 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1068 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1069 (idlwave-help-browser-generic-args):
1070 * progmodes/make-mode.el (makefile-special-targets-list):
1071 * progmodes/python.el (python-shell-virtualenv-path):
1072 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1073 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1074 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1075 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1076 * textmodes/reftex-vars.el (reftex-format-label-function):
1077 * textmodes/remember.el (remember-diary-file): Fix custom types.
1078
1079 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1080 Add :version.
1081
1082 2013-05-09 Leo Liu <sdl.web@gmail.com>
1083
1084 * progmodes/octave.el (inferior-octave-completion-at-point):
1085 Restore file completion. (Bug#14300)
1086 (inferior-octave-startup): Fix incorrect highlighting for the
1087 first prompt.
1088
1089 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 * progmodes/ruby-mode.el: First cut at SMIE support.
1092 (ruby-use-smie): New var.
1093 (ruby-smie-grammar): New constant.
1094 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1095 (ruby-smie--forward-token, ruby-smie--backward-token)
1096 (ruby-smie-rules): New functions.
1097 (ruby-mode-variables): Setup SMIE if applicable.
1098
1099 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1100
1101 * simple.el (line-move-visual): Signal beginning/end of buffer
1102 only if vertical-motion moved less than it was requested. Avoids
1103 silly incorrect error messages when there are display strings with
1104 multiple newlines at EOL.
1105
1106 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1107
1108 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1109 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1110 (prolog-char-quote-workaround):
1111 * progmodes/cperl-mode.el (cperl-under-as-char):
1112 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1113 Mark as obsolete.
1114 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1115 their declaration.
1116 (vhdl-mode-syntax-table-init): Remove.
1117
1118 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1119 last change.
1120
1121 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1122 syntax for "_".
1123 (ld-script-font-lock-keywords):
1124 Change regexps to use things like \_< and \_>.
1125
1126 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1127 Change all regexps to use things like \_< and \_>.
1128
1129 * progmodes/autoconf.el (autoconf-definition-regexp)
1130 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1131 Handle a _ with symbol syntax.
1132 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1133
1134 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1135 Consolidate declaration.
1136 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1137 the declaration.
1138 (ada-create-syntax-table): Remove.
1139 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1140 already has the right syntax nowadays.
1141 (ada-goto-next-word): Don't change the syntax of "_".
1142
1143 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1144 with-wrapper-hook.
1145
1146 2013-05-08 Sam Steingold <sds@gnu.org>
1147
1148 * thingatpt.el (thing-at-point): Accept optional second argument
1149 NO-PROPERTIES to strip the text properties from the return value.
1150 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1151 to `thing-at-point' instead of stripping the properties ourselves.
1152 Also, when `thing-at-point' fails to find a url, prepend "http://"
1153 to the filename at point on the assumption that the user is
1154 pointing at something like gnu.org/gnu.
1155
1156 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1157
1158 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1159 * faces.el (crm-separator):
1160 Silence byte-compiler.
1161
1162 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1163 (tool-bar-map): Remove unneeded defvars.
1164
1165 2013-05-08 Leo Liu <sdl.web@gmail.com>
1166
1167 Re-work a fix for bug#10994 based on Le Wang's patch.
1168 * ido.el (ido-remove-consecutive-dups): New helper.
1169 (ido-completing-read): Use it.
1170 (ido-chop): Revert fix for bug#10994.
1171
1172 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1173
1174 * cus-edit.el (custom-save-variables):
1175 Pretty-print long values. (Bug#14187)
1176
1177 2013-05-08 Glenn Morris <rgm@gnu.org>
1178
1179 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1180 (m4-mode-syntax-table): Init in the defvar.
1181 (m4-mode-abbrev-table): Let define-derived-mode define it.
1182
1183 2013-05-08 Tom Tromey <tromey@redhat.com>
1184
1185 * progmodes/m4-mode.el (m4-mode-syntax-table):
1186 Do not treat "_" as word constituent. (Bug#14167)
1187
1188 2013-05-07 Glenn Morris <rgm@gnu.org>
1189
1190 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1191 Remove explicit eshell-isearch-cancel-map.
1192
1193 * progmodes/f90.el (f90-smart-end-names): New option.
1194 (f90-smart-end): Doc fix.
1195 (f90-end-block-optional-name): New constant.
1196 (f90-block-match): Respect f90-smart-end-names.
1197
1198 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1201 about implicit semi-colons (bug#14218).
1202
1203 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1204
1205 * frame.el (display-monitor-attributes-list)
1206 (frame-monitor-attributes): New functions.
1207
1208 2013-05-06 Leo Liu <sdl.web@gmail.com>
1209
1210 * progmodes/octave.el (octave-syntax-propertize-function): Change
1211 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1212 (octave-font-lock-keywords): Use octave-operator-regexp.
1213 (octave-completion-at-point): Rename from
1214 octave-completion-at-point-function.
1215 (inferior-octave-directory-tracker): Robustify.
1216 (octave-text-functions): Remove and fix its uses. No such things
1217 any more.
1218
1219 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1220
1221 * emacs-lisp/trace.el (trace--display-buffer): New function.
1222 (trace-make-advice): Use it.
1223
1224 2013-05-06 Juri Linkov <juri@jurta.org>
1225
1226 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1227 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1228 Doc fix.
1229 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1230 in the help string. (Bug#12985)
1231
1232 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1233
1234 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1235
1236 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * progmodes/perl-mode.el: Add support for here documents.
1239 (perl-syntax-propertize-function): Match here-doc markers.
1240 (perl-syntax-propertize-special-constructs): Find their end.
1241 (perl-imenu-generic-expression): Use [:alnum:].
1242
1243 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1244 (advice--add-function): Refresh the advice if already present
1245 (bug#14317).
1246
1247 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1248
1249 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1250
1251 2013-05-06 Glenn Morris <rgm@gnu.org>
1252
1253 * w32-fns.el (w32-charset-info-alist): Declare.
1254
1255 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1256 of its defcustom properties.
1257 (eshell-cmpl-initialize): No need to load pcomplete.
1258
1259 * generic-x.el: No need to require comint when compiling.
1260
1261 * net/eudc-export.el: Make it loadable without bbdb.
1262 (top-level): Use require rather than load-library.
1263 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1264 (eudc-batch-export-records-to-bbdb)
1265 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1266 Require bbdb.
1267
1268 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1271 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1272 some tweaks, instead.
1273
1274 2013-05-05 Leo Liu <sdl.web@gmail.com>
1275
1276 * progmodes/octave.el (octave-font-lock-keywords)
1277 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1278 (inferior-octave-send-list-and-digest): Improve error message.
1279 (octave-mode, inferior-octave-mode): Use setq-local.
1280 (octave-help): Set info-lookup-mode.
1281
1282 2013-05-05 Richard Stallman <rms@gnu.org>
1283
1284 * vc/compare-w.el (compare-windows-whitespace):
1285 Treat no-break space as whitespace.
1286
1287 * mail/rmailsum.el (rmail-summary-rmail-update):
1288 Detect empty summary and don't change selected message.
1289 (rmail-summary-goto-msg): Likewise.
1290
1291 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1292 Doc fixes, rename args.
1293
1294 2013-05-05 Alan Mackenzie <acm@muc.de>
1295
1296 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1297
1298 2013-05-05 Juri Linkov <juri@jurta.org>
1299
1300 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1301 to not add the length of the summary segment to the return value.
1302 (Bug#14125)
1303
1304 2013-05-05 Leo Liu <sdl.web@gmail.com>
1305
1306 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1307 (inferior-octave-output-filter): Remove.
1308 (octave-send-region, inferior-octave-startup): Fix callers.
1309 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1310 (octave-binary-file-extensions): New user variable.
1311 (octave-find-definition): Confirm if opening binary files.
1312 (octave-help-file): Use octave-find-definition to get the binary
1313 confirmation.
1314 (octave-help): Adjust for octave-help-file change.
1315
1316 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1317
1318 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1319 Merge the two entries that handle function definitions.
1320 (pascal--syntax-propertize): New const.
1321 (pascal-mode): Use it. Use setq-local.
1322
1323 2013-05-04 Glenn Morris <rgm@gnu.org>
1324
1325 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1326 (diary-from-outlook): Respect diary-from-outlook-function.
1327
1328 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1331 Move the declaration from C.
1332 (read-minibuffer, eval-minibuffer): Move from C.
1333 (completion-setup-function): Avoid minibuffer-completion-contents.
1334
1335 2013-05-03 Leo Liu <sdl.web@gmail.com>
1336
1337 * progmodes/octave.el (octave-font-lock-keywords): Do not
1338 dehighlight 'end' in comments or strings.
1339 (octave-completing-read, octave-goto-function-definition):
1340 New helpers.
1341 (octave-help-buffer): New user variable.
1342 (octave-help-file, octave-help-function): New button types.
1343 (octave-help): New command and bind it to C-h ;.
1344 (octave-find-definition): New command and bind it to M-.
1345 (user-error): Alias to error if not defined.
1346
1347 2013-05-02 Leo Liu <sdl.web@gmail.com>
1348
1349 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1350 for \. (bug#14332)
1351 (octave-font-lock-keywords): Include [ and {.
1352
1353 2013-05-02 Leo Liu <sdl.web@gmail.com>
1354
1355 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1356 (inferior-octave): Remove calling comint-mode and return the buffer.
1357 (inferior-octave-startup): Cosmetic changes.
1358
1359 2013-05-02 Leo Liu <sdl.web@gmail.com>
1360
1361 * progmodes/octave.el (octave-syntax-propertize-function):
1362 Include the case when ' is at line beginning. (Bug#14336)
1363
1364 2013-05-02 Glenn Morris <rgm@gnu.org>
1365
1366 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1367 * desktop.el (vc-dir-mode): Just autoload it here.
1368
1369 2013-05-02 Alan Mackenzie <acm@muc.de>
1370
1371 Eliminate variable c-standard-font-lock-fontify-region-function.
1372 * progmodes/cc-mode.el
1373 (c-standard-font-lock-fontify-region-function): Remove.
1374 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1375
1376 2013-05-01 Leo Liu <sdl.web@gmail.com>
1377
1378 * progmodes/octave.el: Compatible with older emacs-24 releases.
1379 (inferior-octave-has-built-in-variables): Remove. Built-in
1380 variables were removed from Octave in 2007.
1381 (inferior-octave-startup): Fix uses.
1382 (comint-line-beginning-position): Remove compatibility code for
1383 emacs 21.
1384
1385 2013-05-01 Juri Linkov <juri@jurta.org>
1386
1387 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1388
1389 2013-05-01 Juri Linkov <juri@jurta.org>
1390
1391 * comint.el (comint-previous-matching-input): Don't print message
1392 "History item: %d" when `isearch-mode' is active.
1393 (comint-history-isearch-message): Print message "History item: %d"
1394 when `comint-input-ring-index' is not empty and this function is
1395 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1396
1397 2013-05-01 Leo Liu <sdl.web@gmail.com>
1398
1399 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1400 definitions. Use completion-at-point to insert keywords.
1401 (octave-abbrev-start): Remove.
1402 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1403
1404 2013-04-30 Leo Liu <sdl.web@gmail.com>
1405
1406 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1407 change.
1408
1409 2013-04-30 Alan Mackenzie <acm@muc.de>
1410
1411 Handle arbitrarily long C++ member initialisation lists.
1412 * progmodes/cc-engine.el (c-back-over-member-initializers):
1413 new function.
1414 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1415 (most) member init lists.
1416
1417 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1418
1419 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1420 variable.
1421
1422 2013-04-30 Leo Liu <sdl.web@gmail.com>
1423
1424 * progmodes/octave.el (octave-variables): Remove. No builtin
1425 variables any more. All converted to functions.
1426 (octave-font-lock-keywords, octave-completion-at-point-function):
1427 Fix uses.
1428 (octave-font-lock-texinfo-comment): New user variable.
1429 (octave-texinfo-font-lock-keywords): New variable for texinfo
1430 comment block.
1431 (octave-function-comment-block): New face.
1432 (octave-font-lock-texinfo-comment): New function.
1433 (octave-mode): Font lock texinfo comment block.
1434
1435 2013-04-29 Leo Liu <sdl.web@gmail.com>
1436
1437 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1438 indexing expression.
1439 (octave-continuation-string): Do not use \.
1440 (inferior-octave-complete-impossible): Remove.
1441 (inferior-octave-completion-table)
1442 (inferior-octave-completion-at-point): Remove its uses.
1443 (inferior-octave-startup): completion_matches was introduced to
1444 Octave in 1996 so safe to assume it.
1445 (octave-function-file-comment): Improve to follow how Octave does it.
1446 (octave-update-function-file-comment): Tweak.
1447
1448 2013-04-29 Leo Liu <sdl.web@gmail.com>
1449
1450 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1451 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1452 (octave-function-file-comment): Fix typo.
1453 (octave-sync-function-file-names): Use read-char-choice.
1454
1455 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1456
1457 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1458 to t for the less important warnings.
1459
1460 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1461
1462 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1463
1464 2013-04-27 Glenn Morris <rgm@gnu.org>
1465
1466 * vc/log-view.el (log-view-current-entry):
1467 Treat "---" separator lines as part of the following rev. (Bug#14169)
1468
1469 2013-04-27 Juri Linkov <juri@jurta.org>
1470
1471 * subr.el (read-number): Doc fix about using it by interactive
1472 code letter `n'. (Bug#14254)
1473
1474 2013-04-27 Juri Linkov <juri@jurta.org>
1475
1476 * desktop.el (desktop-auto-save-timeout): New option.
1477 (desktop-file-checksum): New variable.
1478 (desktop-save): Add optional arg `auto-save' and don't auto-save
1479 if nothing changed.
1480 (desktop-auto-save-timer): New variable.
1481 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1482 (after-init-hook): Call `desktop-auto-save-set-timer'.
1483 Suggested by Reuben Thomas <rrt@sc3d.org> in
1484 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1485
1486 2013-04-27 Leo Liu <sdl.web@gmail.com>
1487
1488 * progmodes/octave.el (octave-function-file-p)
1489 (octave-skip-comment-forward, octave-function-file-comment)
1490 (octave-update-function-file-comment): New functions.
1491 (octave-mode-map): Bind C-c ; to
1492 octave-update-function-file-comment.
1493 (octave-mode-menu): Add octave-update-function-file-comment.
1494 (octave-mode, inferior-octave-mode): Fix doc-string.
1495 (octave-insert-defun): Conform to Octave's coding convention.
1496 (Bug#14285)
1497
1498 * files.el (basic-save-buffer): Don't let errors in
1499 before-save-hook prevent saving buffer.
1500
1501 2013-04-20 Roland Winkler <winkler@gnu.org>
1502
1503 * faces.el (read-face-name): Use completing-read if arg multiple
1504 is nil.
1505
1506 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1507
1508 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1509 displayed, move point to after the totals line.
1510 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1511 for the details.
1512
1513 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1516 Add current dir to the load-path.
1517 (package-generate-autoloads): Don't rely on
1518 autoload-ensure-default-file.
1519
1520 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1521
1522 * textmodes/remember.el (remember-store-in-files): Document that
1523 the file name format is passed to `format-time-string'.
1524
1525 2013-04-26 Leo Liu <sdl.web@gmail.com>
1526
1527 * progmodes/octave.el (octave-sync-function-file-names): New function.
1528 (octave-mode): Use it in before-save-hook.
1529
1530 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1533 (bug#14274).
1534
1535 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1536 \n and comment, even if it's not an implicit ; (bug#14218).
1537
1538 2013-04-26 Glenn Morris <rgm@gnu.org>
1539
1540 * subr.el (read-number): Once more use `read' rather than
1541 `string-to-number', to trap non-numeric input. (Bug#14254)
1542
1543 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1544
1545 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1546 Use `syntax-multiline' text property consistently instead of
1547 `font-lock-multiline'. (bug#14237).
1548
1549 2013-04-26 Glenn Morris <rgm@gnu.org>
1550
1551 * emacs-lisp/shadow.el (list-load-path-shadows):
1552 No longer necessary to check for duplicate simple.el, since
1553 2012-07-07 change to init_lread to not include installation lisp
1554 directories in load-path when running uninstalled. (Bug#14270)
1555
1556 2013-04-26 Leo Liu <sdl.web@gmail.com>
1557
1558 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1559 (octave-mode, inferior-octave-mode): Use setq-local.
1560 (octave-not-in-string-or-comment-p): Rename to
1561 octave-in-string-or-comment-p.
1562 (octave-in-comment-p, octave-in-string-p)
1563 (octave-in-string-or-comment-p): Replace defsubst with defun.
1564
1565 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1566
1567 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1568
1569 2013-04-25 Bastien Guerry <bzg@gnu.org>
1570
1571 * textmodes/remember.el (remember-data-directory)
1572 (remember-directory-file-name-format): Fix custom types.
1573
1574 2013-04-25 Leo Liu <sdl.web@gmail.com>
1575
1576 * progmodes/octave.el (octave-completion-at-point-function):
1577 Make use of inferior octave process.
1578 (octave-initialize-completions): Remove.
1579 (inferior-octave-completion-table): New function.
1580 (inferior-octave-completion-at-point): Use it.
1581 (octave-completion-alist): Remove.
1582
1583 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1584
1585 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1586 (opascal-mode-syntax-table): New var.
1587 (opascal-literal-kind, opascal-is-literal-end)
1588 (opascal-literal-token-at): Rewrite.
1589 (opascal--literal-start-re, opascal-font-lock-keywords)
1590 (opascal--syntax-propertize): New constants.
1591 (opascal-font-lock-defaults): Adjust.
1592 (opascal-mode): Use them. Set comment-<foo> variables as well.
1593 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1594 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1595 (delphi-other-face, opascal-other-face): Remove face variables.
1596 (opascal-save-state): Remove macro.
1597 (opascal-fontifying-progress-step): Remove constant.
1598 (opascal--ignore-changes): Remove var.
1599 (opascal-set-token-property, opascal-parse-next-literal)
1600 (opascal-is-stable-literal, opascal-complete-literal)
1601 (opascal-is-literal-start, opascal-face-of)
1602 (opascal-parse-region, opascal-parse-region-until-stable)
1603 (opascal-fontify-region, opascal-after-change)
1604 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1605 (opascal-debug-parse-region, opascal-debug-parse-window)
1606 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1607 (opascal-debug-fontify-buffer): Remove.
1608 (opascal-debug-mode-map): Adjust accordingly.
1609
1610 2013-04-25 Leo Liu <sdl.web@gmail.com>
1611
1612 Merge octave-mod.el and octave-inf.el into octave.el with some
1613 cleanups.
1614 * progmodes/octave.el: New file renamed from octave-mod.el.
1615 * progmodes/octave-inf.el: Merged into octave.el.
1616 * progmodes/octave-mod.el: Renamed to octave.el.
1617
1618 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1619
1620 * textmodes/reftex-vars.el
1621 (reftex-label-ignored-macros-and-environments): New defcustom.
1622
1623 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1624
1625 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1628 (smie-indent-keyword): Improve the check to ensure that the next
1629 comment is really on the same line.
1630 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1631
1632 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1633 semi-colons if the line is not otherwise empty (bug#14218).
1634
1635 2013-04-25 Glenn Morris <rgm@gnu.org>
1636
1637 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1638
1639 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1640
1641 * progmodes/opascal.el (opascal-set-token-property): Rename from
1642 opascal-set-text-properties and only set `token' (bug#14134).
1643 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1644 (opascal-literal-text-properties): Remove.
1645 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1646 Adjust callers.
1647
1648 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1649
1650 * textmodes/remember.el (remember-handler-functions): Add an
1651 option for a new handler `remember-store-in-files'.
1652 (remember-data-directory, remember-directory-file-name-format):
1653 New options.
1654 (remember-store-in-files): New function to store remember notes
1655 as separate files within a directory.
1656
1657 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1658
1659 * progmodes/compile.el (compilation-next-error-function):
1660 Pass "formats" to compilation-find-file (bug#11777).
1661
1662 2013-04-24 Glenn Morris <rgm@gnu.org>
1663
1664 * vc/vc-bzr.el (vc-bzr-print-log):
1665 * vc/vc-hg.el (vc-hg-print-log):
1666 * vc/vc-svn.el (vc-svn-print-log):
1667 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1668
1669 * vc/vc-bzr.el (vc-bzr-print-log):
1670 * vc/vc-cvs.el (vc-cvs-print-log):
1671 * vc/vc-git.el (vc-git-print-log):
1672 * vc/vc-hg.el (vc-hg-print-log):
1673 * vc/vc-mtn.el (vc-mtn-print-log):
1674 * vc/vc-rcs.el (vc-rcs-print-log):
1675 * vc/vc-sccs.el (vc-sccs-print-log):
1676 * vc/vc-svn.el (vc-svn-print-log):
1677 * vc/vc.el (vc-print-log-internal): Doc fixes.
1678
1679 2013-04-23 Glenn Morris <rgm@gnu.org>
1680
1681 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1682 Remove venerable code attempting to avoid substitute-command-keys.
1683
1684 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1685
1686 * textmodes/reftex-vars.el (reftex-label-regexps):
1687 Call `reftex-compile-variables' after changes to this variable.
1688
1689 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1692 Use lexical-binding.
1693 (jit-lock-force-redisplay): Use markers, check buffer's continued
1694 existence and beware narrowed buffers.
1695 (jit-lock-fontify-now): Adjust call accordingly.
1696
1697 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1698
1699 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1700 to avoid misleading the user.
1701
1702 2013-04-22 Leo Liu <sdl.web@gmail.com>
1703
1704 * info-look.el: Prefer latex2e.info. (Bug#14240)
1705
1706 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1707
1708 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1709
1710 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1711 * net/tramp.el (tramp-call-process): ... here
1712 (tramp-set-completion-function, tramp-parse-putty):
1713 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1714 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1715 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1716 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1717 (tramp-call-local-coding-command): Use `tramp-call-process'
1718 instead of `tramp-compat-call-process'.
1719
1720 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1721 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1722 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1723 (tramp-find-inline-compress): Improve traces.
1724 (tramp-maybe-send-script): Check for Perl binary.
1725 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1726
1727 2013-04-22 Daiki Ueno <ueno@gnu.org>
1728
1729 * epg.el (epg-context-pinentry-mode): New function.
1730 (epg-context-set-pinentry-mode): New function.
1731 (epg--start): Pass --pinentry-mode option to gpg command.
1732
1733 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1734
1735 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1736 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1737 `completion-at-point'. (Bug#13774)
1738
1739 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1740 default key binding for `describe-distribution' has been moved to
1741 `C-h C-o'. (Bug#13970)
1742
1743 2013-04-21 Glenn Morris <rgm@gnu.org>
1744
1745 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1746 Add doc strings.
1747 (vc-print-log): Clarify interactive prompt.
1748
1749 2013-04-20 Glenn Morris <rgm@gnu.org>
1750
1751 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1752 No longer include timestamp etc information.
1753
1754 2013-04-20 Roland Winkler <winkler@gnu.org>
1755
1756 * faces.el (read-face-name): Bug fix, return just one face if arg
1757 multiple is nil. (Bug#14209)
1758
1759 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1762 (remove-function): Autoload.
1763
1764 * comint.el (comint-redirect-original-filter-function): Remove.
1765 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1766 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1767 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1768 * progmodes/prolog.el (prolog-consult-compile):
1769 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1770 Use add/remove-function instead.
1771 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1772 (gud-tooltip-process-output, gud-tooltip-tips):
1773 Use add/remove-function instead.
1774 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1775 (scheme-interaction-mode, exit-scheme-interaction-mode):
1776 Use add/remove-function instead.
1777
1778 * vc/vc-dispatcher.el: Use lexical-binding.
1779 (vc--process-sentinel): Rename from vc-process-sentinel.
1780 Change last arg to be the code to run. Don't use vc-previous-sentinel
1781 and vc-sentinel-commands any more.
1782 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1783 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1784
1785 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1786
1787 * progmodes/sh-script.el (sh-imenu-generic-expression):
1788 Handle function names with a single character. (Bug#14111)
1789
1790 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1791
1792 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1793 for subroutines defined in an eval (bug#14182).
1794
1795 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1796
1797 * bookmark.el (bookmark-completing-read): Improve handling of empty
1798 string (bug#14176).
1799
1800 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1801
1802 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1803
1804 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1805
1806 New faster Imenu implementation (bug#14058).
1807 * progmodes/python.el:
1808 (python-imenu-prev-index-position):
1809 (python-imenu-format-item-label-function)
1810 (python-imenu-format-parent-item-label-function)
1811 (python-imenu-format-parent-item-jump-label-function):
1812 New vars.
1813 (python-imenu-format-item-label)
1814 (python-imenu-format-parent-item-label)
1815 (python-imenu-format-parent-item-jump-label)
1816 (python-imenu--put-parent, python-imenu--build-tree)
1817 (python-imenu-create-index, python-imenu-create-flat-index)
1818 (python-util-popn): New functions.
1819 (python-mode): Set imenu-create-index-function to
1820 python-imenu-create-index.
1821
1822 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1823
1824 * winner.el (winner-active-region): Use region-active-p, activate-mark
1825 and deactivate-mark (bug#14225).
1826
1827 * simple.el (deactivate-mark): Don't inline it.
1828
1829 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1830
1831 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1832
1833 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1834
1835 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1836 file extensions from the archive-mode entry in order to prefer
1837 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1838
1839 2013-04-18 Leo Liu <sdl.web@gmail.com>
1840
1841 * bindings.el (help-event-list): Add ?\?.
1842
1843 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * subr.el (with-wrapper-hook): Declare obsolete.
1846 * simple.el (filter-buffer-substring-function): New hook.
1847 (filter-buffer-substring): Use it.
1848 (filter-buffer-substring-functions): Mark obsolete.
1849 * minibuffer.el (completion-in-region-function): New hook.
1850 (completion-in-region): Use it.
1851 (completion-in-region-functions): Mark obsolete.
1852 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1853 * abbrev.el (abbrev-expand-function): New hook.
1854 (expand-abbrev): Use it.
1855 (abbrev-expand-functions): Mark obsolete.
1856 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1857 and :filter-return.
1858
1859 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1860
1861 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1862 and do not care about match data.
1863
1864 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1867 completion tables when completing error conditions and
1868 `declare' arguments.
1869 (lisp-complete-symbol, field-complete): Mark as obsolete.
1870 (check-parens): Unmatched parens are user errors.
1871 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1872
1873 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1874
1875 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1876 command changed buffer (ie. `flyspell-pre-buffer' is not current
1877 buffer), which prevents making decisions based on invalid value of
1878 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1879 cause an error when `flyspell-pre-point' was nil after switching
1880 buffers.
1881 (flyspell-post-command-hook): No longer needs to change buffers when
1882 checking pre-word. While at it remove unnecessary progn.
1883
1884 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1885
1886 * textmodes/ispell.el (ispell-add-per-file-word-list):
1887 Fix `flyspell-correct-word-before-point' error when accepting
1888 words and `coment-padding' is an integer by using
1889 `comment-normalize-vars' (Bug #14214).
1890
1891 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1892
1893 New defun movement commands.
1894 * progmodes/python.el (python-nav--syntactically)
1895 (python-nav--forward-defun, python-nav-backward-defun)
1896 (python-nav-forward-defun): New functions.
1897
1898 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1899
1900 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1901 (python-syntax-context): Use named compiler-macro for backwards
1902 compatibility with Emacs 24.x.
1903
1904 2013-04-17 Leo Liu <sdl.web@gmail.com>
1905
1906 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1907 octave-hide-process-buffer.
1908
1909 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1912 (bug#14216).
1913
1914 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1915
1916 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1917 Fix adjustment of offset when receiving incomplete responses from GDB
1918 (bug#14129).
1919
1920 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1923 python-mode-abbrev-table.
1924 (python-skeleton-define): Adjust accordingly.
1925 (python-mode-abbrev-table): New table that inherits from it so that
1926 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1927
1928 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1929 (abbrev-symbol): Use it.
1930 (abbrev--before-point): Use it since we already handle inheritance.
1931
1932 2013-04-16 Leo Liu <sdl.web@gmail.com>
1933
1934 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1935 binding to info-lookup-symbol.
1936
1937 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1938
1939 * minibuffer.el (completion--twq-all):
1940 * term/ns-win.el (ns-initialize-window-system):
1941 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1942
1943 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1944
1945 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1946 global bindings.
1947
1948 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1949
1950 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1951
1952 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1953 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1954 to nil.
1955 (ruby-end-of-defun): Remove the unused arg, change the docstring
1956 to reflect that this function is only used as the value of
1957 `end-of-defun-function'.
1958 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1959 to reflect an earlier change that beginning/end-of-defun functions
1960 jump between methods in a class definition, as well as top-level
1961 functions.
1962
1963 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1964
1965 * minibuffer.el (minibuffer-complete): Don't just scroll
1966 a *Completions* that's been iconified.
1967 (minibuffer-force-complete): Make sure repetitions do cycle when going
1968 through completion-in-region -> minibuffer-complete.
1969
1970 2013-04-15 Alan Mackenzie <acm@muc.de>
1971
1972 Correct the placement of c-cpp-delimiters when there're #s not at
1973 col 0.
1974
1975 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1976 place a submatch around the #.
1977 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1978 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1979 on the #, not BOL.
1980
1981 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1984 (advice--member-p): New arg `name'.
1985 (advice--add-function, advice-member-p): Use it (bug#14202).
1986
1987 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1988
1989 Reformulate java imenu-generic-expression.
1990 The old expression contained ill formed regexps.
1991
1992 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1993 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1994 (cc-imenu-java-method-arg-regexp): New defconsts.
1995 (cc-imenu-java-build-type-args-regex): New defun.
1996 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1997 handling of spaces in the regexp.
1998
1999 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2000
2001 * textmodes/ispell.el (ispell-command-loop): Remove
2002 flyspell highlight of a word when ispell accepts it (bug #14178).
2003
2004 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2005
2006 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2007 uses code from the previous `ange-ftp-run-real-handler'.
2008 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2009 only in case that function exist. This is needed for proper
2010 unloading of Tramp.
2011
2012 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2013
2014 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2015
2016 * textmodes/reftex.el (reftex-compile-variables): Use it.
2017
2018 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2019
2020 * files.el (normal-mode): Only use default major-mode if no other mode
2021 was specified.
2022
2023 * emacs-lisp/trace.el (trace-values): New function.
2024
2025 * files.el: Allow : in local variables (bug#14089).
2026 (hack-local-variable-regexp): New var.
2027 (hack-local-variables-prop-line, hack-local-variables): Use it.
2028
2029 2013-04-13 Roland Winkler <winkler@gnu.org>
2030
2031 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2032 data before it gets modified by bibtex-beginning-of-entry.
2033
2034 2013-04-13 Roland Winkler <winkler@gnu.org>
2035
2036 * textmodes/bibtex.el (bibtex-url): Doc fix.
2037
2038 2013-04-13 Roland Winkler <winkler@gnu.org>
2039
2040 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2041 does not visit a BibTeX file, exclude it from the list of buffers
2042 returned by bibtex-initialize.
2043
2044 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2045
2046 * window.el (split-window): Remove interactive form, since as a
2047 command this function is a special case of split-window-below.
2048 Correct doc string.
2049
2050 2013-04-12 Roland Winkler <winkler@gnu.org>
2051
2052 * faces.el (read-face-name): Do not override value of arg default.
2053 Allow single faces and strings as default values. Remove those
2054 elements from return value that are not faces.
2055 (describe-face): Simplify.
2056 (face-at-point): New optional args thing and multiple so that this
2057 function can provide the same functionality previously provided by
2058 read-face-name.
2059 (make-face-bold, make-face-unbold, make-face-italic)
2060 (make-face-unitalic, make-face-bold-italic, invert-face)
2061 (modify-face, read-face-and-attribute): Use face-at-point.
2062
2063 * cus-edit.el (customize-face, customize-face-other-window)
2064 * cus-theme.el (custom-theme-add-face)
2065 * face-remap.el (buffer-face-set)
2066 * facemenu.el (facemenu-set-face): Use face-at-point.
2067
2068 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2069
2070 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2071
2072 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2073
2074 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2075 off leading { and trailing } from field values.
2076
2077 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2078
2079 * emacs-lisp/timer.el (timer--check): New function.
2080 (timer--time, timer-set-function, timer-event-handler): Use it.
2081 (timer-set-idle-time): Simplify.
2082 (timer--activate): CSE.
2083 (timer-event-handler): Give more info in error message.
2084 (internal-timer-start-idle): New function, moved from C.
2085
2086 * mpc.el (mpc-proc): Add `restart' argument.
2087 (mpc-proc-cmd): Use it.
2088 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2089 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2090 less often.
2091
2092 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2093
2094 * progmodes/sh-script.el: Implement `sh-mode' own
2095 `add-log-current-defun-function' (bug#14112).
2096 (sh-current-defun-name): New function.
2097 (sh-mode): Use the function.
2098
2099 2013-04-09 Bastien Guerry <bzg@gnu.org>
2100
2101 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2102
2103 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2104
2105 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2106
2107 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2108 timer (bug#14156).
2109
2110 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2111
2112 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2113 declaration.
2114
2115 2013-04-07 Leo Liu <sdl.web@gmail.com>
2116
2117 * pcmpl-x.el: New file.
2118
2119 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2120
2121 Do not set x-display-name until X connection is established.
2122 This is needed to prevent from weird situation described at
2123 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2124 * frame.el (make-frame): Set x-display-name after call to
2125 window system initialization function, not before.
2126 * term/x-win.el (x-initialize-window-system): Add optional
2127 display argument and use it.
2128 * term/w32-win.el (w32-initialize-window-system):
2129 * term/ns-win.el (ns-initialize-window-system):
2130 * term/pc-win.el (msdos-initialize-window-system):
2131 Add compatible optional display argument.
2132
2133 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2134
2135 * files.el (normal-backup-enable-predicate): On MS-Windows and
2136 MS-DOS compare truenames of temporary-file-directory and of the
2137 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2138 don't fail comparison by compare-strings. Also, compare file
2139 names case-insensitively on MS-Windows and MS-DOS.
2140
2141 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2144 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2145
2146 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2147
2148 * whitespace.el (whitespace-color-on, whitespace-color-off):
2149 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2150
2151 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2152
2153 * ispell.el (ispell-set-spellchecker-params):
2154 Really set `ispell-args' for all equivs.
2155
2156 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2157
2158 * ido.el (ido-completions): Use extra elements of ido-decorations
2159 (bug#14143).
2160 (ido-decorations): Update docstring.
2161
2162 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2163
2164 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2165 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2166 nil during initialization, in order not to miss changes since the
2167 file was opened. (Bug#14140)
2168
2169 2013-04-05 Leo Liu <sdl.web@gmail.com>
2170
2171 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2172
2173 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2174
2175 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2176
2177 2013-04-04 Glenn Morris <rgm@gnu.org>
2178
2179 * electric.el (electric-pair-inhibit-predicate): Add :version.
2180
2181 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2184 when a package is required several times (bug#14082).
2185
2186 2013-04-04 Roland Winkler <winkler@gnu.org>
2187
2188 * faces.el (read-face-name): Behave as promised by the docstring.
2189 Assume that arg default is a list of faces.
2190 (describe-face): Call read-face-name with list of default faces.
2191
2192 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2193
2194 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2195 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2196 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2197 the header.
2198 (bookmark-exit-hook-internal): Save even if list is empty.
2199
2200 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2201
2202 * emacs-lisp/package.el (package-pinned-packages): New var.
2203 (package--add-to-archive-contents): Obey it (bug#14118).
2204
2205 2013-04-03 Alan Mackenzie <acm@muc.de>
2206
2207 Handle `parse-partial-sexp' landing inside a comment opener
2208 (Bug#13244). Also adapt to the new values of element 7 of a parse
2209 state.
2210
2211 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2212 parameter `not-in-delimiter'. Handle being inside comment opener.
2213 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2214 character in case we're typing a '*' after a '/'.
2215 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2216 instead by passing the parameter to c-state-pp-to-literal.
2217
2218 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2219 for elt. 7 of a parse state.
2220
2221 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2222
2223 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2224 * international/latin1-disp.el, international/mule-util.el:
2225 * language/cyril-util.el, language/european.el, language/ind-util.el:
2226 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2227 * language/tibetan.el, language/viet-util.el:
2228 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2229
2230 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2231
2232 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2233 (electric-pair-post-self-insert-function): Use it.
2234 (electric-pair-default-inhibit): New function, extracted from
2235 electric-pair-post-self-insert-function.
2236
2237 2013-03-31 Roland Winkler <winkler@gnu.org>
2238
2239 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2240
2241 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2242
2243 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2244
2245 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
2246
2247 Un-indent after "pass" and "return" statements (Bug#13888)
2248 * progmodes/python.el (python-indent-block-enders): New var.
2249 (python-indent-calculate-indentation): Use it.
2250
2251 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2252
2253 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2254 defun. Defining it as defalias could introduce too eager
2255 byte-compiler optimization. (Bug#14030)
2256
2257 2013-03-30 Chong Yidong <cyd@gnu.org>
2258
2259 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2260
2261 2013-03-30 Leo Liu <sdl.web@gmail.com>
2262
2263 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2264 (kmacro-execute-from-register): Pass the keyboard macro to
2265 kmacro-call-macro or repeating won't work correctly.
2266
2267 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2268
2269 * progmodes/subword.el: Back to using `forward-symbol'.
2270
2271 * subr.el (forward-whitespace, forward-symbol)
2272 (forward-same-syntax): Move from thingatpt.el.
2273
2274 2013-03-29 Leo Liu <sdl.web@gmail.com>
2275
2276 * kmacro.el (kmacro-to-register): New command.
2277 (kmacro-execute-from-register): New function.
2278 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2279
2280 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2281
2282 * mpc.el: Use defvar-local and setq-local.
2283 (mpc--proc-connect): Connection failures are not bugs.
2284 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2285 (mpc-volume-map): Bind to the up-events.
2286
2287 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2288
2289 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2290 instead of `forward-symbol'.
2291
2292 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2295 (edebug--recursive-edit): Use it.
2296 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2297 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2298
2299 2013-03-28 Leo Liu <sdl.web@gmail.com>
2300
2301 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2302
2303 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2304
2305 * facemenu.el (list-colors-callback): New defvar.
2306 (list-colors-redisplay): New function.
2307 (list-colors-display): Install list-colors-redisplay as the
2308 revert-buffer-function. (Bug#14063)
2309
2310 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2311
2312 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2313 and suffixes don't overlap (bug#14061).
2314
2315 * case-table.el: Use lexical-binding.
2316 (case-table-get-table): New function.
2317 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2318
2319 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2320
2321 * progmodes/subword.el: Add `superword-mode' to do word motion
2322 over symbol_words (parallels and leverages `subword-mode' which
2323 does word motion inside MixedCaseWords).
2324
2325 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2326
2327 * eshell/em-unix.el: Move su and sudo to...
2328 * eshell/em-tramp.el: ...Eshell tramp module.
2329
2330 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2331
2332 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2333 Change return value to be a sexp. Delay `get-buffer' to after
2334 restoring the desktop (bug#13951).
2335
2336 2013-03-26 Leo Liu <sdl.web@gmail.com>
2337
2338 * register.el: Move semantic tag handling back to
2339 cedet/semantic/senator.el. (Bug#14052)
2340
2341 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2342
2343 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2344 into the prompt either (bug#13963).
2345
2346 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2347
2348 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2349 part of "(error-foo)".
2350
2351 2013-03-24 Juri Linkov <juri@jurta.org>
2352
2353 * replace.el (list-matching-lines-prefix-face): New defcustom.
2354 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2355 `occur-engine' if `face-differs-from-default-p' returns t.
2356 (occur-engine): Add `,' inside backquote construct to evaluate
2357 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2358 Pass `prefix-face' to the functions `occur-context-lines' and
2359 `occur-engine-add-prefix'.
2360 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2361 `prefix-face' and propertize the prefix with `prefix-face'.
2362 (Bug#14017)
2363
2364 2013-03-24 Leo Liu <sdl.web@gmail.com>
2365
2366 * nxml/rng-valid.el (rng-validate-while-idle)
2367 (rng-validate-quick-while-idle): Guard against deleted buffer.
2368 (Bug#13999)
2369
2370 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2371 is the last entry in kill-buffer-hook.
2372
2373 * files.el (kill-buffer-hook): Doc fix.
2374
2375 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2376
2377 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2378 Make it safe-local.
2379
2380 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2381
2382 2013-03-23 Leo Liu <sdl.web@gmail.com>
2383
2384 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2385 Remove.
2386
2387 * nxml/rng-valid.el (rng-validate-mode)
2388 (rng-after-change-function, rng-do-some-validation):
2389 * nxml/rng-maint.el (rng-validate-buffer):
2390 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2391 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2392 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2393 (nxml-extend-after-change-region): Use with-silent-modifications.
2394
2395 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2396 timer-idle-list.
2397
2398 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2399 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2400 timer-idle-list. (Bug#13999)
2401
2402 2013-03-23 Juri Linkov <juri@jurta.org>
2403
2404 * info.el (info-index-match): New face.
2405 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2406 main pattern and add text properties with the new face to matches
2407 in index entries relative to the beginning of the index entry.
2408 (Bug#14015)
2409
2410 2013-03-21 Eric Ludlam <zappo@gnu.org>
2411
2412 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2413 Inhibit read only while inserting objects.
2414
2415 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2416
2417 * progmodes/cfengine.el: Update docs to mention
2418 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2419 symbol motion. Remove "_" from the word syntax.
2420
2421 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2422
2423 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2424 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2425
2426 2013-03-20 Juri Linkov <juri@jurta.org>
2427
2428 * info.el (Info-next-reference-or-link)
2429 (Info-prev-reference-or-link): New functions.
2430 (Info-next-reference, Info-prev-reference): Use them.
2431 (Info-try-follow-nearest-node): Handle footnote navigation.
2432 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2433
2434 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2435
2436 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2437 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2438
2439 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2440
2441 Suppress unnecessary non-ASCII chatter during build process.
2442 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2443 (batch-skkdic-convert): Suppress most of the chatter.
2444 It's not needed so much now that machines are faster,
2445 and its non-ASCII component was confusing; see Dmitry Gutov in
2446 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2447
2448 2013-03-20 Leo Liu <sdl.web@gmail.com>
2449
2450 * ido.el (ido-chop): Fix bug#10994.
2451
2452 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2453
2454 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2455 Remove vars.
2456 (whitespace-color-on, whitespace-color-off):
2457 Use `font-lock-fontify-buffer' (Bug#13817).
2458
2459 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2460
2461 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2462 remapping in mode-line.
2463 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2464
2465 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2466
2467 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2468 value for `whitespace-line' face (Bug#13875).
2469 (whitespace-font-lock-keywords): Change description.
2470 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2471 the constructed keywords instead.
2472 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2473
2474 2013-03-19 Leo Liu <sdl.web@gmail.com>
2475
2476 * progmodes/compile.el (compilation-display-error): New command.
2477 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2478 C-o. (Bug#13992)
2479
2480 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2481
2482 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2483
2484 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2485
2486 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2487
2488 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2489
2490 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2491
2492 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2493 * net/tramp-gvfs.el (top):
2494 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2495 (tramp-handle-shell-command): Use it.
2496 (tramp-dissect-file-name): Raise an error when hostname is a
2497 method name, and neither method nor user is specified.
2498
2499 * net/trampver.el: Update release number.
2500
2501 2013-03-18 Leo Liu <sdl.web@gmail.com>
2502
2503 Make sure eldoc can be turned off properly.
2504 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2505 eldoc-mode.
2506 (eldoc-display-message-p): Revert last change.
2507 (eldoc-display-message-no-interference-p)
2508 (eldoc-print-current-symbol-info): Tweak.
2509
2510 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2511
2512 * doc-view.el (doc-view-new-window-function): Check the new window
2513 overlay's display property instead the char property of the
2514 buffer's first char. Use `with-selected-window' instead of
2515 `save-window-excursion' with `select-window'.
2516 (doc-view-document->bitmap): Check the current doc-view overlay's
2517 display property instead the char property of the buffer's first char.
2518
2519 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2520
2521 Automate the build of ja-dic.el (Bug#13984).
2522 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2523 from the input, rather than assume that it's been done for us by the
2524 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2525 the current date into a ja-dic.el comment, as that complicates
2526 regression testing.
2527
2528 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2529
2530 * whitespace.el: Fix double evaluation.
2531 (whitespace-space, whitespace-hspace, whitespace-tab)
2532 (whitespace-newline, whitespace-trailing, whitespace-line)
2533 (whitespace-space-before-tab, whitespace-indentation)
2534 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2535 obsolete defvars.
2536 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2537 (whitespace-color-on): Use a single font-lock-add-keywords call.
2538 Fix double-evaluation of face variables.
2539
2540 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2541
2542 * net/tramp-adb.el (tramp-adb-parse-device-names):
2543 Use `start-process' instead of `call-process'. Otherwise, the
2544 function might be blocked under MS Windows. (Bug#13299)
2545
2546 2013-03-17 Leo Liu <sdl.web@gmail.com>
2547
2548 Extend eldoc to display info in the mode-line. (Bug#13978)
2549 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2550 (eldoc-mode-line-string): New variable.
2551 (eldoc-minibuffer-message): New function.
2552 (eldoc-message-function): New variable.
2553 (eldoc-message): Use it.
2554 (eldoc-display-message-p)
2555 (eldoc-display-message-no-interference-p):
2556 Support eldoc-post-insert-mode.
2557
2558 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2559 (eval-expression): Run it.
2560
2561 2013-03-17 Roland Winkler <winkler@gnu.org>
2562
2563 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2564 strings in the list of return values.
2565
2566 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2567
2568 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2569 radix before checking for HMS forms.
2570
2571 2013-03-16 Leo Liu <sdl.web@gmail.com>
2572
2573 * progmodes/scheme.el: Add indentation and font-locking for λ.
2574 (Bug#13975)
2575
2576 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2579 token before point (bug#13942).
2580
2581 2013-03-16 Leo Liu <sdl.web@gmail.com>
2582
2583 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2584
2585 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2586
2587 * startup.el (command-line-normalize-file-name): Fix handling of
2588 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2589 <xfq.free@gmail.com> in
2590 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2591
2592 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2593
2594 Sync with Tramp 2.2.7.
2595
2596 * net/trampver.el: Update release number.
2597
2598 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2599
2600 * doc-view.el Fix bug#13887.
2601 (doc-view-insert-image): Don't modify overlay associated to
2602 non-live windows, and implement horizontal centering of image in
2603 case it's smaller than the window.
2604 (doc-view-new-window-function): Force redisplay of new windows on
2605 doc-view buffers.
2606
2607 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2608
2609 * saveplace.el (save-place-alist-to-file): Don't sort
2610 `save-place-alist', just pretty-print it (bug#13882).
2611
2612 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2613
2614 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2615 whether `default-file-name-coding-system' is bound. It isn't in
2616 XEmacs.
2617
2618 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2619
2620 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2621 backquotes for `obsolete' (bug#13929).
2622
2623 * international/mule.el (find-auto-coding): Include file name in
2624 obsolescence warning (bug#13922).
2625
2626 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2627
2628 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2629 for CFEngine 3-specific indentation.
2630 (cfengine3-indent-line): Use it. Fix up category regex.
2631 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2632
2633 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * type-break.el (type-break-file-name):
2636 * textmodes/remember.el (remember-data-file):
2637 * strokes.el (strokes-file):
2638 * shadowfile.el (shadow-initialize):
2639 * saveplace.el (save-place-file):
2640 * ps-bdf.el (bdf-cache-file):
2641 * progmodes/idlwave.el (idlwave-config-directory):
2642 * net/quickurl.el (quickurl-url-file):
2643 * international/kkc.el (kkc-init-file-name):
2644 * ido.el (ido-save-directory-list-file):
2645 * emulation/viper.el (viper-custom-file-name):
2646 * emulation/vip.el (vip-startup-file):
2647 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2648 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2649
2650 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2651
2652 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2653 * language/thai-word.el: Switch to UTF-8.
2654
2655 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2656
2657 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2658
2659 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2660
2661 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2662 Use with-current-buffer and don't move point.
2663 (net-utils-run-simple): Remove useless code.
2664 (net-utils-remove-ctl-m): Remove unused custom.
2665
2666 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2667
2668 * international/characters.el (glyphless-set-char-table-range): New fun.
2669 (update-glyphless-char-display): Use it (bug#13744).
2670
2671 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2672
2673 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2674 namespaces in the syntax, indent closer for hanging brace
2675 correctly, allow single-quote delimited 'strings', and make
2676 `cfengine3-mode' the default.
2677
2678 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2679
2680 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2681 Use lexical-binding. Fix up docstring according to conventions.
2682 (gdbmi-debug-mode): New var.
2683 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2684 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2685 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2686 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2687 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2688 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2689 (gdbmi-bnf-incomplete-record-result): New functions.
2690 (gdb-car<): Remove function.
2691 (gdbmi-record-list): Remove variable.
2692 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2693 (gdbmi-bnf-result-state-configs): New const.
2694 (gud-gdbmi-marker-filter): Rewrite.
2695 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2696 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2697 Add `token' argument.
2698 (gdb-done, gdb-error): New functions.
2699 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2700
2701 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * term/xterm.el (xterm--report-background-handler): Don't burp
2704 upon timeout.
2705 (xterm--version-handler): Extract from terminal-init-xterm.
2706 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2707 Allow multiple handlers.
2708 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2709
2710 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2711 (xterm--report-background-handler, xterm--query): New functions.
2712 (terminal-init-xterm): Use them.
2713
2714 2013-03-11 Michael R. Mauger <michael@mauger.com>
2715
2716 * progmodes/sql.el Version 3.2
2717 Please note that my address changed to <michael@mauger.com>;
2718 the <mmaug@yahoo.com> address remains active.
2719 (sql-connection-alist): Updates documentation to fix bug#13715.
2720 (sql-connect): Handle missing `sql-connection-alist' correctly.
2721 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2722 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2723 property.
2724 (sql-default-value): New function.
2725 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2726 values were not used.
2727 (sql-rename-buffer): Make sure alternate buffer name has no text
2728 properties.
2729 (sql-input-sender, sql-execute-feature): Fetch variable with
2730 `buffer-local-value' rather than `with-current-buffer'.
2731 (sql-*): Use #' function syntax consistently.
2732 (sql-*): Use message/error/user-error consistently.
2733
2734 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2735
2736 * xt-mouse.el (xterm-mouse-event-read): Remove.
2737 (xterm-mouse--read-event-sequence-1000)
2738 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2739
2740 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * term/xterm.el (xterm-function-map): Support format used with
2743 formatOtherKeys=1 (bug#13839).
2744
2745 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2746 (with-no-warnings): Use `declare'.
2747
2748 * whitespace.el (whitespace-enable-predicate): New variable.
2749 (whitespace-enable-predicate): Use it.
2750
2751 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2752 (comint-output-filter, comint-update-fence):
2753 Use with-silent-modifications.
2754
2755 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2756
2757 * replace.el (occur-read-regexp-defaults-function): New var.
2758 (occur-read-regexp-defaults): New defun.
2759 (occur-read-primary-args): Propagate above change (bug#13892).
2760
2761 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2762
2763 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2764
2765 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2766
2767 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2768
2769 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2770 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2771 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2772 New defconst.
2773 (tramp-gvfs-file-name-handler-alist) [directory-files]
2774 [directory-files-and-attributes, file-exists-p, file-modes]:
2775 Use Tramp default handler.
2776 [file-acl, file-selinux-context, process-file, set-file-acl]:
2777 [set-file-modes, set-file-selinux-context, shell-command]:
2778 [start-file-process]: Remove handler.
2779 [verify-visited-file-modtime]: New handler.
2780 (tramp-gvfs-dbus-string-to-byte-array)
2781 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2782 calls of `dbus-string-to-byte-array' and
2783 `tramp-gvfs-dbus-byte-array-to-string'.
2784 (tramp-gvfs-handle-copy-file)
2785 (tramp-gvfs-handle-delete-directory)
2786 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2787 (tramp-gvfs-handle-file-directory-p)
2788 (tramp-gvfs-handle-file-executable-p)
2789 (tramp-gvfs-handle-file-name-all-completions)
2790 (tramp-gvfs-handle-file-readable-p)
2791 (tramp-gvfs-handle-file-writable-p)
2792 (tramp-gvfs-handle-insert-directory)
2793 (tramp-gvfs-handle-insert-file-contents)
2794 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2795 (tramp-gvfs-handle-set-visited-file-modtime)
2796 (tramp-gvfs-handle-write-region): Rewrite.
2797 (tramp-gvfs-handle-file-acl)
2798 (tramp-gvfs-handle-file-selinux-context)
2799 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2800 (tramp-gvfs-handle-set-file-modes)
2801 (tramp-gvfs-handle-set-file-selinux-context)
2802 (tramp-gvfs-handle-shell-command)
2803 (tramp-gvfs-handle-start-file-process)
2804 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2805 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2806 over the symlinks. Fix user handling.
2807 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2808 of the D-Bus signals.
2809 (tramp-gvfs-connection-mounted-p): Handle different names of the
2810 D-Bus methods.
2811 (tramp-gvfs-mount-spec-entry): New defun.
2812 (tramp-gvfs-mount-spec): Use it.
2813 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2814 there is a share name. Handle different names of the D-Bus
2815 signals and methods. Set connection properties needed for
2816 `tramp-check-cached-permissions'.
2817 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2818 Return t or nil.
2819
2820 * net/tramp.el (tramp-backtrace): Move up.
2821 (tramp-error): Dump a backtrace into the debug buffer when
2822 `tramp-verbose > 9.
2823 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2824 (tramp-file-mode-permissions, tramp-get-local-uid)
2825 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2826 tramp-sh.el.
2827
2828 * net/tramp-sh.el (tramp-file-mode-type-map)
2829 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2830 (tramp-file-mode-permissions, tramp-get-local-uid)
2831 (tramp-get-local-gid): Move to tramp.el.
2832
2833 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2834
2835 Separate mouse-1-click-follows-link from mouse-drag-region.
2836 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2837 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2838 (mouse-drag-line, mouse-drag-track):
2839 Remove mouse-1-click-follows-link code.
2840 (mouse--remap-link-click-p): Remove.
2841
2842 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2843
2844 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2845 (hi-lock-read-regexp-defaults): New defun.
2846 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2847 (hi-lock-face-phrase-buffer): Propagate above change.
2848 Update docstring (bug#13892).
2849
2850 * subr.el (find-tag-default-as-regexp): New defun.
2851 * replace.el (read-regexp): Propagate above change.
2852
2853 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2854
2855 * calc/calc-units.el (calc-convert-units): Fix the way that default
2856 new units are stored.
2857
2858 2013-03-07 Matthias Meulien <orontee@gmail.com>
2859
2860 * bookmark.el: Define a face to highlight bookmark names in
2861 bookmark menu buffers, where the default is a bold face similarly
2862 to buffer names in buffer menu buffers.
2863 (bookmark-menu-bookmark): New face to highlight bookmark names.
2864 (bookmark-insert-location): Remove duplicated text property to
2865 conform to buffer list (see `list-buffers').
2866 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2867 `bookmark-menu-bookmark' to bookmark names.
2868
2869 2013-03-07 Matthias Meulien <orontee@gmail.com>
2870 Karl Fogel <kfogel@red-bean.com>
2871
2872 * bookmark.el: Display the bookmark list header similarly to the
2873 buffer list header (see `list-buffers'), where the default is now
2874 an immovable/immutable header line.
2875 (bookmark-bmenu-use-header-line): New variable.
2876 (bookmark-bmenu-inline-header-height): New name for
2877 `bookmark-bmenu-header-height', to avoid confusion with the code
2878 for the new immovable header. All references changed.
2879 (bookmark-bmenu-set-header): New function.
2880 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2881 Conditionalize header construction accordingly.
2882 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2883 the inline header height.
2884 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2885 Conditionalize the skipping of the inline header height.
2886
2887 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2888
2889 * progmodes/js.el (js--multi-line-declaration-indentation):
2890 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2891
2892 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2893
2894 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2895 Only propertize regexp when not inside a string (Bug#13885).
2896
2897 2013-03-06 Alan Mackenzie <acm@muc.de>
2898
2899 Correct the position of point in some line-up functions.
2900 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2901 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2902 point at column 0 rather than at a random place in the line.
2903
2904 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2905
2906 * net/tramp-compat.el (tramp-compat-delete-directory):
2907 Implement TRASH argument.
2908
2909 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2910
2911 Keep pre-existing highlighting in completion candidates (Bug#13250).
2912 * minibuffer.el (completions-first-difference): State that the
2913 face is "added" in the docstring.
2914 (completions-common-part): Same. And don't inherit from default.
2915 (completion-hilit-commonality): Prepend 'completions-common-part
2916 and 'completion-first-difference faces to the 'face property,
2917 instead of replacing the value(s).
2918 (completion--insert-strings): Same with 'completions-annotations face.
2919 (completion-hilit-commonality): Use 'face instead of
2920 'font-lock-face, because it gets priority if the completion
2921 strings already have 'face set.
2922
2923 2013-03-04 Alan Mackenzie <acm@muc.de>
2924
2925 Replace `last-command-event' by `last-command-char' in XEmacs.
2926 * progmodes/cc-defs.el (c-last-command-char): New macro.
2927 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2928 (c-semi&comma-no-newlines-before-nonblanks)
2929 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2930 in place of `last-command-event'.
2931 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2932 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2933 (c-electric-paren, c-electric-continued-statement): Use the new
2934 macro in place of `last-command-event'.
2935
2936 2013-03-04 Glenn Morris <rgm@gnu.org>
2937
2938 * files.el (inhibit-local-variables-regexps):
2939 Add .diff and .patch. (Bug#13862)
2940
2941 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2942
2943 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2944 whether the "su" command is available on the device.
2945
2946 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2947
2948 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2949 (tramp-adb-handle-process-file): Remove superfluous setting.
2950 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2951 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2952 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2953
2954 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2955
2956 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2957 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2958 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2959 Use dict-key rather than dict-name for the error message.
2960
2961 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2962
2963 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2964 when reverting (bug#13831).
2965
2966 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2967
2968 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2969 Always expand affix-file before storing to protect against changed
2970 `default-directory'.
2971 (ispell-print-if-debug): Make sure message is printed at the end
2972 of the debug buffer.
2973
2974 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2975
2976 * net/tramp.el (tramp-obsolete-methods): New defconst.
2977 (tramp-warned-obsolete-methods): New defvar.
2978 (tramp-find-method): Check for obsolete methods. Map them to a
2979 replacement method if appropriate.
2980
2981 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2982 Remove methods.
2983 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2984 "ssh2" and "plink1".
2985
2986 2013-02-28 Dale Sedivec <dale@codefu.org>
2987
2988 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2989 Return valid syntax-table property value when converting
2990 quotes within text from string syntax to punctuation syntax (bug#13844).
2991
2992 2013-02-28 Juri Linkov <juri@jurta.org>
2993
2994 * dired-aux.el (dired-diff): If file at point is a backup file,
2995 use its original as the default value, and reverse the order
2996 of arguments to the `diff' call. Doc fix. (Bug#13772)
2997
2998 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2999
3000 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3001 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3002
3003 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3004
3005 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3006
3007 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3008 Ask hunspell about available and default dictionaries.
3009 (ispell-parse-hunspell-affix-file): Extract relevant info from
3010 hunspell affix file.
3011 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3012 `ispell-dictionary-alist' entry for given dictionary after info
3013 provided by `ispell-parse-hunspell-affix-file'.
3014 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3015 of parsed hunspell dicts and associated affix files.
3016 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3017 of parsed hunspell dicts and associated parameters.
3018 (ispell-set-spellchecker-params):
3019 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3020 previously done.
3021 (ispell-start-process):
3022 Call `ispell-hunspell-fill-dictionary-entry' for current
3023 dictionary if it is not initialized.
3024
3025 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3026
3027 * imenu.el: Comment nitpicks.
3028
3029 2013-02-28 Sam Steingold <sds@gnu.org>
3030
3031 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3032 See <http://stackoverflow.com/questions/14720205>.
3033
3034 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3035
3036 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3037 (net-utils-mode): Use it.
3038 (net-utils--revert-cmd): New var.
3039 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3040 (traceroute): Use net-utils-run-simple.
3041
3042 2013-02-28 Glenn Morris <rgm@gnu.org>
3043
3044 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3045
3046 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3047
3048 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3049 (doc-view-fallback-mode): Remove overlays here.
3050 (doc-view-toggle-display): Instead of here. Don't throw away
3051 image-mode-winprops-alist.
3052 (doc-view-goto-page): Don't mess with hscroll.
3053
3054 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3055
3056 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3057 &optional (bug#13819).
3058
3059 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3060
3061 * net/tramp-adb.el (tramp-adb-parse-device-names)
3062 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3063
3064 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3065
3066 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3067 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3068 defined. POSIX environments fall back to the "C" locale then and
3069 emit a warning, which shall be suppressed.
3070
3071 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3073 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3074 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3075
3076 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3077
3078 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3079
3080 2013-02-25 Juri Linkov <juri@jurta.org>
3081
3082 * replace.el (read-regexp): Let-bind `default' to the first
3083 element of `defaults' if it's a list, otherwise it should be
3084 a string or nil. Let-bind `suggestions' to `defaults' if it's
3085 a list, otherwise make a list with the string value. Doc fix.
3086 (Bug#13805)
3087
3088 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3089
3090 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3091 that match "\`\.#", to avoid compiling lock files, even if they
3092 are readable (as they are on MS-Windows).
3093
3094 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * files.el (basic-save-buffer): Remove redundant directory-creation.
3097
3098 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3099
3100 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3101 Add option to force `pi' to remain symbolic.
3102 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3103 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3104 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3105 derivatives, when necessary.
3106
3107 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3108
3109 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3110 (ps-mode-octal-region): Use string-make-unibyte.
3111
3112 2013-02-23 Glenn Morris <rgm@gnu.org>
3113
3114 * emulation/viper-cmd.el (viper-submit-report):
3115 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3116 * progmodes/vera-mode.el (vera-mode-help-address):
3117 * textmodes/artist.el (artist-maintainer-address):
3118 * textmodes/reftex.el (reftex-report-bug):
3119 * vc/ediff-util.el (ediff-submit-report):
3120 Add bug-gnu-emacs to bug report address.
3121
3122 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3123 Remove bug report entries.
3124 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3125
3126 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3127 (byte-compile-file, byte-compile-from-buffer):
3128 Use separate input/output buffers for each level of recursive
3129 byte-compile-file calls. (Bug#13787)
3130
3131 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3132
3133 * net/tramp.el (tramp-methods): Fix docstring.
3134 (tramp-ssh-controlmaster-options): Rename it from
3135 `tramp-ssh-controlmaster-template'. Return a string.
3136 (tramp-default-method): Adapt check for
3137 `tramp-ssh-controlmaster-options'.
3138
3139 * net/tramp-sh.el (tramp-methods):
3140 Replace `tramp-ssh-controlmaster-template' by "%c".
3141 (tramp-do-copy-or-rename-file-out-of-band)
3142 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3143 that it is applied for the first hop only.
3144
3145 2013-02-22 Juri Linkov <juri@jurta.org>
3146
3147 * isearch.el (isearch-lazy-highlight-new-loop):
3148 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3149 to `isearch-other-end' if it is not nil. (Bug#13402)
3150
3151 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3152 to `match-beg'.
3153
3154 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3155 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3156 and `isearch-error' to nil.
3157
3158 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
3159
3160 * progmodes/python.el (python-info-current-defun):
3161 Enhance match-data cluttering prevention.
3162
3163 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3164
3165 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3166
3167 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3168 Handle multibyte file names.
3169
3170 2013-02-22 Glenn Morris <rgm@gnu.org>
3171
3172 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3173 (sgml-transformation-function): Give it a :set function.
3174 (sgml-tag): Doc fix.
3175
3176 * cmuscheme.el (scheme-buffer):
3177 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3178 * progmodes/tcl.el (inferior-tcl-buffer):
3179 * textmodes/tex-mode.el (tex-command): Doc fixes.
3180
3181 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3182
3183 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3184
3185 2013-02-21 Bastien Guerry <bzg@gnu.org>
3186
3187 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3188
3189 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3190
3191 * progmodes/python.el (python-info-current-defun):
3192 Enhance match-data cluttering prevention.
3193
3194 2013-02-21 Glenn Morris <rgm@gnu.org>
3195
3196 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3197 loaded while outline-regexp is let bound. (Bug#9584)
3198
3199 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3200
3201 * progmodes/python.el (python-info-current-defun): Fix failed
3202 defun name retrieval because of unwanted match-data cluttering.
3203
3204 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3205
3206 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3207 defconst. Apply independent check for ControlPersist.
3208
3209 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3210 temporarily, via "env".
3211
3212 2013-02-21 Glenn Morris <rgm@gnu.org>
3213
3214 * info.el (Info-enable-edit): Remove.
3215 (Info-edit): Disable it rather than using Info-enable.
3216 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3217 (Info-cease-edit): Make editing of Info files obsolete.
3218
3219 * informat.el (Info-tagify):
3220 Handle buffers not visiting files. (Bug#13763)
3221
3222 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3223
3224 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3225
3226 2013-02-21 Glenn Morris <rgm@gnu.org>
3227
3228 * files.el (basic-save-buffer): Move check for existing parent
3229 directory after hooks. (Bug#13773)
3230
3231 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3232
3233 * simple.el (command-execute): Move from C. Add obsolete check.
3234 (extended-command-history): Move from C.
3235
3236 2013-02-20 Ulrich Müller <ulm@gentoo.org>
3237
3238 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3239 (jka-compr-mode-alist-additions): Handle .txz suffix for
3240 XZ-compressed tar archives (bug#13770).
3241
3242 2013-02-20 Bastien Guerry <bzg@gnu.org>
3243
3244 * outline.el (outline-regexp, outline-heading-end-regexp):
3245 Make variables, not options (bug#13731).
3246
3247 2013-02-20 Glenn Morris <rgm@gnu.org>
3248
3249 * image.el (image-current-frame): Change from variable to function.
3250 (image-show-frame): Rename from image-nth-frame. Update callers.
3251 * image-mode.el (image-multi-frame): New variable.
3252 (image-mode-map, image-mode, image-goto-frame):
3253 Use image-multi-frame rather than image-current-frame.
3254 (image-mode, image-goto-frame): Use image-current-frame as
3255 function rather than as variable.
3256
3257 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3258 * emacs-lisp/cl-macs.el (cl--make-type-test)
3259 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3260
3261 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3262
3263 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3264 (tramp-get-file-property, tramp-set-file-property)
3265 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3266 (tramp-flush-file-property, tramp-flush-directory-property):
3267 Rename argument to KEY.
3268 (tramp-flush-connection-property): Simplify a little bit.
3269 (tramp-connection-property-p): New defun.
3270 (top): Reapply saved values only if there isn't a corresponding
3271 entry in `tramp-connection-properties'.
3272
3273 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
3274
3275 * progmodes/python.el (python-indent-context):
3276 Fix python-info-line-ends-backslash-p call.
3277 (python-info-line-ends-backslash-p)
3278 (python-info-beginning-of-backslash): Respect line-number argument.
3279 (python-info-current-line-comment-p):
3280 Fix behavior when not at beginning-of-line.
3281 (python-util-position): Remove function.
3282 (python-util-goto-line): New function.
3283
3284 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3285
3286 * eshell/em-unix.el (eshell/su): Require tramp.
3287 (eshell/sudo): Require tramp. Remove now unnecessary check.
3288
3289 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3290 `tramp-current-connection' in order to avoid an error when several
3291 commands are invoked in a short time in eshell and friends.
3292
3293 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3294
3295 Cleanup some of EIEIO's namespace.
3296 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3297 Use it to define all the class-* and object-* field accessors (renamed
3298 to eieio--class-* and eieio--object-*). Update all uses.
3299 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3300 class-num-slots and object-num-slots.
3301 (eieio--check-type): New macro.
3302 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3303 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3304 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3305 (object-assoc-list-safe): Use it.
3306 (eieio-defclass): Tighten regexp.
3307 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3308 Remove unreachable code.
3309 (object-class-fast): Declare obsolete.
3310 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3311 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3312 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3313 Rename from class-name, object-name, object-set-name-string,
3314 object-class, object-class-name, class-parents, class-children,
3315 class-precedence-list, class-parent; with obsolete alias.
3316 (class-of, class-direct-superclasses, class-direct-subclasses):
3317 Declare obsolete.
3318 (eieio-defmethod): Use `memq'; remove unreachable code.
3319 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3320 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3321 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3322
3323 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3324
3325 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3326 commentary.
3327
3328 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3329
3330 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3331 Use font-lock-keyword-face for macros and special forms (bug#8345).
3332
3333 2013-02-17 Didier Verna <didier@didierverna.net>
3334
3335 * net/network-stream.el (network-stream-open-starttls):
3336 Check that response to the starttls-command is non-nil. (Bug#13706)
3337
3338 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3339
3340 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3341 Don't assume all identifier chars have syntax word.
3342 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3343 Remove bar-not-symbol. Adjust callers.
3344 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3345
3346 2013-02-17 Leo Liu <sdl.web@gmail.com>
3347
3348 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3349
3350 2013-02-17 Glenn Morris <rgm@gnu.org>
3351
3352 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3353
3354 * image-mode.el (image-mode-map): Add image-dired menu entry.
3355
3356 * image-dired.el (tumme): Make this alias obsolete.
3357
3358 2013-02-16 Glenn Morris <rgm@gnu.org>
3359
3360 * image.el (image-animated-types): Remove.
3361 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3362 (image-animated-p): Make obsolete alias.
3363 (image-animate, image-nth-frame, image-animate-timeout):
3364 Use image-multi-frame-p.
3365 (image-animate-timeout): If no delay, use image-default-frame-delay.
3366 * image-mode.el (image-mode, image-toggle-animation):
3367 Use image-multi-frame-p. (Bug#763, bug#10739)
3368 (image-mode): Adjust startup message for a multi-frame image.
3369
3370 * image-mode.el (image-mode-map): Give it a menu.
3371
3372 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3373
3374 * net/tramp-cache.el (tramp-connection-properties): New customer
3375 option.
3376 (tramp-get-connection-property): Use it.
3377
3378 * net/tramp-compat.el (top): Require 'trampver.
3379
3380 * net/tramp-sh.el (tramp-remote-process-environment):
3381 Set tramp-autoload cookie.
3382
3383 2013-02-16 Kevin Ryde <user42@zip.com.au>
3384
3385 * info-look.el (info-lookup-select-mode): If major-mode has no
3386 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3387
3388 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3389
3390 * replace.el (read-regexp): Tighten the regexp that matches tag.
3391 When tag is retrieved with `find-tag-default', use regexp that
3392 matches tag at point. Also update docstring (Bug#13687).
3393
3394 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3395
3396 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3397 add watch for the file, not its parent directory, since w32notify
3398 sets up the watch for the directory internally. (Bug#13725)
3399
3400 2013-02-16 Glenn Morris <rgm@gnu.org>
3401
3402 * image.el (image-default-frame-delay): New variable.
3403 (image-animated-p): Use image-default-frame-delay.
3404 (image-minimum-frame-delay): New constant.
3405 (image-animate-timeout): Use image-minimum-frame-delay.
3406
3407 * image.el (image-nth-frame): New, split from image-animate-timeout.
3408 (image-animate-timeout): Use image-nth-frame.
3409 * image-mode.el (image-goto-frame, image-next-frame)
3410 (image-previous-frame): New commands.
3411 (image-mode-map): Add new frame commands.
3412
3413 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3414
3415 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3416 If col-desc already has help-echo, use it. (Bug#13563)
3417
3418 2013-02-16 Glenn Morris <rgm@gnu.org>
3419
3420 * image.el (image-current-frame): New variable.
3421 (image-animate-timeout): Set image-current-frame.
3422 * image-mode.el (image-mode): For animated images,
3423 display a frame counter via mode-line-process.
3424
3425 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3426
3427 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3428
3429 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3430
3431 2013-02-15 Alan Mackenzie <acm@muc.de>
3432
3433 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3434 global minor mode has been enabled, call the minor mode function
3435 for a new buffer once only, after the major mode hook, whilst
3436 allowing that hook explicitly to disable the minor mode.
3437 (MODE-disable-in-buffer): New (generated) function.
3438 (disable-MODE): New (generated) buffer local variable.
3439
3440 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3441
3442 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3443 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3444 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3445 `ido-next-match' and `ido-prev-match' resply.
3446 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3447 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3448 `icomplete-backward-completions' (Bug#13708).
3449
3450 2013-02-15 Glenn Morris <rgm@gnu.org>
3451
3452 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3453
3454 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3455
3456 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3457 (goto-address-fontify-region): Use them instead of narrowing, so
3458 syntax-ppss has access to the whole buffer.
3459
3460 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3461
3462 * progmodes/python.el: Explain how to restore "cc-mode"-like
3463 forward-sexp movement in header documentation (Bug#13642).
3464 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3465 comments and strings (GH bug 114).
3466
3467 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3468
3469 * progmodes/python.el (python-info-current-defun): Fix current
3470 defun detection (Bug#13618).
3471
3472 2013-02-15 Chong Yidong <cyd@gnu.org>
3473
3474 * xml.el (xml-parse-string): Fix typo in handling of bad character
3475 references.
3476
3477 2013-02-15 Glenn Morris <rgm@gnu.org>
3478
3479 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3480
3481 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3482
3483 * net/tramp.el (tramp-debug-message):
3484 Add `tramp-condition-case-unless-debug'.
3485 (tramp-debug-on-error): New defvar.
3486 (tramp-condition-case-unless-debug): New defun.
3487 (tramp-file-name-handler): Use it.
3488
3489 2013-02-14 Juri Linkov <juri@jurta.org>
3490
3491 * info.el (Info-isearch-filter): Treat non-nil values of
3492 `search-invisible' including its default value `open'
3493 like the value `t' to match hidden text. (Bug#13402)
3494
3495 2013-02-14 Glenn Morris <rgm@gnu.org>
3496
3497 * help-fns.el (find-lisp-object-file-name): Give special treatment
3498 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3499
3500 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3501
3502 * net/quickurl.el (quickurl-save-urls):
3503 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3504
3505 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3506
3507 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3508 depth for unfinished percent literal. Not using it in the caller.
3509 (ruby-move-to-block): Jump over multiline literals of all types,
3510 ignoring code-looking contents inside them.
3511 (ruby-add-log-current-method): Improve performance at the expense
3512 of accuracy. `ruby-block-contains-point' is relatively slow, so
3513 only use it for method and singleton class blocks.
3514
3515 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3516
3517 Use ControlMaster where applicable. (Bug#13677)
3518
3519 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3520 replacing `tramp-detect-ssh-controlmaster'.
3521 (tramp-default-method): Use it.
3522
3523 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3524 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3525 arguments.
3526 [scpc, rsyncc]: Remove methods.
3527 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3528 and "ssh2_old".
3529 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3530 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3531
3532 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * emacs-lisp/package.el (package--initialized): Move before first use.
3535
3536 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3537
3538 * icomplete.el (icomplete-hide-common-prefix): New user option.
3539 (icomplete-first-match): New face.
3540 (icomplete-completions): Correct handling of "complete but not
3541 unique" (Bug#12638).
3542
3543 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3544
3545 * descr-text.el (describe-char): Display the script (bug#13698).
3546
3547 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * tmm.el: Use lexical-binding and current-active-maps.
3550 (tmm-menubar): Use map-keymap and pcase.
3551 (tmm--completion-table): New function.
3552 (tmm-prompt): Use it to fix the menu order.
3553 (tmm-get-keybind): Use current-active-maps.
3554
3555 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3556
3557 Add dired-hide-details-mode. (Bug#6799)
3558
3559 * locate.el (locate-mode): Set parent mode property to dired-mode.
3560
3561 * find-dired.el (find-dired): Call dired-insert-set-properties on
3562 initial information line. Set process mark on end of buffer.
3563 (find-dired-sentinel):
3564 Call dired-insert-set-properties on summary.
3565
3566 * dired.el (dired-hide-details-hide-symlink-targets)
3567 (dired-hide-details-hide-information-lines): New options.
3568 (dired-insert-directory):
3569 Set properties after final treatment of output.
3570 (dired-insert-set-properties):
3571 Set dired-hide-details-* properties.
3572 (dired-mode-map): Bind dired-hide-details-mode.
3573 (dired-mode): Set buffer-invisibility-spec to a list.
3574 (dired-next-line): Skip hidden lines.
3575 (dired-previous-line): Use dired-next-line.
3576 (dired-hide-details-mode): New minor mode.
3577 (dired-hide-details-update-invisibility-spec): New function.
3578
3579 2013-02-13 Glenn Morris <rgm@gnu.org>
3580
3581 * play/yow.el: Move to obsolete/. (Bug#9384)
3582
3583 2013-02-13 Juri Linkov <juri@jurta.org>
3584
3585 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3586 to select `ediff-control-frame' and set input focus correctly on Xfce.
3587 (Bug#12218)
3588
3589 2013-02-13 Juri Linkov <juri@jurta.org>
3590
3591 * image-mode.el (image-mode-map):
3592 * doc-view.el (doc-view-mode-map):
3593 * vc/ediff-util.el (ediff-setup-keymap):
3594 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3595
3596 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3597
3598 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3599 performance. Instead of recalculating indentation fully for each
3600 line, sum up indentation depth based only on visited lines.
3601 (ruby-parse-partial): Increase the depth after "do" even when END
3602 is right after it.
3603 (ruby-parse-partial): When END is in the middle of a percent
3604 literal, increase the depth if the delimiter chars belong to the
3605 paren syntax class.
3606
3607 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3608
3609 * play/fortune.el (fortune-compile): Also make the compiled file
3610 if it does not exist at all, not just if it is old. (Bug#5338)
3611
3612 2013-02-13 Glenn Morris <rgm@gnu.org>
3613
3614 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3615
3616 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3617
3618 * lisp/emacs-lisp/package.el (package-menu-execute):
3619 Add optional noquery argument. (Bug#13625)
3620
3621 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3622
3623 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3624 if DIR exists and PARENTS is non-nil.
3625
3626 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3627
3628 * progmodes/js.el (js--multi-line-declaration-indentation):
3629 Silence byte-compiler warning.
3630
3631 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3632
3633 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3634
3635 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3636 only if it doesn't exist.
3637
3638 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3639 Set process marker.
3640
3641 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3642
3643 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3644 UserInstallation when calling soffice to work around LibreOffice
3645 bug 37531.
3646
3647 2013-02-12 Glenn Morris <rgm@gnu.org>
3648
3649 * files.el (basic-save-buffer):
3650 Offer to create a non-existing directory. (Bug#3016)
3651
3652 * calc/calc-graph.el (calc-graph-show-dumb):
3653 * calendar/calendar.el (calendar-mode-map):
3654 * cus-edit.el (custom-mode-map):
3655 * ehelp.el (electric-help-map):
3656 * emulation/vip.el (vip-mode-map):
3657 * epa.el (epa-key-list-mode-map):
3658 * info.el (Info-mode-map):
3659 * mail/rmail.el (rmail-mode-map):
3660 * mail/rmailsum.el (rmail-summary-mode-map):
3661 * man.el (Man-mode-map):
3662 * net/newst-plainview.el (newsticker-mode-map):
3663 * progmodes/cpp.el (cpp-edit-mode-map):
3664 * progmodes/grep.el (grep-mode-map):
3665 * progmodes/idlw-help.el (idlwave-help-mode-map):
3666 * simple.el (special-mode-map):
3667 * startup.el (splash-screen-keymap):
3668 * view.el (view-mode-map):
3669 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3670
3671 2013-02-11 Elias Pipping <pipping@lavabit.com>
3672
3673 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3674 (bug#13679).
3675
3676 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3677
3678 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3679
3680 2013-02-11 Glenn Morris <rgm@gnu.org>
3681
3682 * vc/diff.el (diff-use-labels): New variable.
3683 (diff-no-select): Use --label rather than -L, and first
3684 check that it is supported. (Bug#11067)
3685
3686 * files.el (enable-dir-local-variables): New variable.
3687 (hack-dir-local-variables): Respect enable-dir-local-variables.
3688 * tutorial.el (help-with-tutorial):
3689 Ignore directory-local variables. (Bug#11127)
3690
3691 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3692 (vc-svn-global-switches): ... to here. (Bug#13513)
3693
3694 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3695
3696 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3697 Handle "foo (bar, default: xxx): " prompts.
3698
3699 2013-02-10 Chong Yidong <cyd@gnu.org>
3700
3701 * files.el (basic-save-buffer-1): Do not set
3702 buffer-file-coding-system-explicit (Bug#4533).
3703
3704 * mail/emacsbug.el (report-emacs-bug): Change binding of
3705 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3706
3707 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3708
3709 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3710 * calc/calc-units.el (calc-convert-units): Use new variable.
3711
3712 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3713
3714 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3715
3716 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3717 buffer-file-type.
3718
3719 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3720 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3721 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3722 coding-system-for-write instead.
3723
3724 * jka-compr.el (jka-compr-write-region): Don't bind
3725 buffer-file-type.
3726
3727 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3728 buffer-file-type.
3729
3730 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3731 (insert-file-contents-literally): Remove reference to
3732 file-name-buffer-file-type-alist.
3733
3734 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3735 make-obsolete.
3736 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3737 (find-buffer-file-type-coding-system): Remove references to
3738 find-buffer-file-type-match, find-buffer-file-type, and
3739 buffer-file-type.
3740 Don't put find-buffer-file-type-coding-system into
3741 file-coding-system-alist.
3742 (find-file-binary, find-file-text): Bind coding-system-for-read
3743 instead of file-name-buffer-file-type-alist.
3744
3745 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3746
3747 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3748 converter (Bug#13622).
3749 (doc-view-unoconv-program): Make obsolete alias.
3750 (doc-view-odf->pdf-converter-program): New variable.
3751 (doc-view-odf->pdf-converter-function): New variable.
3752 (doc-view-mode-p): Use it.
3753 (doc-view-odf->pdf-converter-unoconv):
3754 Rename from `doc-view-odf->pdf-converter-unoconv'.
3755 (doc-view-odf->pdf-converter-soffice): New function.
3756 (doc-view-convert-current-doc):
3757 Use `doc-view-odf->pdf-converter-function'.
3758
3759 2013-02-09 Chong Yidong <cyd@gnu.org>
3760
3761 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3762 view-echo-area-messages (Bug#13340).
3763
3764 * help.el (view-echo-area-messages): Use display-buffer.
3765
3766 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3767 (Bug#13561).
3768
3769 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3770
3771 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3772 Eval body right away, now that we do eager macroexpansion (bug#13605).
3773
3774 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3775 (fundamental-mode): Use run-mode-hooks.
3776
3777 * eshell/esh-proc.el (eshell/kill): Fix last change.
3778 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3779
3780 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3781
3782 * eshell/esh-proc.el (eshell/kill): Rewrite.
3783
3784 * eshell/em-ls.el (show-almost-all): Declare.
3785 (eshell-do-ls): Add support for -A argument.
3786
3787 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3788
3789 * icomplete.el (icomplete-forward-completions)
3790 (icomplete-backward-completions): Handle corner case (bug#13602).
3791
3792 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3793
3794 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3795 be nil. Handle this. (Bug#13636)
3796
3797 2013-02-07 Richard Stallman <rms@gnu.org>
3798
3799 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3800 `save-buffer-coding-system'.
3801
3802 2013-02-07 Alan Mackenzie <acm@muc.de>
3803
3804 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3805 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3806 (c-parse-state-get-strategy): Don't return 'BOD any more.
3807 (c-append-lower-brace-pair-to-state-cache):
3808 Extra parameter HERE instead of narrowing.
3809 Widen to top of buffer before searching backwards for a brace pair.
3810 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3811 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3812 Narrow to parameter HERE, in place of being called narrowed.
3813 (c-remove-stale-state-cache): Extra parameter HERE in place of
3814 narrowing. Check there's an open brace in the cache before
3815 searching for its match.
3816 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3817 (c-parse-state-1): Don't narrow here for 'forward strategy,
3818 instead passing extra parameter HERE to several functions.
3819 Remove 'BOD strategy.
3820
3821 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3822
3823 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3824 used to install the package.
3825
3826 2013-02-06 Glenn Morris <rgm@gnu.org>
3827
3828 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3829 if we can't get user input. (Bug#6567)
3830
3831 * startup.el (command-line): If simple.el is missing,
3832 test and warn about for some possible causes.
3833
3834 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3835
3836 * cus-start.el (all): Add ns-use-native-fullscreen.
3837
3838 2013-02-05 Glenn Morris <rgm@gnu.org>
3839
3840 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3841
3842 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3843 Fix directory creation in fallback case.
3844
3845 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3846
3847 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3848 (vc-update-change-log): Use dolist.
3849
3850 2013-02-04 Chong Yidong <cyd@gnu.org>
3851
3852 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3853 code from ffap.el.
3854 (thing-at-point-beginning-of-url-regexp): New var.
3855 (thing-at-point-uri-schemes): Update list of URI schemes.
3856 (thing-at-point-url-regexp): Variable deleted.
3857 (thing-at-point-markedup-url-regexp): Disallow newlines.
3858 (thing-at-point-newsgroup-regexp)
3859 (thing-at-point-newsgroup-heads)
3860 (thing-at-point-default-mail-uri-scheme): New variables.
3861 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3862 method to find the possible bounds of the URI at point.
3863 New optional argument to find ill-formed URIs.
3864 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3865 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3866 the scheme-adding heuristics from ffap-url-at-point.
3867 (thing-at-point--bounds-of-well-formed-url): New function.
3868 Do parens matching to decide whether to include parens in the URI
3869 (Bug#9153).
3870
3871 * ffap.el: Require thingatpt.
3872 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3873 All URI-valid characters are now recognized (Bug#5673).
3874 (ffap-string-at-point): Use use-region-p.
3875 (ffap-url-regexp): Extra character is handled by thing-at-point.
3876 (ffap-string-at-point-mode-alist): Allow parentheses.
3877 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3878 Convert to aliases; code moved to thingatpt.el.
3879 (ffap-gnus-hook): Use setq-local.
3880
3881 2013-02-04 Glenn Morris <rgm@gnu.org>
3882
3883 * emacs-lisp/ert.el (ert--explain-format-atom):
3884 Don't try to print non-characters as characters. (Bug#13543)
3885
3886 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3887
3888 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3889 (tramp-backtrace): New defun.
3890 (tramp-handle-insert-file-contents): Use `visit' when inserting
3891 the local copy.
3892
3893 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3894 Use `remote-file-name-inhibit-cache'.
3895
3896 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3897
3898 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3899 (bug#13614).
3900
3901 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3902 current-load-list (bug#13366).
3903
3904 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3905
3906 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3907 Identify g++ template instantiation trace. (Bug#12287)
3908 (compilation-mode-hook, compilation-start-hook)
3909 (compilation-window-height): Simplify docstrings. (Bug#13379)
3910
3911 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3912
3913 * mouse.el (mouse-drag-track): Always deactivate the mark before
3914 running the final event's command since that command is in charge of
3915 activating the mark if needed (bug#13523).
3916
3917 2013-02-02 Juri Linkov <juri@jurta.org>
3918
3919 * replace.el (perform-replace): Move let-bindings of isearch-*
3920 variables deeper to the loop that searches for the next match.
3921 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3922 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3923 (Bug#13579)
3924
3925 * isearch.el (isearch-search-fun-default): Check for null
3926 first element of isearch-cmds as a precaution when it's used
3927 with inactive isearch.
3928
3929 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3930
3931 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3932 error when buffer in question is narrowed so position 1 is out of
3933 visible part.
3934
3935 2013-02-02 Glenn Morris <rgm@gnu.org>
3936
3937 * textmodes/remember.el (remember-clipboard): Doc fix.
3938
3939 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3940
3941 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3942 properties (bug#13179).
3943
3944 2013-02-02 Juri Linkov <juri@jurta.org>
3945
3946 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3947 instead of hard-coded default face `match'. (Bug#9438)
3948
3949 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3950
3951 * vc/vc-arch.el (vc-arch-registered):
3952 * vc/vc-bzr.el (vc-bzr-registered):
3953 * vc/vc-cvs.el (vc-cvs-registered):
3954 * vc/vc-git.el (vc-git-registered):
3955 * vc/vc-hg.el (vc-hg-registered):
3956 * vc/vc-mtn.el (vc-mtn-registered):
3957 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3958 (Bug#13139)
3959
3960 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3961 prefix argument. (Bug#11656)
3962
3963 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3964
3965 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3966
3967 2013-02-01 Glenn Morris <rgm@gnu.org>
3968
3969 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3970 if the backend is known not to support it.
3971
3972 * imenu.el (imenu-default-create-index-function):
3973 Tweak infinite loop test to check for forward motion as well as none.
3974
3975 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3976
3977 * net/soap-client.el (soap-invoke): Encode the string for
3978 `url-request-data' as UTF-8.
3979 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3980
3981 2013-02-01 Glenn Morris <rgm@gnu.org>
3982
3983 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3984
3985 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3986
3987 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3988
3989 * net/tramp.el (tramp-tramp-file-p): Comment check for
3990 `string-as-unibyte'. The function does not exist on XEmacs, and
3991 likely we need another approach.
3992
3993 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3994 `tramp-gw-*' variables are bound.
3995
3996 2013-01-31 Glenn Morris <rgm@gnu.org>
3997
3998 * files.el (basic-save-buffer-2): Choose coding system for
3999 writing the file before backing it up, to reduce delay between
4000 backing up and writing the new version. (Bug#13522)
4001
4002 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4003
4004 * simple.el (cycle-spacing): New command.
4005 (just-one-space): Use it.
4006
4007 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4008
4009 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4010 (opascal-newline-always-indents): Remove custom.
4011 (opascal-tab, opascal-newline): Remove commands.
4012 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4013 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4014 (opascal-save-match-data): Remove, use save-match-data instead.
4015 (opascal-save-state): Use with-silent-modifications.
4016
4017 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4018 (bug#13585).
4019
4020 2013-01-30 Juri Linkov <juri@jurta.org>
4021
4022 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4023 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4024 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4025
4026 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4029 column if we're just deleting the backslashes.
4030 (makefile-fill-paragraph): Use eolp.
4031
4032 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4033
4034 * autorevert.el (auto-revert-use-notify): Fix docstring.
4035
4036 2013-01-30 Leo Liu <sdl.web@gmail.com>
4037
4038 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4039
4040 2013-01-30 Glenn Morris <rgm@gnu.org>
4041
4042 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4043 unread-command-events twice in some cases. This tries to implement
4044 the 2012-07-26 changes in a different way. (Bug#13560)
4045
4046 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4047
4048 * progmodes/python.el
4049 (python-pdbtrack-comint-output-filter-function): Enhancements on
4050 stacktrace detection. (thanks @gnovak)
4051
4052 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4053
4054 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4055 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4056 Use defvar-local.
4057 (jit-lock-register): Use setq-local.
4058
4059 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4060
4061 * calc-units.el (math-default-units-table): Remove initial value.
4062 (calc-convert-units): Treat expressions where all the units cancel as
4063 if they didn't have units.
4064
4065 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4066
4067 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4068 (tramp-completion-reread-directory-timeout): Fix type.
4069 (tramp-connection-min-time-diff): New defcustom.
4070
4071 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4072
4073 2013-01-30 Glenn Morris <rgm@gnu.org>
4074
4075 * imenu.el (imenu-default-create-index-function):
4076 Put back a version of the infinite loop test removed 2013-01-23.
4077
4078 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4079
4080 * progmodes/python.el (python-shell-parse-command):
4081 Find python-shell-interpreter with modified environment.
4082
4083 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4084
4085 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4086
4087 2013-01-29 Alan Mackenzie <acm@muc.de>
4088
4089 Amend to fontify /regexp/s in actions correctly.
4090 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4091 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4092 are no longer included.
4093 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4094 What used to be these variables without "-line" in the name.
4095 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4096 (c-awk-non-arith-op-bra-re): Now also matches {.
4097 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4098 "return", and "case".
4099 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4100 by /.
4101 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4102 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4103
4104 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4105
4106 * autorevert.el (auto-revert-use-notify):
4107 Use `custom-initialize-default' for initialization. (Bug#13583)
4108
4109 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4110
4111 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4112 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4113 in `tramp-file-name-handler'.
4114 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4115 compatibility.
4116 (tramp-compute-multi-hops): Check, whether
4117 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4118
4119 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4120
4121 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4122 (bug#13297).
4123
4124 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4125
4126 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4127 checks made superfluous by the \_< operator.
4128 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4129 temporarily) broken indentation.
4130 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4131 Highlight nested constants, too. \_< broke that.
4132
4133 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4134
4135 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4136 instead of "\\b".
4137
4138 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4139
4140 * autorevert.el (auto-revert-handler): Notifications which result
4141 from a saved file shall not be taken into account. (Bug#13557)
4142
4143 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4144
4145 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4146 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4147 (lisp-mode): Pass t for it. (Bug#13556)
4148
4149 2013-01-25 Alan Mackenzie <acm@muc.de>
4150
4151 AWK Mode: Fix indentation bug at top level. Bug #12274.
4152
4153 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4154 just before CASE 5D.
4155
4156 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4157
4158 * net/socks.el (socks-nslookup-host): Use string-to-number.
4159
4160 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4161
4162 * autorevert.el (auto-revert-remote-files)
4163 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4164 (auto-revert-notify-enabled, auto-revert-use-notify)
4165 (auto-revert-notify-watch-descriptor-hash-list)
4166 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4167 (auto-revert-notify-event-descriptor)
4168 (auto-revert-notify-event-action)
4169 (auto-revert-notify-event-file-name): Doc fix.
4170 (global-auto-revert-mode): Reorder checks.
4171 (auto-revert-notify-rm-watch): Respect changed values of
4172 `auto-revert-notify-watch-descriptor-hash-list'.
4173 (auto-revert-notify-add-watch): Check for
4174 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4175 `inotify-add-watch'. Watch `default-directory' instead of
4176 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4177 has a changed meaning now. (Bug#13540)
4178 (auto-revert-notify-handler): Change implementation wrt events
4179 returning from a directory.
4180 (auto-revert-handler): Reorder implementation for checks of remote
4181 files.
4182 (auto-revert-buffers): Fix parentheses error.
4183
4184 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
4185
4186 * progmodes/python.el: Enhancements to header documentation about
4187 skeletons. (Bug#5716)
4188
4189 * imenu.el (imenu-default-create-index-function): Remove useless
4190 infinite loop check. (Bug#13438)
4191
4192 2013-01-25 Alan Mackenzie <acm@muc.de>
4193
4194 Fix a bug in the state cache mechanism. Refactor this a bit.
4195
4196 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4197 `cache-pos' element from the return value.
4198 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4199 buffer to enable proper searching from beyond HERE. Amend the
4200 test for detecting the sought brace pair. Amend the value written
4201 to the "brace desert cache" when the brace isn't found.
4202 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4203 and several other variables analogously.
4204 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4205 parameter to a locally calculated variable.
4206 (c-parse-state-1): Change the calling conventions to the two
4207 defuns involving `cache-pos'.
4208
4209 2013-01-25 Chong Yidong <cyd@gnu.org>
4210
4211 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4212
4213 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4214
4215 * paren.el (show-paren-function): Make sure to set 'priority and
4216 'face only if the overlay does exist.
4217
4218 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4219
4220 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4221
4222 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4223 basic attributes.
4224 (tramp-sh-handle-set-file-acl): Improve error checking.
4225
4226 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4227
4228 * doc-view.el (doc-view-display): Force mode line update until all
4229 document is converted. Suggested by Stefan Monnier (Bug#13164).
4230
4231 2013-01-23 Bastien Guerry <bzg@gnu.org>
4232
4233 * paren.el (show-paren-function): Make sure an overlay exists
4234 before trying to delete it. Also use `pos' as a position only
4235 when it is an integer.
4236
4237 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4238
4239 * play/gametree.el (gametree-break-line-here): Use point-marker.
4240
4241 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4242
4243 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4244 Mark descriptive parts with `display' property.
4245
4246 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4247
4248 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4249 New variable to map standard dict names to hunspell ones.
4250 (ispell-set-spellchecker-params): Make sure specific dict names
4251 are used for standard dicts with hunspell.
4252
4253 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4254
4255 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4256 chars for note (%N) and url (%U).
4257 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4258
4259 2013-01-21 Juri Linkov <juri@jurta.org>
4260
4261 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4262 in addition to existing separate binding `meta f10' in `global-map'.
4263 (Bug#13484)
4264
4265 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4266
4267 Improve XEmacs compatibility.
4268
4269 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4270
4271 * net/tramp-adb.el (top): Require `time-date'.
4272 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4273 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4274 Use `tramp-file-name-handler'.
4275 (tramp-adb-maybe-open-connection):
4276 Use `tramp-compat-set-process-query-on-exit-flag'.
4277
4278 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4279 Use `tramp-compat-funcall'.
4280
4281 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4282 `tramp-compat-funcall'.
4283
4284 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
4285
4286 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4287 reimplementation using "adb shell command ..." instead of running
4288 remote shell interactively.
4289
4290 2013-01-20 Glenn Morris <rgm@gnu.org>
4291
4292 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4293 Add native profiler menu entries.
4294
4295 * profiler.el (profiler-running-p): New function.
4296 (profiler-cpu-profile): Use profiler-running-p.
4297 (profiler-report-mode-map): Add some more menu entries.
4298
4299 2013-01-19 Glenn Morris <rgm@gnu.org>
4300
4301 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4302 fixes 2012-12-07 change. (Bug#13499)
4303
4304 2013-01-19 Leo Liu <sdl.web@gmail.com>
4305
4306 * dired.el (dired-get-marked-files): Prune erroneous values due to
4307 last change. (Bug#13152)
4308
4309 2013-01-19 Glenn Morris <rgm@gnu.org>
4310
4311 * progmodes/etags.el (tags-table-check-computed-list):
4312 Preserve point in tags buffer. (Bug#13412)
4313
4314 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4315
4316 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4317 Chong Yidong <cyd@gnu.org>
4318
4319 * image-mode.el (image-next-file, image-previous-file):
4320 New commands (Bug#8453).
4321 (image-mode-map): Bind them to n and p.
4322 (image-mode--images-in-directory): New helper function.
4323
4324 2013-01-19 Chong Yidong <cyd@gnu.org>
4325
4326 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4327 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4328 save and restore the old window configuration.
4329
4330 2013-01-18 Leo Liu <sdl.web@gmail.com>
4331
4332 * progmodes/js.el: Tweak autoload cookie for alias.
4333
4334 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4335
4336 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4337 buffer local, again. This was lost with the fix on 2013-01-12.
4338
4339 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
4340
4341 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4342 order to support several eshell buffers in parallel.
4343
4344 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4345
4346 * autorevert.el (auto-revert-use-notify): In the :set function, do
4347 not modify `kill-buffer-hook'.
4348 (auto-revert-notify-rm-watch):
4349 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4350 (auto-revert-notify-add-watch): Do not call
4351 `auto-revert-notify-rm-watch', but add it to a buffer local
4352 `kill-buffer-hook'.
4353
4354 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4357 call to `eval' rather than a backquoted lambda.
4358
4359 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4362 to return an explicit nil.
4363 (advice--remove-function): Change accordingly.
4364
4365 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4366 the use of nadvice.el.
4367
4368 * progmodes/which-func.el (which-function): Silence imenu errors
4369 (bug#13433).
4370
4371 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4372
4373 * progmodes/sql.el (sql-imenu-generic-expression):
4374 (sql-mode-font-lock-object-name): Match schema qualified names.
4375 (sql-connect): Use string keys.
4376 (sql-product-interactive): Wait for interpreter prompt.
4377 (sql-comint-oracle): Set process coding based on NLS_LANG.
4378
4379 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4380
4381 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4382 (sql-interactive-remove-continuation-prompt):
4383 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4384
4385 2013-01-14 Leo Liu <sdl.web@gmail.com>
4386
4387 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4388 (Bug#13420)
4389
4390 2013-01-14 Glenn Morris <rgm@gnu.org>
4391
4392 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4393 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4394
4395 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
4396
4397 * progmodes/python.el (python-nav-end-of-statement):
4398 Fix cornercase when handling multiline strings.
4399
4400 2013-01-13 Richard Stallman <rms@gnu.org>
4401
4402 * mail/sendmail.el (mail-position-on-field): Add doc string.
4403
4404 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4405 Get current message boundaries and pass them to
4406 message-forward-make-body-mime. Minor style changes.
4407
4408 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4409
4410 * cus-start.el (all): Avoid warnings about
4411 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4412
4413 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4414
4415 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4416
4417 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4418
4419 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4420 (jit-lock--debug-fontifying): New var.
4421 (jit-lock--debug-fontify): New function.
4422 * subr.el (condition-case-unless-debug): Don't prevent catching the
4423 error, just let the debbugger run.
4424 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4425 timer code and don't drop errors silently.
4426
4427 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4428
4429 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4430 `permanent-local' property.
4431 (auto-revert-notify-handler): Use `file-equal-p'.
4432
4433 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4434
4435 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4436 file notification by ACTION. For filtering by file name, compare
4437 only the non-directory part of the file name.
4438
4439 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4440
4441 * autorevert.el: Use cl-lib instead of cl.
4442
4443 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4444 (vc-bzr-checkin): Use it.
4445 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4446 will preserve match-data.
4447
4448 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4449
4450 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4451 (js--declaration-keyword-re): New var.
4452 (js--multi-line-declaration-indentation): New function.
4453 (js--proper-indentation): Use it.
4454
4455 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4456
4457 * calc/calc.el (calc-highlight-selections-with-faces)
4458 (calc-dispatch):
4459 * comint.el (comint-history-isearch-message):
4460 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4461 * ffap.el (ffap-string-at-point-region, ffap-next)
4462 (ffap-string-at-point, ffap-string-around)
4463 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4464 (ffap-literally):
4465 * font-lock.el (font-lock-keywords-alist)
4466 (font-lock-removed-keywords-alist):
4467 * help-mode.el (help-xref-symbol-regexp):
4468 * info.el (Info-find-emacs-command-nodes):
4469 * international/mule.el (add-to-coding-system-list):
4470 * isearch.el (isearch-message-function, isearch-fail-pos):
4471 * misearch.el (multi-isearch-next-buffer-function):
4472 * newcomment.el (comment-box):
4473 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4474 (pr-setting-database):
4475 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4476 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4477 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4478 (pike-font-lock-keywords-3):
4479 * progmodes/compile.el (compile):
4480 * progmodes/etags.el (tags-table-files)
4481 (tags-table-files-function, tags-included-tables-function):
4482 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4483 (gdb-restore-windows):
4484 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4485 (ps-n-up-filling-database):
4486 * server.el (server-buffer, server-log):
4487 * simple.el (newline, delete-backward-char, delete-forward-char)
4488 (minibuffer-history-isearch-message, kill-line, track-eol)
4489 (temporary-goal-column):
4490 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4491 (flyspell-default-deplacement-commands):
4492 * textmodes/ispell.el (ispell-accept-output):
4493 * textmodes/sgml-mode.el (html-tag-help):
4494 * vc/compare-w.el (compare-ignore-whitespace)
4495 (compare-ignore-case, compare-windows-dehighlight):
4496 * vc/diff.el (diff):
4497 * whitespace.el (whitespace-point)
4498 (whitespace-font-lock-refontify, whitespace-bob-marker)
4499 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4500
4501 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4502
4503 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4504 (auto-revert-notify-rm-watch): Ignore errors.
4505 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4506 inotify, and '(size last-write-time) for w32notify.
4507 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4508 watch fails - this is a fallback to the file modification check.
4509 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4510 (auto-revert-notify-event-action)
4511 (auto-revert-notify-event-file-name): New defuns.
4512 (auto-revert-notify-handler): Use them. Implement first
4513 plausibility checks.
4514 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4515
4516 2013-01-11 Julien Danjou <julien@danjou.info>
4517
4518 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4519 max are almost equal. Also return the correct value for V which is
4520 already between 0 and 1.
4521
4522 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4523
4524 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4525
4526 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4527
4528 * autorevert.el (auto-revert-notify-rm-watch)
4529 (auto-revert-notify-add-watch): Fix typos in w32notify function
4530 names.
4531
4532 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4533
4534 * autorevert.el (auto-revert-notify-enabled): Move up.
4535 (auto-revert-use-notify): New defcustom.
4536 (auto-revert-mode, global-auto-revert-mode)
4537 (auto-revert-notify-add-watch, auto-revert-handler)
4538 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4539 `auto-revert-notify-enabled'.
4540
4541 2013-01-10 Elias Pipping <pipping@exherbo.org>
4542
4543 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4544 * doc-view.el (doc-view-document->bitmap):
4545 Use doc-view-single-page-converter-function instead of
4546 single-page-converter arg; adjust callers.
4547
4548 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4549
4550 * progmodes/which-func.el (which-function): Understand Semantic's use
4551 of overlays in imenu--index-alist.
4552
4553 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4554
4555 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4556 (Man-man-k-use-anchor): New var.
4557 (Man-parse-man-k): New function.
4558 (Man-completion-table): Use it.
4559 (man): Flush the completion cache between uses.
4560
4561 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4562
4563 * autorevert.el: Add file watch support.
4564 (auto-revert-notify-enabled): New defconst.
4565 (auto-revert-notify-watch-descriptor-hash-list)
4566 (auto-revert-notify-watch-descriptor)
4567 (auto-revert-notify-modified-p): New defvars.
4568 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4569 (auto-revert-notify-handler): New defuns.
4570 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4571 when mode is disabled.
4572 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4573 (auto-revert-buffers): Add file watches for active buffers.
4574
4575 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4576
4577 * cus-start.el (toplevel): Only allow float values for
4578 scroll-up-aggressively and scroll-down-aggressively.
4579 Allow any number for line-spacing.
4580
4581 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4582
4583 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4584 (doc-view-pdf->png-converter-function): Use mupdf if available.
4585 (doc-view-djvu->png-converter-function)
4586 (doc-view-ps->png-converter-function): Remove.
4587 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4588 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4589 (doc-view-already-converted-p): Adjust accordingly.
4590 (doc-view-mode-p): Simplify.
4591 (doc-view-enlarge): Use setq-local.
4592 (doc-view-pdf->png-converter-ghostscript)
4593 (doc-view-djvu->png-converter-ddjvu)
4594 (doc-view-pdf->png-converter-mupdf): Rework to call
4595 doc-view-start-process directly.
4596 (doc-view-pdf/ps->png): Simplify accordingly.
4597 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4598 (doc-view-document->bitmap): Rename from doc-view-document->png.
4599 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4600 (doc-view-set-slice-from-bounding-box): Fix completion table.
4601 (doc-view-mode): Use add-hook for after-revert-hook.
4602
4603 2013-01-10 Glenn Morris <rgm@gnu.org>
4604
4605 * emacs-lisp/authors.el (authors-ignored-files)
4606 (authors-valid-file-names, authors-renamed-files-alist):
4607 Add some more entries.
4608
4609 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4612 `t' pseudo-window entry.
4613
4614 2013-01-10 Alan Mackenzie <acm@muc.de>
4615
4616 Fix bugs in the c-parse-state mechanism. Reuse some markers
4617 instead of continually generating new ones.
4618
4619 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4620 (c-state-old-cpp-end-marker): New variables.
4621 (c-append-lower-brace-pair-to-state-cache): Start a backward
4622 search for "}" definitively outside CPP constructs.
4623 (c-remove-stale-state-cache): Inform the caller of a need to
4624 search back for a brace pair in certain circumstances.
4625 (c-state-maybe-marker): New macro.
4626 (c-parse-state): Reuse markers when appropriate.
4627
4628 2013-01-10 Glenn Morris <rgm@gnu.org>
4629
4630 * simple.el (execute-extended-command): Doc fix.
4631 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4632
4633 2013-01-10 Chong Yidong <cyd@gnu.org>
4634
4635 * faces.el (read-face-name): Doc fix.
4636
4637 2013-01-10 Roland Winkler <winkler@gnu.org>
4638
4639 * emacs-lisp/crm.el: Allow any regexp for separators.
4640 (crm-default-separator): All spaces around the default comma separator.
4641 (crm--completion-command): New macro.
4642 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4643 (crm-complete-and-exit): Handle non-single-char separators.
4644
4645 2013-01-09 Elias Pipping <pipping@lavabit.com>
4646
4647 * doc-view.el: Add support for DjVu (bug#13164).
4648 (doc-view-djvu->png-converter-function): New config var.
4649 (doc-view-single-page-converter-function, doc-view--image-type)
4650 (doc-view--image-file-extension): New vars.
4651 (doc-view-mode): Initialize them.
4652 (doc-view-goto-page): Use them.
4653 (doc-view-mode-p): Add support for ddjvu.
4654 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4655 (doc-view-set-up-single-converter): New funs.
4656 (doc-view-pdf/ps->png): Extend for djvu.
4657 (doc-view-document->png): Rename from doc-view-pdf->png.
4658 (doc-view-convert-current-doc): Handle djvu.
4659 (doc-view-insert-image, doc-view-display)
4660 (doc-view-already-converted-p): Don't hardcode png.
4661 (doc-view-set-doc-type): Recognize djvu docs.
4662
4663 2013-01-09 Elias Pipping <pipping@lavabit.com>
4664
4665 * doc-view.el: Add support for mupdf converter (bug#13164).
4666 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4667 (doc-view-ps->png-converter-function): New config vars.
4668 (doc-view-pdf->png-converter-ghostscript)
4669 (doc-view-ps->png-converter-ghostscript)
4670 (doc-view-pdf->png-converter-mupdf): New functions.
4671 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4672
4673 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
4674
4675 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4676 first in session cache: When `tramp-own-remote-path' is in
4677 `tramp-remote-path', the remote path is only set in the session
4678 cache.
4679
4680 2013-01-09 Glenn Morris <rgm@gnu.org>
4681
4682 * emacs-lisp/trace.el (trace-function-foreground)
4683 (trace-function-background): Doc fix.
4684
4685 2013-01-09 Juri Linkov <juri@jurta.org>
4686
4687 * international/mule-cmds.el (read-char-by-name): Move let-binding
4688 of completion-ignore-case around completing-read to fix regression
4689 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4690 `string-match-p' using the nil value of `case-fold-search' and
4691 `completion-ignore-case' in `completion-pcm--all-completions'.
4692 (Bug#12615).
4693
4694 2013-01-09 Glenn Morris <rgm@gnu.org>
4695
4696 * progmodes/compile.el (compilation-parse-errors):
4697 Fix typo. (Bug#13369)
4698
4699 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4700
4701 * comint.el (comint-send-input): Check size of buffer before
4702 waiting for process output, in case already accepted. (Bug#13290)
4703
4704 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4705
4706 Spelling fixes.
4707 * net/tramp-adb.el (tramp-adb-get-toolbox):
4708 Fix misspelling of 'unknown'.
4709
4710 2013-01-08 Juri Linkov <juri@jurta.org>
4711
4712 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4713 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4714 Use underline style wave on terminals that support it. (Bug#13000)
4715
4716 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4719 the predicate returns nil.
4720
4721 * simple.el: Use lexical-binding.
4722 (primitive-undo): Use pcase.
4723 (minibuffer-history-isearch-push-state): Use a closure.
4724
4725 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4726
4727 * simple.el (primitive-undo): Move from undo.c.
4728
4729 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4730
4731 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4732 (cvs-mode-remove-handled): Use it (bug#13380).
4733
4734 * emacs-lisp/nadvice.el (advice--tweak): New function.
4735 (advice--remove-function, advice--subst-main): Use it.
4736
4737 * emacs-lisp/advice.el: Update commentary.
4738
4739 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4740
4741 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4742 Remove spurious entry.
4743
4744 2013-01-08 Glenn Morris <rgm@gnu.org>
4745
4746 * net/tramp.el (tramp-default-host-alist): Add :version.
4747
4748 2013-01-08 Juri Linkov <juri@jurta.org>
4749
4750 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4751 single completion. (Bug#12456)
4752 (info--manual-names): Expand node completions into an explicit list
4753 before appending it to another list. Filter out internal buffers
4754 with the leading space in the buffer name. (Bug#10771)
4755
4756 2013-01-08 Juri Linkov <juri@jurta.org>
4757
4758 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4759 that defaults to the Top node.
4760 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4761 the short format (FILENAME) goes to the Top node.
4762 (Info-build-node-completions): Rename arg `file' to `filename'.
4763 (Bug#13365)
4764
4765 2013-01-07 Bastien Guerry <bzg@gnu.org>
4766
4767 * menu-bar.el (menu-bar-search-documentation-menu):
4768 Use `apropos-user-option' and fix the help message.
4769
4770 2013-01-07 Bastien Guerry <bzg@gnu.org>
4771
4772 * apropos.el (apropos-do-all): Update docstring.
4773 (apropos-user-option-button): New face.
4774 (apropos-user-option): Rename from `apropos-variable' and update
4775 docstring.
4776 (apropos-variable): Rewrite, now show all variables by default.
4777 (apropos-print): Mention "User option" instead of "Variable" when
4778 printing doc for user options. (Bug#13276)
4779
4780 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
4781
4782 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4783 Handle filename correctly, when parsing "source -> target" symlink
4784 output.
4785 (tramp-adb-handle-set-file-times): New defun.
4786
4787 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4788
4789 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4790 advice list when the interactive-spec of ad-Advice-* changes.
4791
4792 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4793
4794 * wid-edit.el (widget-default-get): Work for inlined elements.
4795 (Bug#12670)
4796
4797 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4798
4799 * net/tramp.el (tramp-default-host-alist): New defcustom.
4800 (tramp-find-host): Use it.
4801 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4802 `eshell-directory-change-hook'.
4803
4804 * net/tramp-adb.el (top): Add adb specific entry in
4805 `tramp-default-host-alist'.
4806 (tramp-adb-file-name-host): Remove function.
4807 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4808 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4809
4810 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4811
4812 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
4813
4814 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4815
4816 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4817
4818 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4819 consist of more than one digit.
4820 (tramp-adb-file-name-handler-alist):
4821 Use `tramp-handle-file-exists-p' consistently.
4822 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4823 (tramp-adb-handle-file-exists-p): Remove function.
4824 (tramp-adb-file-name-host): New defun.
4825 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4826 Use it.
4827 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4828
4829 2013-01-06 Chong Yidong <cyd@gnu.org>
4830
4831 * vc/vc.el (vc-next-action): Detect buffer modifications
4832 conflicting with locking VCS operation (Bug#11490).
4833
4834 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4835
4836 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4837
4838 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4839 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4840
4841 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
4842
4843 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4844 parsing of ls output using regular expression (handle filenames
4845 with spaces). Use virtual device number.
4846 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4847 cleanup).
4848
4849 2013-01-04 Daiki Ueno <ueno@gnu.org>
4850
4851 * epg.el: Silence byte-compiler warnings.
4852 (epg--start): Use delete-char instead of delete-backward-char.
4853 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4854
4855 2013-01-04 Daiki Ueno <ueno@gnu.org>
4856
4857 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4858 Suggested by Eli Zaretskii <eliz@gnu.org>.
4859
4860 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4861
4862 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4863 non-negative integers. Otherwise, the default values are used.
4864 (tramp-convert-file-attributes): Convert uid and gid to integers.
4865
4866 2013-01-04 Glenn Morris <rgm@gnu.org>
4867
4868 * term.el (term-handle-colors-array): Ensure face attributes
4869 are fully specified, not nil. (Bug#13337)
4870
4871 * term.el (term-default-fg-color, term-default-bg-color):
4872 Fix custom type.
4873
4874 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4875 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4876 rather than 'jka-compr being loaded. (Bug#13338)
4877
4878 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4879
4880 * icomplete.el (icomplete-completions):
4881 Honor icomplete-prospects-height once more following
4882 2012-11-29 changes. (Bug#13224)
4883
4884 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4885
4886 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4887 of called-interactively-p as well (bug#13237).
4888
4889 * view.el (view--enable, view--disable): Rename from view-mode-enable
4890 and view-mode-disable and assume it's called from view-mode.
4891 (view-mode-enable, view-mode-disable): Redefine as obsolete
4892 compatibility layer above view-mode.
4893 (view-mode-enter): Call `view-mode'.
4894
4895 * files.el (after-find-file): Call `view-mode'.
4896
4897 * doc-view.el (doc-view-scale-internally): New var.
4898 (doc-view-enlarge, doc-view-insert-image): Obey it.
4899
4900 2013-01-03 Daiki Ueno <ueno@gnu.org>
4901
4902 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4903 exist. (Bug#13344)
4904
4905 2013-01-03 Glenn Morris <rgm@gnu.org>
4906
4907 * mail/rmail.el (rmail-set-header-1): Ignore case.
4908 Handle multi-line headers. (Bug#13330)
4909
4910 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4911 Handle paragraph starting at beginning of buffer.
4912
4913 * subr.el (eval-after-load): Don't purecopy the form, so that it
4914 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4915
4916 * emacs-lisp/byte-run.el (defun): Place cl declarations
4917 after any interactive spec. (Bug#13265)
4918
4919 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4920
4921 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4922 defun. Don't check for DECL if DOCSTRING isn't a string.
4923 (defun): Likewise.
4924
4925 2013-01-02 Glenn Morris <rgm@gnu.org>
4926
4927 * eshell/em-cmpl.el (eshell-pcomplete):
4928 More thoroughly imitate pcomplete. (Bug#13293)
4929
4930 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4931 Return nil for empty path elements. (Bug#13296)
4932
4933 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
4934
4935 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4936 order to improve efficiency (Based on Daniel Colascione's
4937 <dancol@dancol.org> patch). (Bug#13182)
4938
4939 2013-01-02 Glenn Morris <rgm@gnu.org>
4940
4941 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4942
4943 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4944
4945 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4946 neither DOCSTRING nor DECL was given. (Bug#13316)
4947
4948 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4949
4950 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4951 `error' call.
4952 (tramp-do-copy-or-rename-file): Ignore errors when calling
4953 `set-file-extended-attributes'.
4954
4955 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4956 Add handler for `file-acl'.
4957 (tramp-smb-handle-file-acl): New defun.
4958
4959 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4960
4961 * calc/README: Mention ISO 8601 week-numbering dates.
4962
4963 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4964
4965 * view.el (view-mode-enable): New argument run-view-mode-hook.
4966 Run view-mode-hook only when it's non-nil (Bug#13315).
4967 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4968 argument t.
4969
4970 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
4971
4972 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4973 (No device connected, invalid device name). (Bug #13299)
4974
4975 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4976
4977 * window.el (window-resizable--p): Rename to window-resizable-p.
4978 (window-resize-no-error): New function.
4979
4980 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4981 broken in fix from 2012-12-28.
4982
4983 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4984
4985 * subr.el (special-form-p): Don't signal errors on undef aliases.
4986
4987 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4988
4989 * calc/calc-forms.el (math-parse-date): Try using
4990 `math-parse-iso-date' when it looks like it might be needed.
4991 Allow times of 24:00.
4992 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4993 of 24:00.
4994
4995 2012-12-30 Glenn Morris <rgm@gnu.org>
4996
4997 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4998 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4999 (rmail-summary-displayed, rmail-summary): Declare.
5000 (mairix-rmail-display): Just require rmail.
5001
5002 2012-12-30 Chong Yidong <cyd@gnu.org>
5003
5004 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5005 check for the tarball contents.
5006
5007 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5008
5009 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5010 tarfile content listings (Bug#13136).
5011
5012 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5013
5014 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5015 Insert the undecoded text of the message being forwarded. (Bug#9521)
5016
5017 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5018
5019 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5020 integers, if they are real numbers. (Bug#13282)
5021
5022 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5023 Return `t' on success.
5024
5025 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5026 Add handler for `set-file-selinux-context'.
5027
5028 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5029
5030 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5031 (tramp-sh-handle-set-file-acl): Return `t' on success.
5032
5033 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5034
5035 * files.el (backup-buffer-copy, basic-save-buffer-2):
5036 If set-file-extended-attributes fails, fall back on set-file-modes
5037 instead of signaling an error. (Bug#13298)
5038 (basic-save-buffer): Likewise.
5039
5040 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5041
5042 * progmodes/python.el: Support other commands triggering
5043 python-indent-line so indentation cycling continues to work.
5044 (python-indent-trigger-commands): New defcustom.
5045 (python-indent-line): Use it.
5046
5047 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5048
5049 * progmodes/python.el (python-shell-send-region): Add blank lines
5050 for non sent code so backtraces remain correct.
5051
5052 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5053
5054 * progmodes/python.el: Remove cl dependency.
5055 (python-syntax-count-quotes): Replace incf call.
5056 (python-fill-string): Replace setf call.
5057
5058 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5059
5060 * info.el (info-other-window): New arg, for consistency with info.
5061
5062 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5063
5064 * mail/rmail.el (rmail-maybe-display-summary):
5065 Rewrite (Bug#13066).
5066
5067 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5068
5069 * epg.el (epg--start): Modify process-environment locally.
5070
5071 2012-12-28 Daiki Ueno <ueno@gnu.org>
5072
5073 * epg.el: Support pinentry-curses.
5074 Suggested by Werner Koch in
5075 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5076 (epg-agent-file, epg-agent-mtime): New variable.
5077 (epg--start): Record the modified time of gpg-agent socket file,
5078 to restore Emacs frame after pinentry-curses termination.
5079 (epg-wait-for-completion): Restore Emacs frame here.
5080
5081 2012-12-27 Juri Linkov <juri@jurta.org>
5082
5083 * info.el (Info-file-completions): New variable.
5084 (Info-read-node-name-1): Complete node names in the Info file
5085 when a file name is given. Call `Info-build-node-completions'
5086 with a file name.
5087 (Info-build-node-completions): Add new arg `file'. When it is
5088 non-nil, visit it in a temporary buffer and cache its completions in
5089 `Info-current-file-completions'. Move most of the function body to
5090 `Info-build-node-completions-1'.
5091 (Info-build-node-completions-1): New function with the body from
5092 `Info-build-node-completions'. (Bug#12456)
5093
5094 2012-12-27 Juri Linkov <juri@jurta.org>
5095
5096 * frame.el (frame-maximization-style): Remove user option.
5097 (cycle-frame-maximized): Remove function.
5098 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5099 (toggle-frame-fullscreen): New command bound to <f11> instead of
5100 `toggle-frame-maximized'.
5101 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5102
5103 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5104
5105 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5106
5107 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5108 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5109 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5110 for `file-accessible-directory-p'. (Bug#13275)
5111
5112 2012-12-27 Sam Steingold <sds@gnu.org>
5113
5114 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5115 continuations, see <http://stackoverflow.com/questions/3582436>.
5116
5117 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5118
5119 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5120 "module" and "def" to have indentation before them.
5121 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5122
5123 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5124
5125 2012-12-27 Alan Mackenzie <acm@muc.de>
5126
5127 Speed up fontification where there's large brace blocks.
5128 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5129 to a call of c-beginning-of-decl-1.
5130
5131 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5132
5133 * comint.el (comint-adjust-window-point): New function.
5134 (comint-postoutput-scroll-to-bottom):
5135 Call comint-adjust-window-point (Bug#13248).
5136
5137 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5138
5139 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5140 Rakefile regexp.
5141 (auto-mode-alist): Associate .gemspec files with ruby-mode
5142 (https://bugs.ruby-lang.org/issues/5453).
5143
5144 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
5145
5146 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5147 Suppress coloring, if possible (required for BusyBox based systems like
5148 CyanogenMod).
5149 (tramp-adb-handle-file-attributes)
5150 (tramp-adb-handle-insert-directory)
5151 (tramp-adb-handle-file-name-all-completions): Use it.
5152 (tramp-adb-get-toolbox): New defun. Check for remote shell
5153 implementation (BusyBox or Toolbox).
5154
5155 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5156
5157 * startup.el (initial-buffer-choice): Allow function as value
5158 (Bug#13251).
5159 (command-line-1): Handle case where initial-buffer-choice
5160 specifies a function.
5161 * server.el (server-execute): Handle case where
5162 initial-buffer-choice specifies a function.
5163
5164 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5165
5166 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5167 its own function.
5168 (smtpmail-try-auth-methods): Forget the user name/password if the
5169 login is unsuccessful (bug#12424).
5170
5171 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5172
5173 * notifications.el (notifications-notify): Protect body with
5174 `with-demoted-errors'.
5175
5176 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5177 Check properties of remote device. Restart connection, if there is a
5178 change.
5179
5180 2012-12-21 Chong Yidong <cyd@gnu.org>
5181
5182 * sort.el (sort-subr): Doc fix (Bug#13056).
5183
5184 2012-12-21 Bastien Guerry <bzg@gnu.org>
5185
5186 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5187
5188 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5189
5190 * simple.el (process-file): Overwrite stderr file, if exists.
5191
5192 2012-12-21 Daiki Ueno <ueno@gnu.org>
5193
5194 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5195 (epg-error): Set `error-message' property.
5196
5197 2012-12-21 Chong Yidong <cyd@gnu.org>
5198
5199 * international/mule-cmds.el (read-char-by-name): Signal an error
5200 if the user does not supply a valid character (Bug#13177).
5201
5202 * simple.el (transpose-subr-1): Preserve marker positions by
5203 changing the insertion sequence (Bug#13122).
5204
5205 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5206
5207 * simple.el (kill-region): Deactivate mark even for empty regions
5208 (Bug#13169).
5209
5210 2012-12-21 Chong Yidong <cyd@gnu.org>
5211
5212 * help-fns.el (describe-variable): Make sure we get the right
5213 buffer name (Bug#13105). Suggested by Kelly Dean.
5214
5215 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5216
5217 * comint.el (comint-redirect-previous-input-string): New variable.
5218 (comint-redirect-setup, comint-redirect-cleanup)
5219 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5220 (comint-redirect-preoutput-filter): Fix verbose message.
5221
5222 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5223
5224 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5225 is too long for Tramp. See discussion in
5226 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5227
5228 * progmodes/compile.el (compilation-start): Remove line escape
5229 template.
5230
5231 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5232
5233 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5234 Adjust comment.
5235
5236 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5237
5238 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5239 following non-comment text (bug#13207).
5240 (lm-header-multiline): Continuation lines need to be indented more than
5241 the first line.
5242 (lm-homepage): New function.
5243 (lm-with-file): Don't be confused if narrowing is in effect.
5244
5245 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5246
5247 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5248 very beginning of a hunk (e.g. killing the first line).
5249
5250 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5251
5252 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5253 and text properties from returned ACL string.
5254 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5255 for "setfacl" command.
5256
5257 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5258
5259 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5260 `tramp-cleanup-this-connection', when the process has died.
5261 (Bug#13151)
5262
5263 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5266
5267 2012-12-17 Kevin Ryde <user42@zip.com.au>
5268
5269 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5270
5271 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5272
5273 Add support for preserving ACL entries of files.
5274
5275 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5276 `set-file-acl' handlers.
5277
5278 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5279 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5280
5281 * net/tramp-compat.el (tramp-compat-copy-file):
5282 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5283
5284 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5285 Add `file-acl' and `set-file-acl' handlers.
5286 (tramp-gvfs-handle-copy-file):
5287 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5288 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5289 New defuns.
5290
5291 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5292 Add `file-acl' and `set-file-acl' handlers.
5293 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5294 (tramp-sh-handle-set-file-acl): New defuns.
5295 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5296 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5297
5298 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5299 Add `file-acl' and `set-file-acl' handlers.
5300 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5301
5302 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5303
5304 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5305 use pop-to-buffer with NORECORD argument t. As buffer name, use
5306 *Metahelp* with a leading space (Bug#13190).
5307
5308 2012-12-16 Romain Francoise <romain@orebokech.com>
5309
5310 * files.el (file-extended-attributes)
5311 (set-file-extended-attributes): New functions.
5312 (backup-buffer): Use them to handle both SELinux context and ACL
5313 entries.
5314 (backup-buffer-copy): Work with an alist of extended attributes,
5315 rather than an SELinux context.
5316 (basic-save-buffer-2): Ditto.
5317
5318 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5319
5320 * battery.el (battery-bsd-apm): New function.
5321
5322 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5323
5324 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5325 standard date formats.
5326
5327 2012-12-15 Juri Linkov <juri@jurta.org>
5328
5329 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5330 `isearch-insert-char-by-name'.
5331 (with-isearch-suspended): New defmacro with body mostly from
5332 `isearch-edit-string' except the part that sets
5333 `isearch-new-string' and `isearch-new-message'.
5334 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5335 body that sets `isearch-new-string' and `isearch-new-message'.
5336 (isearch-insert-char-by-name): New command.
5337 * international/mule-cmds.el (read-char-by-name): Let-bind
5338 `enable-recursive-minibuffers' to t.
5339 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5340
5341 2012-12-15 Juri Linkov <juri@jurta.org>
5342
5343 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5344 (Bug#13175)
5345
5346 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5347
5348 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5349 the prompt. (Bug#13045)
5350
5351 2012-12-14 Glenn Morris <rgm@gnu.org>
5352
5353 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5354 Try to include filename in non-bytecomp warning. (Bug#13132)
5355
5356 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5357
5358 Fix permissions bugs with setgid directories etc. (Bug#13125)
5359 * files.el (backup-buffer): Don't rely on 9th output of
5360 file-attributes, as it's now a placeholder. Instead, use the new
5361 optional arg of file-ownership-preserved-p.
5362 (file-ownership-preserved-p): New optional arg GROUP.
5363 Fix mishandling of setuid directories that would cause this
5364 function to return t when it should have returned nil.
5365 Document what happens if the file does not exist, and when
5366 it's not known whether the ownership will be preserved.
5367 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5368 Likewise.
5369 (tramp-get-local-gid): Use group-gid for integer, as that's
5370 faster and more reliable.
5371
5372 2012-12-14 Julien Danjou <julien@danjou.info>
5373
5374 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5375 Update keywords list, data type and PL/pgSQL.
5376
5377 2012-12-14 Dave Abrahams <dave@boostpro.com>
5378
5379 * vc/ediff-util.el (ediff-buffer-type): New function.
5380 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5381 rather than taking it as as argument.
5382 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5383
5384 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5385
5386 * json.el: Add pretty-print option (bug#12634).
5387 (json-encoding-separator, json-encoding-default-indentation)
5388 (json--encoding-current-indentation, json-encoding-pretty-print)
5389 (json-encoding-lisp-style-closings): New vars.
5390 (json--with-indentation): New macro.
5391 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5392 (json-encode-array): Use it to obey json-encoding-pretty-print.
5393 (json-pretty-print-buffer, json-pretty-print): New commands.
5394
5395 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5396
5397 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5398 Extract `ruby-syntax-propertize-expansions'.
5399 (ruby-syntax-propertize-expansions): Only change syntax on
5400 certain string delimiters, to punctuation. This way the common
5401 functions like forward-word and thing-at-point still work.
5402 (ruby-match-expression-expansion): Improve readability.
5403 (ruby-block-contains-point): New function.
5404 (ruby-add-log-current-method): Handle several edge cases.
5405
5406 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5407
5408 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5409 unload-feature finishes even when aborting an ongoing edebug session.
5410 Also, do not worry about edebug-mode, unload-feature takes care of it.
5411
5412 2012-12-13 Andreas Schwab <schwab@suse.de>
5413
5414 * net/tls.el (tls-program): Update customize type.
5415
5416 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5417
5418 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5419 (edebug-setup-hook, cl-read-load-hooks): Use it.
5420 (edebug-unload-function): New function. (Bug#13163)
5421
5422 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5423
5424 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5425 Otherwise, there could be errors in autoloading. (Bug#13151)
5426
5427 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
5428
5429 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5430 sequences.
5431
5432 2012-12-13 Alan Mackenzie <acm@muc.de>
5433
5434 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5435 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5436 around `forward-comment' not recognizing ^M as whitespace.
5437
5438 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
5439
5440 * progmodes/python.el (python-skeleton-class)
5441 (python-skeleton-def): Do not add space after defun name.
5442
5443 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5444
5445 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5446 (cl--symbol-function): Remove (now that funbound is like nil).
5447
5448 2012-12-12 Glenn Morris <rgm@gnu.org>
5449
5450 * button.el (button--area-button-p): Fix typo.
5451
5452 2012-12-12 Sam Steingold <sds@gnu.org>
5453
5454 * frame.el (frame-maximization-style): New user option.
5455 (toggle-frame-maximized): Toggle frame maximization according to
5456 `frame-maximization-style', bound to <f11>.
5457 (cycle-frame-maximized): Cycle between all maximization styles and
5458 non-maximized frame, bound to shift-<f11>.
5459
5460 2012-12-12 David Cadé <codename68@gmail.com>
5461
5462 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5463
5464 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5465
5466 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5467 (eieio-override-prin1): Don't quote kewords and booleans.
5468 (object-write) <eieio-default-superclass>: Don't put closing parens
5469 on new line, avoid needless empty lines, align values that are objects
5470 with the slot keyword (instead of beginning on the same line).
5471 (eieio-list-prin1): Align value with slot keyword; increase
5472 eieio-print-depth before printing members of the list.
5473
5474 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5475
5476 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5477 a display text-property.
5478 (report-emacs-bug-hook): Don't bother deleting it any more.
5479
5480 * hilit-chg.el (highlight-save-buffer-state): Delete.
5481 Use with-silent-modifications instead.
5482 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5483
5484 * button.el: Handle buttons in display text-properties.
5485 (button--area-button-p, button--area-button-string):
5486 Use (STRING . STRING-POS) representation instead of just STRING.
5487
5488 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5489
5490 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5491 subdirectory be skipped.
5492
5493 2012-12-11 Glenn Morris <rgm@gnu.org>
5494
5495 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5496
5497 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5498 Treat preprocessor lines embedded in continuations like comments.
5499 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5500
5501 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5502
5503 * calc/calc.el (calc-standard-date-formats): Add more date
5504 formats.
5505 * calc/calc-forms.el (math-parse-iso-date): New function.
5506 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5507 (math-parse-iso-date-validate): Add extra error checking.
5508 (calc-date-notation): Add ability to access new date formats.
5509
5510 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5511
5512 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5513 font-lock as well as when there's no text-property.
5514
5515 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5516
5517 * hi-lock.el: Refine the choice of default face.
5518 (hi-lock-keyword->face): New function. Use it wherever we used
5519 cadadadr instead.
5520 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5521 (hi-lock--last-face): Remove var.
5522 (hi-lock--unused-faces): New var to replace it.
5523 (hi-lock-read-face-name): Use/maintain it.
5524 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5525 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5526 if it has another face.
5527
5528 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5529
5530 * subr.el (w32notify-handle-event): New function.
5531 (inotify-handle-event): Doc fix.
5532
5533 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5534
5535 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5536
5537 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5538
5539 * simple.el (just-one-space): Doc fix.
5540
5541 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5542
5543 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5544
5545 2012-12-10 Le Wang <l26wang@gmail.com>
5546
5547 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5548 narrowed buffer (bug#12361).
5549
5550 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5551
5552 * vc/vc-hooks.el (vc-state): Doc fix.
5553
5554 2012-12-10 Glenn Morris <rgm@gnu.org>
5555
5556 * mail/rmail.el (rmail-maybe-display-summary):
5557 Preserve buffer, in case select-window changes it. (Bug#13066)
5558
5559 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5562 cl-load-hook where they belong.
5563
5564 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5565
5566 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5567
5568 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5569
5570 Parallelize byte compilation on MS-Windows.
5571 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5572 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5573 (WINS_BASIC): Define as concatenation of the above.
5574 (compile): Subdivide into 4 separate and independent jobs that can
5575 be run in parallel.
5576 (compile0-CMD, compile0-SH): New targets for compiling
5577 COMPILE_FIRST files, which are prerequisites for the rest of the
5578 byte-compilation.
5579 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5580 New targets for parallel compilation with cmd.exe.
5581 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5582 compiling under a Unixy shell.
5583
5584 2012-12-09 Chong Yidong <cyd@gnu.org>
5585
5586 * simple.el (set-mark-default-inactive): Delete this
5587 accidentally-introduced option.
5588 (set-mark-command, exchange-point-and-mark): Remove calls.
5589
5590 2012-12-09 Glenn Morris <rgm@gnu.org>
5591
5592 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5593 Respect a defcustom's :set function, if appropriate. (Bug#109)
5594 (eval-defun): Doc fix.
5595
5596 2012-12-08 Juri Linkov <juri@jurta.org>
5597
5598 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5599 (Info-fontify-node, Info-bookmark-make-record): Remove the
5600 file extension from Info-current-file (Bug#13016).
5601
5602 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5603
5604 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5605 point, still provide some default.
5606 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5607 names, since we don't use it right now. Actually return the list.
5608 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5609
5610 2012-12-07 Chong Yidong <cyd@gnu.org>
5611
5612 * novice.el (disabled-command-function): Remove a spurious help
5613 xref (Bug#13043). Suggested by Kelly Dean.
5614
5615 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5616 syntax is specified (Bug#13025).
5617
5618 * info.el (Info-set-mode-line): Remove the file extension from
5619 Info-current-file if there is one (Bug#13016).
5620
5621 2012-12-07 Glenn Morris <rgm@gnu.org>
5622
5623 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5624 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5625 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5626 and rmail-mime-decoded. (Bug#9841)
5627
5628 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5629 (batch-unrmail, unrmail): Doc fixes.
5630 (unrmail): Respect unrmail-mbox-format.
5631 * mail/rmail.el (rmail-mbox-format): New option.
5632 (rmail-show-message-1): Respect rmail-mbox-format.
5633
5634 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5637
5638 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5639
5640 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5641 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5642 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5643 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5644 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5645 (cl-progv): Don't rely on dynamic scoping to find the body.
5646 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5647 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5648 (cl-declaim): Use backquotes.
5649 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5650 Use "cl--" prefix for the object's tag.
5651
5652 * ses.el: Use advice-add/remove.
5653 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5654 (copy-region-as-kill, yank): Use advice-add.
5655 (ses-unload-function): Use advice-remove.
5656
5657 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5658
5659 * button.el: Make them work in header-lines (bug#12817).
5660 (button-map): Add bindings for header-line and mode-line use.
5661 (button-get, button-put, button-label): `button' may now be a string.
5662 (button-activate): Don't make it a defsubst.
5663 (button--area-button-p, button--area-button-string): New functions.
5664 (make-text-button): Fix the return value when `beg' was a string.
5665 (push-button): Handle the mode-line case.
5666
5667 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5668
5669 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5670 (sql-signum): Remove. Use `cl-signum' instead.
5671 (sql-read-passwd): Remove; use read-passwd instread.
5672 (sql-get-login-ext): Use read-string.
5673 (sql-get-login): Use dolist and pcase.
5674 (sql--completion-table): Rename from sql-try-completion.
5675 Use complete-with-action.
5676 (sql-mode): Don't change abbrev-all-caps globally.
5677 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5678 (sql-postgres-completion-object): Initialize vars in their `let'.
5679 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5680 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5681 (sql-comint-interbase): Use a single append, without setq.
5682 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5683
5684 * hi-lock.el: Rework the default face and the serialize regexp code.
5685 (hi-lock--auto-select-face-defaults): Remove.
5686 (hi-lock-string-serialize-serial): Remove.
5687 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5688 make weak.
5689 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5690 equal string.
5691 (hi-lock-set-pattern): Adjust accordingly.
5692 (hi-lock--regexps-at-point): Simplify accordingly.
5693 (hi-lock--auto-select-face-defaults): Remove.
5694 (hi-lock--last-face): New var to replace it.
5695 (hi-lock-read-face-name): Rewrite (bug#11095).
5696 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5697
5698 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5699
5700 * net/tramp.el (tramp-replace-environment-variables):
5701 Hide compiler warning.
5702 (tramp-file-name-for-operation): Remove `executable-find',
5703 `start-process', `call-process' and `call-process-region'.
5704
5705 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5706
5707 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5708 compatibility.
5709
5710 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5711
5712 2012-12-06 Chong Yidong <cyd@gnu.org>
5713
5714 * ffap.el (ffap-replace-file-component): Fix typo.
5715
5716 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5719 fix open-paren-like token test (bug#12785).
5720
5721 2012-12-06 Glenn Morris <rgm@gnu.org>
5722
5723 * mail/rmailsum.el (rmail-new-summary): Tweak for
5724 rmail-maybe-display-summary changing buffer. (Bug#13066)
5725
5726 2012-12-06 Juri Linkov <juri@jurta.org>
5727
5728 * info.el (Info-fontify-node): Don't hide the last newline.
5729 (Bug#12272)
5730
5731 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5732
5733 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5734 so as to enable message-read-from-minibuffer to expand mail aliases.
5735
5736 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5737
5738 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5739 the `intangible' property.
5740 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5741
5742 2012-12-05 Deniz Dogan <deniz@dogan.se>
5743
5744 * net/rcirc.el (rcirc-urls): Update documentation.
5745 (rcirc-condition-filter): New function.
5746 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5747 and exclude consecutive duplicate URLs (Bug#6082).
5748
5749 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5750
5751 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5752 Check return code of copy command.
5753
5754 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5755 Use group `tramp'. Add version.
5756
5757 2012-12-05 Chong Yidong <cyd@gnu.org>
5758
5759 * ffap.el (ffap-url-regexp): Don't require matching at front of
5760 string (Bug#4952).
5761 (ffap-url-p): If only a substring matches, return that.
5762 (ffap-url-at-point): Use the return value of ffap-url-p.
5763 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5764 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5765 (ffap-guess-file-name-at-point): Likewise.
5766 (ffap-replace-file-component): Fix typo.
5767
5768 * info.el (info-display-manual): Add existing Info buffers, whose
5769 files may not be in Info-directory-list, to the completion.
5770 (info--manual-names): New helper function.
5771
5772 2012-12-05 Glenn Morris <rgm@gnu.org>
5773
5774 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5775 New functions, for detecting and resolving conflicts. (Bug#10709)
5776
5777 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5778
5779 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5780 (hi-lock-auto-select-face-defaults): New buffer local variable.
5781 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5782 (hi-lock-unface-buffer): Prompt user with useful defaults.
5783 With prefix arg, unhighlight all hi-lock patterns in buffer.
5784
5785 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5788
5789 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5790
5791 * Makefile.in (TRAMP_SRC):
5792 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5793
5794 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5795
5796 * net/tramp-adb.el: New package.
5797
5798 2012-12-04 Chong Yidong <cyd@gnu.org>
5799
5800 * terminal.el: Move to obsolete/.
5801
5802 * longlines.el: Move to obsolete/.
5803
5804 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5805 Remove code referring to longlines mode.
5806
5807 2012-12-03 Juri Linkov <juri@jurta.org>
5808
5809 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5810
5811 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5812
5813 * textmodes/ispell.el (ispell-init-process)
5814 (ispell-start-process, ispell-internal-change-dictionary):
5815 Make sure personal dictionary name is expanded after initial
5816 `default-directory' value. Use expanded strings for
5817 keep/restart checks and for value (Bug#13019).
5818
5819 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5820
5821 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5822
5823 2012-12-03 Leo Liu <sdl.web@gmail.com>
5824
5825 * files.el (dir-locals-read-from-file): Check file non-empty
5826 before reading. (Bug#13038)
5827
5828 2012-12-03 Glenn Morris <rgm@gnu.org>
5829
5830 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5831 Remove any version extension before checking filename. (Bug#13006)
5832 (jka-compr-compression-info-list): Belated :version bump.
5833
5834 2012-12-03 Chong Yidong <cyd@gnu.org>
5835
5836 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5837
5838 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5839 (buffer-menu): Doc fix (Bug#12294).
5840
5841 2012-12-03 Roland Winkler <winkler@gnu.org>
5842
5843 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5844 of diary-show-all-entries in the diary buffer (Bug#12994).
5845
5846 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5847
5848 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5849 "<STDIN>". This is binary safe.
5850
5851 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5852
5853 * calc/calc-forms.el (math-absolute-from-iso-dt)
5854 (math-date-to-iso-dt, math-parse-iso-date-validate)
5855 (math-iso-dt-to-date): New functions.
5856 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5857 (math-fd-isoweekday): New variables.
5858 (calc-date-notation, math-parse-standard-date, math-format-date)
5859 (math-format-date-part): Add support for more formatting codes.
5860
5861 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5862
5863 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5864 current buffer's file name when called interactively (Bug#12488).
5865
5866 2012-12-02 Juri Linkov <juri@jurta.org>
5867
5868 * info.el (info-display-manual): Don't clobber an existing Info
5869 buffer (Bug#10770). Add completion (Bug#10771).
5870
5871 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5872
5873 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5874 before using it for comparison (Bug#5297).
5875
5876 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5877
5878 * textmodes/css-mode.el (css-current-defun-name): New function.
5879 (css-mode): Use it.
5880
5881 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5882 (html-mode): Use it.
5883
5884 2012-12-01 Chong Yidong <cyd@gnu.org>
5885
5886 Modularize add-log-current-defun (Bug#2224).
5887 Suggested by Jari Aalto.
5888
5889 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5890 (add-log-current-defun): Move mode-specific code to other files.
5891 (add-log-lisp-like-modes, add-log-c-like-modes)
5892 (add-log-tex-like-modes): Variables deleted.
5893
5894 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5895 (lisp-mode-variables): Use it.
5896
5897 * progmodes/cc-mode.el (c-common-init):
5898 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5899 add-log-current-defun-function.
5900
5901 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5902 (m4-mode): Use it.
5903
5904 * progmodes/perl-mode.el (perl-current-defun-name): New.
5905 (perl-mode): Use it.
5906
5907 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5908 Use lisp-current-defun-name.
5909
5910 * textmodes/tex-mode.el (tex-current-defun-name): New.
5911 (tex-common-initialization): Use it.
5912
5913 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5914 (texinfo-mode): Use it.
5915
5916 2012-12-01 Chong Yidong <cyd@gnu.org>
5917
5918 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5919 * progmodes/autoconf.el (autoconf-mode):
5920 * progmodes/js.el (js-mode):
5921 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5922 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5923 * progmodes/perl-mode.el (perl-mode):
5924 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5925 * textmodes/css-mode.el (css-mode):
5926 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5927 (sgml-tags-invisible, sgml-guess-indent):
5928 * textmodes/tex-mode.el (tex-common-initialization)
5929 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5930 (doctex-mode, plain-tex-mode, latex-mode):
5931 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5932
5933 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5934
5935 * vc/vc-hg.el (vc-hg-next-revision):
5936 Ensure use of default "tip" output format. (Bug#6968)
5937
5938 2012-12-01 Kim F. Storm <storm@cua.dk>
5939
5940 * startup.el (fancy-startup-tail): Add a clickable link
5941 (Bug#2176).
5942
5943 2012-12-01 Chong Yidong <cyd@gnu.org>
5944
5945 * startup.el (fancy-startup-tail): Improve the message about
5946 auto-save files (Bug#2176).
5947
5948 * files.el (recover-session): Improve the descriptive message, and
5949 use substitute-command-keys.
5950
5951 2012-12-01 Glenn Morris <rgm@gnu.org>
5952
5953 * ido.el (ido-file-internal):
5954 Handle other-window, other-frame for dired. (Bug#13036)
5955
5956 2012-11-30 Glenn Morris <rgm@gnu.org>
5957
5958 * icomplete.el (icomplete-separator): Fix :version.
5959
5960 2012-11-30 Chong Yidong <cyd@gnu.org>
5961
5962 * shell.el (shell): For C-u M-x shell, use an inactive shell
5963 buffer as the default (Bug#1975).
5964 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5965 (shell-mode): Use them to reapply ansi colorization if Shell mode
5966 is re-enabled.
5967
5968 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5969
5970 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5971
5972 2012-11-30 Samuel Bronson <naesten@gmail.com>
5973
5974 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5975 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5976
5977 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5978
5979 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5980 by move-to-column (Bug#3234).
5981
5982 2012-11-30 Chong Yidong <cyd@gnu.org>
5983
5984 * longlines.el (longlines-wrap-line, longlines-encode-region):
5985 Preserve text properties (Bug#1425).
5986
5987 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5988
5989 * vc/vc.el (vc-register): Allow registering a file which is
5990 already registered with a different backend (Bug#10589).
5991
5992 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5993 Stefan Monnier <monnier@iro.umontreal.ca>
5994
5995 * icomplete.el: Change separator; add ido-style commands.
5996 (icomplete-show-key-bindings): Remove custom var.
5997 (icomplete-get-keys): Remove function.
5998 (icomplete-forward-completions, icomplete-backward-completions):
5999 New commands.
6000 (icomplete-minibuffer-map): New var.
6001 (icomplete-minibuffer-setup): Use it.
6002 (icomplete-exhibit): Don't delay if the list of completions is known.
6003 (icomplete-separator): New custom.
6004 (icomplete-completions): Use it.
6005 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6006 (minibuffer-force-complete-and-exit): New command.
6007 (minibuffer--complete-and-exit): New function extracted from
6008 minibuffer-complete-and-exit.
6009 (minibuffer-complete-and-exit): Use it.
6010
6011 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6012 error message when the file doesn't exist (bug#12974).
6013
6014 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6015
6016 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6017
6018 2012-11-29 Glenn Morris <rgm@gnu.org>
6019
6020 * files.el (hack-dir-local-variables): Warn if try to set
6021 coding via dir-locals, since it doesn't work. (Bug#7169)
6022
6023 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6024 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6025 Set buffer-local value of desktop-save-buffer.
6026 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6027 New functions.
6028 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6029 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6030
6031 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6032 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6033 Doc fix.
6034 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6035 Doc fixes.
6036
6037 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6038
6039 * calc/calc-forms.el (calc-date-notation): Fix regexp
6040 used to find time codes. Fix symbol for seconds.
6041
6042 2012-11-27 Glenn Morris <rgm@gnu.org>
6043
6044 * emacs-lisp/derived.el (derived-mode-make-docstring):
6045 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6046
6047 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6048
6049 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6050 lexically scoped variables (bug#13005).
6051
6052 2012-11-27 Glenn Morris <rgm@gnu.org>
6053
6054 * vc/vc-hooks.el (vc-mistrust-permissions):
6055 Default to t, to avoid data-loss. (Bug#11490)
6056
6057 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
6058
6059 * progmodes/python.el (python-indent-guess-indent-offset):
6060 If indentation is guessed make python-indent-offset buffer-local.
6061
6062 Fix Imenu regression.
6063 * progmodes/python.el (python-nav-beginning-of-defun):
6064 Fix forward movement when statement(s) separates point from defun.
6065 (python-imenu-prev-index-position): New function.
6066
6067 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6068
6069 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6070
6071 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6072 Don't set buffer-file-type. Return nil. (Bug#12989)
6073
6074 2012-11-27 Glenn Morris <rgm@gnu.org>
6075
6076 * hippie-exp.el (hippie-expand-try-functions-list):
6077 Re-autoload it. (Bug#12982)
6078
6079 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6080
6081 * descr-text.el (describe-char-padded-string):
6082 Call internal-char-font only on GUI frames. (Bug#11964)
6083
6084 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6085
6086 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6087 and obsoletion message.
6088
6089 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6092 the constructs to keep outside of the `cl-block' (bug#12977).
6093
6094 2012-11-27 Chong Yidong <cyd@gnu.org>
6095
6096 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6097 keep reading until we get the up-event anyway, in order to process
6098 the up-event for mouse-1-click-follows-link (Bug#12971).
6099
6100 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6103 base function is not yet defined (bug#12965).
6104 (ad-activate-advised-definition): Use ad-compile-function.
6105 (ad-activate): Use cond.
6106
6107 2012-11-25 Leo Liu <sdl.web@gmail.com>
6108
6109 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6110 (Bug#12979)
6111
6112 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6113
6114 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6115 reftex-section-info-function in order to be compatible with
6116 Texinfo integration.
6117
6118 * textmodes/reftex.el (reftex-section-pre-regexp)
6119 (reftex-section-post-regexp, reftex-section-info-function):
6120 New variable.
6121 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6122 reftex-section-post-regexp, and reftex-section-info-function in order
6123 to be compatible with Texinfo integration.
6124
6125 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6126 use reftex-section-pre-regexp variable in order to be compatible with
6127 Texinfo integration.
6128
6129 2012-11-25 Chong Yidong <cyd@gnu.org>
6130
6131 * faces.el: Make face-spec-set more analogous to setq.
6132 (face-spec-set): Change the third arg to specify whether this
6133 function is being called via defface, customize, or a third party.
6134 Set the appropriate symbol properties. Clear the override spec if
6135 setting via Custom. Initialize face if necessary. (Bug#4988)
6136 (face-spec-recalc): Allow theme faces to completely replace the
6137 defface spec, in the same way as custom faces (Bug#8454).
6138
6139 * cus-face.el (custom-declare-face): Move face initialization to
6140 face-spec-set.
6141 (custom-theme-set-faces): Don't initialize the face name here, as
6142 that is now done in face-spec-set.
6143
6144 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6145 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6146 Simplify by using the new arg to face-spec-set.
6147
6148 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6149 reset face-override-spec too, and use custom-declare-face.
6150
6151 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6152
6153 * term/ns-win.el (ns-initialize-window-system): Move creation of
6154 fontsets here (Bug#11964).
6155
6156 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6157
6158 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6159 cell renaming.
6160
6161 2012-11-24 Chong Yidong <cyd@gnu.org>
6162
6163 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6164 obsolete.
6165
6166 * custom.el (custom-theme-set-variables): Use a topological sort
6167 for ordering by custom dependencies (Bug#12952).
6168 (custom--sort-vars, custom--sort-vars-1): New functions.
6169
6170 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6171
6172 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6173 lexical-binding (bug#12938).
6174
6175 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6176
6177 * image-mode.el (image-transform-check-size): Use assertions only
6178 for images of type imagemagick.
6179
6180 Otherwise no error, image-transform-fit-to-{width,height} is
6181 silently ignored, as before. Doc fix.
6182
6183 2012-11-24 Chong Yidong <cyd@gnu.org>
6184
6185 * faces.el (color-defined-p): Doc fix (Bug#12853).
6186
6187 2012-11-24 Juri Linkov <juri@jurta.org>
6188
6189 * dired.el (dired-mark): Add optional arg `interactive'.
6190 Check for `use-region-p' if `interactive' is non-nil.
6191 (dired-unmark, dired-flag-file-deletion): Add optional arg
6192 `interactive'. Call `dired-mark' with the arg `interactive'.
6193 (Bug#10624)
6194
6195 * wdired.el: Revert 2012-10-17 change partly and replace it with
6196 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6197 (wdired-finish-edit): Add marks for new file names to
6198 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6199 after `revert-buffer'.
6200 (wdired-do-renames): Remove calls to `dired-remove-file',
6201 `dired-add-file', `dired-add-entry'. (Bug#11795)
6202
6203 2012-11-24 Alan Mackenzie <acm@muc.de>
6204
6205 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6206
6207 Fix bugs in the state cache. Enhance a debugging mechanism.
6208 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6209 "brace at column zero" strategy for C++.
6210 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6211 (c-parse-state-point): New variable.
6212 (c-record-parse-state-state): Record old parse state with
6213 `copy-tree'. Record previous value of point.
6214 (c-debug-parse-state-double-cons): New debugging function.
6215 (c-debug-parse-state): Call the above new function.
6216 (c-toggle-parse-state-debug): Output a confirmatory message.
6217
6218 * progmodes/cc-mode.el (c-before-change, c-after-change):
6219 Call c-invalidate-state-cache from `c-before-change' instead of
6220 `c-after-change'.
6221
6222 2012-11-23 Chong Yidong <cyd@gnu.org>
6223
6224 * find-cmd.el (find-constituents): Add executable, ipath,
6225 readable, samefile, writable, daystart, regextype (Bug#12856).
6226
6227 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6230
6231 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6232
6233 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6234 definition. This fixes a bootstrap failure.
6235 (calc-gregorian-switch): In menu, put dates before regions.
6236 This is easier to follow, lines up better in the menu, and lets us
6237 coalesce regions that switch at the same time. Give country
6238 names, not "Vatican", as that's better for non-expert users.
6239 Use names that are stable between the date of switch and now, e.g.,
6240 Bohemia and Moravia (which existed then and now) and not
6241 Czechoslovakia (which didn't exist then and doesn't exist now).
6242 What is now the U.S. mostly did not switch at the same time as
6243 Britain, so omit the U.S. Correct spelling of "Britain".
6244 Catholic Switzerland was too much of a mess, so omit it.
6245
6246 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6247
6248 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6249 after the variable is changed.
6250
6251 2012-11-21 Daniel Colascione <dancol@dancol.org>
6252
6253 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6254 in SQL declarations for font-lock.
6255 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6256
6257 2012-11-21 Glenn Morris <rgm@gnu.org>
6258
6259 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6260 (face-italic-p): Add optional argument "inherit".
6261
6262 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6263 Remove -p suffix from names, for consistency with other set-face-*.
6264 (set-face-inverse-video): Fix interactive spec.
6265 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6266 * textmodes/table.el (table--update-cell-face):
6267 Use set-face-inverse-video rather than now obsolete alias.
6268
6269 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6270
6271 * simple.el (line-move): Don't call line-move-partial if
6272 scroll-conservatively is in effect. (Bug#12927)
6273
6274 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6275
6276 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6277 Fallback on completion-at-point rather than
6278 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6279 (eshell-cmpl-initialize): Setup completion-at-point.
6280
6281 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6282
6283 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6284
6285 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6286
6287 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6288 are remote, check out-of-band property for both.
6289
6290 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6291
6292 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6293 code rewrite.
6294
6295 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6296
6297 More minor time fixes.
6298 * calendar/time-date.el: Commentary fix.
6299 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6300 too much other code depends on (0 0) time stamps.
6301 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6302 Add a couple of FIXME comments.
6303
6304 Minor cleanup for times as lists of four integers.
6305 * files.el (dir-locals-directory-cache):
6306 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6307 Doc fixes.
6308 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6309 * ps-bdf.el (bdf-file-newer-than-time):
6310 Process four-integers time stamps, not two. Doc fixes.
6311
6312 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6313
6314 * uniquify.el (uniquify-managed): Use defvar-local.
6315 (rename-buffer, create-file-buffer): Advise with advice-add.
6316 (uniquify-unload-function): Unadvise accordingly.
6317
6318 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6319 (trace-buffer): Don't purecopy.
6320 (trace-entry-message, trace-exit-message): Add `context' arg.
6321 (trace--timer): New var.
6322 (trace-make-advice): Adjust for use in nadvice.
6323 Add `context' argument. Delay `display-buffer' via a timer.
6324 (trace-function-internal): Use advice-add.
6325 (trace--read-args): New function.
6326 (trace-function-foreground, trace-function-background): Use it.
6327 (trace-function): Rename to trace-function-foreground and redefine as
6328 an alias to that new name.
6329 (untrace-function, untrace-all): Adjust to the use of nadvice.
6330
6331 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6332
6333 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6334
6335 * subr.el (called-interactively-p-functions): New var.
6336 (internal--called-interactively-p--get-frame): New macro.
6337 (called-interactively-p, interactive-p): Rewrite in Lisp.
6338 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6339 (called-interactively-p-functions): Use it.
6340 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6341 (called-interactively-p-functions): Use it.
6342 * allout.el (allout-called-interactively-p): Don't assume
6343 called-interactively-p is a subr.
6344
6345 2012-11-20 Glenn Morris <rgm@gnu.org>
6346
6347 * profiler.el (profiler-report-mode-map): Add a menu.
6348 No need to bind `q' because we derive from special-mode.
6349 (profiler-report-find-entry): Handle calls from the menu-bar.
6350
6351 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 * emacs-lisp/byte-run.el (defun-declarations-alist):
6354 Allow a compiler-macro to be a lambda expression.
6355
6356 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6357 eval-when-compile.
6358 (python-syntax-context): Add compiler-macro.
6359 (python-font-lock-keywords): Simplify with De Morgan.
6360
6361 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6362
6363 * files.el (load-file): Require match in minibuffer selection, as was
6364 the case in Emacs-20 before we changed the spec to allow .elc files
6365 (bug#12935).
6366
6367 * json.el: Don't require cl since we don't use it.
6368 * color.el: Don't require cl.
6369 (color-complement): `caddr' -> `nth 2'.
6370
6371 * calendar/time-date.el (time-to-seconds): De-obsolete.
6372
6373 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6374
6375 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6376 year numbers.
6377 (math-date-to-julian-dt): Adjust the initial approximation for the
6378 year to deal with the new definition of the DATE.
6379
6380 2012-11-19 Daniel Colascione <dancol@dancol.org>
6381
6382 * term/w32-win.el (cygwin-convert-path-from-windows):
6383 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6384
6385 2012-11-18 Chong Yidong <cyd@gnu.org>
6386
6387 * filecache.el (file-cache--read-list): New function.
6388 (file-cache-add-directory-list, file-cache-add-file-list)
6389 (file-cache-delete-file-list, file-cache-delete-directory-list):
6390 Use it to read a list of files or directories (Bug#12846).
6391 (file-cache-add-file, file-cache-add-directory)
6392 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6393 (file-cache-delete-directory): Print an message.
6394
6395 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6396
6397 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6398 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6399
6400 2012-11-18 Glenn Morris <rgm@gnu.org>
6401
6402 * image.el (insert-image, insert-sliced-image): Doc fix.
6403
6404 2012-11-18 Chong Yidong <cyd@gnu.org>
6405
6406 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6407 (Bug#12810).
6408
6409 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6410
6411 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6412 response when the target file is in a subdirectory (Bug#12757).
6413
6414 2012-11-18 Chong Yidong <cyd@gnu.org>
6415
6416 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6417
6418 2012-11-18 Glenn Morris <rgm@gnu.org>
6419
6420 * emacs-lisp/cl-lib.el (face-underline-p):
6421 Use set-face-underline rather than the alias set-face-underline-p.
6422
6423 * window.el (with-temp-buffer-window): Doc fix.
6424 * subr.el (with-output-to-temp-buffer):
6425 Add doc xref to with-temp-buffer-window.
6426
6427 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6428
6429 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6430 * calc/calc.el (math-format-date-cache): Declare.
6431
6432 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6433
6434 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6435 It also uses January 1, 1 AD as its day number 1.
6436 * calc/calc-forms.el (math-julian-date-beginning)
6437 (math-julian-date-beginning-int): Implement this.
6438
6439 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6440
6441 * descr-text.el (quail-find-key):
6442 * dired.el (desktop-file-name):
6443 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6444 * generic-x.el (comint-mode, comint-exec):
6445 * image-dired.el (widget-forward):
6446 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6447 (speedbar-change-expand-button-char)
6448 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6449 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6450 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6451 (widget-field-action, widget-value-set):
6452 * speedbar.el (imenu--make-index-alist):
6453 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6454 (ring-length, ring-insert):
6455 * vcursor.el (compare-windows-skip-whitespace):
6456 * woman.el (dired-get-filename):
6457 Declare functions.
6458
6459 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6460
6461 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6462
6463 * calc/calc.el (calc-gregorian-switch): New variable.
6464
6465 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6466 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6467 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6468 (math-leap-year-p): Add option to distinguish between Julian
6469 and Gregorian calendars.
6470 (math-day-number): Use `math-day-in-year' to do the computations.
6471 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6472 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6473 to do the computations.
6474 (math-date-to-dt): Use `math-date-to-julian-dt' and
6475 `math-date-to-gregorian-dt' to do the computations.
6476 (calcFunc-weekday, math-format-date-part): Use the new version of
6477 the DATE to determine the weekday.
6478 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6479 when necessary.
6480
6481 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6482
6483 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6484 Cygwin; otherwise use 'file:'. (Bug#12914)
6485 (cygwin-convert-path-from-windows): Declare, to avoid
6486 byte-compiler warnings.
6487
6488 2012-11-17 Andreas Politz <politza@fh-trier.de>
6489
6490 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6491 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6492 prefix and negative numeric prefix args (Bug#12795).
6493
6494 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6495
6496 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6497 Don't signal an error with a score that is too low to add to the
6498 list of top scores. (Bug#12779)
6499
6500 2012-11-17 Chong Yidong <cyd@gnu.org>
6501
6502 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6503
6504 * filecache.el (file-cache-add-file): Handle relative file name in
6505 the argument (Bug#12694).
6506
6507 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6508
6509 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6510
6511 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6512
6513 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6514
6515 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6516
6517 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6518
6519 * window.el (enlarge-window, shrink-window): Don't mention return
6520 value in doc-string (Bug#12896).
6521 (window--display-buffer): Don't resize frames - it won't work
6522 with all window managers and defeat pop-up-frame-alist.
6523 (display-buffer-alist): In doc-string explain that CONDITION can
6524 be a function and which arguments are passed to it (Bug#12854).
6525 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6526 expressions (Bug#12854).
6527 (display-buffer): Pass ACTION argument to
6528 display-buffer-assq-regexp.
6529
6530 2012-11-16 Glenn Morris <rgm@gnu.org>
6531
6532 * window.el (fit-frame-to-buffer-bottom-margin)
6533 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6534
6535 * faces.el (face-underline-p): Use face-attribute-specified-or.
6536
6537 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6538
6539 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6540
6541 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6544
6545 2012-11-16 Glenn Morris <rgm@gnu.org>
6546
6547 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6548 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6549
6550 * faces.el (face-underline-p): Doc fix. Handle :underline being
6551 things other than `t' (a string, a list).
6552 (face-inverse-video-p): Doc fix.
6553 (set-face-underline): Rename it back from set-face-underline-p.
6554 Doc fix. Allow interactive input of values other than t.
6555 (read-face-attribute): Apply formatting to :underline,
6556 since like :box and :stipple it can take list values.
6557
6558 * term.el (ansi-term): Don't let C-x escape-char binding
6559 clobber the more standard C-c binding. (Bug#12842)
6560
6561 * subr.el (set-temporary-overlay-map): Doc fix.
6562
6563 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6564
6565 * window.el (record-window-buffer)
6566 (display-buffer-record-window): When copying the markers to
6567 window-point preserve window-point-insertion-type. (Bug#12588)
6568
6569 2012-11-16 Glenn Morris <rgm@gnu.org>
6570
6571 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6572 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6573 Use new names for hooks rather than obsolete aliases.
6574
6575 2012-11-15 Daniel Colascione <dancol@dancol.org>
6576
6577 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6578 prefix instead of "file:" so that when FILE-NAME begins with "//",
6579 as it does when the target file is on a network share, url-handler
6580 isn't confused.
6581
6582 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6583
6584 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6585 a preactivated advice from an old advice.el; they're not compatible!
6586
6587 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6588
6589 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6590 Fix string-spec case.
6591
6592 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6593
6594 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6597 (advice--buffer-local-function-sample): New var.
6598 (advice--set-buffer-local, advice--buffer-local): New functions.
6599 (add-function, remove-function): Use them.
6600
6601 2012-11-15 Drew Adams <drew.adams@oracle.com>
6602
6603 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6604
6605 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6606
6607 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6608 potential binding of print-gensym to t, and prettify (back)quotes in
6609 case they appear in args's default values (bug#12884).
6610
6611 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6614 (advice-eval-interactive-spec): New function.
6615 (advice--make-interactive-form): Support around advice (bug#12844).
6616
6617 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6618
6619 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6620 more strict. Add docstring.
6621 (ruby-expression-expansion-re): Extract from
6622 `ruby-match-expression-expansion'.
6623 (ruby-syntax-propertize-function): After everything else, search
6624 for expansions in string literals, mark their insides as
6625 whitespace syntax and save match data for font-lock.
6626 (ruby-font-lock-keywords): Use the 2nd group from expression
6627 expansion matches.
6628 (ruby-match-expression-expansion): Use the match data saved to the
6629 text property in ruby-syntax-propertize-function.
6630
6631 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6634 (bug#12879).
6635
6636 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6637
6638 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6639 start/end keyword a bit harder. Works with different values of N.
6640 Add more comments.
6641 (ruby-end-of-block): Update accordingly.
6642
6643 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6644
6645 * woman.el (woman-file-name): Don't mess with unread-command-events
6646 (bug#12861).
6647
6648 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6649 Remove out of date self-require hack.
6650 (ad-do-advised-functions): Use simple `dolist'.
6651 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6652 (ad-advice-definition): Redefine as functions.
6653 (ad-advice-classes): Move before first use.
6654 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6655 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6656 (ad--defalias-fset): Remove functions.
6657 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6658 (ad-get-orig-definition): Rewrite.
6659 (ad-make-advised-definition-docstring): Change base docstring.
6660 (ad-real-orig-definition): Rewrite.
6661 (ad-map-arglists): Change name of called function.
6662 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6663 (ad-make-advised-definition): Simplify.
6664 (ad-assemble-advised-definition): Tweak for new calling context.
6665 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6666 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6667 function and call ad-activate if needed.
6668 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6669 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6670 (ad-compile-function): Compile ad-Advice-*.
6671 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6672 (ad-start-advice, ad-stop-advice): Remove.
6673
6674 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6675
6676 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6677 period before class method names, not after. Remove handling of
6678 one impossible case. Add comments.
6679
6680 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 * emacs-lisp/advice.el: Remove support for freezing.
6683 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6684 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6685 Remove support for `freeze'.
6686
6687 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6688 override the default.
6689 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6690 cl--dotimes/dolist.
6691 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6692 `cl' is loaded.
6693
6694 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6695 from add-advice.
6696 (advice--strip-macro): New function.
6697 (advice--defalias-fset): Use them to handle macros.
6698 (advice-add): Use them.
6699 (advice-member-p): Correctly handle macros.
6700
6701 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6702
6703 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6704 Never font-lock the beginning of singleton class as heredoc.
6705
6706 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6707
6708 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6709
6710 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6711
6712 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6713 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6714 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6715
6716 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
6717
6718 Fix end-of-defun misbehavior.
6719 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6720 python-beginning-of-defun-function. Handle nested defuns
6721 correctly.
6722 (python-nav-end-of-defun): Rename from
6723 python-end-of-defun-function. Ensure forward movement.
6724 (python-info-current-defun): Reimplement to work as intended
6725 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6726 parent defuns as soon as possible.
6727
6728 2012-11-13 Glenn Morris <rgm@gnu.org>
6729
6730 * progmodes/flymake.el (flymake-error-bitmap)
6731 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6732 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6733
6734 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6735
6736 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6737 backward, always stop at indentation. Reverts the change from
6738 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6739
6740 2012-11-13 Glenn Morris <rgm@gnu.org>
6741
6742 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6743 Add ibuffer-filter-by-derived-mode.
6744
6745 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6746 the same name shadowing each other.
6747
6748 * window.el (with-temp-buffer-window): Doc tweak.
6749
6750 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6751
6752 * help.el (temp-buffer-max-height):
6753 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6754 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6755
6756 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6757
6758 * emacs-lisp/nadvice.el: New package.
6759 * subr.el (special-form-p): New function.
6760 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6761 (elp-all-instrumented-list): Remove var.
6762 (elp-not-profilable): Remove elp-wrapper.
6763 (elp-profilable-p): Use autoloadp and special-form-p.
6764 (elp--advice-name): New const.
6765 (elp-instrument-function): Use advice-add.
6766 (elp--instrumented-p): New predicate.
6767 (elp-restore-function): Use advice-remove.
6768 (elp-restore-all, elp-reset-all): Use mapatoms.
6769 (elp-set-master): Use elp--instrumented-p.
6770 (elp--make-wrapper): Rename from elp-wrapper, return a function
6771 suitable for advice-add. Use cl-inf.
6772 (elp-results): Use mapatoms+elp--instrumented-p.
6773 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6774 (debug-function-list): Remove var.
6775 (debug): Rename arg, and then let-bind it explicitly inside.
6776 (debugger-setup-buffer): Rename arg.
6777 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6778 (debugger-frame-number): Adjust to new debug-on-entry setup.
6779 (debug--implement-debug-on-entry): Rename from
6780 implement-debug-on-entry, add argument.
6781 (debugger-special-form-p): Remove, use special-form-p instead.
6782 (debug-on-entry): Use advice-add.
6783 (debug--function-list): New function.
6784 (cancel-debug-on-entry): Use it, along with advice-remove.
6785 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6786 (debugger-list-functions): Use debug--function-list instead of
6787 debug-function-list.
6788 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6789 (ad-special-form-p): Remove, use special-form-p instead.
6790 (ad-set-advice-info): Use add-function and remove-function.
6791 (ad--defalias-fset): Adjust accordingly.
6792
6793 2012-11-10 Glenn Morris <rgm@gnu.org>
6794
6795 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6796 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6797 (report-emacs-bug-create-existing-bugs-buffer)
6798 (report-emacs-bug-parse-query-results)
6799 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6800
6801 * term.el (term-default-fg-color, term-default-bg-color):
6802 Make obsolete, rather than just saying "deprecated" in the doc.
6803
6804 * term.el (term): Rename from `term-face'.
6805 (term-current-face, ansi-term-color-vector)
6806 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6807 Update all users.
6808
6809 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6810
6811 * server.el (server-create-window-system-frame): Handle Nextstep
6812 specially (Bug#12780).
6813
6814 2012-11-10 Glenn Morris <rgm@gnu.org>
6815
6816 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6817 Unautoload, and make obsolete. (Bug#7449)
6818
6819 2012-11-10 Chong Yidong <cyd@gnu.org>
6820
6821 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6822 rename from diff-remove-trailing-whitespace (Bug#12831).
6823
6824 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6825
6826 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6827 miscompilation of trace.el.
6828
6829 2012-11-10 Glenn Morris <rgm@gnu.org>
6830
6831 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6832
6833 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6834
6835 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6836 (bug#12812).
6837
6838 2012-11-10 Chong Yidong <cyd@gnu.org>
6839
6840 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6841 a defcustom with an appropriate :set function.
6842 (minibuffer-default--in-prompt-regexps): New function.
6843
6844 2012-11-10 Glenn Morris <rgm@gnu.org>
6845
6846 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6847 (define-modify-macro): Doc fixes.
6848
6849 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6850 (gv-define-simple-setter): Update doc of `fix-return'.
6851
6852 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6853
6854 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6855 twice when `fix-return' is set (bug#12813).
6856
6857 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6858 gv-define-simple-setter (bug#12812).
6859
6860 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6861 (bug#12756).
6862
6863 2012-11-10 Glenn Morris <rgm@gnu.org>
6864
6865 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6866
6867 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6868 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6869 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6870 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6871
6872 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6873
6874 2012-11-10 Leo Liu <sdl.web@gmail.com>
6875
6876 * ido.el (ido-set-matches-1): Improve flex matching performance by
6877 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6878
6879 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6882 (ad--defalias-fset): New function.
6883 (ad-safe-fset): Remove.
6884 (ad-make-freeze-definition): Use cl-letf*.
6885
6886 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6887
6888 * subr.el (dolist): Don't bind VAR in RESULT.
6889
6890 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6891 (fset, documentation): Don't save real def since we don't advise.
6892 (ad-do-advised-functions): Remove problematic `result-form'.
6893 (ad-safe-fset): `ad-real-fset' => `fset'.
6894 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6895 uses CL's dolist internally.
6896 (ad-arglist): Remove unused arg `name'.
6897 (ad-docstring, ad-make-advised-docstring):
6898 `ad-real-documentation' => `documentation'.
6899 (warning-suppress-types): Declare.
6900 (ad-set-arguments): Simple CSE.
6901 (ad-recover-normality): Sanity check.
6902
6903 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6904 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6905
6906 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
6907
6908 * ses.el: symbol to coordinate mapping is made by symbol property
6909 `ses-cell'. This means that the same mapping is done for all SES
6910 sheets. That is good enough for cells with standard A1 names, but
6911 not for named cell. So a hash map is added for the latter.
6912 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6913 (ses-sym-rowcol): Use hashmap for named cell.
6914 (ses-is-cell-sym-p): New defun.
6915 (ses-decode-cell-symbol): New defun.
6916 (ses-create-cell-variable): Add cell to hashmap when name is not
6917 A1-like.
6918 (ses-rename-cell): Check that cell new name is not already in
6919 spreadsheet with the use of ses-is-cell-sym-p
6920 (ses-rename-cell): Use hash map for named cells, but accept also
6921 renaming back to A1-like.
6922
6923 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6924
6925 * emacs-lisp/advice.el: Use new dynamic docstrings.
6926 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6927 Use dynamic-docstring-function instead of ad-advice-info.
6928 (ad--make-advised-docstring): New function extracted from
6929 ad-make-advised-docstring.
6930 (ad-make-advised-docstring): Use it.
6931 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6932 from sql-help.
6933 (sql-help): Use it with dynamic-docstring-function.
6934
6935 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6936
6937 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 * files.el (hack-one-local-variable--obsolete): New function.
6940 (hack-one-local-variable): Use it for obsolete settings.
6941
6942 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6943 the new name.
6944
6945 * progmodes/js.el (js--filling-paragraph): New var.
6946 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6947 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6948 less sneaky.
6949
6950 2012-11-08 Julien Danjou <julien@danjou.info>
6951
6952 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6953 `auto-mode-alist' (Bug#12835).
6954
6955 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6956
6957 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6958 (perl--prettify-symbols-alist): New const.
6959 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6960 New functions.
6961 (perl-font-lock-keywords-2): Use them.
6962 (perl-electric-noindent-p): New function.
6963 (perl-mode): Use it to set up electric-indent-mode.
6964 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6965 (perl-mode-map): Remove bindings for them.
6966 (perl-imenu-generic-expression, perl-outline-level):
6967 Match functions&packages in column>0.
6968
6969 * env.el (env--substitute-vars-regexp): New const.
6970 (substitute-env-vars): Use it. Add `only-defined' arg.
6971 * net/tramp.el (tramp-replace-environment-variables): Use it.
6972
6973 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6974 Byte-compile *before* eval in eval-and-compile.
6975 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6976 (byte-compile-file-form-autoload): Don't hide actual definition.
6977 (byte-compile-maybe-guarded): Accept `functionp' as well.
6978
6979 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6980
6981 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6982
6983 * notifications.el (notifications-get-server-information-method):
6984 New defconst.
6985 (notifications-get-capabilities): Fix docstring.
6986 (notifications-get-server-information): New defun.
6987
6988 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6989
6990 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6991 readability.
6992
6993 * textmodes/ispell.el: Experimental support for support debugging.
6994 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6995 buffer for ispell.
6996 (ispell-print-if-debug): New function to print stuff to
6997 `ispell-debug-buffer' if debugging is enabled.
6998 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6999 show some debugging info.
7000 (ispell-buffer-with-debug): New function that creates a debugging
7001 buffer and calls `ispell-buffer' with debugging enabled.
7002
7003 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7004 comment in autoconf mode. (Bug#12768)
7005
7006 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7007
7008 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7009 frame-first-window, frame-root-window, frame-selected-window,
7010 minibuffer-selected-window, minibuffer-window,
7011 window-absolute-pixel-edges, window-at, window-body-height,
7012 window-body-width, window-display-table, window-combination-limit,
7013 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7014 window-inside-edges, window-inside-pixel-edges, window-left-child,
7015 window-left-column, window-margins, window-next-buffers,
7016 window-next-sibling, window-new-normal, window-new-total,
7017 window-normal-size, window-parameter, window-parameters, window-parent,
7018 window-pixel-edges, window-point, window-prev-buffers,
7019 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7020 window-start, window-text-height, window-top-child, window-top-line,
7021 window-total-height, window-total-width and window-use-time to the list
7022 of functions without side-effects.
7023 (toplevel): Add window-valid-p to the list of error-free functions
7024 without side-effects.
7025
7026 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7027
7028 * textmodes/ispell.el (ispell-program-name):
7029 Update spellchecker parameters when customized.
7030
7031 2012-11-04 Glenn Morris <rgm@gnu.org>
7032
7033 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7034
7035 2012-11-04 Chong Yidong <cyd@gnu.org>
7036
7037 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7038 same-window-* variables.
7039
7040 2012-11-04 Juri Linkov <juri@jurta.org>
7041
7042 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7043 (isearch-describe-key, isearch-describe-mode): Use a display
7044 action instead of binding same-window-* variables (Bug#10040).
7045
7046 2012-11-03 Glenn Morris <rgm@gnu.org>
7047
7048 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7049 Rename handler properties back from cl-- to cl-. (Bug#12788)
7050
7051 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7052
7053 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7054
7055 * term/pc-win.el: Don't load term/internal from here.
7056
7057 * loadup.el: Load term/internal from here.
7058
7059 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
7060
7061 * progmodes/python.el (inferior-python-mode): Fix hang in
7062 jit-lock (Bug#12645).
7063
7064 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7065
7066 * window.el (switch-to-visible-buffer)
7067 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7068
7069 2012-11-03 Glenn Morris <rgm@gnu.org>
7070
7071 * emacs-lisp/cl-lib.el (cl--random-time):
7072 Rename from cl-random-time. (Bug#12773)
7073 (cl--gensym-counter, cl--random-state): Update callers.
7074 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7075
7076 2012-11-03 Chong Yidong <cyd@gnu.org>
7077
7078 * cus-start.el: Make cursor-type customizable (Bug#11633).
7079
7080 2012-11-02 Glenn Morris <rgm@gnu.org>
7081
7082 * filecache.el: No need to load find-lisp when compiling.
7083 (find-lisp-find-files): Autoload it.
7084 (file-cache-add-directory-recursively): Don't require find-lisp.
7085
7086 * image.el (image-type-from-file-name): Trivial simplification.
7087
7088 * emacs-lisp/bytecomp.el (byte-compile-eval):
7089 Decouple "noruntime" and "cl-functions" warnings.
7090
7091 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7092
7093 * play/gomoku.el (gomoku-display-statistics): Update mode line
7094 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7095
7096 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7097
7098 * window.el (quit-restore-window): If the window has been
7099 created on an existing frame and ended up as the sole window on
7100 that frame, do not delete it (Bug#12764).
7101
7102 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7105 Rename from sh--inside-arithmetic-expression, handle more cases
7106 (bug#11263).
7107
7108 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7109 (sh-font-lock-open-heredoc): Use it (bug#12770).
7110
7111 2012-10-30 Glenn Morris <rgm@gnu.org>
7112
7113 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7114
7115 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7116
7117 2012-10-29 Chong Yidong <cyd@gnu.org>
7118
7119 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7120 function key is stored in a keyboard macro (Bug#4894).
7121
7122 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7123
7124 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7125
7126 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7127 header comments".
7128 (diff-unified->context, diff-context->unified)
7129 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7130
7131 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7132
7133 * files.el (find-alternate-file): Only ask one question (bug#12487).
7134
7135 2012-10-29 Chong Yidong <cyd@gnu.org>
7136
7137 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7138 Suggested by Dan Nicolaescu (Bug#6326).
7139
7140 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7141
7142 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7143
7144 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7145
7146 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7147
7148 * face-remap.el (face-remap-add-relative): Handle the case where a
7149 face-remapping-alist entry is a cons cell (Bug#12762).
7150
7151 2012-10-29 Kevin Ryde <user42@zip.com.au>
7152
7153 * woman.el (woman-parse-numeric-value): Handle picas correctly
7154 (Bug#12639).
7155
7156 2012-10-29 Glenn Morris <rgm@gnu.org>
7157
7158 * emacs-lisp/cl.el (defsetf): Doc fix.
7159
7160 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7163 syntax to the matching opener, if any (bug#12547).
7164 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7165 matching open as a "case-(".
7166 (sh-smie-rc-grammar): Add a corresponding rule for it.
7167
7168 2012-10-28 Daniel Hackney <dan@haxney.org>
7169
7170 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7171 "PKGNAME-autoloads.el" in case we created it.
7172
7173 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7176 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7177 (completion--twq-all): Disable too-strict assertions.
7178
7179 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7180
7181 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7182
7183 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7184 text to match the real keybindings.
7185
7186 2012-10-27 Juri Linkov <juri@jurta.org>
7187
7188 * wdired.el (wdired-keep-marker-rename): New defcustom.
7189 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7190 (Bug#11795)
7191
7192 * dired.el (dired-keep-marker-rename): Add reference to
7193 `wdired-keep-marker-rename' in the docstring.
7194 Add default character value ?R to display initially in
7195 Customization UI instead of ?@.
7196
7197 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7198
7199 * window.el (display-buffer): In doc-string describe
7200 window-height and window-width alist entries.
7201
7202 * time.el (display-time-world): Restore fit-window-to-buffer
7203 behavior.
7204
7205 2012-10-27 Chong Yidong <cyd@gnu.org>
7206
7207 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7208
7209 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7210
7211 * minibuffer.el (completion-category-overrides): New completion
7212 category `bookmark' (bug#11131).
7213
7214 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7215
7216 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7217 Silence bogus compiler warnings for ad-do-it.
7218
7219 * bookmark.el (bookmark-completing-read): Set the completion category
7220 to `bookmark' (bug#11131).
7221
7222 2012-10-26 Bastien <bzg@altern.org>
7223 Stefan Monnier <monnier@iro.umontreal.ca>
7224
7225 * face-remap.el: Use lexical-binding.
7226 (text-scale-adjust): Improve docstring. Use itself for the temporary
7227 overlay-map bindings, so as to repeat the "Use..." message each time.
7228
7229 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7230
7231 * emacs-lisp/macroexp.el (macroexp--expand-all):
7232 Obey byte-compile-warning-enabled-p (bug#12486).
7233
7234 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7235 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7236
7237 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7238
7239 * mouse.el (mouse-drag-line): Move last form into preceding when
7240 clause (Bug#12731).
7241
7242 * help.el (resize-temp-buffer-window): Fix doc-string.
7243
7244 2012-10-25 David Engster <deng@randomsample.de>
7245
7246 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7247 Remove. This feature is already integrated in imenu.
7248
7249 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7250 always loaded. Require `speedbar' unconditionally.
7251
7252 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7253
7254 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7255
7256 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7257
7258 * net/ldap.el (ldap-search-internal): The official ldif format starts
7259 with a "version: 1" header (bug#12724).
7260
7261 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7262 (bug#12721).
7263
7264 2012-10-25 Glenn Morris <rgm@gnu.org>
7265
7266 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7267
7268 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7269
7270 * minibuffer.el (minibuffer-force-complete): Use one more marker
7271 for the temporary-overlay-map command (bug#12619).
7272
7273 2012-10-24 Chong Yidong <cyd@gnu.org>
7274
7275 * time.el (display-time-world-mode): Derive from special-mode.
7276 (display-time-world): Use display-buffer (Bug#12708).
7277 (display-time-world-mode-map): Variable deleted.
7278 (display-time-world-display): Wrap the final delete-char inside
7279 inhibit-read-only.
7280
7281 2012-10-24 Chong Yidong <cyd@gnu.org>
7282
7283 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7284 Doc fix.
7285
7286 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7287
7288 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7289
7290 * minibuffer.el (completion--all-sorted-completions-location): New var.
7291 (completion--cache-all-sorted-completions)
7292 (completion--flush-all-sorted-completions): Use it.
7293 (completion-in-region, completion-in-region--postch)
7294 (completion-at-point, completion-help-at-point): Use markers in
7295 completion-in-region--data (bug#12619).
7296
7297 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7298
7299 * progmodes/compile.el (compilation-start): Try to handle common
7300 quoting of `cd' argument (bug#12640).
7301
7302 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7303 (bug#12671).
7304
7305 2012-10-23 Glenn Morris <rgm@gnu.org>
7306
7307 * progmodes/gud.el (gud-menu-map):
7308 Check gdb-active-process is bound. (Bug#12358)
7309
7310 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7311
7312 * repeat.el (repeat): Set real-this-command (bug#12232).
7313
7314 * htmlfontify.el (hfy-post-html-hook):
7315 * filesets.el (filesets-cache-fill-content-hook):
7316 * arc-mode.el (archive-extract-hook):
7317 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7318 * net/rcirc.el (rcirc-sentinel-functions)
7319 (rcirc-receive-message-functions, rcirc-activity-functions)
7320 (rcirc-print-functions):
7321 * net/dbus.el (dbus-event-error-functions):
7322 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7323 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7324 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7325 * term/sun.el (sun-raw-prefix-hooks):
7326 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7327
7328 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7329
7330 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7331 Set `tramp-chunksize' to 1. This improves the performance.
7332 (tramp-smb-wait-for-output): Add timeout to
7333 `tramp-accept-process-output' calls.
7334
7335 2012-10-23 Chong Yidong <cyd@gnu.org>
7336
7337 * faces.el (font-list-limit): Define as an obsolete variable.
7338
7339 * startup.el (command-line):
7340 * cus-start.el: Don't refer to font-list-limit.
7341
7342 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7343
7344 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7345
7346 * subr.el (internal-temp-output-buffer-show): Rename from
7347 temp-output-buffer-show, since previously compiled files expect this name.
7348
7349 2012-10-23 Glenn Morris <rgm@gnu.org>
7350
7351 * image.el (image-type-from-file-name): If multiple types match,
7352 return the first one that is supported. (Bug#9045)
7353
7354 2012-10-22 Glenn Morris <rgm@gnu.org>
7355
7356 * image.el (imagemagick-enabled-types): Doc fix.
7357
7358 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7359
7360 * progmodes/which-func.el (which-func-current): The hash-table may have
7361 an explicit nil (bug#12338).
7362
7363 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * electric.el (electric-pair-delete-selection-self-insert-function):
7366 Rename to electric-pair-will-use-region, return a boolean.
7367 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7368
7369 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7370 (delete-selection-pre-hook): Use use-region-p.
7371 (delete-selection-self-insert-function): Remove.
7372 (self-insert-command): Obey self-insert-uses-region-functions.
7373 (self-insert-iso): Revert to previous setting, since we don't actually
7374 know what that command does.
7375 (delete-selection-self-insert-hooks): Remove.
7376
7377 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7378
7379 * delsel.el (delete-selection-helper): New function, extracted from
7380 delete-selection-pre-hook.
7381 (delete-selection-pre-hook): Use it.
7382 (delete-selection-self-insert-function): New function.
7383 (delete-selection-self-insert-hooks): New hook.
7384 (self-insert-command, self-insert-iso): Use it.
7385 * electric.el (electric-pair-syntax): New function, extracted from
7386 electric-pair-post-self-insert-function.
7387 (electric-pair-post-self-insert-function): Use it.
7388 (electric-pair-delete-selection-self-insert-function): New function.
7389 (electric-pair-mode): Require delsel and setup
7390 delete-selection-self-insert-hooks (bug#11520).
7391
7392 2012-10-20 Chong Yidong <cyd@gnu.org>
7393
7394 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7395 no changes to show (Bug#12586).
7396
7397 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7398 list explicitly (Bug#12571).
7399
7400 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7401
7402 * progmodes/flymake.el (flymake-create-temp-inplace):
7403 Use file-truename.
7404
7405 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7406
7407 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7408
7409 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7410
7411 * calc/calc-units.el (math-extract-units): Properly extract powers
7412 of units.
7413
7414 2012-10-20 Daniel Colascione <dancol@dancol.org>
7415
7416 * frame.el (make-frame): Set x-display-name as we used to in order
7417 to unbreak creating an X11 frame from an Emacs daemon started
7418 without a display.
7419
7420 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7423 the same completion-field (bug#12221).
7424
7425 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7426
7427 * emacs-lisp/debug.el (debug): Record height of debugger window
7428 also when debugger will be back (Bug#8789).
7429
7430 2012-10-18 Chong Yidong <cyd@gnu.org>
7431
7432 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7433 Convert to defcustom.
7434 (gdb-get-source-file): Don't bind pop-up-windows.
7435
7436 * progmodes/gud.el (gud-display-line): Don't specially re-use
7437 other frames for the gdb-mi case (Bug#12648).
7438
7439 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * emacs-lisp/advice.el: Clean up commentary a bit.
7442 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7443 (byte-code-function-p): Never redefine.
7444
7445 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7446
7447 2012-10-18 Glenn Morris <rgm@gnu.org>
7448
7449 * dired.el (dired-sort-toggle): Some ls implementations only allow
7450 a single option string. (Bug#12666)
7451
7452 * minibuffer.el (completion-cycle-threshold): Doc fix.
7453
7454 2012-10-17 Kenichi Handa <handa@gnu.org>
7455
7456 * international/mule.el (set-keyboard-coding-system):
7457 Recover input meta mode when the new coding system doesn not use 8-bit.
7458 Supply TERMINAL arg to set-input-meta-mode.
7459
7460 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7461
7462 * wdired.el (wdired-old-marks): New variable.
7463 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7464 (wdired-do-renames): Move point with renamed file and don't lose
7465 mark status (Bug#11795).
7466
7467 2012-10-16 Juri Linkov <juri@jurta.org>
7468
7469 * replace.el (query-replace-help): Mention multi-buffer replacement
7470 keys in the Help message. (Bug#12655)
7471
7472 2012-10-15 Chong Yidong <cyd@gnu.org>
7473
7474 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7475
7476 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7477
7478 * window.el (display-buffer): Doc fix.
7479
7480 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7481 Adjust the msft regexp to the output of Studio 2010, and move msft
7482 before edg-1. See the discussion on emacs-devel,
7483 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7484 for the details.
7485
7486 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7489 (oset): Move uses of object-class-fast macro after its definition.
7490
7491 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7492
7493 2012-10-13 Chong Yidong <cyd@gnu.org>
7494
7495 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7496 enabled, re-enable it (Bug#11963).
7497
7498 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7499
7500 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7501 non-nil, restore window configuration (Bug#12623).
7502
7503 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * help-fns.el (describe-variable, describe-function-1):
7506 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7507
7508 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7509
7510 2012-10-12 Glenn Morris <rgm@gnu.org>
7511
7512 * mail/rmailsum.el (rmail-header-summary):
7513 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7514
7515 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
7516
7517 * progmodes/python.el (python-mode-map):
7518 Replace subtitute-key-definition with proper command remapping.
7519 (python-nav--up-list): Fix behavior for blocks on the same level.
7520
7521 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7522
7523 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7524
7525 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7526 changes to the format of load-history.
7527
7528 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7529 completion-ignore-case in case that var is buffer-local (bug#12615).
7530
7531 2012-10-11 Kenichi Handa <handa@gnu.org>
7532
7533 * international/eucjp-ms.el: Re-generated.
7534
7535 2012-10-10 Kenichi Handa <handa@gnu.org>
7536
7537 * select.el (xselect--encode-string): If a coding is specified for
7538 selection, and that is compatible with COMPOUND_TEXT, use it.
7539
7540 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7541
7542 * window.el (switch-to-buffer-preserve-window-point): New option.
7543 (switch-to-buffer):
7544 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7545
7546 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7547
7548 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7549 Don't document nil as a useful value (bug#12583).
7550
7551 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7552
7553 * net/tramp.el (tramp-debug-message):
7554 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7555 (with-tramp-progress-reporter): Rename from
7556 `tramp-with-progress-reporter'.
7557 (with-tramp-file-property, with-tramp-connection-property):
7558 Move from tramp-cache.el, rename from `with-file-property' and
7559 `with-connection-property', respectively.
7560
7561 * net/tramp-cache.el: Remove `with-file-property' and
7562 `with-connection-property'.
7563
7564 * net/tramp.el:
7565 * net/tramp-gvfs.el:
7566 * net/tramp-sh.el:
7567 * net/tramp-smb.el: Adapt callees.
7568
7569 * net/trampver.el: Update release number.
7570
7571 2012-10-09 Glenn Morris <rgm@gnu.org>
7572
7573 * w32-fns.el (set-message-beep):
7574 * term/w32-win.el (set-message-beep): Update declarations.
7575
7576 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7577
7578 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7579 (mode-line-widen, mode-line-input-method-map)
7580 (mode-line-coding-system-map, mode-line-remote)
7581 (mode-line-unbury-buffer, mode-line-bury-buffer)
7582 (mode-line-next-buffer, mode-line-previous-buffer):
7583 Replace save-selected-window+select-window => with-selected-window.
7584
7585 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7586 * progmodes/cc-vars.el (bq-process): Remove, unused.
7587
7588 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7589
7590 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
7591
7592 Implemented `backward-up-list'-like navigation.
7593 * progmodes/python.el (python-nav-up-list)
7594 (python-nav-backward-up-list): New functions.
7595 (python-mode-map): Define substitute key for backward-up-list to
7596 python-nav-backward-up-list.
7597
7598 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7599
7600 * progmodes/python.el (python-fill-paragraph): Rename from
7601 python-fill-paragraph-function. Fixed fill-paragraph for
7602 decorators (Bug#12605).
7603
7604 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7605
7606 * progmodes/python.el (python-shell-output-filter): Handle extra
7607 carriage return in OSX (Bug#12409).
7608
7609 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7610
7611 Fix shell handling of unbalanced quotes and parens in output.
7612 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7613 (python-syntax-propertize-function): Use it.
7614 (python-shell-output-syntax-table): New var.
7615 (inferior-python-mode): Prevent unbalanced parens/quotes from
7616 previous output mess with current input context.
7617
7618 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7619
7620 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7621 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7622
7623 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7624
7625 * ffap.el (ffap-replace-file-component): Support Tramp file name
7626 syntax, not only ange-ftp's one.
7627
7628 2012-10-08 Glenn Morris <rgm@gnu.org>
7629
7630 * cus-start.el (message-log-max): Set :version.
7631
7632 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7633
7634 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7635
7636 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7637 the minibuffer window (Bug#10851).
7638
7639 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7640
7641 Enhancements on forward-sexp movement.
7642 * progmodes/python.el (python-nav-beginning-of-statement)
7643 (python-nav-end-of-statement): Return point-marker.
7644 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7645 (python-info-current-symbol)
7646 (python-info-statement-starts-block-p): Rename from
7647 python-info-beginning-of-block-p.
7648 (python-info-statement-ends-block-p): Rename from
7649 python-info-end-of-block-p.
7650 (python-info-beginning-of-statement-p)
7651 (python-info-end-of-statement-p)
7652 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7653 New functions.
7654
7655 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7656
7657 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7658 frame-selected-windows.
7659
7660 2012-10-08 Daniel Colascione <dancol@dancol.org>
7661
7662 * battery.el (battery-status-function): Check for
7663 w32-battery-status itself, not system-time windows-nt.
7664
7665 * frame.el: Require cl-lib.
7666 (display-format-alist): New variable mapping frame types to
7667 functions that initialize them.
7668 (window-system-for-display): New function: interprets
7669 display-format-alist.
7670 (make-frame-on-display): Remove existing display-selection logic
7671 and just forward to make-frame, which will now DTRT.
7672 (make-frame): Restructure to use window-system-for-display to
7673 figure out how to create a frame on a given display.
7674 (display-mouse-p): Look for frame-type w32, not a particular
7675 system-type.
7676
7677 * loadup.el: Load w32 lisp code when we have the w32 feature.
7678
7679 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7680 system-type windows-nt.
7681
7682 * server.el (server-create-window-system-frame): Look for window
7683 type.
7684 (server-proces-filter): Only force a window system when windows-nt
7685 _and_ w32. Explain why.
7686
7687 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7688 of window systems we configure for the mode.
7689
7690 * startup.el (command-line): Mark window system is initialized
7691 after we've done it.
7692
7693 * common-win.el (x-select-text): Look for w32, not windows-nt.
7694
7695 * ns-win.el: Require cl-lib. Add ourselves to
7696 display-format-alist.
7697 (ns-initialize-window-system): Assert we're not initialized twice.
7698
7699 * w32-win.el: Enable lexical binding; require cl-lib; add
7700 ourselves to display-format-alist.
7701 (w32-handle-dropped-file): Convert incoming dropped files from
7702 Windows paths to Cygwin ones before passing them on to the rest of
7703 Emacs.
7704 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7705 (w32-initialize-window-system): Assert we're not initialized twice.
7706
7707 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7708 (x-initialize-window-system): Assert we're not initialized twice.
7709
7710 * w32-common-fns.el: New File.
7711 (w32-version, w32-using-nt, w32-get-clipboard-data)
7712 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7713 (w32-charset-info-alist, x-last-selected, text)
7714 (x-get-selection-value, x-selection-value): Move here.
7715
7716 * w32-fns.el: Require w32-common-fns.
7717 (w32-version, w32-using-nt, w32-get-clipboard-data)
7718 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7719 (w32-charset-info-alist, x-last-selected, text)
7720 (x-get-selection-value, x-selection-value): Move to
7721 w32-common-fns.
7722
7723 * w32-vars.el:
7724 (w32-allow-system-shell, w32-system-shells): Define only in
7725 non-cygwin case.
7726
7727 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7728
7729 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7730 (read-passwd): Remove a few more potential sources of leaks.
7731
7732 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7733
7734 * progmodes/python.el (inferior-python-mode)
7735 (python-shell-make-comint): Fix initialization of local
7736 variables copied from parent buffer.
7737
7738 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7739
7740 * term/ns-win.el (ns-read-file-name): Update declaration to match
7741 nsfns.m.
7742 (ns-respond-to-change-font): Change fontsize separately so we are sure
7743 it is set when font is acted upon.
7744
7745 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7746
7747 Enhancements to indentation.
7748 * progmodes/python.el (python-indent-context): Give priority to
7749 inside-string context. Make comments indentation markers.
7750 (python-indent-region): Do not mess with strings, unless it's the
7751 enclosing set of quotes.
7752
7753 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * window.el (internal--before-save-selected-window)
7756 (internal--after-save-selected-window): New functions extracted from
7757 save-selected-window. Make sure we return the `alist' we construct.
7758 (save-selected-window): Use them.
7759
7760 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7761 Use with-selected-window.
7762
7763 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7764 forms that define macros (bug#12593).
7765
7766 2012-10-07 Kenichi Handa <handa@gnu.org>
7767
7768 * international/mule-conf.el (compound-text-with-extensions):
7769 Add :mime-charset property as x-ctext.
7770
7771 2012-10-07 Stefan Merten <smerten@oekonux.de>
7772
7773 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7774 (rst-indent-literal-normal, rst-indent-literal-minimized)
7775 (rst-indent-comment): Correct :version tag.
7776 (rst-official-cvs-rev): Correct version string.
7777
7778 2012-10-07 Glenn Morris <rgm@gnu.org>
7779
7780 * mail/rmailmm.el (rmail-mime-process-multipart):
7781 Do not confuse a multipart message with an epilogue
7782 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7783
7784 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7785
7786 Fix shell output retrieval and comint-prompt-regexp init.
7787 * progmodes/python.el (inferior-python-mode):
7788 (python-shell-make-comint): Fix initialization of
7789 comint-prompt-regexp from copied file local variables.
7790 (python-shell-fetched-lines): Remove var.
7791 (python-shell-output-filter-in-progress): Rename from
7792 python-shell-fetch-lines-in-progress.
7793 (python-shell-output-filter-buffer): Rename from
7794 python-shell-fetch-lines-string.
7795 (python-shell-fetch-lines-filter): Delete function.
7796 (python-shell-output-filter): New function.
7797 (python-shell-send-string-no-output): Use them.
7798
7799 2012-10-07 Glenn Morris <rgm@gnu.org>
7800
7801 * hi-lock.el (hi-lock-process-phrase):
7802 Try to make it less fragile. (Bug#7161)
7803
7804 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7805
7806 2012-10-06 Glenn Morris <rgm@gnu.org>
7807
7808 * ehelp.el (electric-help-mode): Use help-mode rather than
7809 non-existent mode `help'.
7810 (electric-help-map): Use button-buffer-map. (Bug#10917)
7811
7812 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7813 (reftex-create-bibtex-footer): Fix custom types.
7814
7815 * progmodes/sh-script.el (sh-indent-after-continuation):
7816 Add explicit :group.
7817
7818 * textmodes/rst.el (rst-preferred-decorations)
7819 (rst-shift-basic-offset): Clarify obsolescence versions.
7820
7821 * profiler.el (profiler): Add missing group :version tag.
7822 * avoid.el (mouse-avoidance-banish-position):
7823 * proced.el (proced-renice-command):
7824 * calc/calc.el (calc-ensure-consistent-units):
7825 * calendar/icalendar.el (icalendar-import-format-uid):
7826 * net/tramp.el (tramp-save-ad-hoc-proxies):
7827 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7828 * progmodes/flymake.el (flymake-error-bitmap)
7829 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7830 * progmodes/sh-script.el (sh-indent-after-continuation):
7831 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7832 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7833 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7834 (vhdl-array-index-record-field-in-sensitivity-list)
7835 (vhdl-indent-comment-like-next-code-line):
7836 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7837 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7838 (reftex-cite-key-separator, reftex-create-bibtex-header)
7839 (reftex-create-bibtex-footer):
7840 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7841 (rst-indent-literal-normal, rst-indent-literal-minimized)
7842 (rst-indent-comment): Add missing custom :version tags.
7843
7844 * calendar/timeclock.el (timeclock-modeline-display):
7845 Add missing obsolete alias for renamed user option.
7846
7847 * strokes.el (strokes-modeline-string):
7848 * emulation/crisp.el (crisp-mode-modeline-string):
7849 * eshell/esh-mode.el (eshell-status-in-modeline):
7850 Aliases to defcustoms must come before the defcustom.
7851
7852 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7853 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7854 (cal-tex-cursor-week-monday): Doc fixes.
7855 (cal-tex-cursor-week2-summary): Doc fix.
7856 Rename from cal-tex-cursor-week-at-a-glance.
7857
7858 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7859 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7860
7861 * calendar/calendar.el (calendar-mode-map):
7862 Add cal-tex-cursor-week2-summary.
7863
7864 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7865
7866 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7867
7868 * subr.el (read-passwd-map): New var.
7869 (read-passwd): Use `read-string' again.
7870 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7871
7872 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7873
7874 * register.el (append-to-register, prepend-to-register):
7875 Deactivate mark, as does `copy-to-register' (bug#12389).
7876
7877 2012-10-06 Chong Yidong <cyd@gnu.org>
7878
7879 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7880
7881 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7882
7883 * international/characters.el: Fix simple mistake ((car chars) ->
7884 elt), delete duplicated code.
7885
7886 2012-10-06 Glenn Morris <rgm@gnu.org>
7887
7888 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7889
7890 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7891
7892 * color.el (color-hsl-to-rgb): Fix incorrect results for
7893 small and large hue values. (Bug#12559)
7894
7895 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
7896
7897 Enhancements to docstring formatting when filling paragraphs.
7898 * progmodes/python.el (python-fill-docstring-style): Rename from
7899 python-fill-string-style. Added new style.
7900 (python-fill-string): Use new style. Better checks for
7901 docstrings.
7902
7903 2012-10-05 Glenn Morris <rgm@gnu.org>
7904
7905 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7906
7907 * color.el (color-name-to-rgb, color-rgb-to-hex)
7908 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7909 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7910 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7911 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7912
7913 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7914
7915 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7916
7917 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7918 to get the correct size across symlinks.
7919
7920 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7921
7922 2012-10-04 Juri Linkov <juri@jurta.org>
7923
7924 * replace.el (query-replace-interactive): Declare obsolete.
7925 (query-replace-read-from): Add the last incremental search string
7926 to the list of default values accessible via M-n.
7927 (map-query-replace-regexp): Use `read-regexp'.
7928 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7929 (map-query-replace-regexp, replace-string, replace-regexp):
7930 Fix docstrings to replace mentions of `query-replace-interactive'
7931 with alternatives. (Bug#12526)
7932
7933 2012-10-04 Juri Linkov <juri@jurta.org>
7934
7935 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7936 (dired-pop-to-buffer): Declare obsolete.
7937 (dired-mark-pop-up): Doc fix.
7938
7939 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
7940
7941 Allow user to set docstring style for fill-paragraph.
7942 * progmodes/python.el
7943 (python-fill-comment-function, python-fill-string-function)
7944 (python-fill-decorator-function, python-fill-paren-function):
7945 Remove :safe for defcustoms.
7946 (python-fill-string-style): New defcustom
7947 (python-fill-paragraph-function): Enhance context detection.
7948 (python-fill-string): Honor python-fill-string-style settings.
7949
7950 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7951
7952 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7953 after setting its buffer (Bug#10805).
7954
7955 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
7956
7957 Fix cornercase for string syntax.
7958 * progmodes/python.el (python-syntax-propertize-function):
7959 Simplify and enhance the regexp for unescaped quotes. Now it also
7960 matches quotes in weird situations like the single quote in
7961 "something\"'".
7962 (python-syntax-stringify): Simplify num-quotes detecting code.
7963
7964 2012-10-03 Glenn Morris <rgm@gnu.org>
7965
7966 * help-macro.el (three-step-help):
7967 Revert 2012-09-29 change. (Bug#12567)
7968
7969 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7970
7971 * menu-bar.el (kill-this-buffer): Don't do anything when
7972 `menu-frame' is not alive or visible (Bug#8184).
7973
7974 * emacs-lisp/debug.el (debug): When quitting the debugger window
7975 restore current buffer (Bug#12502).
7976
7977 2012-10-02 Chong Yidong <cyd@gnu.org>
7978
7979 * progmodes/hideif.el (hif-lookup, hif-defined):
7980 Handle semantic-c-takeover-hideif.
7981
7982 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7983
7984 Change sampling interval units from ms to ns.
7985 * profiler.el (profiler-sampling-interval): Change units
7986 from ms to ns, multiplying the default by 1000000 so that
7987 it remains 1 ms.
7988 (profiler-report-cpu-line-format): Give enough room for
7989 the maximum counters on 64-bit hosts.
7990 (profiler-report-render-calltree-1): Call them "CPU samples",
7991 not "Time (ms)", since they are not milliseconds now (and
7992 never really were).
7993
7994 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7995
7996 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7997 Fix querying BBDB for entries without a last name (Bug#11580).
7998
7999 2012-10-02 Chong Yidong <cyd@gnu.org>
8000
8001 * emacs-lisp/eieio.el: Restore Version header.
8002
8003 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8004
8005 * vc/diff-mode.el (diff--auto-refine-data): New var.
8006 (diff-hunk): Use it to delay refinement.
8007 (diff-mode): Remove overlays when we turn off font-lock.
8008
8009 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8010 (table-initialize-table-fixed-width-mode)
8011 (table-set-table-fixed-width-mode): Remove functions.
8012 (table-command-list): Move initialization into declaration.
8013 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8014 (table-with-cache-buffer): Use `declare'.
8015 (table-span-cell): Simplify via CSE.
8016 (table-fixed-width-mode): Use define-minor-mode.
8017 (table-call-interactively, table-funcall, table-apply): Remove.
8018 (table-function): New function, to replace them.
8019
8020 * bookmark.el (bookmark-search-pattern): Remove var.
8021 (bookmark-read-search-input): Remove function.
8022 (bookmark-bmenu-search): Reimplement using a minibuffer.
8023
8024 * faces.el (modeline): Remove obsolete face name.
8025
8026 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8027 and give a non-nil default value.
8028 (add-change-log-entry): Simplify accordingly.
8029
8030 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8031
8032 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8033 (vc-git-log-edit-toggle-amend): New function.
8034 (vc-git-log-edit-toggle-signoff): New function.
8035 (vc-git-log-edit-mode): New major mode.
8036 (vc-git-log-edit-mode-map): Keymap for it.
8037 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8038
8039 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8040 header names.
8041 (log-edit-toggle-header): New function.
8042 (log-edit-extract-headers): Accept function values in HEADERS alist.
8043
8044 2012-10-01 David Engster <deng@randomsample.de>
8045
8046 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8047 from symbol property and change message to be more consistent with
8048 Emacs proper.
8049 (eieio-describe-generic): Add filename for each implementation.
8050 Fix indices for generic and normal methods.
8051 (eieio-method-def, eieio-class-def): New buttons.
8052 (eieio-help-find-method-definition)
8053 (eieio-help-find-class-definition): New functions.
8054 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8055 class, constructor and method definitions.
8056
8057 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8058 information in symbol property.
8059 (scoped-class): Remove.
8060 (eieio-slot-name-index, call-next-method): Check if it is bound.
8061
8062 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8063
8064 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8065 (eieio-custom-mode): New major mode.
8066 (eieio-customize-object): Use it.
8067
8068 2012-10-01 Eric Ludlam <zappo@gnu.org>
8069
8070 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8071 specifying the expected class, and whether subclassing is allowed.
8072 (eieio-persistent-convert-list-to-object):
8073 (eieio-persistent-validate/fix-slot-value)
8074 (eieio-persistent-slot-type-is-class-p): New functions.
8075 (eieio-named::slot-missing): Doc fix.
8076
8077 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8078 Stop using unused publd variable.
8079
8080 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8081 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8082 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8083 (eieio-speedbar-handle-click): Do not specify a class for the
8084 method. Fixes method invocation order problems with EDE.
8085
8086 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8087
8088 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8089 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8090
8091 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8092
8093 * bookmark.el (bookmark-version-control): Give tags in the
8094 :type choices (Bug#12309), and improve doc string.
8095 (bookmark-write-file): Bind `print-circle' to `t' to allow
8096 circular custom bookmark types. (Bug#12503)
8097
8098 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8099
8100 Revert the FOLLOW-SYMLINKS change for file-attributes.
8101 * files.el (remote-file-name-inhibit-cache, after-find-file):
8102 * time.el (display-time-file-nonempty-p): Undo last change.
8103
8104 * profiler.el (profiler-sampling-interval): Change default back to 1.
8105 See Stefan Monnier in
8106 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8107
8108 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
8109
8110 Shell output catching a la gud-gdb.
8111 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8112 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8113 New Vars.
8114 (python-shell-fetch-lines-filter): New function.
8115 (python-shell-send-string-no-output): Use them.
8116
8117 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8118
8119 * profiler.el (profiler-sampling-interval): Rename from
8120 profiler-sample-interval.
8121 (profiler-sampling-interval): Default to 10.
8122 (profiler-find-profile): New command (was profiler-find-log).
8123 (profiler-find-profile-other-window): New command.
8124 (profiler-find-profile-other-frame): New command.
8125 (profiler-profile): Introduce API-level data structure.
8126
8127 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8128
8129 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8130 * files.el (remote-file-name-inhibit-cache):
8131 * time.el (display-time-file-nonempty-p): Use it.
8132 * files.el (after-find-file): Don't chase links before calling
8133 file-exists-p, as file-exists-p already does the right thing.
8134
8135 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8136
8137 Merge from standalone RefTeX repository.
8138
8139 The following ChangeLog entries are shortened versions of the
8140 original ones with file paths adapted. A not so strongly edited
8141 version of the original ChangeLog can be found in the commit log.
8142
8143 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8144 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8145 Correctly handle new value type returned by `reftex-citation'.
8146
8147 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8148 that entries with whitespace at various places are found.
8149 Doc fix. Include entries that are cross-referenced from cited entries.
8150 Include @String definitions in the resulting bib file. Add header
8151 and footer defined in `reftex-create-bibtex-header' and
8152 `reftex-create-bibtex-footer'.
8153 (reftex-do-citation): Make it possible again to insert
8154 non-existent entries. Save match data when asking for optional
8155 arguments. Return all keys, not just the first one.
8156 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8157 all citations in the same line.
8158 (reftex-parse-bibtex-entry): Accept additional optional argument
8159 `raw' and keep quotes or braces if it is non-nil. Match fields
8160 containing hyphens besides word constituents.
8161 (reftex-get-string-refs): New function.
8162 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8163 and ask if it should be reread in case it did.
8164 (reftex-pop-to-bibtex-entry)
8165 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8166 entries with spaces or tabs in front of arguments.
8167 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8168 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8169 Match entries containing numbers and symbol constituents.
8170 (reftex-do-citation, reftex-figure-out-cite-format):
8171 Use `reftex-cite-key-separator'.
8172
8173 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8174 (reftex-mouse-view-crossref): Explain why point is set.
8175
8176 * textmodes/reftex-global.el: Whitespace changes.
8177
8178 * textmodes/reftex-index.el: Move provide statement to end of
8179 file.
8180 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8181 (reftex-index-visit-phrases-buffer): Set marker when visiting
8182 buffer. This allows for returning from the phrases file to the
8183 file one was just editing instead of the file where the last
8184 phrases was added from.
8185 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8186 punctuation syntax as it usually is not used as string quote in
8187 TeX-related modes and may occur unmatched. The change also
8188 prevents fontification of quoted content.
8189 (reftex-index-phrases-mode): Use it.
8190
8191 * textmodes/reftex-parse.el (reftex-parse-from-file):
8192 Move backward one char if a `\' was matched after a section macro.
8193 (reftex-parse-from-file): Use beginning of match instead of end as
8194 bound.
8195
8196 * textmodes/reftex-ref.el: Adapt creation of
8197 `reftex-<package>-<macro>' functions to new structure of
8198 `reftex-ref-style-alist'.
8199 (reftex-reference): Use `reftex-ref-style-list' function.
8200 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8201 reference macro if `reftex-ref-macro-prompt' is non-nil.
8202 (reftex-reference): Pass refstyle to `reftex-format-special'.
8203 Determine reference macro by looking at
8204 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8205 Use only one special format function.
8206 (reftex-varioref-vref, reftex-fancyref-fref)
8207 (reftex-fancyref-Fref): Remove definitions. The functions are now
8208 generated from `reftex-ref-style-alist'.
8209 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8210 Remove.
8211 (reftex-format-special): New function.
8212
8213 * textmodes/reftex-sel.el
8214 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8215 of `reftex-ref-style-alist'. Remove code for testing macro type.
8216 (reftex-select-toggle-varioref)
8217 (reftex-select-toggle-fancyref): Remove.
8218 (reftex-select-cycle-ref-style-internal)
8219 (reftex-select-cycle-ref-style-forward)
8220 (reftex-select-cycle-ref-style-backward): New functions.
8221 (reftex-select-label-map): Use `v' and `V' for general cycling
8222 through reference styles. Add `p' for switching between number
8223 and page reference types.
8224
8225 * textmodes/reftex-toc.el (reftex-re-enlarge):
8226 Call `enlarge-window' only if there is something to do because in Emacs
8227 the horizontal version throws an error even if the parameter is 0.
8228
8229 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8230 (reftex-plug-into-AUCTeX): Doc fix.
8231 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8232 string. Adapt to new name.
8233 (reftex-ref-style-alist): Change structure so that it is not
8234 possible to use multiple different package names within a style.
8235 Remove the symbols for symbols for macro type distinction.
8236 Add characters for macro selection.
8237 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8238 (reftex-create-bibtex-footer): New variables.
8239 (reftex-format-ref-function): Mention third argument of special
8240 format function.
8241 (reftex-ref-style-alist, reftex-ref-style-default-list):
8242 New variables.
8243 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8244 to new implementation. Mark as obsolete. Add compatibility code
8245 for honoring the variable values in case they are set.
8246 (reftex-cite-format-builtin, reftex-bibliography-commands):
8247 Add support for ConTeXt.
8248 (reftex-format-ref-function, reftex-format-cite-function):
8249 Fix custom type.
8250 (reftex-cite-key-separator): New variable.
8251
8252 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8253 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8254 `reftex-syntax-table' because parens have to retain their paren
8255 syntax in order for parsing of BibTeX entries like @book(...) to
8256 work.
8257 (reftex-in-comment): Do not error out if `comment-start-skip' is
8258 not set. Deal correctly with escaped comment characters.
8259 (reftex-tie-multifile-symbols): Add doc string.
8260 Initialize `reftex-ref-style-list'.
8261 (reftex-untie-multifile-symbols): Add doc string.
8262 (reftex-add-index-macros): Doc fix.
8263 (reftex-ref-style-activate, reftex-ref-style-toggle)
8264 (reftex-ref-style-list): New functions.
8265 (reftex-mode-menu): Use them. Adapt to new structure of
8266 `reftex-ref-style-alist'.
8267 (reftex-select-with-char): Kill the RefTeX Select buffer when
8268 done.
8269 (reftex-remove-if): New function.
8270 (reftex-erase-all-selection-and-index-buffers)
8271 (reftex-mode-menu): Reference styles are now computed from
8272 `reftex-ref-style-alist'. Fix typo.
8273 (reftex-report-bug): New function.
8274 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8275 algorithms with O(n log n). Introduce optional argument SORT (not
8276 yet used).
8277
8278 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
8279
8280 Enhancements for triple-quote string syntax.
8281 * progmodes/python.el (python-syntax-propertize-function):
8282 Match both quote cases in one regexp.
8283 (python-syntax-stringify): Handle matches properly.
8284
8285 2012-09-30 Juri Linkov <juri@jurta.org>
8286
8287 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8288 to nil around the call to `insert' to prevent
8289 directory time modification by lock_file. (Bug#2295)
8290 * tar-mode.el (tar-summarize-buffer): Idem.
8291
8292 2012-09-30 Juri Linkov <juri@jurta.org>
8293
8294 * facemenu.el (list-colors-sort): Add option "Luminance".
8295 (list-colors-sort-key): Implement it.
8296
8297 * vc/diff-mode.el (diff-refine-removed):
8298 * vc/ediff-init.el (ediff-fine-diff-A):
8299 * vc/smerge-mode.el (smerge-refined-removed):
8300 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8301
8302 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8303
8304 * term/ns-win.el (x-file-dialog): New function.
8305
8306 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8307
8308 * ido.el (ido-max-directory-size): Default to nil; the current
8309 default is small for POSIX systems, and impractical on Windows 7
8310 now that lstat returns directory sizes for NTFS.
8311
8312 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8313
8314 In buffer display functions handle window-height/window-width
8315 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8316 * window.el (window--display-buffer): New argument ALIST.
8317 Obey window-height and window-width alist entries.
8318 (window--try-to-split-window): New argument ALIST.
8319 Bind window-combination-limit to t when the window's size shall be
8320 changed and window-combination-limit equals `window-size'.
8321 (display-buffer-in-atom-window)
8322 (display-buffer-in-major-side-window)
8323 (display-buffer-in-side-window, display-buffer-same-window)
8324 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8325 (display-buffer-pop-up-window, display-buffer-below-selected)
8326 (display-buffer-at-bottom, display-buffer-in-previous-window)
8327 (display-buffer-use-some-window): Adjust all callers of
8328 window--display-buffer and window--try-to-split-window.
8329 (fit-frame-to-buffer): New option.
8330 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8331 is non-nil.
8332 (display-buffer-in-major-side-window): Evaluate window-height /
8333 window-width alist entries.
8334
8335 * help.el (temp-buffer-resize-frames)
8336 (temp-buffer-resize-regexps): Remove options.
8337 (temp-buffer-resize-mode): Adjust doc-string.
8338 (resize-temp-buffer-window): Don't consult
8339 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8340 temp-buffer-resize-frames.
8341
8342 * dired.el (dired-mark-pop-up):
8343 Call display-buffer-below-selected with a fit-window-to-buffer alist
8344 entry.
8345
8346 2012-09-30 Chong Yidong <cyd@gnu.org>
8347
8348 * server.el (server-host): Document the security implications.
8349 (server-auth-key): Doc fix.
8350
8351 * startup.el (initial-buffer-choice): Doc fix.
8352
8353 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8354
8355 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8356 restriction change.
8357
8358 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8359
8360 * help-fns.el (help-fns--obsolete): Fix last change.
8361
8362 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8365 (minor-mode-map-alist): Remove redundant code.
8366
8367 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8368 visited in a buffer.
8369 (cvs-insert-visited-file): New function.
8370 (find-file-hook): Use it.
8371
8372 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8373
8374 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8375 chose face.
8376 (log-edit-empty-buffer-p): Don't require a space after a header.
8377
8378 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8379
8380 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8381
8382 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8383 a proper minor-mode.
8384
8385 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8386
8387 2012-09-29 Glenn Morris <rgm@gnu.org>
8388
8389 * winner.el (winner-mode): Remove variable (let define-minor-mode
8390 handle it).
8391 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8392 Doc fixes.
8393 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8394 (winner-mode): Use define-minor-mode.
8395
8396 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8397 the full definition in loaddefs, rather than duplicating it.
8398
8399 * help-macro.el (three-step-help): No need to autoload defcustom.
8400
8401 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8402 (inferior-lisp-program, inferior-lisp-load-command)
8403 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8404 No need to autoload defcustoms.
8405
8406 * hippie-exp.el (hippie-expand-try-functions-list)
8407 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8408 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8409 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8410 (hippie-expand-only-buffers): No need to autoload defcustoms.
8411 * progmodes/vhdl-mode.el (vhdl-line-expand):
8412 Explicitly load hippie-exp, so it does not get autoloaded
8413 while hippie-expand-try-functions-list is let-bound.
8414
8415 2012-09-28 Glenn Morris <rgm@gnu.org>
8416
8417 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8418
8419 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8420 Only "cl.el" counts as cl these days.
8421
8422 2012-09-28 Juri Linkov <juri@jurta.org>
8423
8424 Display archive errors in the echo area instead of inserting
8425 to the file buffer.
8426
8427 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8428 to STDERR-TEST that can be a regexp matching a successful output.
8429 Create a temporary file and redirect stderr to it. Search for
8430 STDERR-TEST in the stderr output and display it in the echo area
8431 if no match is found.
8432 (archive-extract-by-file): New function like
8433 `archive-extract-by-stdout' but extracting archives to files
8434 and looking for successful matches in stdout. Function body is
8435 mostly copied from `archive-rar-extract'.
8436 (archive-rar-extract): Use `archive-extract-by-file'.
8437 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8438
8439 2012-09-28 Leo Liu <sdl.web@gmail.com>
8440
8441 * pcomplete.el (pcomplete-show-completions):
8442 Use minibuffer-message to make pcomplete usable in minibuffer.
8443
8444 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8445
8446 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8447
8448 * type-break.el: Use lexical-binding.
8449 (type-break-mode): Use define-minor-mode.
8450
8451 * emacs-lisp/pcase.el (pcase--mark-used): New.
8452 (pcase--u1): Use it (bug#12512).
8453
8454 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8455 in load-history with the right file name.
8456
8457 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8458
8459 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8460 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8461 (doc-view-get-bounding-box): Make bounding box slicing work for
8462 ODF and DVI documents.
8463
8464 2012-09-28 Glenn Morris <rgm@gnu.org>
8465
8466 * type-break.el (type-break-mode, type-break-interval)
8467 (type-break-good-rest-interval, type-break-keystroke-threshold):
8468 No need to autoload.
8469 (type-break-good-rest-interval, type-break-keystroke-threshold):
8470 Add :set-after.
8471
8472 2012-09-28 Chong Yidong <cyd@gnu.org>
8473
8474 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8475 Add :version tag.
8476
8477 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8478
8479 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8480
8481 2012-09-27 Glenn Morris <rgm@gnu.org>
8482
8483 * faces.el (x-display-name): Declare (for without-x builds).
8484
8485 * linum.el (linum-format): Don't autoload it. Improve :type.
8486
8487 * progmodes/tcl.el: Don't require outline when compiling.
8488 (outline-regexp, outline-level): Declare.
8489 * textmodes/sgml-mode.el: Don't require outline when compiling.
8490 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8491
8492 * term.el (term-ansi-reset):
8493 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8494
8495 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8496 files for RCS and SCCS. (Bug#9781)
8497
8498 2012-09-27 Chong Yidong <cyd@gnu.org>
8499
8500 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8501 change; value should be t.
8502
8503 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8504
8505 * image-mode.el: Use lexical-binding.
8506 (image-mode-winprops): Use t to stand for the window of
8507 a buffer that's not displayed.
8508 * doc-view.el (doc-view-new-window-function): Handle the new
8509 t in winprops.
8510 (doc-view-enlarge): Make it a real nop if the size is not changed.
8511 (doc-view-display): Handle the case where the buffer is not (yet?)
8512 displayed in any window.
8513 (doc-view-saved-settings): New var.
8514 (doc-view-mode): Use it.
8515 (doc-view-fallback-mode): Set it.
8516
8517 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8518 Set lexical-binding.
8519 (minibuffer-eldef-shorten-default): New var.
8520 (minibuffer-default-in-prompt-regexps): Use it for new default.
8521 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8522
8523 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8524
8525 * international/uni-bidi.el:
8526 * international/uni-category.el:
8527 * international/uni-name.el:
8528 * international/uni-numeric.el: Regenerate.
8529
8530 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8531 Stefan Monnier <monnier@iro.umontreal.ca>
8532
8533 * profiler.el: New file.
8534
8535 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8536
8537 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8538 (testcover-reinstrument): Simplify with CSE.
8539
8540 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8541
8542 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8543
8544 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8545
8546 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8547 (verilog-auto-input, verilog-auto-insert-lisp)
8548 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8549 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8550 (verilog-auto-unused, verilog-auto-wire)
8551 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8552 newline. Reported by Andrew Jones.
8553 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8554 Reported by Brad Dobbie.
8555 (verilog-batch-delete-trailing-whitespace):
8556 Create verilog-batch-delete-trailing-whitespace.
8557 Reported by Brad Dobbie.
8558 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8559 parameters from another module. Reported by Dan Katz.
8560 (verilog-auto, verilog-auto-assign-modport)
8561 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8562 AUTOINOUTMODPORT for UVM interface module shell generation.
8563 Reported by Brad Dobbie.
8564 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8565 standard behavior.
8566 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8567 Reported by Matt Martin.
8568
8569 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8570
8571 * window.el (window--resize-child-windows): When resizing child
8572 windows proportionally, process them in reverse order to
8573 preserve the "when splitting a window the new one gets the odd
8574 line" behavior.
8575 (window--resize-root-window-vertically): When resizing the
8576 minibuffer window try to affect only windows at the bottom of the
8577 frame. (Bug#12419)
8578
8579 2012-09-25 Chong Yidong <cyd@gnu.org>
8580
8581 * subr.el (declare): Doc fix.
8582
8583 * help-fns.el (help-fns--obsolete): Handle macros properly.
8584
8585 2012-09-25 Chong Yidong <cyd@gnu.org>
8586
8587 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8588 this function obsolete.
8589
8590 * calendar/cal-x.el (calendar-two-frame-setup)
8591 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8592 * calendar/calendar.el (american-calendar, european-calendar)
8593 (calendar-for-loop):
8594 * comint.el (comint-dynamic-simple-complete)
8595 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8596 * desktop.el (desktop-load-default):
8597 * dired-x.el (dired-omit-here-always)
8598 (dired-hack-local-variables, dired-default-directory):
8599 * emacs-lisp/derived.el (derived-mode-class):
8600 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8601 * emacs-lock.el (toggle-emacs-lock):
8602 * epa.el (epa-display-verify-result):
8603 * epg.el (epg-sign-keys, epg-start-sign-keys)
8604 (epg-passphrase-callback-function):
8605 * eshell/esh-util.el (eshell-for):
8606 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8607 (eshell-add-to-window-buffer-names):
8608 * files.el (locate-file-completion):
8609 * imenu.el (imenu-example--create-c-index)
8610 (imenu-example--create-lisp-index)
8611 (imenu-example--lisp-extract-index-name)
8612 (imenu-example--name-and-position):
8613 * international/mule-cmds.el (princ-list):
8614 * international/mule-diag.el (decode-codepage-char):
8615 * international/mule-util.el (detect-coding-with-priority):
8616 * iswitchb.el (iswitchb-read-buffer):
8617 * mail/mailalias.el (mail-complete):
8618 * mail/sendmail.el (mail-sent-via):
8619 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8620 (mouse-major-mode-menu):
8621 * password-cache.el (password-read-and-add):
8622 * pcomplete.el (pcomplete-parse-comint-arguments):
8623 * progmodes/sh-script.el (sh-maybe-here-document):
8624 * replace.el (query-replace-regexp-eval):
8625 * savehist.el (savehist-load):
8626 * simple.el (choose-completion-delete-max-match):
8627 * term.el (term-dynamic-simple-complete):
8628 * vc/ediff-init.el (ediff-check-version):
8629 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8630 * vc/vc.el (vc-diff-switches-list):
8631 * view.el (view-return-to-alist-update): Likewise.
8632
8633 * subr.el (eval-next-after-load, makehash, insert-string)
8634 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8635 mark obsolete.
8636 (mode-line-inverse-video): Variable deleted.
8637
8638 * international/mule-util.el (string-to-sequence): Remove.
8639
8640 * calendar/calendar.el (calendar-version):
8641 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8642 (icalendar-convert-diary-to-ical):
8643 * cus-edit.el (custom-mode):
8644 * ansi-color.el (ansi-color-unfontify-region):
8645 * international/latin1-disp.el (latin1-char-displayable-p):
8646 * progmodes/cwarn.el (turn-on-cwarn-mode):
8647 * progmodes/which-func.el (which-func-update-1):
8648 Use define-obsolete-function-alias.
8649
8650 * net/newst-backend.el (newsticker-cache-filename):
8651 * net/newst-treeview.el (newsticker-groups-filename):
8652 Fix incorrect obsolescence declaration.
8653
8654 * allout.el (allout-passphrase-hint-string): Likewise.
8655 (allout-init): Use a declare form to mark obsolete.
8656
8657 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8658 this applies to functions.
8659
8660 * iswitchb.el (iswitchb-read-buffer): Move code of
8661 iswitchb-define-mode-map here, and delete that obsolete function.
8662
8663 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8664 font-lock-reference-face.
8665
8666 2012-09-25 Glenn Morris <rgm@gnu.org>
8667
8668 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8669 Doc fixes.
8670
8671 * eshell/em-term.el (eshell-term-name):
8672 Default to term-term-name. (Bug#12485)
8673
8674 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8675
8676 * progmodes/python.el (python-shell-send-buffer): Better handling
8677 of "if __name__ == '__main__':" conditionals when sending the buffer.
8678
8679 2012-09-24 Glenn Morris <rgm@gnu.org>
8680
8681 * eshell/esh-cmd.el (eshell-find-alias-function):
8682 Tighten up file-name regexp. (Bug#12499)
8683
8684 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8685
8686 Enhancements for triple-quote string syntax.
8687 * progmodes/python.el (python-quote-syntax): Remove.
8688 (python-syntax-propertize-function): New value.
8689 (python-syntax-count-quotes, python-syntax-stringify):
8690 New functions.
8691
8692 2012-09-24 Chong Yidong <cyd@gnu.org>
8693
8694 * mail/supercite.el (sc-version): Remove obsolete function.
8695 (sc-describe): Don't mark as obsolete, since it is bound.
8696 (sc-submit-bug-report): Remove.
8697
8698 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8699 (cvs-commit-buffer-require-final-newline): Remove.
8700 (log-edit-require-final-newline)
8701 (log-edit-changelog-full-paragraphs): Default to t.
8702
8703 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8704 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8705 * vc/vc.el (vc-checkout-carefully): Likewise.
8706
8707 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8708 (emerge-version): Remove.
8709
8710 * progmodes/compile.el (compile-internal): Remove.
8711 (compilation-parse-errors-function): Fix typo.
8712
8713 * international/mule.el (set-char-table-default): Remove.
8714 (set-coding-priority, make-coding-system, generic-char-p)
8715 (charset-list, charset-bytes, charset-id): Use declare to mark
8716 functions as obsolete.
8717
8718 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8719 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8720 * vc/vc-hooks.el (vc-default-registered): Don't use
8721 vc-master-templates.
8722
8723 * font-lock.el (font-lock-reference-face):
8724 Use define-obsolete-variable-alias.
8725
8726 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8727 * calendar/calendar.el (calendar-font-lock-keywords):
8728 * calendar/diary-lib.el (diary-font-lock-keywords)
8729 (diary-fancy-font-lock-keywords):
8730 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8731 * textmodes/reftex-index.el (reftex-insert-index):
8732 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8733 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8734 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8735 * progmodes/prolog.el (prolog-font-lock-keywords):
8736 * progmodes/idlwave.el (idlwave-idl-keywords):
8737 * progmodes/ada-mode.el (ada-font-lock-keywords):
8738 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8739
8740 2012-09-24 Glenn Morris <rgm@gnu.org>
8741
8742 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8743
8744 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
8745
8746 * progmodes/python.el (python-indent-line): More consistent cursor
8747 movement behavior.
8748
8749 2012-09-23 Stefan Merten <smerten@oekonux.de>
8750
8751 * textmodes/rst.el: Fix compiler warning.
8752
8753 2012-09-23 Roland Winkler <winkler@gnu.org>
8754
8755 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8756 Transcribe also LaTeX hyphenation.
8757 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8758 bibtex-reformat-previous-options.
8759
8760 2012-09-23 Roland Winkler <winkler@gnu.org>
8761
8762 * proced.el (proced-renice-command): New variable.
8763 (proced-marked-processes): New function.
8764 (proced-with-processes-buffer): New macro.
8765 (proced-send-signal): Use them.
8766 (proced-renice): New command bound to r.
8767
8768 2012-09-23 Roland Winkler <winkler@gnu.org>
8769
8770 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8771 ibuffer-saved-filter-groups has one element, shortcut the call of
8772 completing-read. (Bug#12331)
8773
8774 2012-09-23 Chong Yidong <cyd@gnu.org>
8775
8776 * bindings.el (mode-line-toggle-read-only):
8777 * bs.el (bs-toggle-readonly):
8778 * buff-menu.el (Buffer-menu-toggle-read-only):
8779 * dired.el (dired-toggle-read-only):
8780 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8781
8782 2012-09-23 Chong Yidong <cyd@gnu.org>
8783
8784 * image.el (image-type-available-p): Adapt to init-image-library
8785 argument changes.
8786
8787 2012-09-22 Juri Linkov <juri@jurta.org>
8788
8789 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8790 `dired-toggle-read-only'. (Bug#12462)
8791
8792 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8793
8794 * subr.el (temp-output-buffer-show): New function.
8795 (with-output-to-temp-buffer): Call temp-output-buffer-show
8796 instead of internal-temp-output-buffer-show.
8797
8798 2012-09-22 Chong Yidong <cyd@gnu.org>
8799
8800 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8801 (Bug#12462).
8802
8803 * repeat.el (repeat): Doc fix (Bug#12348).
8804
8805 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8806 (Bug#10909).
8807
8808 * simple.el (shell-command-on-region): Doc fix.
8809 (read-only-mode): Doc fix.
8810
8811 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8812
8813 * emacs-lisp/timer.el (run-with-idle-timer)
8814 (timer-activate-when-idle): Warn against reinvoking an idle timer
8815 from within its own timer action. (Bug#12447)
8816
8817 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8818
8819 * cus-start.el (window-combination-limit): Add new optional
8820 values.
8821 * window.el (temp-buffer-window-show)
8822 (window--try-to-split-window): Handle new values of
8823 window-combination-limit (Bug#1806).
8824 (split-window): Test window-combination-limit for t instead of
8825 non-nil.
8826 (display-buffer-at-bottom): New buffer display action function.
8827 * help.el (temp-buffer-resize-regexps): New option.
8828 (temp-buffer-resize-mode): Rewrite doc-string.
8829 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8830 Don't resize reused window. Suggested by Glenn Morris.
8831
8832 2012-09-22 Stefan Merten <smerten@oekonux.de>
8833
8834 * textmodes/rst.el: Revamp section title faces.
8835 (rst-official-version)
8836 (rst-package-emacs-version-alist): Sync with official version
8837 V1.4.0.
8838 (rst-faces-defaults, rst-set-level-default)
8839 (rst-level-face-max, rst-level-face-base-color)
8840 (rst-level-face-base-light, rst-level-face-format-light)
8841 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8842 (rst-adornment-faces-alist): Match new setup.
8843 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8844 (rst-level-5, rst-level-6): New faces.
8845
8846 2012-09-22 Chong Yidong <cyd@gnu.org>
8847
8848 * simple.el (undo): Handle indirect buffers (Bug#8207).
8849
8850 2012-09-21 Leo Liu <sdl.web@gmail.com>
8851
8852 IDO: Disable match re-ordering for buffer switching.
8853 * ido.el (ido-buffer-disable-smart-matches): New variable.
8854 (ido-set-matches-1): Use it. (Bug#2042)
8855
8856 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8857
8858 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8859 Fix 2011-05-17 change. (Bug#12418)
8860
8861 2012-09-21 Leo Liu <sdl.web@gmail.com>
8862
8863 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8864
8865 2012-09-21 Glenn Morris <rgm@gnu.org>
8866
8867 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8868 Be more robust about locating simple.el.
8869
8870 2012-09-21 Glenn Morris <rgm@gnu.org>
8871
8872 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8873
8874 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8875
8876 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8877
8878 2012-09-20 Juri Linkov <juri@jurta.org>
8879
8880 * replace.el (query-replace-read-from): Use `read-regexp' instead
8881 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8882 (occur-read-primary-args): Use `read-regexp' instead of
8883 `read-string'.
8884 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8885 `read-from-minibuffer'.
8886 * isearch.el (isearch-occur): Use `read-regexp' instead of
8887 `read-string'.
8888 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8889 `read-from-minibuffer'.
8890 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8891 of `read-string'. (Bug#7567)
8892
8893 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8894 and allow accepting a list of strings prepended to a list of
8895 standard default values. Doc fix. (Bug#12321)
8896
8897 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8898
8899 * replace.el (read-regexp): Don't add ": " when PROMPT already
8900 ends with a colon and space. (Bug#12321)
8901
8902 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8903
8904 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8905 error.
8906
8907 2012-09-20 Stefan Merten <smerten@oekonux.de>
8908
8909 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8910 Fixes feature request bug#11711.
8911 (rst-mode): Create `imenu-create-index-function'.
8912 (rst-get-stripped-line): Delete after refactoring.
8913 (rst-section-tree, rst-section-tree-rec)
8914 (rst-section-tree-point): Refactor and document properly.
8915 (rst-imenu-find-adornments-for-position)
8916 (rst-imenu-convert-cell, rst-imenu-create-index):
8917 New function.
8918
8919 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8920
8921 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8922 (macroexp--expand-all): Use it.
8923 (macroexp--funcall-and-return): Remove by folding it into its sole
8924 caller (macroexp--warn-and-return).
8925 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8926 Use macroexp--obsolete-warning.
8927
8928 * calc/calc.el: Fix last change by removing the whole chunk, since it
8929 was only needed back when Calc was not bundled.
8930
8931 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8932
8933 * emacs-lisp/debug.el (debug): Restore assignment to
8934 debugger-old-buffer removed on 2012-09-08.
8935
8936 2012-09-20 Juri Linkov <juri@jurta.org>
8937
8938 * dired-aux.el (dired-diff): Remove (require 'diff) since
8939 `diff-latest-backup-file' is now autoloaded.
8940
8941 2012-09-20 Chong Yidong <cyd@gnu.org>
8942
8943 * vc/diff.el (diff-latest-backup-file): Autoload.
8944
8945 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8946
8947 * calc/calc.el: Remove redundant autoload shape check.
8948 (sel-mode): Don't defvar.
8949 (calc-get-stack-element): Add `sel-mode' arg instead.
8950 (calc-top, calc-top-list): Pass it this additional argument.
8951 * calc/calc-store.el (calc-store-map):
8952 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8953 (calc-map-equation, calc-outer-product, calc-inner-product):
8954 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8955
8956 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8957
8958 2012-09-19 Juri Linkov <juri@jurta.org>
8959
8960 * dired-aux.el (dired-diff): Add (require 'diff) because
8961 `diff-latest-backup-file' is not autoloaded.
8962 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8963 of `dired-get-filename' to t to not report error when there is
8964 no default file on the current line.
8965
8966 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8969 macroexp--eval-if-compile.
8970 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8971 (macroexp--expand-all): Use them (bug#12371).
8972
8973 * doc-view.el (doc-view-guess-paper-size)
8974 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8975
8976 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8977
8978 New feature: set optimal slice from BoundingBox information.
8979 * doc-view.el (doc-view-mode-map): Add keybinding.
8980 (doc-view-menu): Add menu entry.
8981 (doc-view-set-slice): Adapt docstring.
8982 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8983 (doc-view-scale-bounding-box)
8984 (doc-view-set-slice-from-bounding-box): New functions.
8985 (doc-view-paper-sizes): New defvar.
8986
8987 2012-09-19 Glenn Morris <rgm@gnu.org>
8988
8989 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8990 (byte-compile-log-warning): Autoload. (Bug#12371)
8991
8992 * calendar/calendar.el (calendar-american-month-header)
8993 (calendar-european-month-header, calendar-iso-month-header)
8994 (calendar-month-header): New options.
8995 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8996 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8997
8998 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8999
9000 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9001
9002 2012-09-18 Juri Linkov <juri@jurta.org>
9003
9004 * dired-aux.el (dired-diff): Restore original functionality of
9005 getting the default value, but keep new feature of using the
9006 latest existing backup file (`diff-latest-backup-file').
9007
9008 2012-09-18 Juri Linkov <juri@jurta.org>
9009
9010 * dired.el (dired-mark): If the region is active in Transient Mark
9011 mode, mark all files in the active region. Doc fix.
9012 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9013 Doc fix. (Bug#10624)
9014
9015 2012-09-18 Juri Linkov <juri@jurta.org>
9016
9017 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9018 attributes for M-n are pulled from the file at point.
9019 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9020 Suggested by Drew Adams. (Bug#10624)
9021
9022 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9023
9024 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9025 whitespace after "end".
9026 (ruby-do-end-to-brace): Collapse block to one line if it fits
9027 within fill-column.
9028
9029 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9030
9031 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9032 value.
9033 (debug): Don't remove debugger window when debugger is expected
9034 to be back.
9035
9036 2012-09-18 Chong Yidong <cyd@gnu.org>
9037
9038 * custom.el (defface): Doc fix.
9039
9040 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9041
9042 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9043
9044 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9045 to initialize query-on-exit; then test that instead (bug#12288).
9046
9047 2012-09-17 Stefan Merten <smerten@oekonux.de>
9048
9049 * textmodes/rst.el: Add support for `testcover'.
9050 (rst-defcustom-testcover, rst-testcover-add-compose)
9051 (rst-testcover-add-1value): New functions.
9052 (rst-portable-mark-active-p): Replace by `use-region-p'.
9053 (rst-update-section, rst-classify-adornment)
9054 (rst-find-title-line): Mark `1value' forms.
9055 (rst-classify-adornment): Remove superfluous form.
9056 (rst-update-section, rst-get-adornments-around)
9057 (rst-adornment-complete-p, rst-get-next-adornment)
9058 (rst-adjust, rst-promote-region)
9059 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9060 (rst-find-pfx-in-region, rst-section-tree-rec)
9061 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9062 (rst-toc-node, rst-toc, rst-forward-section)
9063 (rst-iterate-leftmost-paragraphs)
9064 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9065 (rst-bullet-list-region)
9066 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9067 (rst-compile-find-conf, rst-compile)
9068 (rst-repeat-last-character): Fix style.
9069
9070 2012-09-17 Chong Yidong <cyd@gnu.org>
9071
9072 * comint.el (comint--complete-file-name-data): Don't add a space
9073 if the status is `sole'; that adds a gratuitous space in the
9074 completion-cycling case (Bug#12092).
9075
9076 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9077
9078 2012-09-17 Richard Stallman <rms@gnu.org>
9079
9080 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9081 only in the mime-shown mode, not in raw mode.
9082 (rmail-mime): Toggle off mime by displaying the message without
9083 mime processing. (Bug#12305)
9084
9085 * mail/rmail.el (rmail-retry-failure):
9086 Turn off mime processing first. (Bug#12037)
9087
9088 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9089
9090 2012-09-17 Chong Yidong <cyd@gnu.org>
9091
9092 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9093 (shell-dynamic-complete-functions): Convert to defcustom.
9094 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9095
9096 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9097 * comint.el (comint-prompt-read-only):
9098 * custom.el (defcustom):
9099 * hi-lock.el (hi-lock-mode):
9100 * ibuffer.el (ibuffer-formats):
9101 * ielm.el (ielm-prompt-read-only):
9102 * novice.el (disable-command):
9103 * saveplace.el (toggle-save-place):
9104 * speedbar.el (speedbar-supported-extension-expressions):
9105 * startup.el (auto-save-list-file-prefix, init-file-user)
9106 (after-init-hook, inhibit-startup-echo-area-message):
9107 * strokes.el (strokes-help):
9108 * time-stamp.el (time-stamp):
9109 * calendar/calendar.el (calendar, diary-file):
9110 * calendar/diary-lib.el (diary-mail-entries, diary)
9111 (diary-list-entries-hook):
9112 * calendar/holidays.el (holidays, calendar-holidays):
9113 * calendar/lunar.el (lunar-phases):
9114 * calendar/solar.el (sunrise-sunset):
9115 * emulation/edt.el (edt-load-keys):
9116 * emulation/viper.el (viper-mode):
9117 * eshell/em-alias.el (eshell-command-aliases-list):
9118 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9119 * international/ogonek.el (ogonek-information):
9120 * net/tramp-cmds.el (tramp-bug):
9121 * net/quickurl.el (quickurl-reread-hook-postfix):
9122 * play/decipher.el (decipher-font-lock-keywords):
9123 * progmodes/cc-styles.el (c-set-style):
9124 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9125 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9126 * progmodes/octave-mod.el (octave-mode):
9127 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9128 * progmodes/verilog-mode.el (verilog-read-defines):
9129 * textmodes/two-column.el (2C-mode): Likewise.
9130
9131 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9132
9133 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9134 that holds many addresses.
9135
9136 2012-09-16 Chong Yidong <cyd@gnu.org>
9137
9138 * align.el (align-areas): Call the indication function with
9139 positions instead of markers for arguments (Bug#12343).
9140
9141 * files.el (parse-colon-path): Use split-string (Bug#12351).
9142
9143 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9144 (display-buffer-function): Mark as obsolete.
9145
9146 * progmodes/compile.el (compilation-parse-errors): Accept list
9147 values similar to font-lock-keywords (Bug#12136).
9148 Suggested by Oleksandr Manzyuk.
9149 (compilation-error-regexp-alist): Doc fix.
9150
9151 2012-09-15 Glenn Morris <rgm@gnu.org>
9152
9153 * version.el (emacs-bzr-version-bzr): New function.
9154 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9155
9156 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9157 checkouts, check the parent dirstate matches the branch.
9158 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9159 empty string.
9160
9161 * version.el (emacs-bzr-version): Doc fix.
9162 (emacs-bzr-version-dirstate): New function.
9163 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9164 is local try and check that it matches the branch. If not, just
9165 use dirstate information. (Bug#12441)
9166
9167 2012-09-14 Juri Linkov <juri@jurta.org>
9168
9169 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9170 (Bug#12399)
9171
9172 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9173
9174 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9175
9176 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9177 Remove obsolete byte-compiler hack that tried to silence some warnings.
9178 (edebug-submit-bug-report): Remove.
9179 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9180 Remove aliases, use the un-prefixed name instead.
9181 (edebug-pop-to-buffer): Consider other frames.
9182 (edebug-original-read):: Make it more obvious that it's always defined.
9183 (edebug--make-form-data-entry, edebug--form-data-name)
9184 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9185 single-dashed name, and implement with cl-defstruct.
9186 (edebug-set-form-data-entry): Use the standard accessors.
9187 (edebug-make-top-form-data-entry): Use push.
9188 (edebug-no-match): Drop useless `funcall'.
9189 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9190 to functions.
9191 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9192 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9193 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9194 (easy-menu-define, with-custom-print): Remove redundant specs.
9195 (edebug-outside-overriding-local-map)
9196 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9197 (edebug--display): Bind unread-command-events directly to nil rather
9198 than binding it to unread-command-events and later setting it to nil.
9199 (edebug--display): Kill edebug-eval-buffer here...
9200 (edebug--recursive-edit): ...rather than here.
9201 Bind standard-output and standard-input.
9202 (edebug-eval): Check cl-macroexpand-all is fboundp.
9203 (edebug-temp-display-freq-count): Fix last change.
9204
9205 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9206 * subr.el (noreturn, 1value): Add `debug' spec.
9207 * emacs-lisp/advice.el: Require cl-lib.
9208 (ad-copy-tree): Remove, use copy-tree instead.
9209 (ad-dolist): Remove use dolist or cl-dolist instead.
9210 (ad-do-return): Remove, use cl-return instead.
9211 (defadvice): Add `debug' spec.
9212
9213 2012-09-13 Juri Linkov <juri@jurta.org>
9214
9215 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9216 (Bug#12399)
9217
9218 2012-09-13 Glenn Morris <rgm@gnu.org>
9219
9220 * calc/calc.el (math-compose-expr):
9221 * calc/calc-ext.el (math-compose-expr):
9222 * progmodes/cc-defs.el (cl-macroexpand-all):
9223 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9224 (cl-macroexpand-all): Update declarations.
9225
9226 * vc/vc.el: No need to require ediff.
9227 (ediff-load-version-control): Declare.
9228 (ediff-vc-internal): Fix declaration.
9229 (vc-version-ediff): Require ediff.
9230
9231 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9232
9233 Use a more backwards-compatible timer format (Bug#12430).
9234 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9235 being right after USECS, as that better supports old code that
9236 inadvisedly looked directly at the timer vector.
9237
9238 2012-09-13 Kenichi Handa <handa@gnu.org>
9239
9240 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9241 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9242 `coding-priority' property of these language environment.
9243
9244 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9245
9246 Fix glitches caused by addition of psec to timers (Bug#12430).
9247 * image.el (image-animate-timer):
9248 * time.el (display-time-world-timer):
9249 Use timer--function and timer--args rather than raw access to
9250 timer vector.
9251
9252 2012-09-13 Glenn Morris <rgm@gnu.org>
9253
9254 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9255 If not compiling a file, try using load-file-name.
9256
9257 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9258
9259 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9260 Fix last change.
9261 (edebug-update-eval-list): Use `push'.
9262
9263 * emacs-lisp/edebug.el: Use lexical-binding.
9264 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9265 Mark unused args with underscore.
9266 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9267 (edebug-form-data): Use defvar-local.
9268 (edebug-make-before-and-after-form, edebug-make-after-form):
9269 Use backquote.
9270 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9271 Not dynamically scoped any more.
9272 (edebug--enter-trace): Add arguments `function' and `args'.
9273 Rename from edebug-enter-trace.
9274 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9275 (edebug--update-coverage): Add `after-index' and `value' args.
9276 Rename from edebug-update-coverage.
9277 (edebug-slow-after): Call it accordingly.
9278 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9279 edebug-recursive-edit.
9280 (edebug--display): Call it accordingly. Add args `value',
9281 `offset-index', and `arg-mode'. Rename from edebug-display.
9282 (edebug-debugger, edebug): Call it accordingly.
9283 (edebug-eval-display-list): Use dolist.
9284
9285 2012-09-12 Juri Linkov <juri@jurta.org>
9286
9287 * info.el (Info-search): Don't check for isearch-mode and
9288 isearch-regexp before let-binding search-spaces-regexp to
9289 Info-search-whitespace-regexp.
9290 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9291 search-whitespace-regexp if isearch-lax-whitespace or
9292 isearch-regexp-lax-whitespace is non-nil.
9293 (Info-mode): Don't set local variable search-whitespace-regexp.
9294 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9295
9296 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9297
9298 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9299 (debugger-env-macro): Remove support for unread-command-char.
9300
9301 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9302 the temporary map re-appearing on emulation-mode-map-alists.
9303
9304 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9305 since 22.1.
9306
9307 * ehelp.el (with-electric-help): Accept functions in
9308 electric-help-form-to-execute.
9309 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9310 And replace unread-command-char -> unread-command-events.
9311
9312 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9313
9314 Sync with Tramp 2.2.6.
9315
9316 * net/tramp.el (tramp-accept-process-output): Don't use
9317 JUST-THIS-ONE in the XEmacs case.
9318
9319 * net/trampver.el: Update release number.
9320
9321 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9322
9323 * emacs-lisp/debug.el (debugger-previous-window-height):
9324 New variable.
9325 (debug): When debugger-jumping-flag is non-nil try to restore
9326 height of debugger window. (Bug#8789)
9327
9328 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9329
9330 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9331 overriding-local-map and pre/post-command-hook here.
9332 (edebug-recursive-edit): Do it here instead (bug#12345).
9333 (edebug-outside-unread-command-char): Remove all uses of
9334 unread-command-char.
9335
9336 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9337 inhibit-debugger is bound instead.
9338
9339 2012-09-11 Bastien Guerry <bzg@gnu.org>
9340
9341 * subr.el (set-temporary-overlay-map): Add a docstring.
9342 (Bug#12346)
9343
9344 2012-09-11 Bastien Guerry <bzg@gnu.org>
9345
9346 * minibuffer.el (completion-table-subvert): Fix docstring.
9347 (Bug#12347)
9348
9349 2012-09-11 Bastien Guerry <bzg@gnu.org>
9350
9351 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9352
9353 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9354
9355 * progmodes/sql.el: Version 3.1
9356 (sql-db2-escape-newlines): New variable.
9357 (sql-escape-newlines-filter): Use it.
9358
9359 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9360
9361 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9362
9363 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9364
9365 * vc/diff-mode.el (diff-mode-menu):
9366 Bind diff-remove-trailing-whitespace.
9367
9368 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9369
9370 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9371 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9372 (emacs-lisp-byte-code-mode): New functions.
9373 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9374 (eval-defun-2): Remove bogus interactive spec.
9375 (lisp-indent-line): Remove redundant whole-exp code, now done in
9376 indent-according-to-mode.
9377 (save-match-data): Remove redundant indent data.
9378
9379 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9380 Use `declare'.
9381
9382 2012-09-09 Juri Linkov <juri@jurta.org>
9383
9384 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9385 (replace-lax-whitespace, query-replace-regexp)
9386 (query-replace-regexp-eval, replace-regexp): Doc fix.
9387 (perform-replace, replace-highlight): Let-bind
9388 isearch-lax-whitespace to replace-lax-whitespace and
9389 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9390
9391 * isearch.el (isearch-query-replace): Let-bind
9392 replace-lax-whitespace to isearch-lax-whitespace and
9393 replace-regexp-lax-whitespace to
9394 isearch-regexp-lax-whitespace. (Bug#10885)
9395
9396 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9397
9398 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9399
9400 2012-09-09 Alan Mackenzie <acm@muc.de>
9401
9402 * progmodes/cc-engine.el (c-state-cache-init):
9403 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9404 (c-record-parse-state-state):
9405 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9406
9407 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9408
9409 * register.el (register-separator): Rename from
9410 separator-register. All uses changed. Doc fix.
9411 (register): Fix version.
9412
9413 2012-09-09 Chong Yidong <cyd@gnu.org>
9414
9415 * replace.el (query-replace-map): Bind four new symbols for
9416 requesting window scrolling.
9417
9418 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9419 query-replace-map (Bug#8948).
9420
9421 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9422
9423 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9424 since they are now in query-replace-map.
9425
9426 * window.el (scroll-other-window-down): Make the arg optional.
9427
9428 2012-09-09 Chong Yidong <cyd@gnu.org>
9429
9430 * files.el (hack-local-variables-confirm): Use quit-window to kill
9431 the *Local Variables* buffer.
9432
9433 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9434
9435 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9436 not just expect to be at its beginning. Adjust callees.
9437 Succeed when do-end block has no space before the pipe character.
9438 (ruby-brace-to-do-end): When the original block is one-liner,
9439 convert to multiline. Reindent the result.
9440
9441 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9442
9443 * register.el (register): New group.
9444 (separator-register): New user option.
9445 (increment-register): Route it to `append-to-register', if
9446 register contains text. Implication is that `C-x r +' can now be
9447 used for appending to a text register (bug#12217).
9448 (append-to-register, prepend-to-register): Add separator based on
9449 `separator-register'.
9450
9451 2012-09-08 Alan Mackenzie <acm@muc.de>
9452
9453 AWK Mode: make auto-newline work when there's "==" in the pattern.
9454 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9455 correctly.
9456 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9457 Test more rigorously for "=" token.
9458
9459 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9460
9461 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9462 Only fail when reached LIMIT.
9463
9464 2012-09-08 Chong Yidong <cyd@gnu.org>
9465
9466 * dired.el (dired-mode-map): Don't bind M-=.
9467
9468 * dired-aux.el (dired-diff): Use backup file as default.
9469
9470 2012-09-08 Drew Adams <drew.adams@oracle.com>
9471
9472 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9473
9474 2012-09-08 Chong Yidong <cyd@gnu.org>
9475
9476 * subr.el (syntax-after, syntax-class): Doc fix.
9477
9478 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9479
9480 * window.el (display-buffer-in-previous-window): New buffer
9481 display action function.
9482
9483 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9484 (debugger-previous-window): New variable.
9485 (debug): Rewrite using display-buffer-in-previous-window,
9486 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9487
9488 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9489
9490 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9491
9492 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9493
9494 * progmodes/python.el (python-shell-send-string):
9495 When default-directory is remote, create temp file on remote
9496 filesystem.
9497 (python-shell-send-file): When file is remote, pass local view of
9498 file paths to remote Python interpreter. (Bug#12340)
9499
9500 2012-09-07 Chong Yidong <cyd@gnu.org>
9501
9502 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9503
9504 * files.el (after-find-file): Don't fail on a read-only buffer if
9505 require-final-newline is `visit' or `visit-save' (Bug#11156).
9506
9507 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9508
9509 * userlock.el (ask-user-about-supersession-threat):
9510 Use read-char-choice (Bug#12093).
9511
9512 2012-09-07 Chong Yidong <cyd@gnu.org>
9513
9514 * subr.el (buffer-narrowed-p): New function.
9515
9516 * ses.el (ses-widen):
9517 * simple.el (count-words--buffer-message):
9518 * net/browse-url.el (browse-url-of-buffer): Use it.
9519
9520 * simple.el (count-words-region): Don't signal an error if there
9521 is a non-nil prefix arg and the mark is not set.
9522
9523 * help.el (describe-key-briefly): Allow the message to be seen
9524 when invoked from the minibuffer (Bug#7014).
9525
9526 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9527
9528 * progmodes/ruby-mode.el (ruby-end-of-defun)
9529 (ruby-beginning-of-defun): Simplify, allow indentation before
9530 block beginning and end keywords.
9531 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9532 (ruby-end-of-defun): Expect that the point is at the beginning of
9533 the defun.
9534
9535 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9536
9537 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9538 (bug#12367).
9539 (cl--make-usage-args): Strip _ from argument names.
9540
9541 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9542
9543 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9544 obsolete alias speedbar-key-map.
9545 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9546 (vhdl-index-menu-init): Don't use obsolete variable
9547 font-lock-maximum-size.
9548
9549 2012-09-06 Chong Yidong <cyd@gnu.org>
9550
9551 * frame.el (window-system-version): Mark as obsolete.
9552
9553 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9554 of obsolete variable speedbar-key-map.
9555
9556 2012-09-06 Juri Linkov <juri@jurta.org>
9557
9558 * replace.el (replace-lax-whitespace): New defcustom.
9559 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9560 (replace-string, replace-regexp): Mention it in docstrings.
9561 (perform-replace, replace-highlight): Let-bind
9562 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9563 to the values of replace-lax-whitespace and regexp-flag.
9564 Don't let-bind search-whitespace-regexp. (Bug#10885)
9565
9566 * isearch.el (isearch-query-replace): Let-bind
9567 replace-lax-whitespace instead of let-binding
9568 replace-search-function and replace-re-search-function.
9569 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9570 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9571 (isearch-toggle-symbol): Set isearch-regexp to nil
9572 in isearch-word mode (like in isearch-toggle-word).
9573
9574 2012-09-06 Juri Linkov <juri@jurta.org>
9575
9576 * replace.el (replace-search-function)
9577 (replace-re-search-function): Set default values to nil.
9578 (perform-replace): Let-bind isearch-related variables based on
9579 replace-related values, call `isearch-search-fun' and let-bind
9580 the result to `search-function'. Remove code that sets
9581 `search-function' and `search-string' separately for
9582 `delimited-flag'.
9583 (replace-highlight): Add new argument `delimited-flag' and
9584 rename other arguments to the names used in `perform-replace'.
9585 Let-bind `isearch-word' to the argument `delimited-flag'.
9586 (Bug#10885, bug#10887)
9587
9588 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9589
9590 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9591 ruby-beginning-of-indent, simplify, allow all keywords to have
9592 indentation before them.
9593 (ruby-beginning-of-indent): Adjust for above. Search until the
9594 found point is not inside a string or comment.
9595 (ruby-font-lock-keywords): Allow symbols to start with "@"
9596 character, give them higher priority than variables.
9597 (ruby-syntax-propertize-function)
9598 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9599 matchers. Expression expansions are not comments when inside a
9600 string, and there comment syntax status is irrelevant.
9601 (ruby-match-expression-expansion): New function. Check that
9602 expression expansion is inside a string, and it's not escaped.
9603 (ruby-font-lock-keywords): Use it.
9604
9605 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9606
9607 * help.el (temp-buffer-max-height): New default value.
9608 (temp-buffer-resize-frames): New option.
9609 (resize-temp-buffer-window): Optionally resize frame.
9610
9611 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9612 (fit-frame-to-buffer): New function.
9613
9614 2012-09-05 Glenn Morris <rgm@gnu.org>
9615
9616 * emulation/cua-rect.el (cua--init-rectangles):
9617 * textmodes/picture.el (picture-mode-map):
9618 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9619 like forward-char and backward-char. (Bug#12317)
9620
9621 2012-09-05 Leo Liu <sdl.web@gmail.com>
9622
9623 * progmodes/flymake.el (flymake-warning-re): New variable.
9624 (flymake-parse-line): Use it.
9625
9626 2012-09-05 Glenn Morris <rgm@gnu.org>
9627
9628 * calendar/holidays.el (holiday-christian-holidays):
9629 Rename an entry. (Bug#12289)
9630
9631 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9634 (bug#12222).
9635
9636 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9637
9638 * loadup.el: Load macroexp. Remove hack.
9639 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9640 (macroexp--expand-all): Use it to get better warnings.
9641 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9642 (internal-macroexpand-for-load): New functions.
9643 (macroexp--pending-eager-loads): New var.
9644 (emacs-startup-hook): New hack to replace one in loadup.el.
9645 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9646 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9647 (cl-psetf): Simplify.
9648 (cl-defstruct): Add indent rule.
9649
9650 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9651
9652 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9653 over `user-mail-address' for the SMTP MAIL FROM envelope.
9654 (smtpmail-via-smtp): Ditto.
9655
9656 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9657
9658 * progmodes/ruby-mode.el: Clean up keybindings.
9659 (ruby-mode-map): Don't bind ruby-electric-brace,
9660 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9661 backward-kill-word, reindent-then-newline-and-indent.
9662 (ruby-mark-defun): Remove.
9663 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9664 (ruby-mode): Set local beginning-of-defun-function and
9665 end-of-defun-function values.
9666
9667 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9668
9669 * window.el (temp-buffer-window-setup-hook)
9670 (temp-buffer-window-show-hook): New hooks.
9671 (temp-buffer-window-setup, temp-buffer-window-show)
9672 (with-temp-buffer-window): New functions.
9673 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9674 (special-display-popup-frame): Make sure the window used shows BUFFER.
9675
9676 * help.el (temp-buffer-resize-mode): Fix doc-string.
9677 (resize-temp-buffer-window): New optional argument WINDOW.
9678
9679 * files.el (recover-file, save-buffers-kill-emacs):
9680 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9681
9682 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9683
9684 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9685 remote definition of `default-directory', ensure we can connect.
9686
9687 2012-09-02 Juri Linkov <juri@jurta.org>
9688
9689 Toggle whitespace matching mode with M-s SPC.
9690 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9691
9692 * isearch.el (search-whitespace-regexp): Doc fix.
9693 Remove cons cell customization.
9694 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9695 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9696 New variables.
9697 (isearch-forward, isearch-forward-regexp): Doc fix.
9698 (isearch-toggle-lax-whitespace): New command.
9699 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9700 (re-search-forward-lax-whitespace)
9701 (re-search-backward-lax-whitespace): New functions.
9702 (isearch-whitespace-regexp): Remove function.
9703 (isearch-query-replace): Let-bind replace-search-function and
9704 replace-re-search-function.
9705 (isearch-occur): Let-bind search-spaces-regexp according to the
9706 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9707 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9708 condition for C-q SPC.
9709 (isearch-search-fun-default): Use new functions mentioned above.
9710 (isearch-search-forward, isearch-search-backward): Remove functions.
9711 (isearch-search): Don't let-bind search-spaces-regexp.
9712 (isearch-lazy-highlight-space-regexp): Remove variable.
9713 (isearch-lazy-highlight-lax-whitespace)
9714 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9715 (isearch-lazy-highlight-new-loop): Use them.
9716 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9717
9718 2012-09-02 Chong Yidong <cyd@gnu.org>
9719
9720 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9721
9722 2012-09-02 Glenn Morris <rgm@gnu.org>
9723
9724 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9725
9726 2012-09-01 Glenn Morris <rgm@gnu.org>
9727
9728 * term.el: Tidy up menu definitions.
9729 (term-mode-map): Use easymenu for In/Out, Complete menus.
9730 (term-pager-break-map): Initialize in the defvar.
9731 (term-terminal-menu, term-signals-menu): Define with easymenu.
9732 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9733 (term-pager-menu): New, extracted from term-process-pager.
9734 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9735 (term-update-mode-line): Propertize line/char and page items.
9736 (term-process-pager): Move keymap initialization elsewhere.
9737
9738 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9739
9740 * window.el (switch-to-prev-buffer): Handle additional values of
9741 BURY-OR-KILL argument. Don't switch in minibuffer window.
9742 (switch-to-next-buffer): Don't switch in minibuffer window.
9743 (quit-restore-window): New function based on quit-window.
9744 Handle additional values of former KILL argument.
9745 (quit-window): Call quit-restore-window with appropriate
9746 interpretation of KILL argument.
9747 (display-buffer-below-selected): New buffer display action
9748 function.
9749
9750 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9751
9752 * minibuffer.el (completion-at-point-functions): Complete docstring
9753 (bug#12254).
9754
9755 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9756
9757 Better seed support for (random).
9758 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9759 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9760 * play/mpuz.el, play/tetris.el, play/zone.el:
9761 * calc/calc-comb.el (math-init-random-base):
9762 * play/blackbox.el (bb-init-board):
9763 * play/life.el (life):
9764 * server.el (server-use-tcp):
9765 * type-break.el (type-break):
9766 Remove unnecessary call to (random t).
9767 * net/sasl.el (sasl-unique-id-function):
9768 Change (random t) to (random), now that the latter is more random.
9769 * play/life.el (life-initialized): Remove no-longer-needed var.
9770
9771 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9772
9773 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9774 Consider frame's buffer predicate when choosing the buffer.
9775 (Bug#12081)
9776
9777 2012-08-30 Richard Stallman <rms@gnu.org>
9778
9779 * simple.el (special-mode-map): Delete binding for `z'.
9780
9781 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9782
9783 * progmodes/compile.el (compilation-always-kill): Doc fix.
9784
9785 2012-08-30 Chong Yidong <cyd@gnu.org>
9786
9787 * window.el (display-buffer-reuse-frames): Make the obsolescence
9788 message more informative.
9789
9790 2012-08-30 Glenn Morris <rgm@gnu.org>
9791
9792 * paren.el (show-paren-delay):
9793 Add a :set function. Doc fix. (Bug#12297)
9794
9795 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9796
9797 * progmodes/compile.el (compilation-always-kill): New var.
9798 (compilation-start): Use it.
9799
9800 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9801
9802 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9803 * files.el (read-only-mode): Move to simple.el.
9804
9805 * files.el (read-only-mode): New minor mode.
9806 (toggle-read-only): Use it and mark obsolete.
9807 (find-file--read-only):
9808 * vc/vc.el (vc-next-action, vc-checkout):
9809 * vc/vc-cvs.el (vc-cvs-checkout):
9810 * obsolete/vc-mcvs.el (vc-mcvs-update):
9811 * ffap.el (ffap--toggle-read-only): Update callers.
9812
9813 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9814
9815 * eshell/esh-ext.el (eshell-external-command): Do not examine
9816 remote shell scripts.
9817 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9818
9819 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9820 "/usr/local/sbin".
9821
9822 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9823
9824 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9825
9826 2012-08-28 Leo Liu <sdl.web@gmail.com>
9827
9828 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9829 completion-at-point. (Bug#12220)
9830
9831 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9832
9833 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9834
9835 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9836
9837 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9838 be buffer-local; add delete-trailing-whitespace (bug#12259).
9839
9840 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9841
9842 * progmodes/hideif.el (hif-compress-define-list):
9843 Fix typo. (Bug#11951)
9844
9845 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9846
9847 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9848 buffer local setting.
9849
9850 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9851 rcirc-encode-coding-system.
9852
9853 2012-08-28 Leo Liu <sdl.web@gmail.com>
9854
9855 * net/rcirc.el (rcirc-split-message): New function.
9856 (rcirc-send-message): Use it. (Bug#12051)
9857
9858 2012-08-28 Juri Linkov <juri@jurta.org>
9859
9860 * info.el (Info-fontify-node): Hide empty lines at the end of
9861 the node. (Bug#12272)
9862
9863 2012-08-27 Drew Adams <drew.adams@oracle.com>
9864
9865 * dired.el (dired-pop-to-buffer): Make window start at beginning
9866 of buffer (Bug#12281).
9867
9868 2012-08-26 Chong Yidong <cyd@gnu.org>
9869
9870 * window.el (special-display-regexps, special-display-frame-alist)
9871 (special-display-buffer-names, special-display-function)
9872 (display-buffer-reuse-frames): Mark as obsolete.
9873
9874 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9875
9876 * help.el (help-print-return-message): Don't treat
9877 display-buffer-reuse-frames specially.
9878
9879 2012-08-26 Chong Yidong <cyd@gnu.org>
9880
9881 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9882 New variable, replacing gdb-frame-parameters.
9883 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9884 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9885 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9886 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9887 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9888 the functions directly with gdb-display-buffer-other-frame-action.
9889 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9890 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9891 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9892 (gdb-display-registers-buffer): Define directly.
9893 (def-gdb-display-buffer): Macro deleted.
9894 (gdb-display-buffer): Remove second and third args, callers don't
9895 use them. Defer to the default display-buffer behavior, apart
9896 from making windows dedicated.
9897 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9898
9899 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9900
9901 * window.el (display-buffer-pop-up-frame): Handle a
9902 pop-up-frame-parameters alist entry.
9903 (display-buffer): Document it.
9904
9905 2012-08-26 Chong Yidong <cyd@gnu.org>
9906
9907 * isearch.el (search-whitespace-regexp): Make string and nil
9908 values apply to both ordinary and regexp search. Allow a cons
9909 cell value to distinguish between the two.
9910 (isearch-whitespace-regexp, isearch-search-forward)
9911 (isearch-search-backward): New functions.
9912 (isearch-occur, isearch-search-fun-default, isearch-search)
9913 (isearch-lazy-highlight-new-loop): Use them.
9914 (isearch-forward, isearch-forward-regexp): Doc fix.
9915
9916 2012-08-26 Chong Yidong <cyd@gnu.org>
9917
9918 * faces.el (help-argument-name): Always inherit from italic
9919 (Bug#12213).
9920
9921 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9922
9923 * window.el (window--even-window-heights): Even heights when
9924 WINDOW and the selected window form a vertical combination.
9925 (display-buffer-use-some-window): Provide that window used gets
9926 sized back by quit-window. (Bug#11880) and (Bug#12091)
9927
9928 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9929
9930 Fix file time stamp problem with bzr and CVS (Bug#12001).
9931 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9932 in the file's time stamp, since the version control system loses
9933 that information.
9934
9935 2012-08-22 Juri Linkov <juri@jurta.org>
9936
9937 * info.el (Info-fontify-node): Hide the suffix of the
9938 Info file name in the header line. (Bug#12187)
9939
9940 2012-08-22 Glenn Morris <rgm@gnu.org>
9941
9942 * calendar/cal-tex.el (cal-tex-weekly-common):
9943 Restore leading blank page.
9944
9945 2012-08-22 Le Wang <l26wang@gmail.com>
9946
9947 * misc.el (forward-to-word, backward-to-word): Activate or extend
9948 the region under `shift-select-mode'. (Bug#12231)
9949
9950 2012-08-22 Bastien Guerry <bzg@gnu.org>
9951
9952 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9953 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9954 gives details on why the space is never needed.
9955
9956 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9957
9958 * window.el (walk-window-tree, window-with-parameter):
9959 New optional argument MINIBUF to control whether these functions
9960 should run on the minibuffer window.
9961 (window-at-side-list): Don't operate on minibuffer window.
9962 (window-in-direction): Simplify and rewrite doc-string.
9963 (window--size-ignore): Rename to window--size-ignore-p.
9964 Update callers.
9965 (display-buffer-in-atom-window, window--major-non-side-window)
9966 (window--major-side-window, display-buffer-in-major-side-window)
9967 (delete-side-window, display-buffer-in-side-window):
9968 New functions.
9969 (window--side-check, window-deletable-p, delete-window)
9970 (delete-other-windows, split-window): Handle side windows and
9971 atomic windows appropriately.
9972 (window--display-buffer): Call display-buffer-record-window also
9973 when the window buffer did not change.
9974
9975 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9976
9977 * help-fns.el (help-fns--key-bindings):
9978 Abbreviate non-symbol remap targets. (Bug#12174)
9979
9980 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9981
9982 * dired.el (dired-mark-remembered): Don't clobber point.
9983 (Bug#11795)
9984
9985 2012-08-22 Glenn Morris <rgm@gnu.org>
9986
9987 * progmodes/bug-reference.el (bug-reference): New custom group.
9988 (bug-reference-bug-regexp): Make it a defcustom.
9989
9990 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9991
9992 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9993 (js-paren-indent-offset, js-square-indent-offset)
9994 (js-curly-indent-offset): Add :safe (Bug#12257).
9995
9996 2012-08-22 Edward O'Connor <hober0@gmail.com>
9997
9998 * json.el (json-key-format): Add error properties.
9999 (json-encode-key): New function.
10000 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10001 Use json-encode-key.
10002
10003 2012-08-22 Glenn Morris <rgm@gnu.org>
10004
10005 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10006 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10007 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10008 Update for above change.
10009
10010 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10011
10012 * cus-face.el (custom-face-attributes): Fix customize type for the
10013 :underline attribute. (Bug#11805)
10014
10015 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10016
10017 * window.el (window-point-1, set-window-point-1): Remove.
10018 (window-in-direction, record-window-buffer)
10019 (set-window-buffer-start-and-point, split-window-below)
10020 (window--state-get-1, display-buffer-record-window):
10021 Replace calls to window-point-1 and set-window-point-1 by calls to
10022 window-point and set-window-point respectively.
10023
10024 2012-08-21 Glenn Morris <rgm@gnu.org>
10025
10026 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10027 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10028 Use it.
10029
10030 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10031 (cal-tex-shortday): New function.
10032 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10033 (cal-tex-cursor-filofax-daily): Use the above.
10034
10035 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10036 New functions.
10037 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10038 (cal-tex-cursor-filofax-week): Use them.
10039
10040 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10041 New constants.
10042 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10043 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10044
10045 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10046 (cal-tex-end-document): Don't rely on buffer name.
10047
10048 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10049 Use cal-tex-vspace.
10050 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10051 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10052 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10053 Use cal-tex-arg.
10054
10055 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10056 (cal-tex-cursor-week, cal-tex-cursor-week2)
10057 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10058 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10059 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10060 (cal-tex-insert-preamble, cal-tex-b-document)
10061 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10062 Improve cal-tex-cmd usage.
10063
10064 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10065 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10066 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10067 (cal-tex-weekly-paper): New function.
10068 (cal-tex-cursor-week, cal-tex-cursor-week2)
10069 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10070 (cal-tex-cursor-day): Use it.
10071
10072 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10073 (cal-tex-cursor-filofax-week): Remove leading blank page.
10074
10075 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10076 Add autoload cookie. For now at least, don't use color, since
10077 no other cal-tex function does.
10078
10079 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10080 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10081 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10082
10083 2012-08-21 Juri Linkov <juri@jurta.org>
10084
10085 * info.el (Info-file-attributes): New variable.
10086 (info-insert-file-contents): Add file attributes to
10087 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10088 `Info-toc-nodes' when previous modtime of the Info file is less
10089 than new modtime.
10090 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10091 of info.el. (Bug#12230)
10092
10093 2012-08-20 Glenn Morris <rgm@gnu.org>
10094
10095 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10096 * calendar/holidays.el (calendar-holiday-list):
10097 Report errors with display-warning rather than beep'n'sleep.
10098
10099 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10100
10101 * net/tramp.el (tramp-accept-process-output): Accept only output
10102 from PROC. Otherwise, process filters and sentinels might be
10103 confused. (Bug#12145)
10104
10105 2012-08-20 Chong Yidong <cyd@gnu.org>
10106
10107 * descr-text.el (describe-text-properties-1): Use overlays-in to
10108 report on empty overlays (Bug#3322).
10109
10110 2012-08-20 Glenn Morris <rgm@gnu.org>
10111
10112 * mail/rmailout.el (rmail-output-read-file-name):
10113 Trap and report errors in rmail-output-file-alist elements.
10114
10115 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10116 since most non-font-lock faces are not also variables).
10117
10118 2012-08-20 Edward Reingold <reingold@iit.edu>
10119
10120 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10121 New function. (Bug12160)
10122
10123 2012-08-19 Glenn Morris <rgm@gnu.org>
10124
10125 * mail/rmailout.el (rmail-output-read-file-name):
10126 Fix previous change (when the alist is nil or does not match).
10127
10128 2012-08-19 Chong Yidong <cyd@gnu.org>
10129
10130 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10131 (Bug#12228).
10132
10133 2012-08-18 Chong Yidong <cyd@gnu.org>
10134
10135 * simple.el (yank-handled-properties): New defcustom.
10136 (yank-excluded-properties): Add font-lock-face and category.
10137 (yank): Doc fix.
10138
10139 * subr.el (remove-yank-excluded-properties):
10140 Obey yank-handled-properties. The special handling of font-lock-face
10141 and category is now done this way, instead of being hard-coded.
10142 (insert-for-yank-1): Remove font-lock-face handling.
10143 (yank-handle-font-lock-face-property)
10144 (yank-handle-category-property): New function.
10145
10146 2012-08-17 Glenn Morris <rgm@gnu.org>
10147
10148 * mail/rmailout.el (rmail-output-read-file-name):
10149 Check rmail-output-file-alist against the full message body
10150 in the correct rmail buffer. (Bug#12214)
10151
10152 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10153
10154 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10155 Eliminate superfluous prompt. (Bug#12203)
10156
10157 2012-08-17 Chong Yidong <cyd@gnu.org>
10158
10159 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10160 font spec, set the font directly (Bug#3228).
10161
10162 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10163
10164 * window.el (delete-window): Fix last fix.
10165
10166 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10167
10168 * window.el (window-valid-p): Move to window.c.
10169 (window-child, window-child-count, window-last-child)
10170 (window-normalize-window, window-combined-p)
10171 (window-combinations, window-atom-root, window-min-size)
10172 (window-sizable, window-sizable-p, window-size-fixed-p)
10173 (window-min-delta, window-max-delta, window--resizable)
10174 (window--resizable-p, window-resizable, window-total-size)
10175 (window-full-height-p, window-full-width-p, window-body-size)
10176 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10177 (minimize-window, window-deletable-p, delete-window)
10178 (delete-other-windows, set-window-buffer-start-and-point)
10179 (next-buffer, previous-buffer, split-window, balance-windows-2)
10180 (set-window-text-height, window-buffer-height)
10181 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10182 (truncated-partial-width-window-p): Minor code adjustments.
10183 In doc-strings state whether the argument window has to denote a
10184 live, valid or any window.
10185
10186 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10187
10188 * progmodes/subword.el (subword-forward-function)
10189 (subword-backward-function, subword-forward-regexp)
10190 (subword-backward-regexp): New variables.
10191 (subword-forward, subword-forward-internal, subword-backward-internal):
10192 Use new variables, eg so that different "word" definitions
10193 can be easily used. (Bug#11411)
10194
10195 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10196
10197 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10198 for composite selectors.
10199 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10200 operation just because we can't find a previous revision.
10201
10202 2012-08-15 Chong Yidong <cyd@gnu.org>
10203
10204 * frame.el (set-frame-font): Accept font objects.
10205
10206 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10207
10208 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10209
10210 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10211
10212 * man.el (Man-overstrike-face, Man-underline-face)
10213 (Man-reverse-face): Remove variables.
10214 (Man-overstrike, Man-underline, Man-reverse): New faces.
10215 (Man-fontify-manpage): Use them instead of the variables.
10216 (Man-cleanup-manpage): Comment change.
10217 (Man-ansi-color-map): New variable.
10218 (Man-fontify-manpage): Use it.
10219 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10220
10221 Implement ANSI SGR parameters 22-27 (bug#12146).
10222 * ansi-color.el (ansi-colors): Doc fix.
10223 (ansi-color-context, ansi-color-context-region): Doc fix.
10224 (ansi-color--find-face): New function.
10225 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10226 Rename the local variable `face' to `codes' since it is now a list of
10227 ansi codes. Doc fix.
10228 (ansi-color-get-face): Remove.
10229 (ansi-color-parse-sequence): New function, derived from
10230 ansi-color-get-face.
10231 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10232 codes 22-27.
10233
10234 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10235
10236 * subr.el (read-passwd): Allow use from a minibuffer.
10237
10238 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10239
10240 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10241 inside comments and strings as identifiers.
10242
10243 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10244 expression to evaluate. This allows to evaluate expressions with
10245 embedded whitespace.
10246 (gud-tooltip-tips): Add a blank before the newline in the
10247 message-box text, for the benefit of message-box emulation on
10248 MS-Windows.
10249
10250 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10251 messages from GDB, pop them up in a tooltip to give feedback to
10252 user.
10253 (gdb-tooltip-print-1): Quote the expression to evaluate.
10254 This allows to evaluate expressions with embedded whitespace.
10255 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10256 if the TTY name is nil or empty (which happens when communicating
10257 with the inferior via pipes, e.g. on MS-Windows).
10258 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10259 don't send that to the GUD buffer.
10260
10261 2012-08-14 Glenn Morris <rgm@gnu.org>
10262
10263 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10264 Optimize away setq-default with no args, as for setq. (Bug#12195)
10265
10266 2012-08-14 Chong Yidong <cyd@gnu.org>
10267
10268 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10269
10270 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10271 (Bug#12085).
10272
10273 2012-08-14 Glenn Morris <rgm@gnu.org>
10274
10275 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10276
10277 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10278
10279 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10280 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10281 Use cached shell name.
10282
10283 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10284
10285 * progmodes/python.el (python-shell-send-string):
10286 (python-shell-send-setup-code): Do not use `format' with `message'.
10287
10288 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10289
10290 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10291 (ruby-percent-literal-beg-re): New constant.
10292 (ruby-syntax-general-delimiters-goto-beg): Rename to
10293 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10294 (ruby-syntax-propertize-general-delimiters): Rename to
10295 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10296 popular term. Adjust comments everywhere.
10297 (ruby-syntax-propertize-percent-literal): Only propertize when not
10298 inside a simple string or comment. When the literal is unclosed,
10299 leave the text after it unpropertized.
10300 (ruby-syntax-methods-before-regexp): New constant.
10301 (ruby-syntax-propertize-function): Use it to recognize regexps.
10302 Don't look at the text after regexp, just use the whitelist.
10303
10304 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10305
10306 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10307 non-nil always load the compiled file if it exists. (Bug#12197)
10308
10309 2012-08-14 Chong Yidong <cyd@gnu.org>
10310
10311 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10312 (hi-lock-set-pattern): When deciding whether to use font lock or
10313 overlays, look at font-lock-mode instead of font-lock-fontified
10314 (Bug#12168).
10315 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10316 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10317
10318 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10319
10320 * subr.el (internal--after-with-selected-window): Fix typo
10321 (Bug#12193).
10322
10323 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10324
10325 Use `completion-table-dynamic' for completion functions.
10326 * progmodes/python.el
10327 (python-shell-completion--do-completion-at-point)
10328 (python-shell-completion--get-completions):
10329 Remove functions.
10330 (python-shell-completion-complete-at-point): New function.
10331 (python-completion-complete-at-point): Use it.
10332
10333 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10334
10335 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10336 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10337
10338 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10339
10340 * subr.el (function-get): Refine `autoload' arg so it can also
10341 autoload functions for gv.el (bug#12191).
10342 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10343 autoloads macros.
10344
10345 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10346 Prefer pcase-let over destructuring-bind.
10347 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10348 Also, remove whitespace as we go, rather than after accumulating the
10349 various places.
10350
10351 * subr.el (internal--before-with-selected-window)
10352 (internal--after-with-selected-window): Fix typo seleted->selected.
10353 (with-selected-window): Adjust callers.
10354 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10355
10356 2012-08-13 Bastien Guerry <bzg@gnu.org>
10357
10358 * window.el (special-display-popup-frame): Minor docstring
10359 enhancement. (Bug#12172)
10360
10361 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10362
10363 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10364 type 1-6.
10365 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10366 extended headers.
10367
10368 * files.el (hack-local-variables-filter): Remove useless eval.
10369
10370 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10371
10372 * subr.el (with-selected-window): Fix last change.
10373
10374 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10375
10376 * subr.el (internal--before-with-seleted-window)
10377 (internal--after-with-seleted-window): New functions.
10378 (with-selected-window): Use them, to replace dependency on
10379 tty-top-frame.
10380
10381 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10382
10383 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10384 binding for `newline'.
10385 (ruby-move-to-block): When moving backward, stop at block opening,
10386 not indentation.
10387 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10388 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10389 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10390 `ruby-toggle-block'.
10391
10392 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10393
10394 * ibuffer.el (ibuffer-do-toggle-read-only):
10395 * dired.el (dired-toggle-read-only):
10396 * buff-menu.el (Buffer-menu-toggle-read-only):
10397 * bindings.el (mode-line-toggle-read-only):
10398 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10399
10400 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10401
10402 * descr-text.el (describe-char): Put the overlays over the
10403 "displayed as" character.
10404
10405 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10406
10407 * calc/calc-units.el (math-default-units-table): Give an
10408 initial value.
10409 (math-put-default-units): Add options to put composite units and
10410 unit systems in the default units table.
10411 (calc-convert-units): Send composite units to
10412 `math-put-default-units' when appropriate.
10413
10414 2012-08-11 Glenn Morris <rgm@gnu.org>
10415
10416 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10417
10418 * tutorial.el (help-with-tutorial):
10419 * emacs-lisp/copyright.el (copyright-update-directory):
10420 * emacs-lisp/autoload.el (autoload-find-generated-file)
10421 (autoload-find-file): Disable local eval: (for insurance).
10422
10423 * files.el (hack-local-variables-filter): If an eval: form is not
10424 known to be safe, and enable-local-variables is :safe, then ignore
10425 the form totally, as is done for non-eval forms. (Bug#12155)
10426 This is CVE-2012-3479.
10427
10428 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10429
10430 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10431 (rx-form): Simplify.
10432
10433 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10434
10435 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10436 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10437 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10438 (ruby-syntax-propertize-function): Adjust for changes in
10439 `ruby-syntax-propertize-heredoc'.
10440
10441 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10442
10443 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10444 binding (use `M-;' instead).
10445 (ruby-singleton-class-p): New function.
10446 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10447
10448 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10451
10452 2012-08-10 Chong Yidong <cyd@gnu.org>
10453
10454 * progmodes/python.el (python-shell-get-process-name): Don't mess
10455 with same-window-buffer-names.
10456
10457 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10458 (eshell-remove-from-window-buffer-names): Make obsolete.
10459 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10460 (eshell): Just use pop-to-buffer-same-window instead.
10461
10462 2012-08-10 Chong Yidong <cyd@gnu.org>
10463
10464 * bindings.el: Bind M-= back to count-words-region.
10465
10466 * simple.el (count-words-region): Accept a prefix arg for acting
10467 on the entire buffer.
10468 (count-words--buffer-message): New helper function.
10469
10470 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10471
10472 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10473 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10474 (event-start, event-end): Use posn-at-point to return a more
10475 informative posn.
10476 (posnp): New function.
10477 * mouse.el (popup-menu-normalize-position): Use it.
10478
10479 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10480
10481 * mouse.el (popup-menu-normalize-position): New function.
10482 (popup-menu): Use `popup-menu-normalize-position' to normalize
10483 the form for POSITION argument.
10484
10485 * term/x-win.el (x-menu-bar-open):
10486 Use the value returend from (posn-at-point) as position
10487 passed to `popup-menu'.
10488
10489 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10490
10491 * calc/calccomp.el (math-compose-expr): Add extra argument
10492 indicating that parentheses should be put around products in
10493 denominators. Give multiplication precedence over division during
10494 composition.
10495
10496 2012-08-09 Chong Yidong <cyd@gnu.org>
10497
10498 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10499 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10500 (Man-untabify-command, manual-program): Convert to defcustom
10501 (Bug#10429).
10502
10503 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10504
10505 * descr-text.el (describe-char): Don't insert extra newlines
10506 (Bug#10127).
10507
10508 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10509 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10510
10511 * align.el (align-region): Delete temporary markers (Bug#10047).
10512 Plus some code cleanups.
10513
10514 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10515
10516 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10517 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10518 (python-shell-internal-last-output): Use make-local-variable
10519 instead of make-variable-buffer-local.
10520
10521 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10522
10523 * progmodes/python.el: Enhancements to forward-sexp.
10524 (python-nav-forward-sexp): Rename from
10525 python-nav-forward-sexp-function.
10526 (python-nav--forward-sexp, python-nav--backward-sexp):
10527 New functions.
10528
10529 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10530
10531 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10532 modes and simplification modes.
10533
10534 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10535
10536 * delsel.el (delete-selection-pre-hook): Don't propagate the
10537 file-supersession signals (bug#12161).
10538
10539 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10540
10541 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10542 (cl-map-extents): Add compatibility aliases (bug#12135).
10543
10544 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10545
10546 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10547 tests by `ignore-error'.
10548 (tramp-find-shell): Open also a new shell, when cache is already
10549 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10550
10551 2012-08-08 Juri Linkov <juri@jurta.org>
10552
10553 * bookmark.el: Add `defaults' property to the bookmark record.
10554 (bookmark-current-buffer): Doc fix.
10555 (bookmark-make-record): Add `defaults' property with default values
10556 to the bookmark record.
10557 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10558 with `bookmark-insert-current-bookmark'.
10559 (bookmark-set): Get `defaults' property from the bookmark record
10560 and use it in `read-from-minibuffer'.
10561 (bookmark-insert-current-bookmark): Remove function.
10562
10563 * info.el (Info-bookmark-make-record): Add `defaults' property
10564 with values of canonical Info node name, the current Info file
10565 name and the current Info node name. (Bug#12107)
10566
10567 2012-08-08 Juri Linkov <juri@jurta.org>
10568
10569 * files.el (basic-save-buffer): Use `buffer-name' as the default
10570 of `read-file-name' when buffer is not visiting a file (bug#12128).
10571
10572 2012-08-08 Juri Linkov <juri@jurta.org>
10573
10574 * info.el (Info-isearch-search): Doc fix.
10575 (Info-search): Change search-failed message from "initial node" to
10576 "end of node" (bug#12078).
10577 (Info-isearch-search): Change `isearch-string-state' to
10578 `isearch--state-string'.
10579
10580 2012-08-08 Glenn Morris <rgm@gnu.org>
10581
10582 * language/persian.el: Remove file.
10583 * language/misc-lang.el: Move unique part of persian.el here.
10584 * loadup.el: Remove language/persian.
10585
10586 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
10587
10588 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10589
10590 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
10591
10592 * progmodes/python.el: Fix defsubst warning.
10593 (python-syntax-context) Rename from python-info-ppss-context.
10594 (python-syntax-context-type): Rename from
10595 python-info-ppss-context-type.
10596 (python-syntax-comment-or-string-p): Rename from
10597 python-info-ppss-comment-or-string-p.
10598
10599 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10600
10601 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10602
10603 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10604
10605 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10606 a defcustom that is quoted with backquote.
10607
10608 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10609 Fix handling of interactive spec when the body uses return.
10610 (math-do-arg-check, math-define-function-body): Use backquote forms.
10611 * calc/calc-ext.el (math-defcache): Likewise.
10612 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10613 * allout.el (allout-new-exposure): Likewise.
10614 * calc/calcalg2.el (math-tracing-integral): Likewise.
10615 * info.el (Info-last-menu-item): Likewise.
10616 * emulation/vip.el (vip-loop): Likewise.
10617 * textmodes/artist.el (artist-funcall): Likewise.
10618 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10619 Construct menu-item directly.
10620
10621 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10622 Don't declare.
10623
10624 2012-08-07 Chong Yidong <cyd@gnu.org>
10625
10626 * simple.el (deactivate-mark): Preserve text properties when
10627 saving the primary selection (Bug#8384).
10628
10629 2012-08-07 Kevin Ryde <user42@zip.com.au>
10630
10631 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10632 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10633 and continue processing (Bug#12110).
10634
10635 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10636
10637 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10638 syntax-propertize-function (bug#10095).
10639
10640 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10641
10642 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10643 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10644 describe-function-1.
10645 (describe-function-1): Use them. Move compiler macro after sig.
10646 (help-fns--compiler-macro): Use function-get. Assume we're already in
10647 standard-output. Adjust layout to new call order.
10648
10649 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10650 re-binding a symbol that has a symbol-macro (bug#12119).
10651
10652 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10653
10654 * language/persian.el: New file. (Bug#11812)
10655 * loadup.el: Add language/persian.el.
10656
10657 2012-08-06 Chong Yidong <cyd@gnu.org>
10658
10659 * window.el (window--maybe-raise-frame): New function.
10660 (window--display-buffer): Split off from here.
10661 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10662 (display-buffer-pop-up-window, display-buffer-use-some-window):
10663 Obey an inhibit-switch-frame action alist entry.
10664 (display-buffer): Update doc.
10665
10666 * replace.el (occur-after-change-function): Avoid losing focus by
10667 using the inhibit-switch-frame display parameter (Bug#12139).
10668
10669 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
10670
10671 Make internal shell process buffer names start with space.
10672 * progmodes/python.el (python-shell-make-comint): Add optional
10673 argument INTERNAL.
10674 (run-python-internal): Use it.
10675 (python-shell-internal-get-or-create-process): Check for new
10676 internal buffer names.
10677
10678 2012-08-06 Glenn Morris <rgm@gnu.org>
10679
10680 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10681 Do less getting and setting of environment variables.
10682
10683 2012-08-05 Chong Yidong <cyd@gnu.org>
10684
10685 * proced.el (proced): Add substitution string to docstring to
10686 trigger autoloading of the proced library on C-h f (Bug#1768).
10687
10688 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10689 Don't show defvars which have no second argument (Bug#8638).
10690
10691 * imenu.el (imenu-generic-expression): Move documentation here
10692 from imenu--generic-function.
10693 (imenu--generic-function): Refer to imenu-generic-expression.
10694
10695 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
10696
10697 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10698 indentation declaration.
10699 (viper-loop): Add indentation declaration (Bug#7025).
10700
10701 2012-08-05 Chong Yidong <cyd@gnu.org>
10702
10703 * help-fns.el (describe-variable): Add hyperlink for
10704 directory-local variables files. Improve buffer-local and
10705 permanent-local reporting; suggested by MON KEY (Bug#6644).
10706
10707 * help-mode.el (help-dir-local-var-def): New button type.
10708
10709 * files.el (kill-buffer-hook): Provide a defvar.
10710
10711 2012-08-05 Glenn Morris <rgm@gnu.org>
10712
10713 * eshell/esh-ext.el (eshell/addpath):
10714 Also update eshell-path-env. (Bug#12013)
10715
10716 2012-08-05 Chong Yidong <cyd@gnu.org>
10717
10718 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10719
10720 * fringe.el (fringe-styles): Add docstring.
10721 (fringe--check-mode): New function.
10722 (set-fringe-mode, set-fringe-style): Use it.
10723 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10724
10725 * files.el (set-auto-mode): Fix invalid setq call.
10726
10727 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10728
10729 * isearch.el: Misc simplification; use defstruct.
10730 (isearch-mode-map): Dense maps now work like sparse ones.
10731 (isearch--state): New defstruct.
10732 (isearch-string-state, isearch-message-state, isearch-point-state)
10733 (isearch-success-state, isearch-forward-state)
10734 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10735 (isearch-wrapped-state, isearch-barrier-state)
10736 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10737 replaced by defstruct's accessors.
10738 (isearch--set-state): Rename from isearch-top-state and change
10739 calling convention.
10740 (isearch-push-state): Use new isearch--get-state.
10741 (isearch-toggle-word): Disable regexp when enabling word.
10742 (isearch-message-prefix): Remove unused arg _c-q-hack.
10743 (isearch-message-suffix): Remove unused arg _ellipsis.
10744
10745 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10746
10747 * simple.el (list-processes--refresh): For a server use :host or
10748 :local as the address.
10749 (list-processes): Doc fix.
10750
10751 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10752
10753 * lisp/mpc.el: Support password in host argument.
10754 (mpc--proc-connect): Parse and use new password element.
10755 Set mpc-proc variable instead of returning process.
10756 (mpc-proc): Adjust accordingly.
10757
10758 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10759
10760 * whitespace.el (whitespace-display-mappings): Use Unicode
10761 codepoints, instead of emacs-mule codepoints. See
10762 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10763 for the details.
10764
10765 * files.el (file-truename): Don't skip symlink-chasing part on
10766 windows-nt. Incorporate the resolution of 8+3 short aliases on
10767 Windows into the loop that recursively chases symlinks.
10768 Compare directory and its parent case-insensitively on MS-Windows and
10769 MS-DOS.
10770
10771 2012-08-03 Chong Yidong <cyd@gnu.org>
10772
10773 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10774
10775 * sort.el (sort-regexp-fields): Doc fix.
10776
10777 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10778
10779 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10780 labels regex position point at the expected place.
10781
10782 2012-08-03 MON KEY <monkey@sandpframing.com>
10783
10784 * net/imap.el (imap-interactive-login, imap-authenticate)
10785 (imap-mailbox-lsub, imap-mailbox-list)
10786 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10787 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10788 (imap-parse-response): Doc fix.
10789
10790 2012-08-03 João Távora <joaotavora@gmail.com>
10791
10792 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10793 if sexp scanning does not move point (Bug#5734).
10794
10795 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10796
10797 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10798 Add listings, minted, and ctable packages.
10799 (reftex-label-alist-builtin): Move listings, minted, and ctable
10800 entries before LaTeX.
10801 (reftex-label-alist): Docfix.
10802
10803 2012-08-02 Bastien Guerry <bzg@gnu.org>
10804
10805 * replace.el (occur): Fix docstring (bug#12122).
10806
10807 2012-08-02 Glenn Morris <rgm@gnu.org>
10808
10809 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10810
10811 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10812
10813 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10814 * international/mule-cmds.el: Create
10815 inactivate-current-input-method-function as an obsolete alias for
10816 deactivate-current-input-method-function. See Katsumi Yamaoka in
10817 <http://bugs.gnu.org/10150#46>.
10818
10819 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10820
10821 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10822 of nested `if's.
10823
10824 2012-08-01 Glenn Morris <rgm@gnu.org>
10825
10826 * progmodes/autoconf.el (autoconf-definition-regexp):
10827 Add AH_TEMPLATE, adjust submatch numbering.
10828 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10829 (autoconf-current-defun-function): Update for above change.
10830 (autoconf-current-defun-function): First skip to end of current word.
10831
10832 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10833
10834 * calendar/cal-html.el (cal-html-insert-agenda-days):
10835 Fix typo. (Bug#12018)
10836
10837 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10838
10839 Shell processes: enhancements to startup and CEDET compatibility.
10840 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10841 (python-shell-make-comint): accept-process-output at startup.
10842 (run-python-internal): Set inferior-python-mode-hook to nil.
10843 (python-shell-internal-get-or-create-process): call sit-for.
10844 (python-preoutput-result): Add obsolete alias.
10845 (python-shell-internal-send-string): Use it.
10846 (python-shell-send-setup-code): Remove call to
10847 accept-process-output.
10848
10849 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10850
10851 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10852 (Bug#12108)
10853
10854 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10855
10856 * calc-mode.el (calc-basic-simplification-mode): Rename from
10857 `calc-limited-simplification-mode'.
10858 (calc-alg-simplification-mode): New function.
10859 (calc-set-simplify-mode): Adjust message.
10860
10861 * calc.el (calc-set-mode-line): Adjust mode line display for
10862 basic simplification mode.
10863
10864 * calc-help.el (calc-m-prefix-help): Update help message.
10865
10866 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10867 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10868
10869 2012-07-31 Bastien Guerry <bzg@gnu.org>
10870
10871 * man.el (man): Fix comment. (bug#12101)
10872
10873 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10874
10875 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10876 Don't return a non-nil value when no suitable buffer was found.
10877
10878 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10879
10880 * progmodes/python.el (run-python-internal): Disable font lock for
10881 internal shells.
10882
10883 2012-07-30 Stefan Merten <smerten@oekonux.de>
10884
10885 * textmodes/rst.el: Silence `checkdoc-ispell'.
10886 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10887 (rst-official-version, rst-official-cvs-rev)
10888 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10889 (rst-mode-map): New key binding.
10890
10891 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10892
10893 Update .PHONY listings in makefiles.
10894 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10895 autoloads, update-subdirs, updates, bzr-update, update-authors,
10896 compile-onefile, compile-calc, backup-compiled-files,
10897 compile-after-backup, compile-one-process, mh-autoloads,
10898 bootstrap-clean, distclean, maintainer-clean.
10899
10900 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10901
10902 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10903 (calc-set-mode-line): Don't display "AlgSimp ".
10904
10905 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10906 (calc-lim-simplify-mode): New function.
10907 (calc-set-simplify-mode): Default to 'alg.
10908 (calc-default-simplify-mode): Make algebraic simplifications
10909 the default.
10910
10911 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10912 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10913
10914 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10915 indicate new simplification modes.
10916
10917 * calc/README: Mention new default simplification mode.
10918
10919 * calc/calc.el (math-normalize-error): New variable.
10920 (math-normalize): Set `math-normalize-error' to t
10921 when there's an error.
10922
10923 * calc/calc-alg.el (math-simplify): Don't simplify when
10924 `math-normalize' returns an error.
10925
10926 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10927
10928 * international/mule-cmds.el (set-locale-environment): Revert last
10929 change, since display-graphic-p returns nil when this function is
10930 called during startup. Instead...
10931
10932 * term/w32console.el (terminal-init-w32console): ...setup the
10933 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10934
10935 2012-07-29 Juri Linkov <juri@jurta.org>
10936
10937 * simple.el (goto-line): Don't display default line number in the
10938 prompt because it should be displayed by `read-number' (bug#9952).
10939 Add the current line number to the defaults of `goto-line' to
10940 allow its easier modification by users with `M-n' (bug#9201).
10941
10942 * subr.el (read-number): Support multiple default values like in
10943 other minibuffer reading functions. Replace `read' with
10944 `string-to-number' for consistency with `number-to-string'.
10945
10946 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10947
10948 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10949 * emulation/viper-init.el (viper-deactivate-input-method-action):
10950 Rename from viper-inactivate-input-method-action.
10951 (viper-deactivate-input-method):
10952 Rename from viper-inactivate-input-method.
10953 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10954 * international/mule-cmds.el (deactivate-input-method):
10955 Rename from inactivate-input-method.
10956 Also run input-method-deactivate-hook.
10957 (deactivate-current-input-method-function):
10958 Rename from inactivate-current-input-method-function.
10959 (input-method-deactivate-hook): New hook.
10960 (input-method-inactivate-hook): Mark obsolete.
10961 (inactivate-input-method): Mark obsolete.
10962
10963 * international/quail.el (quail-activate):
10964 Also run quail-deactivate-hook.
10965 (quail-deactivate): Rename from quail-inactivate.
10966 * international/robin.el (robin-activate):
10967 Also run robin-deactivate-hook.
10968 (robin-deactivate): Rename from robin-inactivate.
10969
10970 2012-07-29 Chong Yidong <cyd@gnu.org>
10971
10972 * simple.el (indicate-copied-region): New function.
10973 (kill-ring-save): Split off from here.
10974
10975 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10976 (kill-rectangle): Set deactivate-mark to t on read-only error.
10977
10978 * register.el (copy-to-register, copy-rectangle-to-register):
10979 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10980 (append-to-register, prepend-to-register): Call indicate-copied-region.
10981
10982 2012-07-29 Juri Linkov <juri@jurta.org>
10983
10984 * simple.el (async-shell-command-buffer): New defcustom.
10985 (shell-command): Use it. (Bug#4719)
10986
10987 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10988
10989 * international/mule-cmds.el (set-locale-environment): In a
10990 console session on MS-Windows, set up keyboard and terminal
10991 encoding from the OEM codepage, not the ANSI codepage.
10992 (Bug#12055)
10993
10994 2012-07-28 Chong Yidong <cyd@gnu.org>
10995
10996 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10997 gdb-get-location.
10998
10999 2012-07-28 Leo Liu <sdl.web@gmail.com>
11000
11001 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11002 the alist (bug#12029).
11003
11004 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11005
11006 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11007 (compile-always, compile-first)
11008 ($(lisp)/calendar/cal-loaddefs.el)
11009 ($(lisp)/calendar/diary-loaddefs.el)
11010 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11011 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11012 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11013 instead of on update-subdirs.
11014 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11015
11016 2012-07-28 Chong Yidong <cyd@gnu.org>
11017
11018 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11019 directory if vc-deduce-backend returns nil (Bug#7350).
11020
11021 * simple.el (delete-trailing-lines): New option.
11022 (delete-trailing-whitespace): Obey it (Bug#11879).
11023
11024 2012-07-28 David Engster <deng@randomsample.de>
11025
11026 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11027 Explanation of new 'symbol-qnames feature in doc-strings.
11028 (xml-maybe-do-ns): Return expanded names as plain symbols if
11029 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11030 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11031
11032 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11033
11034 Consistent completion in inferior python with emacs -nw.
11035 * progmodes/python.el (inferior-python-mode): replace "<tab>"
11036 binding in inferior-python-mode-map with "\t".
11037 (python-shell-completion-complete-at-point)
11038 (python-completion-complete-at-point): Remove interactive spec.
11039
11040 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11041
11042 * calc/calccomp.el (math-compose-expr): Undo previous change.
11043
11044 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11045
11046 * progmodes/python.el (python-mode-map): Add keybinding for
11047 run-python.
11048 (python-shell-make-comint): Fix pop-to-buffer call.
11049 (run-python): Autoload. New arg SHOW.
11050 (python-shell-get-or-create-process): Do not pop python process
11051 buffer.
11052
11053 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11054
11055 * notifications.el (notifications-on-action-signal)
11056 (notifications-on-closed-signal): Use also the bus address for the map.
11057 (notifications-notify, notifications-close-notification)
11058 (notifications-get-capabilities): Add optional argument BUS.
11059
11060 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11061
11062 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11063 Add support for the lstlisting and minted environments, and for the
11064 ctable macro.
11065 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11066 labels written in keyvals syntax.
11067
11068 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11069
11070 * calc/calccomp.el (math-compose-expr): Use parentheses when
11071 there is a product in the denominator of a fraction.
11072
11073 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11074
11075 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11076 ($(lisp)/calendar/diary-loaddefs.el)
11077 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11078 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11079 Fixes failures in parallel bootstrap because subdirs.el is being
11080 rewritten while the autoload files are built at the same time,
11081 which needs to load subdirs.el.
11082
11083 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11084
11085 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11086 (mouse-drag-line): Don't exit tracking when a switch-frame or
11087 switch-window event occurs (Bug#12006).
11088
11089 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11090
11091 * mouse.el (popup-menu): Fix last change.
11092
11093 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11094
11095 Autoload from Lisp with more care. Follow aliases when looking for
11096 function properties.
11097 * subr.el (autoloadp): New function.
11098 (symbol-file): Use it.
11099 (function-get): New function.
11100 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11101 autoload-do-load.
11102 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11103 (lisp-indent-function):
11104 * emacs-lisp/gv.el (gv-get):
11105 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11106 * emacs-lisp/byte-opt.el (byte-optimize-form):
11107 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11108 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11109 Use function-get.
11110 * emacs-lisp/cl.el: Don't propagate function properties any more.
11111
11112 * speedbar.el (speedbar-add-localized-speedbar-support):
11113 * emacs-lisp/disass.el (disassemble-internal):
11114 * desktop.el (desktop-load-file):
11115 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11116 (describe-function-1):
11117 * emacs-lisp/find-func.el (find-function-noselect):
11118 * emacs-lisp/elp.el (elp-instrument-function):
11119 * emacs-lisp/advice.el (ad-has-proper-definition):
11120 * apropos.el (apropos-safe-documentation, apropos-macrop):
11121 * emacs-lisp/debug.el (debug-on-entry):
11122 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11123 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11124 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11125
11126 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11127
11128 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11129 function, not an obsolete variable (Bug#12046).
11130
11131 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11132
11133 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11134
11135 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11136
11137 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11138 window only if it is still live (Bug#12034).
11139
11140 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11141
11142 * subr.el (redirect-frame-focus): Add advertised calling
11143 convention (Bug#12030).
11144
11145 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11146
11147 Prefer typical American spelling for "acknowledgment".
11148 * vc/add-log.el (change-log-acknowledgment): Rename from
11149 change-log-acknowledgement, with an alias for the old name.
11150
11151 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11152
11153 * calc-alg.el (math-simplify-divide): Don't cross multiply
11154 in an equation when the lhs is a variable.
11155
11156 2012-07-24 Julien Danjou <julien@danjou.info>
11157
11158 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11159 Remove, unused.
11160
11161 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11162
11163 * startup.el (command-line): Don't display an empty user name in
11164 the error message about non-existent home directory, when
11165 init-file-user was set to an empty string. See
11166 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11167 for the details and context.
11168
11169 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
11170
11171 * ses.el (ses-cell-formula-aset): New macro.
11172 (ses-cell-references-aset): New macro.
11173 (ses-cell-p): New function.
11174 (ses-rename-cell): Do no longer rely on complex operations like
11175 ses-cell-set-formula or ses-set-cell to change the cell and handle
11176 the undo at the same time, but rather use lower level new macros
11177 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11178 the undo directly. Refresh the mode line.
11179
11180 2012-07-21 Leo Liu <sdl.web@gmail.com>
11181
11182 * progmodes/cc-cmds.el (c-defun-name):
11183 Use match-string-no-properties instead for consistency.
11184
11185 2012-07-20 Leo Liu <sdl.web@gmail.com>
11186
11187 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11188 (Bug#7879)
11189
11190 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11191
11192 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11193
11194 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11195 * progmodes/bug-reference.el, misearch.el: Provide themselves
11196 (bug#11915).
11197
11198 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11199 of narrowed buffer (bug#11966).
11200
11201 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
11202
11203 * ses.el (ses-rename-cell): Set new name also in reference list of
11204 cells of which the renamed cell depends.
11205
11206 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11207
11208 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11209 to check whether menu-bar is shown or not. If not shown,
11210 show the menu-bar as a popup menu instead of using tmm.
11211 * mouse.el (popup-menu): Accept `point' as `position' argument.
11212
11213 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11214
11215 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11216 up inside string symbol literal (bug#11923).
11217
11218 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11219
11220 * startup.el (fancy-startup-text): Read the whole tutorial, not
11221 just its first 256 bytes. Prevents gibberish in display of the
11222 tutorial title.
11223
11224 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11225
11226 Drop idle buffer compaction due to an absence of the
11227 proved efficiency.
11228 * compact.el: Remove.
11229
11230 2012-07-19 Sam Steingold <sds@gnu.org>
11231
11232 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11233 vc-bzr-pull & vc-bzr-merge-branch.
11234 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11235 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11236 for consistency with compilation-error-regexp-alist.
11237 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11238 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11239 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11240 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11241
11242 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11243
11244 * emacs-lisp/chart.el: Use lexical-binding.
11245 (chart-emacs-storage): Don't hardcode the list of entries.
11246
11247 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11248
11249 Next round of tweaks caused by Fgarbage_collect changes.
11250 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11251
11252 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11253
11254 Compact buffers when idle.
11255 * compact.el: New file.
11256
11257 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11258
11259 * subr.el (eventp): Presume that if it looks vaguely like an event,
11260 it's an event (bug#10190).
11261
11262 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
11263
11264 Enhancements to ppss related code (thanks Stefan).
11265 * progmodes/python.el (python-indent-context)
11266 (python-indent-calculate-indentation, python-indent-dedent-line)
11267 (python-indent-electric-colon, python-nav-forward-block)
11268 (python-mode-abbrev-table)
11269 (python-info-assignment-continuation-line-p): Simplify checks
11270 for ppss context.
11271 (python-info-continuation-line-p): Cleanup.
11272 (python-info-ppss-context): Do not catch 'quote.
11273 (python-info-ppss-context-type)
11274 (python-info-ppss-comment-or-string-p): Simplify.
11275
11276 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
11277
11278 * progmodes/python.el: Enhancements to eldoc support.
11279 (python-info-current-symbol): New function.
11280 (python-eldoc-at-point): Use python-info-current-symbol.
11281 (python-info-current-defun): Fix cornercase on first defun scan.
11282 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11283 and signal error when no inferior python process is available.
11284
11285 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11286
11287 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11288 assume it's always t.
11289 (vc-git-registered): Remove caching, the function is only called
11290 once.
11291 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11292
11293 2012-07-18 Chong Yidong <cyd@gnu.org>
11294
11295 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11296
11297 * simple.el (count-words): Report on narrowing (Bug#9959).
11298
11299 * bindings.el: Bind M-= to count-words.
11300
11301 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11302
11303 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11304
11305 * progmodes/sh-script.el (sh-imenu-generic-expression):
11306 Capture a function with `function' keyword and without parentheses
11307 like "function FOO" (bug#11856).
11308
11309 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11310
11311 * window.el (split-window-sensibly): Make WINDOW argument
11312 optional.
11313
11314 2012-07-18 Chong Yidong <cyd@gnu.org>
11315
11316 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11317
11318 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11319 and make C-x 8 RET exit isearch (Bug#11439).
11320
11321 * international/iso-transl.el: Move isearch-mode-map key
11322 definitions to isearch.el.
11323
11324 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11325
11326 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11327 (eieio-defclass): Use gv-define-setter when possible.
11328
11329 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11330
11331 Reflect recent changes in Fgarbage_collect.
11332 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11333 reflect new format of data returned by Fgarbage_collect.
11334
11335 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11336
11337 New utility functions + python-info-ppss-context fix (Bug#11910).
11338 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11339 (python-info-ppss-comment-or-string-p): New functions.
11340 (python-info-ppss-context): Small fix for string check.
11341
11342 2012-07-17 Juri Linkov <juri@jurta.org>
11343
11344 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11345 (dired-do-async-shell-command): Don't add `*' at the end of the
11346 command (Bug#11815).
11347 (dired-do-shell-command): Doc fix.
11348 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11349 Join the individual commands using either "&" or ";" as the
11350 separator depending on the values of these trailing characters.
11351 At the end re-add the trailing "&". (Bug#10598)
11352
11353 * simple.el (async-shell-command): Sync the interactive spec with
11354 `shell-command'. Doc fix.
11355 (shell-command): Doc fix.
11356
11357 2012-07-17 Juri Linkov <juri@jurta.org>
11358
11359 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11360
11361 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11362
11363 Final renames and doc fixes for movement commands (bug#11899).
11364 * progmodes/python.el (python-nav-beginning-of-statement):
11365 Rename from python-nav-statement-start.
11366 (python-nav-end-of-statement): Rename from
11367 python-nav-statement-end.
11368 (python-nav-beginning-of-block): Rename from
11369 python-nav-block-start.
11370 (python-nav-end-of-block): Rename from python-nav-block-end.
11371
11372 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11373
11374 * progmodes/python.el (python-shell-send-string-no-output):
11375 Allow accept-process-output to quit, keeping shell process ready for
11376 future interactions (Bug#11868).
11377
11378 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11379
11380 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11381
11382 * emacs-lisp/elint.el (elint-find-args-in-code):
11383 Use help-function-arglist, so as to handle lexical byte-code.
11384
11385 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11386 change (bug#11826).
11387
11388 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11389
11390 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11391 Avoid spuriously marking the buffer as modified because of c-is-sws.
11392
11393 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11394 as not-a-comment (bug#11946).
11395
11396 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11397 for uninterned vars.
11398
11399 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11400 Use read-event since we don't really want to read chars but bytes.
11401
11402 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11403 $$..$$ but also $..$ using regexps (bug#11953).
11404 Use tex-verbatim for \url and \path.
11405 (tex-font-lock-keywords): Define as defconst like the others.
11406 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11407
11408 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11409
11410 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11411 alias for insert-char.
11412
11413 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11414
11415 * progmodes/python.el: Simplified imenu implementation.
11416 (python-nav-jump-to-defun): Remove command.
11417 (python-mode-map): Use `imenu' instead.
11418 (python-nav-list-defun-positions-cache)
11419 (python-imenu-include-defun-type, python-imenu-make-tree)
11420 (python-imenu-subtree-root-label, python-imenu-index-alist):
11421 Remove vars.
11422 (python-nav-list-defun-positions, python-nav-read-defun)
11423 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11424 (python-imenu-make-tree, python-imenu-create-index):
11425 Remove functions.
11426 (python-mode): Update to interact with imenu by setting
11427 `imenu-extract-index-name-function' only.
11428
11429 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11430
11431 * progmodes/python.el: Enhancements to navigation commands.
11432 (python-nav-backward-sentence)
11433 (python-nav-forward-sentence): Remove.
11434 (python-nav-backward-statement, python-nav-forward-statement)
11435 (python-nav-statement-start, python-nav-statement-end)
11436 (python-nav-backward-block, python-nav-forward-block)
11437 (python-nav-block-start, python-nav-block-end)
11438 (python-nav-forward-sexp-function)
11439 (python-info-current-line-comment-p)
11440 (python-info-current-line-empty-p): New functions.
11441 (python-indent-context): Use `python-nav-statement-start'.
11442
11443 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11444
11445 * eshell/em-ls.el (eshell/ls): Use `apply'.
11446
11447 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11448 multi-hops, instead of Tramp internals.
11449
11450 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11451
11452 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11453 when F1 and F2 are located on different hosts.
11454
11455 2012-07-14 Chong Yidong <cyd@gnu.org>
11456
11457 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11458 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11459 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11460 (xterm-mouse--read-event-sequence-1000)
11461 (xterm-mouse--read-event-sequence-1006): New functions. For old
11462 mouse protocol, handle M-mouse-X events correctly.
11463 (xterm-mouse-event): New arg specifying mouse protocol.
11464 (turn-on-xterm-mouse-tracking-on-terminal)
11465 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11466 sequence to toggle extended coordinates on newer XTerms.
11467 This appears to be harmless on terminals which do not support this.
11468
11469 2012-07-14 Leo Liu <sdl.web@gmail.com>
11470
11471 Add fringe bitmap indicators for flymake. (Bug#11253)
11472 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11473 (flymake-make-overlay): New arg BITMAP.
11474 (flymake-error-bitmap, flymake-warning-bitmap)
11475 (flymake-fringe-indicator-position): New user variables.
11476
11477 * fringe.el: New bitmap exclamation-mark.
11478
11479 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11480
11481 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11482 also (Bug#7879).
11483
11484 2012-07-14 Chong Yidong <cyd@gnu.org>
11485
11486 * electric.el (electric-pair-post-self-insert-function): Fix pair
11487 insertion in empty-region case (Bug#11520).
11488
11489 2012-07-14 Chong Yidong <cyd@gnu.org>
11490
11491 * bindings.el: Consolidate ctl-x-r-map bindings.
11492 Bind copy-rectangle-as-kill to C-x r w.
11493
11494 * rect.el, register.el: Move bindings to bindings.el.
11495
11496 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11497
11498 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11499
11500 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11501
11502 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11503
11504 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11505
11506 * bindings.el (top): Use `mapc' instead of `mapcar'.
11507
11508 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11509
11510 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11511
11512 * progmodes/sql.el (sql-comint): Suppress the check for program on
11513 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11514 (Bug#11908)
11515
11516 2012-07-13 Chong Yidong <cyd@gnu.org>
11517
11518 * bindings.el: Assign a non-nil permanent-local property to
11519 per-buffer variables which lack a default value (Bug#11930).
11520
11521 * help-fns.el (describe-variable): In the "automatically becomes
11522 local" notice, take note of permanent-local variables.
11523
11524 2012-07-13 Chong Yidong <cyd@gnu.org>
11525
11526 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11527 to allow printing the message when called from Lisp.
11528
11529 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11530 Remove toggle-read-only.
11531
11532 * bs.el (bs-toggle-readonly):
11533 * buff-menu.el (Buffer-menu-toggle-read-only):
11534 Remove with-no-warnings around toggle-read-only.
11535
11536 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11537 Remove with-no-warnings around toggle-read-only.
11538 (ffap-read-only, ffap-read-only-other-window)
11539 (ffap-read-only-other-frame): Callers changed.
11540
11541 * help-mode.el: Don't require view package.
11542 (help-mode-finish): Set buffer-read-only instead of calling
11543 toggle-read-only.
11544
11545 * bindings.el (mode-line-toggle-read-only):
11546 * dired.el (dired-toggle-read-only):
11547 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11548 with non-nil second arg.
11549
11550 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11551 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11552 directly.
11553
11554 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11555
11556 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11557 not incf.
11558
11559 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11560
11561 More CL cleanups and reduction of use of cl.el.
11562 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11563 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11564 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11565 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11566 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11567 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11568 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11569 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11570 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11571 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11572 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11573 * eshell/em-cmpl.el, eshell/em-banner.el:
11574 * calendar/parse-time.el: Use cl-lib.
11575 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11576 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11577 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11578 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11579 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11580 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11581 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11582 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11583 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11584 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11585 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11586 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11587 `lambda' rather than with `quote'.
11588 (eshell-do-opt): Adjust accordingly.
11589 (eshell-process-option): Simplify.
11590 * eshell/esh-var.el:
11591 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11592 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11593 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11594 to `pcase--dontcare'.
11595 * emacs-lisp/cl.el (labels): Mark obsolete.
11596 (cl--letf, letf): Move to cl-lib.
11597 (cl--letf*, letf*): Remove.
11598 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11599 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11600 (cl-progv): Rewrite.
11601 (cl--letf, cl-letf): Move from cl.el.
11602 (cl-letf*): New macro.
11603 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11604
11605 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11606
11607 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11608
11609 2012-07-11 Chong Yidong <cyd@gnu.org>
11610
11611 * vc/log-edit.el (log-edit-vc-backend): New variable.
11612 (log-edit): Doc fix.
11613
11614 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11615 argument of log-edit to set up all local variables.
11616 (vc-start-logentry): New optional arg specifying VC backend.
11617
11618 * vc/vc.el (vc-checkin): Use it.
11619 (vc-deduce-fileset): Handle Log Edit buffers.
11620 (vc-diff): Make first argument optional too.
11621
11622 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11623
11624 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11625
11626 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11627 command, just in case. The function is not needed anymore.
11628 (eshell-external-command): Do not call `eshell-remote-command'.
11629
11630 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 Reduce use of (require 'cl).
11633 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11634 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11635 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11636 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11637 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11638 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11639 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11640 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11641 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11642 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11643 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11644 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11645 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11646 (byte-compile-unfold-bcf, byte-compile-check-variable):
11647 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11648 (byte-compile-nilconstp):
11649 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11650 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11651
11652 * emacs-lisp/gv.el (cond): Make it a valid place.
11653 (if): Simplify slightly.
11654
11655 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11656 (pcase--self-quoting-p): New function.
11657 (pcase--u1): Use it.
11658
11659 2012-07-10 Glenn Morris <rgm@gnu.org>
11660
11661 * emacs-lisp/authors.el (authors-fixed-entries):
11662 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11663
11664 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11665
11666 Rename configure.in to configure.ac (Bug#11603).
11667 * emacs-lisp/authors.el (authors-canonical-file-name):
11668 * progmodes/autoconf.el (autoconf-mode):
11669 Prefer configure.ac to configure.in.
11670
11671 2012-07-08 Chong Yidong <cyd@gnu.org>
11672
11673 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11674 Implement the mouse-1-click-follows-link handling properly.
11675
11676 * info.el (Info-link-keymap): Use follow-link mechanism for
11677 header-line links (Bug#374).
11678
11679 * simple.el (deactivate-mark): Do not set the primary selection
11680 if another program has acquired it (Bug#11772).
11681
11682 2012-07-07 Kevin Ryde <user42@zip.com.au>
11683
11684 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11685 (woman-decode-region): Replace escaped-escapes without destroying
11686 bold or underline (Bug#11552).
11687 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11688
11689 2012-07-07 Chong Yidong <cyd@gnu.org>
11690
11691 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11692 (interprogram-cut-function, interprogram-paste-function):
11693 Mention that we typically mean the clipboard.
11694
11695 2012-07-06 Glenn Morris <rgm@gnu.org>
11696
11697 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11698
11699 * files.el (toggle-read-only): Restrict message to interactive use.
11700
11701 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11702
11703 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11704
11705 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11706
11707 2012-07-06 Glenn Morris <rgm@gnu.org>
11708
11709 * Makefile.in (compile-one-process): Rename from "recompile".
11710
11711 * Makefile.in (bzr-update): "compile" is the same as "recompile
11712 autoloads", but parallelizable, so use that instead.
11713
11714 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11715
11716 * window.el (quit-window): Always restore window height when
11717 it's saved in quit-restore parameter (Bug#11810).
11718
11719 2012-07-06 Glenn Morris <rgm@gnu.org>
11720
11721 * simple.el (kill-whole-line): Doc tweak.
11722
11723 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11724
11725 * files.el (file-relative-name): Compare file names
11726 case-insensitively if on MS-Windows or MS-DOS, or if
11727 read-file-name-completion-ignore-case is non-nil. Don't use
11728 case-fold-search for this purpose. (Bug#11827)
11729
11730 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11731
11732 * calendar/cal-dst.el (calendar-current-time-zone):
11733 Return calendar-current-time-zone-cache if non-nil.
11734
11735 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11736 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11737
11738 * calendar/cal-dst.el (calendar-current-time-zone):
11739 Return calendar-current-time-zone-cache if non-nil.
11740
11741 2012-07-06 Glenn Morris <rgm@gnu.org>
11742
11743 * Makefile.in (cvs-update): Remove old alias.
11744
11745 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11746
11747 Sync with Tramp 2.2.6-pre.
11748
11749 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11750 compatible declaration.
11751
11752 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11753 Protect `list-load-path-shadows' call.
11754
11755 * net/tramp-compat.el (top): Require packages, which aren't
11756 autoloaded anymore for XEmacs. Protect call of
11757 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11758 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11759 it hurts at least for SXEmacs.
11760 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11761 standard-value for `temporary-file-directory'.
11762
11763 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11764 Redirect stderr to /dev/null.
11765 (tramp-sh-handle-write-region): uid and gid can be floats.
11766 Reported by Russell Sim <russell.sim@gmail.com>.
11767 (tramp-sh-handle-vc-registered): Hide errors.
11768 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11769 and `start-file-process'.
11770 (tramp-maybe-open-connection): Check also whether `non-essential'
11771 is bound.
11772
11773 2012-07-04 Chong Yidong <cyd@gnu.org>
11774
11775 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11776 (xml-parse-tag): Likewise, and avoid changing entity tables.
11777 (xml-syntax-table): Define from scratch, making sure not to give
11778 x2000 and other Unicode spaces whitespace syntax, since those are
11779 not spaces in XML.
11780 (xml-parse-fragment): Delete unused function.
11781 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11782 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11783 (xml-entity-ref, xml-pe-reference-re)
11784 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11785 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11786 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11787 (xml-entity-value-re): Use syntax references in regexps where
11788 possible; no need to define inside a let-binding.
11789 (xml-parse-dtd): Use xml-pe-reference-re.
11790 (xml-entity-or-char-ref-re): New defconst.
11791 (xml-parse-string, xml-substitute-special): Use it.
11792
11793 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11796 (find-file--read-only): New function.
11797 (find-file-read-only, find-file-read-only-other-window)
11798 (find-file-read-only-other-frame): Use it.
11799 (insert-file-contents-literally): Don't `fset'.
11800 (get-free-disk-space): Use locate-dominating-file.
11801
11802 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11803 function is already compiled.
11804
11805 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11806
11807 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11808
11809 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11810 files on the same host.
11811
11812 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11813
11814 * help-fns.el (describe-function-1): Only call
11815 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11816
11817 2012-07-03 Chong Yidong <cyd@gnu.org>
11818
11819 * xml.el: Protect parser against XML bombs.
11820 (xml-entity-expansion-limit): New variable.
11821 (xml-parse-string, xml-substitute-special): Use it.
11822 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11823
11824 2012-07-03 Glenn Morris <rgm@gnu.org>
11825
11826 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11827 Allow linking to specific messages in debbugs reports (eg 123#5).
11828
11829 2012-07-02 Chong Yidong <cyd@gnu.org>
11830
11831 * xml.el: Fix entity and character reference expansion, allowing
11832 them to expand into markup as per XML spec.
11833 (xml-default-ns): New variable.
11834 (xml-entity-alist): Use XML spec definitions for lt and amp.
11835 (xml-parse-region): Make first two arguments optional.
11836 Discard text properties.
11837 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11838 All callers changed.
11839 (xml-parse-tag): Call xml-parse-tag-1. For backward
11840 compatibility, this function should not modify buffer contents.
11841 (xml-parse-tag-1): Fix opening-tag regexp.
11842 (xml-parse-string): Rewrite, handling entity and character
11843 references properly.
11844 (xml--entity-replacement-text): Signal an error if a parameter
11845 entity is undefined.
11846
11847 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * comint.el (comint-output-filter): Filter out repeated prompts.
11850
11851 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11852 and file-name-absolute-p.
11853 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11854 internal calls.
11855
11856 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11857
11858 Spelling fixes.
11859 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11860 Rename from byte-compile--refiy-function. All uses changed.
11861
11862 2012-07-01 Chong Yidong <cyd@gnu.org>
11863
11864 * xml.el (xml--parse-buffer): New function. Move most of
11865 xml-parse-region here.
11866 (xml-parse-region): Copy region into a temporary buffer, since
11867 parameter entity substitution requires changing buffer contents.
11868 Use xml--parse-buffer.
11869 (xml-parse-file): Use xml--parse-buffer.
11870 (xml-parse-dtd): Make parameter entity substitution work right.
11871 Use proper regexps for ELEMENT declarations (Bug#7172).
11872
11873 2012-06-30 Glenn Morris <rgm@gnu.org>
11874
11875 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11876
11877 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11878 Remove outdated and unnecessary dbus declarations.
11879
11880 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11881
11882 * emacs-lisp/timer.el (timer-until): Subtract results of
11883 float-time, instead of taking float-time of the result of
11884 time-subtract, since float-time signals an error for negative time
11885 arguments.
11886
11887 2012-06-30 Chong Yidong <cyd@gnu.org>
11888
11889 * xml.el (xml-*-re): Convert defvars into defconsts, and
11890 eval-and-compile them so eval-and-compile works on derivatives.
11891 (xml--entity-replacement-text): Use eval-and-comple.
11892
11893 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11894
11895 * vc/vc-git.el (vc-git-registered): Use cache property
11896 `git-registered'.
11897 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11898 `vc-git-working-revision' in order to benefit from the cache.
11899 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11900
11901 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11902
11903 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11904 removed (likely outside Emacs). (Bug#11757)
11905
11906 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11907
11908 * emacs-lisp/cl-lib.el: Require macroexp.
11909
11910 2012-06-30 Chong Yidong <cyd@gnu.org>
11911
11912 * xml.el: Implement XML parameter entities.
11913 (xml-parameter-entity-alist): New variable.
11914 (xml-parse-region, xml-parse-fragment): Preserve previous values
11915 of xml-entity-alist and xml-parameter-entity-alist, so that
11916 repeated calls on different documents do not change them.
11917 (xml-parse-tag): Fix doctype regexp.
11918 (xml--entity-replacement-text): New function.
11919 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11920 properly requires url retrieval which is unimplemented.
11921 (xml-escape-string): Doc fix.
11922
11923 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11924
11925 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11926
11927 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11928
11929 * fringe.el (fringe-mode): Doc fix.
11930
11931 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11932
11933 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11934 is non-nil.
11935 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11936 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11937
11938 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11939
11940 * calendar/cal-dst.el (calendar-current-time-zone):
11941 Return calendar-current-time-zone-cache if non-nil.
11942
11943 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11944
11945 * progmodes/which-func.el (which-func-format):
11946 Add mouse-face. (Bug#11698)
11947
11948 2012-06-29 Leo Liu <sdl.web@gmail.com>
11949
11950 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11951
11952 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * minibuffer.el (minibuffer-confirm-exit-commands):
11955 Add completion-at-point (bug#11725).
11956
11957 2012-06-29 Glenn Morris <rgm@gnu.org>
11958
11959 * progmodes/f90.el (f90-font-lock-keywords-2):
11960 Add some preprocessor elements. (Bug#10499)
11961
11962 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11963
11964 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11965 Use syntax-propertize (bug#11739).
11966
11967 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11968
11969 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11970
11971 2012-06-28 Julien Danjou <julien@danjou.info>
11972
11973 * term.el (term-handle-colors-array): Use a set of new faces to
11974 color the terminal. Also uses :inverse-video property.
11975 (term-default-fg-color): Set to nil by default, deprecate in favor
11976 of `term-face'.
11977 (term-default-bg-color): Set to nil by default, deprecate in favor
11978 of `term-face'.
11979 (term-current-face): Use `term-face' by default.
11980 (term-bold-attribute): Variable deleted.
11981
11982 2012-06-28 Glenn Morris <rgm@gnu.org>
11983
11984 * simple.el (completion-list-mode-finish):
11985 Don't use toggle-read-only. (Since completion-list-mode has
11986 a special mode-class, it wasn't doing anything extra anyway.)
11987
11988 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11989
11990 Make inlining of other-mode interpreted functions work (bug#11799).
11991 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11992 (byte-compile): Use it to fix compilation of lexical-binding closures.
11993 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11994 function, if needed.
11995
11996 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11997
11998 * help-mode.el (help-make-xrefs): Don't just withstand
11999 cyclic-variable-indirection but any error in documentation-property.
12000
12001 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12002 memory use.
12003 * bindings.el (bindings--define-key): New function.
12004 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12005 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12006 * bindings.el: Use it to purecopy define-key bindings.
12007
12008 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12009
12010 * emacs-lisp/cl.el (flet): Mark obsolete.
12011 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12012 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12013 * progmodes/js.el (js-c-fill-paragraph):
12014 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12015 (ebrowse-switch-member-buffer-to-derived-class):
12016 * play/5x5.el (5x5-solver): Use cl-flet.
12017
12018 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12019 (cl--symbol-function): New macro.
12020 (cl--letf, cl--letf*): Use it.
12021
12022 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12023 Strip "toggle-" if any.
12024
12025 2012-06-27 Glenn Morris <rgm@gnu.org>
12026
12027 * info.el (Info-default-directory-list): Move here from paths.el.
12028 * paths.el: Remove file, which is now empty.
12029 * loadup.el: No longer load "paths".
12030
12031 * custom.el (custom-initialize-delay): Doc fix.
12032
12033 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12034 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12035 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12036 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12037 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12038 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12039 * eshell/eshell.el (eshell-defgroup): Remove alias.
12040
12041 2012-06-27 Chong Yidong <cyd@gnu.org>
12042
12043 * help.el (help-enable-auto-load): New variable.
12044
12045 * help-fns.el (help-fns--autoloaded-p): New function.
12046 (describe-function-1): Refer to a function as "autoloaded" if it
12047 was autoloaded at any time in the past. Perform autoloading if
12048 help-enable-auto-load is non-nil.
12049
12050 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12051
12052 * makefile.w32-in (compile, compile-always): Depend on
12053 update-subdirs, not on subdirs.el. Otherwise, several different
12054 sub-targets of 'bootstrap' running in parallel could
12055 simultaneously write to subdirs.el, producing a garbled file.
12056
12057 2012-06-26 Sam Steingold <sds@gnu.org>
12058
12059 * files.el (file-name-base): New convenience function.
12060 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12061 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12062 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12063 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12064 * textmodes/ispell.el, textmodes/reftex-ref.el:
12065 * textmodes/tex-mode.el: Use it.
12066 Did not touch cedet and org because they are maintained elsewhere.
12067
12068 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12069
12070 * calendar/calendar.el (calendar-exit): Don't try to delete or
12071 iconify last frame. See:
12072 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12073
12074 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12075
12076 * server.el (server-process-filter): Remember dir in the
12077 process's `server-client-directory' properties.
12078
12079 2012-06-24 Chong Yidong <cyd@gnu.org>
12080
12081 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12082 non-tag text.
12083
12084 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12085
12086 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12087
12088 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12089
12090 * help-fns.el (describe-variable): Don't croak when doc is not found.
12091 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12092 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12093 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12094 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12095 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12096 ((lambda ..) ..).
12097 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12098
12099 2012-06-23 Chong Yidong <cyd@gnu.org>
12100
12101 * info.el (Info-mouse-follow-link): Accept symbol values of
12102 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12103 (Info-fontify-node): Use Info-link-keymap for all navigation
12104 buttons, with link-args property to perform the desired action.
12105 (Info-link-keymap): Doc fix.
12106 (Info-next-link-keymap, Info-prev-link-keymap)
12107 (Info-up-link-keymap): Delete now-unused keymaps.
12108
12109 2012-06-23 Chong Yidong <cyd@gnu.org>
12110
12111 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12112
12113 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12114 system abbrevs.
12115
12116 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12117
12118 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12119
12120 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12121 (bug#11719).
12122
12123 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12124 the requote function doesn't work properly (bug#11714).
12125
12126 2012-06-23 Glenn Morris <rgm@gnu.org>
12127
12128 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12129
12130 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12131
12132 Further GV/CL cleanups.
12133 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12134 gv-expander.
12135 (gv--defun-declaration): New function.
12136 (defun-declarations-alist): Use it.
12137 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12138 (gv-place): Autoload.
12139 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12140 original definition of dotimes and dolist.
12141 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12142 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12143 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12144 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12145 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12146 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12147 to the function's definition.
12148 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12149 * window.el:
12150 * files.el:
12151 * faces.el:
12152 * env.el: Don't use CL.
12153
12154 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12155
12156 Support higher-resolution time stamps (Bug#9000).
12157
12158 * calendar/time-date.el (with-decoded-time-value): New arg
12159 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12160 (encode-time-value): New optional arg PICO. New type 3.
12161 (time-to-seconds) [!float-time]: Support the new picoseconds
12162 component if it's used.
12163 (seconds-to-time, time-subtract, time-add):
12164 Support ps-resolution time stamps as well.
12165
12166 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12167 (timerp): Timer vectors now have length 9, not 8.
12168 (timer--time): Support new-style (4-part) time stamps.
12169 (timer-next-integral-multiple-of-time): Time stamps now have
12170 picosecond resolution, so take a bit more care about rounding.
12171 (timer-relative-time, timer-inc-time): New optional arg psecs.
12172 (timer-set-time-with-usecs): Set psecs to 0.
12173 (timer--activate): Check psecs component, too.
12174
12175 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12176
12177 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12178
12179 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12180 Move the non-essential binding to the post/pre-command-hook where it is
12181 more obviously correct.
12182
12183 * subr.el (read-passwd): Don't use a history at all.
12184 * savehist.el (savehist-save): Remove password saved accidentally
12185 because of the above bug.
12186
12187 2012-06-22 Bastien Guerry <bzg@gnu.org>
12188
12189 * files.el (toggle-read-only): Display a message telling whether
12190 the buffer is read-only or not (bug#11726).
12191
12192 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12193
12194 * emacs-lisp/gv.el: New file.
12195 * subr.el (push, pop): Extend to generalized variables.
12196 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12197 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12198 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12199 gv-define-simple-setter, and gv-define-expander.
12200 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12201 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12202 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12203 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12204 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12205 gv-letplace.
12206 (cl-defstruct): Don't define setf-method any more.
12207 * emacs-lisp/cl.el (flet): Don't autoload.
12208 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12209 (define-setf-expander, defsetf, define-modify-macro)
12210 (cl-struct-setf-expander): Move from cl-lib.el.
12211 * emacs-lisp/syntax.el:
12212 * emacs-lisp/ewoc.el:
12213 * emacs-lisp/smie.el:
12214 * emacs-lisp/cconv.el:
12215 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12216 (timer--time): Use gv-define-simple-setter.
12217 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12218 to avoid coding-system problems in subr.el. Adjust all users.
12219 (macroexp--maxsize, macroexp-small-p): New functions.
12220 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12221 * scroll-bar.el (scroll-bar-mode):
12222 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12223 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12224 * winner.el (winner-configuration, winner-make-point-alist)
12225 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12226 * files.el (locate-file-completion-table): Avoid list*.
12227
12228 2012-06-22 Chong Yidong <cyd@gnu.org>
12229
12230 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12231 (dired-create-files): Doc fix (Bug#11329).
12232 (dired-do-copy): Doc fix (Bug#11334).
12233 (dired-mark-read-string): Doc fix (Bug#11553).
12234
12235 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12236 Doc fix (Bug#11326).
12237 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12238 (dired-dwim-target): Doc fix.
12239
12240 * wdired.el (wdired-mode): Doc fix.
12241
12242 2012-06-22 Glenn Morris <rgm@gnu.org>
12243
12244 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12245 (pcmpl-rpm-cache-stamp-file): New constant.
12246 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12247 (pcmpl-rpm-packages): Optionally cache list of packages.
12248
12249 * pcmpl-rpm.el (pcmpl-rpm): New group.
12250 (pcmpl-rpm-query-options): New option.
12251 (pcmpl-rpm-packages): No need to inline it.
12252 Use pcmpl-rpm-query-options.
12253
12254 * calendar/calendar.el (calendar-in-read-only-buffer):
12255 Avoid some needless mode changes.
12256
12257 2012-06-21 Chong Yidong <cyd@gnu.org>
12258
12259 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12260 (desktop-path): Remove . from the default value (Bug#10977).
12261 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12262
12263 2012-06-20 Chong Yidong <cyd@gnu.org>
12264
12265 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12266
12267 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12268
12269 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12270 (bug#11201).
12271
12272 2012-06-20 Chong Yidong <cyd@gnu.org>
12273
12274 * term.el (term-window-width): Handle the case of a missing right
12275 fringe (Bug#8837).
12276 (term-check-size): Use window-text-height (Bug#5445).
12277 (term-mode): Use define-derived-mode. Minor cleanups.
12278 Set font-lock-defaults (Bug#7692).
12279 (term-move-columns, term-insert-char, term-emulate-terminal)
12280 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12281
12282 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12283
12284 * net/ange-ftp.el (ange-ftp-get-passwd):
12285 Bind `enable-recursive-minibuffers'.
12286 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12287
12288 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12289
12290 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12291
12292 2012-06-19 Glenn Morris <rgm@gnu.org>
12293
12294 * progmodes/python.el (python-mode): Derive from prog-mode.
12295
12296 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12297
12298 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12299 (edt-user-menu-bar-update-buffers): New functions.
12300 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12301
12302 2012-06-19 Chong Yidong <cyd@gnu.org>
12303
12304 * subr.el (with-selected-window): Preserve the selected window's
12305 terminal's top-frame (Bug#4702).
12306
12307 * window.el (save-selected-window): Likewise.
12308
12309 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12310
12311 * progmodes/python.el (python-rx-constituents): Move backquote.
12312 (python-skeleton-define, python-define-auxiliary-skeleton):
12313 Use `declare'.
12314
12315 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12316
12317 * minibuffer.el (read-file-name-default): Revert the patch from
12318 2012-06-17.
12319
12320 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12321
12322 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12323 (pcase--u1, pcase--q1): Don't use apply-partially.
12324
12325 2012-06-18 Glenn Morris <rgm@gnu.org>
12326
12327 * progmodes/python.el (python-proc, python-buffer)
12328 (python-send-receive, python-send-string): Fix obsolete versions.
12329
12330 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12331
12332 * window.el (special-display-p): Completely remove stringp
12333 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12334
12335 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12336
12337 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12338
12339 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12340
12341 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12342 * net/tramp-sh.el (tramp-maybe-open-connection):
12343 Throw if `non-essential' is non-nil.
12344
12345 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12346
12347 * window.el (special-display-p): Signal an error if BUFFER-NAME
12348 is not a string (Bug#11713).
12349
12350 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12351
12352 * progmodes/python.el (python-info-beginning-of-backslash):
12353 Rename from python-info-beginning-of-backlash, as a spelling fix.
12354
12355 2012-06-17 Chong Yidong <cyd@gnu.org>
12356
12357 * term.el (term-emulate-terminal): If term-check-size is called,
12358 move point to the process mark without resetting point (Bug#4635).
12359
12360 2012-06-17 Glenn Morris <rgm@gnu.org>
12361
12362 * international/mule-cmds.el (mule-menu-keymap)
12363 (set-language-environment, set-locale-environment): Doc tweaks.
12364
12365 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12366
12367 * cus-face.el (custom-face-attributes): Add wave-style underline
12368 attribute.
12369 * faces.el (set-face-attribute): Update docstring to describe
12370 wave-style underline attribute.
12371
12372 2012-06-16 Chong Yidong <cyd@gnu.org>
12373
12374 * term/xterm.el (terminal-init-xterm): Discard input before
12375 querying background mode (Bug#10959).
12376
12377 2012-06-16 Stefan Merten <smerten@oekonux.de>
12378
12379 * textmodes/rst.el: Added and corrected some comments.
12380 (rst-re-alist-def): Improve symbol syntax.
12381 (rst-mode-syntax-table): Correct syntax entries.
12382 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12383 (rst-official-version, rst-official-cvs-rev): Update version
12384 information.
12385
12386 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12387
12388 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12389 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12390
12391 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
12392
12393 * progmodes/python.el: New python.el merge.
12394 (python-guess-indent): Obsolete var.
12395 (python-indent-guess-indent-offset): New defcustom.
12396 (python-indent): Obsolete var.
12397 (python-indent-offset): New defcustom.
12398 (python-python-command, python-jython-command): Delete var.
12399 (python-shell-interpreter): New defcustom.
12400 (python-pdbtrack-do-tracking-p): Delete var.
12401 (python-pdbtrack-activate): New defcustom.
12402 (python-use-skeletons): Obsolete var.
12403 (python-skeleton-autoinsert): New defcustom.
12404 (inferior-python-filter-regexp, python-continuation-offset)
12405 (python-honour-comment-indentation, python-indent-string-contents)
12406 (python-jython-packages, python-mode-hook)
12407 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12408 (python-shell-prompt-alist)
12409 (python-source-modes): Delete defcustoms.
12410 (python-check-buffer-name, python-eldoc-setup-code)
12411 (python-eldoc-string-code, python-ffap-setup-code)
12412 (python-ffap-string-code, python-fill-comment-function)
12413 (python-fill-decorator-function, python-fill-paren-function)
12414 (python-fill-string-function, python-imenu-include-defun-type)
12415 (python-imenu-make-tree, python-imenu-subtree-root-label)
12416 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12417 (python-shell-compilation-regexp-alist)
12418 (python-shell-completion-module-string-code)
12419 (python-shell-completion-pdb-string-code)
12420 (python-shell-completion-setup-code)
12421 (python-shell-completion-string-code)
12422 (python-shell-enable-font-lock, python-shell-exec-path)
12423 (python-shell-extra-pythonpaths)
12424 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12425 (python-shell-process-environment)
12426 (python-shell-prompt-block-regexp)
12427 (python-shell-prompt-output-regexp)
12428 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12429 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12430 (python-shell-virtualenv-path): New defcustoms.
12431 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12432 (inferior-python-mode-syntax-table, python--prompt-regexp)
12433 (python-buffer, python-command python-python-command)
12434 (python-default-template, python-imports, python-indent-index)
12435 (python-indent-list, python-indent-list-length)
12436 (python-mode-running, python-pdbtrack-is-tracking-p)
12437 (python-preoutput-continuation, python-preoutput-leftover)
12438 (python-preoutput-result, python-preoutput-skip-next-prompt)
12439 (python-prev-dir/file, python-recursing)
12440 (python-saved-check-command, python-version-checked)
12441 (python-which-func-length-limit)
12442 (view-return-to-alist): Delete vars.
12443 (python-check-custom-command, python-dotty-syntax-table)
12444 (python-imenu-index-alist, python-indent-current-level)
12445 (python-indent-dedenters, python-indent-levels)
12446 (python-nav-beginning-of-defun-regexp)
12447 (python-nav-list-defun-positions-cache)
12448 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12449 (python-shell-internal-buffer)
12450 (python-skeleton-available): New vars.
12451 (def-python-skeleton): Delete macro.
12452 (python-skeleton-define): New macro.
12453 (python-define-auxiliary-skeleton, python-rx): New macros.
12454 (python-insert-class): Delete command.
12455 (python-skeleton-class): New command.
12456 (python-insert-def): Delete command.
12457 (python-skeleton-def): New command.
12458 (python-insert-for): Delete command.
12459 (python-skeleton-for): New command.
12460 (python-insert-if): Delete command.
12461 (python-skeleton-if): New command.
12462 (python-insert-try/except, python-insert-try/finally): Delete commands.
12463 (python-skeleton-try): New command.
12464 (python-insert-while): Delete command.
12465 (python-skeleton-while): New command.
12466 (python-backspace): Delete command.
12467 (python-indent-dedent-line-backspace): New command.
12468 (python-electric-colon): Delete command.
12469 (python-indent-electric-colon): New command.
12470 (python-guess-indent): Delete command.
12471 (python-indent-guess-indent-offset): New command.
12472 (python-shift-left): Delete command.
12473 (python-indent-shift-left): New command.
12474 (python-shift-right): Delete command.
12475 (python-indent-shift-right): New command.
12476 (python-find-function): Delete command.
12477 (python-nav-jump-to-defun): New command.
12478 (python-next-statement): Delete command.
12479 (python-nav-forward-sentence): New command.
12480 (python-previous-statement): Delete command.
12481 (python-nav-backward-sentence): New command.
12482 (python-fill-paragraph): Delete command.
12483 (python-fill-paragraph-function): New command.
12484 (python-send-buffer): Delete command.
12485 (python-shell-send-buffer): New command.
12486 (python-send-defun): Delete command.
12487 (python-shell-send-defun): New command.
12488 (python-send-region, python-send-region-and-go): Delete commands.
12489 (python-shell-send-region)
12490 (python-shell-switch-to-shell): New commands.
12491 (python-send-string): Delete command.
12492 (python-shell-send-string): New command.
12493 (python-switch-to-python): Delete command.
12494 (python-shell-switch-to-shell): New command.
12495 (python-describe-symbol): Delete command.
12496 (python-eldoc-at-point): New command.
12497 (python--set-prompt-regexp, python-args-to-list)
12498 (python-after-info-look, python-check-version)
12499 (python-check-comint-prompt, python-find-imports)
12500 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12501 (python-unload-function, python-expand-template)
12502 (python-maybe-jython, python-preoutput-filter)
12503 (python-pdbtrack-get-source-buffer)
12504 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12505 (python-pdbtrack-toggle-stack-tracking)
12506 (python-pdbtrack-track-stack-file, python-initial-text)
12507 (python-first-word, python-comment-line-p, python-send-command)
12508 (python-setup-brm, python-sentinel, python-set-proc)
12509 (python-skip-out, python-input-filter, python-outdent-p)
12510 (python-outline-level, python-backslash-continuation-line-p)
12511 (python-end-of-block, python-end-of-statement, python-mark-block)
12512 (python-beginning-of-block, python-beginning-of-statement)
12513 (python-blank-line-p, python-beginning-of-string)
12514 (python-open-block-statement-p): Delete functions.
12515 (python-indent-line, python-indent-line-1): Delete functions.
12516 (python-indent-line): New function.
12517 (python-indentation-levels): Delete function.
12518 (python-indent-calculate-levels): New function.
12519 (python-proc): Delete function.
12520 (python-shell-get-process): New function.
12521 (python-send-receive): Delete function.
12522 (python-shell-send-string-no-output): New function.
12523 (python-module-path): Delete function.
12524 (python-ffap-module-path): New function.
12525 (python-completion-at-point)
12526 (python-symbol-completions): Delete functions.
12527 (python-completion-complete-at-point): New function.
12528 (python-load-file): Delete function.
12529 (python-shell-send-file): New function.
12530 (python-calculate-indentation): Delete function.
12531 (python-indent-calculate-indentation): New function.
12532 (python-skip-comments/blanks): Delete function.
12533 (python-util-forward-comment): New function.
12534 (python-continuation-line-p): Delete function.
12535 (python-info-continuation-line-p): New function.
12536 (python-which-func, python-current-defun): Delete function.
12537 (python-info-current-defun): New function.
12538 (python-beginning-of-defun): Delete function.
12539 (python-nav-beginning-of-defun): New function.
12540 (python-close-block-statement-p)
12541 (python-block-end-p): Delete function.
12542 (python-info-closing-block): New function.
12543 (python-comint-output-filter-function)
12544 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12545 (python-fill-comment, python-fill-decorator, python-fill-paren)
12546 (python-fill-string, python-imenu-make-element-tree)
12547 (python-imenu-make-tree, python-imenu-tree-assoc)
12548 (python-indent-context, python-indent-dedent-line)
12549 (python-indent-line-function)
12550 (python-indent-post-self-insert-function)
12551 (python-indent-toggle-levels)
12552 (python-info-assignment-continuation-line-p)
12553 (python-info-beginning-of-backlash)
12554 (python-info-block-continuation-line-p)
12555 (python-info-closing-block-message)
12556 (python-info-line-ends-backslash-p)
12557 (python-info-looking-at-beginning-of-defun)
12558 (python-info-ppss-context, python-info-ppss-context-type)
12559 (python-nav-list-defun-positions, python-nav-read-defun)
12560 (python-nav-sentence-end, python-nav-sentence-start)
12561 (python-pdbtrack-comint-output-filter-function)
12562 (python-pdbtrack-set-tracked-buffer)
12563 (python-shell-calculate-exec-path)
12564 (python-shell-calculate-process-environment)
12565 (python-shell-completion--do-completion-at-point)
12566 (python-shell-completion--get-completions)
12567 (python-shell-completion-complete-at-point)
12568 (python-shell-completion-complete-or-indent)
12569 (python-shell-get-or-create-process)
12570 (python-shell-get-process-name)
12571 (python-shell-internal-get-or-create-process)
12572 (python-shell-internal-get-process-name)
12573 (python-shell-internal-send-string, python-shell-make-comint)
12574 (python-shell-parse-command, python-shell-send-setup-code)
12575 (python-skeleton-add-menu-items)
12576 (python-util-clone-local-variables, python-util-position)
12577 (run-python-internal, python-indentation-levels)
12578 (python-nav-beginning-of-defun)
12579 (python-completion-complete-at-point): New functions.
12580 (run-python): Change arguments. New API requirements.
12581
12582 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12583
12584 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12585 (bug#11649).
12586
12587 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12588 (macroexp--expand-all): Use it.
12589
12590 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12591 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12592 Use `cl-function' instead.
12593
12594 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12595
12596 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12597 Suggested by Stefan Monnier while discussing bug#11657.
12598
12599 2012-06-14 Sam Steingold <sds@gnu.org>
12600
12601 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12602
12603 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12604
12605 * play/doctor.el (doctor-doc): Remove parameter and use
12606 doctor-sent instead of sent.
12607 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12608
12609 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12610
12611 * files.el: Require cl-lib.
12612 (file-name-non-special): Replace case -> cl-case.
12613
12614 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12615
12616 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12617 mapping from #' to function*.
12618
12619 2012-06-13 Chong Yidong <cyd@gnu.org>
12620
12621 * mouse.el (mouse-drag-track): Do not set the mark if the user
12622 releases the mouse without selecting anything (Bug#11588).
12623
12624 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12625
12626 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12627 as well (bug#11646).
12628
12629 * loadup.el: Count byte-code functions as well.
12630
12631 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12632 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12633
12634 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12635 (bug#11649). Add cl-defun and cl-defmacro.
12636
12637 2012-06-13 Drew Adams <drew.adams@oracle.com>
12638
12639 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12640 Fix last change.
12641
12642 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12643
12644 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12645 Otherwise, it blocks in batch mode.
12646
12647 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12648
12649 * help-mode.el (bookmark-make-record-default): Declare.
12650
12651 2012-06-13 Chong Yidong <cyd@gnu.org>
12652
12653 * emacs-lisp/package.el (list-packages): Compute a list of
12654 packages that are newly-available since the last list-packages
12655 invocation.
12656 (package-menu--new-package-list): New var.
12657 (package-menu--generate, package-menu--print-info)
12658 (package-menu--status-predicate, package-menu-mark-install):
12659 Handle new status label "new".
12660
12661 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12662
12663 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12664 conversion to backquotes.
12665
12666 2012-06-12 Chong Yidong <cyd@gnu.org>
12667
12668 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12669 Rename from gud-inhibit-global-bindings.
12670
12671 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12672
12673 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12674 hook from nxml-glyph-set-hook.
12675
12676 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12677 declaration.
12678
12679 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12680
12681 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12682 Convert to defcustom.
12683
12684 2012-06-12 Drew Adams <drew.adams@oracle.com>
12685
12686 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12687 New functions.
12688 (help-mode): Use them.
12689
12690 2012-06-11 Glenn Morris <rgm@gnu.org>
12691
12692 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12693 Use preprocessor face for directives.
12694 (fortran-directive-re): Doc fix.
12695
12696 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12697
12698 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12699 conversion to backquotes (bug#11652).
12700
12701 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12702 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12703 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12704 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12705 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12706 (cl-ninth, cl-tenth): Mark them as inlinable.
12707 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12708 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12709 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12710 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12711 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12712 (cl-list*, cl-adjoin): Don't put an autoload manually.
12713 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12714 (cl--compiler-macro-list*): Add autoload cookie.
12715 (cl--compiler-macro-cXXr): New function.
12716
12717 * help-fns.el (help-fns--compiler-macro): New function extracted from
12718 describe-function-1; follow aliases and use `compiler-macro' property.
12719 (describe-function-1): Use it.
12720
12721 2012-06-11 Chong Yidong <cyd@gnu.org>
12722
12723 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12724 is uninstalled, if imagemagick is installed.
12725
12726 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12727
12728 * emacs-lisp/cl-lib.el: Use lexical-binding.
12729 (cl-map-extents, cl-maclisp-member): Remove.
12730 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12731 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12732 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12733 * emacs-lisp/cl-extra.el: Use lexical-binding.
12734 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12735 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12736 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12737 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12738 * emacs-lisp/cl-seq.el: Use lexical-binding.
12739 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12740 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12741 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12742 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12743 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12744 CL's internals.
12745
12746 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12747
12748 Sync with Tramp 2.2.6-pre.
12749
12750 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12751 `print-length' and `print-level' to nil, in order to avoid
12752 truncation. Reported by Christopher Schmidt
12753 <christopher@ristopher.com>.
12754
12755 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12756
12757 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12758 New defmacro.
12759 (tramp-compat-copy-directory): Add optional argument
12760 COPY-CONTENTS. It is not handled yet.
12761
12762 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12763 (tramp-ftp-file-name-p): Simplify.
12764
12765 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12766 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12767 connection vector.
12768
12769 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12770 (tramp-methods): Do not use `tramp-password-end-of-line'.
12771 (tramp-completion-function-alist-putty): Handle UNIX case.
12772 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12773 (tramp-do-file-attributes-with-stat)
12774 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12775 gid as real numbers. They could run out of integer range on cygwin.
12776 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12777 (tramp-sh-handle-expand-file-name): Handle hops.
12778 (tramp-open-connection-setup-interactive-shell):
12779 Use `tramp-cleanup'. Move check for busyboxes ...
12780 (tramp-find-shell): ... here. Simplify implementation.
12781 Set "remote-shell" property also for alternative shells.
12782 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12783 If failing, a regular file would be written otherwise.
12784 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12785 (tramp-find-inline-encoding): Cache the coding commands in the
12786 process cache. Apply test command on the remote side, if defined.
12787 (tramp-find-inline-compress): Cache the compress commands in the
12788 process cache.
12789 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12790 when requested. Handle hops.
12791 (tramp-current-connection): New defvar.
12792 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12793 Throw `suppress', if there was a failed connection shortly before.
12794 Handle user interrupt. (Bug#10187)
12795 (tramp-get-inline-compress, tramp-get-inline-coding):
12796 Read connection properties from the process cache.
12797
12798 * net/tramp-smb.el (tramp-smb-server-version)
12799 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12800 New defconsts.
12801 (tramp-smb-prompt): Extend for powershell prompt.
12802 (tramp-smb-file-name-handler-alist): Add handlers for
12803 `process-file', `shell-command' and `start-file-process'.
12804 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12805 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12806 (tramp-smb-file-name-p): Simplify.
12807 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12808 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12809 (tramp-smb-shell-quote-argument): New defuns.
12810 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12811 Implement using "tar". By this, time-stamps are preserved.
12812 (tramp-smb-handle-copy-file): Handle also the case of directories.
12813 (tramp-smb-do-file-attributes-with-stat)
12814 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12815 Use `tramp-get-connection-buffer').
12816 (tramp-smb-handle-rename-file): Use "rename", when source and
12817 target are on the same share.
12818 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12819 Use `tramp-smb-server-version'.
12820 (tramp-smb-wait-for-output): Remove prompt.
12821
12822 * net/tramp.el (top): Require 'cl.
12823 (tramp-methods, tramp-rsh-end-of-line):
12824 Remove `tramp-password-end-of-line' from docstring.
12825 (tramp-save-ad-hoc-proxies): New defcustom.
12826 (tramp-completion-function-alist): Adapt docstring.
12827 (tramp-default-password-end-of-line): Remove defcustom.
12828 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12829 (tramp-user-regexp, tramp-file-name-regexp-unified)
12830 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12831 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12832 (tramp-remote-file-name-spec-regexp): New defconst.
12833 (tramp-file-name-structure): Extend structure for hops.
12834 (tramp-get-method-parameter): Move up.
12835 (tramp-file-name-p, tramp-dissect-file-name)
12836 (with-parsed-tramp-file-name): Handle hops.
12837 (tramp-file-name-hop): New defun.
12838 (tramp-make-tramp-file-name): New optional arg HOP.
12839 (tramp-message-show-progress-reporter-message): New defvar.
12840 (tramp-with-progress-reporter): Use it. We cannot use
12841 `tramp-message-show-message' here, because this suppresses also
12842 error buffers.
12843 (tramp-error-with-buffer): Suppress buffer view, if
12844 `tramp-message-show-message' is nil.
12845 Use `tramp-get-connection-buffer'.
12846 (tramp-cleanup): New defun.
12847 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12848 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12849 an error unchanged.
12850 (tramp-completion-handle-file-name-all-completions): Handle hops.
12851 Fix an error when called from ido.
12852 (tramp-completion-dissect-file-name): Use better local variable
12853 name. Add hop to the vector.
12854 (tramp-handle-insert-file-contents): Use progress-reporter for the
12855 whole scenario.
12856 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12857 to `t'.
12858 (tramp-check-for-regexp): Simplify search.
12859 (tramp-enter-password): Remove it. Move implementation ...
12860 (tramp-action-password): ... here.
12861 (tramp-mode-string-to-int, tramp-local-host-p)
12862 (tramp-make-tramp-temp-file, tramp-read-passwd)
12863 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12864 Set tramp-autoload cookie.
12865
12866 * net/trampver.el: Update release number.
12867
12868 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12869 Michael Albinus <michael.albinus@gmx.de>
12870
12871 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12872 (tramp-parse-group, tramp-parse-file)
12873 (tramp-parse-shostkeys-sknownhosts): New defuns.
12874 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12875 (tramp-parse-shosts-group, tramp-parse-sconfig)
12876 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12877 (tramp-parse-sknownhosts, tramp-parse-hosts)
12878 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12879 Use them.
12880 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12881 (tramp-parse-putty-group): Don't narrow.
12882 (tramp-parse-putty): Make a loop.
12883 (tramp-file-name-handler): Catch the `suppress' signal.
12884
12885 2012-06-11 Chong Yidong <cyd@gnu.org>
12886
12887 * image.el (imagemagick-register-types): Put the ImageMagick entry
12888 at the end of image-type-file-name-regexps.
12889
12890 2012-06-11 Johan Bockgård <bojohan@gnu.org>
12891
12892 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12893 (pcase, pcase-let*, pcase-dolist): Use them.
12894
12895 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12896
12897 * emacs-lisp/pcase.el (pcase--let*): New function.
12898 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12899 (pcase--expand): Use macroexp-let².
12900
12901 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12902
12903 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12904 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12905 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12906 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12907 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12908 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12909
12910 2012-06-10 Glenn Morris <rgm@gnu.org>
12911
12912 * mail/rmail.el (rmail-yank-current-message): Leave point at
12913 correct position. (Bug#11660)
12914
12915 2012-06-10 Chong Yidong <cyd@gnu.org>
12916
12917 * allout-widgets.el: Fix code header.
12918
12919 2012-06-10 Chong Yidong <cyd@gnu.org>
12920
12921 * cus-edit.el (customize-changed-options-previous-release):
12922 Bump to 24.1.
12923
12924 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12925
12926 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12927
12928 2012-06-09 Chong Yidong <cyd@gnu.org>
12929
12930 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12931
12932 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12933
12934 * window.el (special-display-popup-frame): Don't use
12935 window--display-buffer (Bug#11651).
12936
12937 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12938
12939 Fix parallel builds: make sure loaddefs.el is not being written
12940 while Lisp files are compiled.
12941 (compile): Don't depend on 'mh-autoloads'.
12942 (compile-CMD, compile-SH): Depend on 'autoloads'.
12943 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12944
12945 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12946
12947 2012-06-09 Chong Yidong <cyd@gnu.org>
12948
12949 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12950 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12951 Doc fixes (Bug#11225).
12952
12953 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12954
12955 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12956 a function if there's a clear indication that it has a compiler-macro.
12957 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12958 (macro-declarations-alist): Add arglist to declaration functions.
12959 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12960 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12961 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12962 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12963 Also add autoload to find the compiler macro.
12964 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12965 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12966 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12967 (cl--compiler-macro-get): New functions, replacing calls to
12968 cl-define-compiler-macro.
12969 (cl-typep) [compiler-macro]: Use macroexp-let².
12970
12971 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12972
12973 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12974 string properly, fixes Bug#11473.
12975
12976 2012-06-08 Chong Yidong <cyd@gnu.org>
12977
12978 * faces.el (set-face-attribute): Doc fix.
12979 (modify-face): Don't use :bold and :italic.
12980 (error, warning, success): Tweak definitions.
12981
12982 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12983 (custom-modified, custom-set, custom-changed, custom-themed)
12984 (custom-saved, custom-button, custom-button-mouse)
12985 (custom-button-pressed, custom-state, custom-comment-tag)
12986 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12987 (custom-group-subtitle): Use new-style face specs.
12988 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12989 (custom-set-face, custom-changed-face, custom-saved-face)
12990 (custom-button-face, custom-button-pressed-face)
12991 (custom-documentation-face, custom-state-face)
12992 (custom-comment-face, custom-comment-tag-face)
12993 (custom-variable-tag-face, custom-variable-button-face)
12994 (custom-face-tag-face, custom-group-tag-face-1)
12995 (custom-group-tag-face): Remove obsolete face alias.
12996
12997 * epa.el (epa-validity-high, epa-validity-medium)
12998 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12999 (epa-field-name, epa-field-body):
13000 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13001 (font-lock-keyword-face, font-lock-builtin-face)
13002 (font-lock-function-name-face, font-lock-variable-name-face)
13003 (font-lock-type-face, font-lock-constant-face):
13004 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13005 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13006 * speedbar.el (speedbar-button-face, speedbar-file-face)
13007 (speedbar-directory-face, speedbar-tag-face)
13008 (speedbar-selected-face, speedbar-highlight-face)
13009 (speedbar-separator-face):
13010 * whitespace.el (whitespace-newline, whitespace-space)
13011 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13012 (whitespace-line, whitespace-space-before-tab)
13013 (whitespace-space-after-tab, whitespace-indentation)
13014 (whitespace-empty):
13015 * emulation/cua-base.el (cua-global-mark):
13016 * eshell/em-prompt.el (eshell-prompt):
13017 * net/newst-plainview.el (newsticker-new-item-face)
13018 (newsticker-old-item-face, newsticker-immortal-item-face)
13019 (newsticker-obsolete-item-face, newsticker-date-face)
13020 (newsticker-statistics-face, newsticker-default-face):
13021 * net/newst-reader.el (newsticker-feed-face)
13022 (newsticker-extra-face, newsticker-enclosure-face):
13023 * net/newst-treeview.el (newsticker-treeview-face)
13024 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13025 (newsticker-treeview-immortal-face)
13026 (newsticker-treeview-obsolete-face)
13027 (newsticker-treeview-selection-face):
13028 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13029 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13030 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13031 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13032 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13033 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13034 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13035 (mpuz-text):
13036 * progmodes/vera-mode.el (vera-font-lock-number)
13037 (vera-font-lock-function, vera-font-lock-interface):
13038 * textmodes/table.el (table-cell): Use new-style face specs, and
13039 don't use the old :bold and :italic attributes.
13040
13041 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13042 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13043 (ebrowse-member-class, ebrowse-progress): Likewise.
13044 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13045 (ebrowse-file-name-face, ebrowse-default-face)
13046 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13047 (ebrowse-progress-face): Remove obsolete faces.
13048
13049 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13050 Inherit from error and warning faces respectively.
13051
13052 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13053 Likewise.
13054 (flyspell-incorrect-face, flyspell-duplicate-face):
13055 Remove obsolete aliases.
13056
13057 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13058
13059 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13060 Avoid infloop.
13061
13062 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13063
13064 * startup.el (argv, argi): Make lexically scoped.
13065 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13066 * emacs-lisp/cl-macs.el: Use lexical-binding.
13067 Rename cl-bind-* to cl--bind-*.
13068 * files.el: Don't require `cl' since it doesn't use it.
13069 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13070
13071 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13072
13073 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13074 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13075 instead of calling external sort utility.
13076 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13077
13078 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13079
13080 * descr-text.el (describe-char): Mention how to insert the
13081 character, if the current input method doesn't support it.
13082 See the discussion in this thread for the details:
13083 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13084
13085 2012-06-08 Sam Steingold <sds@gnu.org>
13086
13087 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13088 XF86Back to previous-buffer.
13089 (minibuffer-local-map): Bind them to next-history-element and
13090 previous-history-element respectively.
13091 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13092 help-go-back respectively.
13093 * info.el (Info-mode-map): Bind them to Info-history-forward and
13094 Info-history-back respectively.
13095 These are the keys next to Up on the ThinkPad keyboard.
13096
13097 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13098
13099 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13100 * emacs-lisp/cl-macs.el: Provide itself.
13101 (cl--labels-convert-cache): New var.
13102 (cl--labels-convert): New function.
13103 (cl-flet, cl-labels): New implementation with new semantics, relying on
13104 lexical-binding.
13105 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13106 (cl-closure-vars, cl--function-convert-cache)
13107 (cl--function-convert): Move from cl-macs.el.
13108 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13109 rename by removing the "cl-" prefix.
13110 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13111
13112 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13113
13114 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13115 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13116 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13117 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13118 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13119 (cl-hash-table-count): Add old compatibility aliases.
13120
13121 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13122 Use macroexpand-all-environment instead.
13123 (cl--old-macroexpand): New var.
13124 (cl--sm-macroexpand): New function.
13125 (cl-symbol-macrolet): Use it during macro expansion.
13126 (cl--function-convert-cache): New var.
13127 (cl--function-convert): New function, extracted from
13128 cl-macroexpand-all.
13129 (cl-lexical-let): Use it.
13130
13131 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13132 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13133 (cl-member): Remove old alias.
13134
13135 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13136 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13137 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13138 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13139 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13140 (cl-macroexpand-cmacs): Remove var.
13141 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13142 Use macroexpand-all instead.
13143
13144 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13145
13146 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13147 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13148 (macroexp-copyable-p): New functions and macros.
13149 * emacs-lisp/edebug.el (edebug-unwrap):
13150 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13151 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13152 (pcase--let*): Remove.
13153 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13154 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13155 macroexp-const-p instead.
13156 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13157
13158 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13159 instead of "cl-" for internal definitions. Use macroexp-const-p.
13160 (cl-old-bc-file-form): Remove var.
13161 (cl-const-exprs-p): Remove fun.
13162 (cl-labels, cl-macrolet): Use backquote.
13163 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13164 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13165 (cl-define-setf-expander): Rename from cl-define-setf-method.
13166 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13167
13168 * international/mule-cmds.el: Don't require CL.
13169 (view-hello-file): Don't use `letf'.
13170
13171 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13172
13173 * tmm.el (tmm-prompt): Use string-prefix-p.
13174 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13175 (tmm-add-prompt): Use minibuffer-completion-help.
13176 (tmm-delete-map): Remove.
13177
13178 * subr.el (kbd): Make it its own function.
13179
13180 2012-06-07 Stefan Merten <smerten@oekonux.de>
13181
13182 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13183 Silence compiler warnings. Fix versions.
13184 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13185 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13186 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13187 (rst-package-emacs-version-alist): Correct Emacs version to
13188 represent major merge with upstream.
13189 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13190
13191 2012-06-06 Glenn Morris <rgm@gnu.org>
13192
13193 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13194 Only print environment variables if set.
13195
13196 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13197
13198 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13199 (macroexp--cons): Rename from maybe-cons.
13200 (macroexp--accumulate): Rename from macroexp-accumulate.
13201 (macroexp--all-forms): Rename from macroexpand-all-forms.
13202 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13203 (macroexp--expand-all): Rename from macroexpand-all-1.
13204
13205 2012-06-06 Sam Steingold <sds@gnu.org>
13206
13207 * calendar/calendar.el (calendar-in-read-only-buffer):
13208 Call `special-mode' to enable the standard read-only keybindings.
13209
13210 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13211
13212 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13213 with "loading" messages (bug#11635).
13214
13215 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13216
13217 * files.el (enable-remote-dir-locals): New option.
13218 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13219
13220 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13221 Ensure, that the temp directory is local.
13222
13223 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13224 `temporary-file-directory'.
13225
13226 * progmodes/python.el (python-send-region): Ensure, that the
13227 temporary file is created also in the remote case.
13228
13229 2012-06-06 Glenn Morris <rgm@gnu.org>
13230
13231 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13232 (vc-rcs-update-changelog): Use it.
13233
13234 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13235
13236 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13237 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13238 (vc-sccs-diff): Replace use of the external vcdiff script.
13239
13240 2012-06-05 Glenn Morris <rgm@gnu.org>
13241
13242 * ledit.el: Move to obsolete/.
13243
13244 2012-06-05 Sam Steingold <sds@gnu.org>
13245
13246 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13247 patch (Bug#11140).
13248
13249 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13250
13251 * emacs-lisp/cust-print.el: Move to obsolete.
13252
13253 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13254 compiler-macro expansion.
13255
13256 Add native compiler-macro support.
13257 * emacs-lisp/macroexp.el (macroexpand-all-1):
13258 Support compiler-macros directly. Properly follow aliases and apply
13259 the compiler macros more thoroughly.
13260 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13261 macroexpand now properly follows aliases.
13262 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13263 (cl-compiler-macroexpand): Use new prop.
13264 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13265
13266 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13267
13268 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13269
13270 * window.el (get-lru-window, get-mru-window, get-largest-window):
13271 New argument NOT-SELECTED to avoid picking the selected window.
13272 (window--display-buffer-1, window--display-buffer-2): Replace by
13273 new function window--display-buffer
13274 (display-buffer-same-window, display-buffer-reuse-window)
13275 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13276 Use window--display-buffer.
13277 (display-buffer-use-some-window): Remove temporary dedication
13278 hack by calling get-lru-window and get-largest-window with
13279 NOT-SELECTED argument non-nil. Call window--display-buffer.
13280
13281 2012-06-05 Glenn Morris <rgm@gnu.org>
13282
13283 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13284 Replace external vcdiff script.
13285
13286 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13287
13288 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13289
13290 2012-06-04 Chong Yidong <cyd@gnu.org>
13291
13292 * image.el (imagemagick-types-inhibit): Revert last change.
13293 Add INFO and M.
13294 (imagemagick-enabled-types): Remove CIN and EPS*.
13295
13296 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13297
13298 * emacs-lisp/cl-lib.el: Rename from cl.el.
13299 * emacs-lisp/cl.el: New compatibility file.
13300 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13301 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13302 to obey the "cl-" prefix.
13303 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13304
13305 2012-06-03 Glenn Morris <rgm@gnu.org>
13306
13307 * emacs-lisp/authors.el (authors-aliases): Addition.
13308
13309 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13310 Fix :version.
13311
13312 2012-06-03 Stefan Merten <smerten@oekonux.de>
13313
13314 * textmodes/rst.el: Add comments.
13315 (rst-transition, rst-adornment): New faces.
13316 (rst-adornment-faces-alist): Make default safe to reevaluate.
13317 Fixes
13318 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13319 Improve customization tags.
13320 (rst-define-level-faces): Clarify meaning.
13321
13322 2012-06-03 Chong Yidong <cyd@gnu.org>
13323
13324 * progmodes/compile.el (compilation-mode-line-fail)
13325 (compilation-mode-line-run, compilation-mode-line-exit):
13326 New faces.
13327 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13328
13329 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13330
13331 * progmodes/which-func.el (which-func-update-ediff-windows):
13332 New function. Use it in ediff-select-hook (Bug#11478).
13333
13334 2012-06-03 Chong Yidong <cyd@gnu.org>
13335
13336 * bindings.el: Remove explicit help text from format-mode-line.
13337 It is now supplied by mode-line-default-help-echo.
13338 (mode-line-front-space, mode-line-end-spaces)
13339 (mode-line-misc-info): New variables.
13340 (mode-line-modes, mode-line-position): Move the default value to
13341 the variable definition.
13342 (mode-line-default-help-echo): New defcustom.
13343 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13344 (mode-line-modified-help-echo): New functions.
13345 (mode-line-mule-info, mode-line-modified): Use them.
13346 (mode-line-eol-desc, propertized-buffer-identification):
13347 Consistency fixes for help text.
13348 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13349 set-buffer-file-coding-system (Bug#289).
13350 (mode-line-mule-info-help-echo): Update help text.
13351
13352 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13353
13354 * simple.el (execute-extended-command): Set real-this-command
13355 (bug#11506).
13356
13357 2012-06-02 Chong Yidong <cyd@gnu.org>
13358
13359 Remove incorrect uses of "modeline" in comments, docstrings, and
13360 function/variable names (Bug#10329).
13361
13362 * cus-edit.el (mode-line):
13363 * dframe.el (dframe-mouse-hscroll):
13364 * emacs-lisp/re-builder.el:
13365 * emacs-lisp/easy-mmode.el (define-minor-mode):
13366 * frame.el (set-frame-name):
13367 * help.el (lookup-minor-mode-from-indicator):
13368 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13369 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13370 (c-toggle-hungry-state):
13371 * progmodes/antlr-mode.el (antlr-language-alist):
13372 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13373 * progmodes/vhdl-mode.el (vhdl-mode):
13374 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13375 * term/ns-win.el (ns-face-at-pos):
13376 * term/sup-mouse.el (sup-mouse-report):
13377 * textmodes/flyspell.el (flyspell-mode-line-string):
13378 * textmodes/ispell.el (ispell-highlight-face):
13379 * textmodes/reftex-global.el:
13380 * vc/vc-arch.el (vc-arch-mode-line-string):
13381 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13382 * vc/vc-git.el (vc-git-mode-line-string):
13383 * vc/vc-hooks.el (vc-display-status)
13384 (vc-default-mode-line-string):
13385 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13386
13387 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13388
13389 * dired.el (dired-sort-set-mode-line): Rename from
13390 dired-sort-set-modeline. All callers changed.
13391
13392 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13393 eshell-status-in-modeline.
13394
13395 * foldout.el (foldout-mode-line-string): Rename from
13396 foldout-modeline-string. All callers changed.
13397 (foldout-update-mode-line): Rename from foldout-update-modeline.
13398
13399 * subr.el (redraw-modeline): Make into obsolete alias.
13400
13401 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13402 timeclock-modeline-display. Make old name an alias.
13403 (timeclock-update-mode-line): Likewise. All callers changed.
13404 (timeclock-mode-line-display): No need to check before using
13405 add-hook.
13406 (timeclock-relative, timeclock-day-over-hook)
13407 (timeclock-use-elapsed, timeclock-mode-string)
13408 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13409
13410 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13411 crisp-mode-modeline-string.
13412
13413 * play/solitaire.el (solitaire-build-mode-line): Rename from
13414 solitaire-build-modeline. All callers changed.
13415
13416 * play/zone.el (zone-hiding-mode-line): Rename from
13417 zone-hiding-modeline. All callers changed.
13418 (zone): Remove unusued `modeline-hidden-level' property.
13419
13420 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13421 xscheme-modeline-initialize. All callers changed.
13422
13423 * strokes.el (strokes-lighter): Rename from
13424 strokes-modeline-string.
13425
13426 * textmodes/sgml-mode.el (html-face-tag-alist)
13427 (html-tag-face-alist): Use mode-line face instead of obsolete
13428 alias modeline.
13429
13430 2012-06-02 Stefan Merten <smerten@oekonux.de>
13431
13432 * textmodes/rst.el: Always require `cl'.
13433 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13434
13435 2012-06-02 Chong Yidong <cyd@gnu.org>
13436
13437 * image.el (imagemagick-enabled-types): Rename from
13438 imagemagick-types-enable. Add many more types.
13439 (imagemagick-types-inhibit): Change default to nil.
13440 (imagemagick-filter-types): Caller changed.
13441
13442 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13443
13444 * emacs-lisp/cl-macs.el: Use backquotes.
13445 (cl-transform-function-property): Use eval-and-compile rather than
13446 abusing `require'.
13447 (defstruct): Use declare-function instead of with-no-warnings.
13448
13449 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13450 (byte-compile-output-docform): Re-add the print-circle bindings.
13451 (byte-compile-fix-header): Use #$ just because it's shorter.
13452 (byte-compile-output-file-form): Remove defun/defmacro.
13453
13454 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13455
13456 * simple.el (choose-completion): Remove now obsolete binding for
13457 owindow.
13458
13459 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13460
13461 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13462 in order to avoid "Stack overflow in regexp matcher".
13463
13464 2012-05-31 Glenn Morris <rgm@gnu.org>
13465
13466 * image.el: For clarity, call imagemagick-register-types at
13467 top-level, rather than relying on a custom :initialize.
13468 (imagemagick-types-enable): New option. (Bug#11557)
13469 (imagemagick-filter-types): New function. (Bug#7406)
13470 (imagemagick-register-types): Use imagemagick-filter-types.
13471 If disabling support, remove elements altogether rather
13472 than using an impossible regexp.
13473 (imagemagick-types-inhibit): Give it the default init function.
13474
13475 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13478 Handle arbitrary file name lengths (Bug#11585).
13479
13480 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13481
13482 * desktop.el (desktop-read): Clear previous and next buffers for
13483 all windows and bury *Messages* buffer (bug#11556).
13484
13485 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13486
13487 Add `declare' for `defun'. Align `defmacro's with it.
13488 * emacs-lisp/easy-mmode.el (define-minor-mode)
13489 (define-globalized-minor-mode): Don't autoload the var definitions.
13490 * emacs-lisp/byte-run.el: Use lexical-binding.
13491 (defun-declarations-alist, macro-declarations-alist): New vars.
13492 (defmacro, defun): Use them.
13493 (make-obsolete, define-obsolete-function-alias)
13494 (make-obsolete-variable, define-obsolete-variable-alias):
13495 Use `declare'.
13496 (macro-declaration-function): Mark obsolete.
13497 * emacs-lisp/autoload.el: Use lexical-binding.
13498 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13499
13500 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13501
13502 * textmodes/ispell.el (ispell-with-no-warnings):
13503 Define as a macro.
13504 (ispell-kill-ispell, ispell-change-dictionary):
13505 Use `called-interactively-p' for Emacs instead of obsolete
13506 `interactive-p'.
13507
13508 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13509
13510 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13511 (macro-declaration-function): Move var from C code.
13512 (macro-declaration-function): Define function with defalias.
13513 * emacs-lisp/macroexp.el (macroexpand-all-1):
13514 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13515 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13516 defun/defmacro any more.
13517 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13518 Provide fallback for unknown arglist.
13519 (byte-compile-arglist-warn): Change calling convention.
13520 (byte-compile-output-file-form): Move print-vars binding.
13521 (byte-compile-output-docform): Simplify accordingly.
13522 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13523 (byte-compile-defmacro-declaration): Remove.
13524 (byte-compile-file-form-defmumble): Generalize to defalias.
13525 (byte-compile-output-as-comment): Return byte-positions.
13526 Simplify callers accordingly.
13527 (byte-compile-lambda): Use `assert'.
13528 (byte-compile-defun, byte-compile-defmacro): Remove.
13529 (byte-compile-file-form-defalias):
13530 Use byte-compile-file-form-defmumble.
13531 (byte-compile-defalias-warn): Remove.
13532
13533 2012-05-29 Stefan Merten <smerten@oekonux.de>
13534
13535 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13536 possible. Fix authors. Improve comments. Improve loading of `cl'.
13537
13538 (rst-mode-abbrev-table): Merge definition.
13539 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13540 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13541
13542 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13543
13544 * calendar/icalendar.el
13545 (icalendar-export-region): Export UID properly.
13546
13547 2012-05-29 Leo Liu <sdl.web@gmail.com>
13548 * calendar/icalendar.el (icalendar-import-format):
13549 Add `icalendar-import-format-uid' (Bug#11525).
13550 (icalendar-import-format-uid): New.
13551 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13552 Export UID.
13553
13554 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13555
13556 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13557 different alternative patterns.
13558 (pcase-codegen): Be more careful to preserve identity.
13559 (pcase--u1): Don't forget to mark vars as used.
13560
13561 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13562 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13563 (byte-compile-from-buffer): ...rather than here.
13564
13565 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13566 functions from byte-compile-function-environment.
13567
13568 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13569
13570 * window.el (window-deletable-p): Avoid deleting the root window
13571 of a frame with an active minibuffer.
13572
13573 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13574
13575 * simple.el (choose-completion): Use quit-window (Bug#11567).
13576
13577 2012-05-29 Chong Yidong <cyd@gnu.org>
13578
13579 * whitespace.el (whitespace-cleanup): Fix usage of
13580 whitespace-empty-at-bob-regexp (Bug#11492).
13581
13582 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13583
13584 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13585 revert (Bug#11488).
13586
13587 2012-05-29 Juri Linkov <juri@jurta.org>
13588
13589 * isearch.el (isearch-mode-map): Bind `M-s _' to
13590 `isearch-toggle-symbol'. Bind `M-s c' to
13591 `isearch-toggle-case-fold'.
13592 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13593 (isearch-forward): Add `M-s _' to the docstring.
13594 (isearch-forward-symbol, isearch-toggle-case-fold)
13595 (isearch-symbol-regexp): New functions. (Bug#11381)
13596
13597 2012-05-29 Juri Linkov <juri@jurta.org>
13598
13599 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13600 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13601 a function, call it to get the regexp.
13602 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13603 property `isearch-message-prefix' instead of the string "word ".
13604 (isearch-search-fun-default): For the case of `isearch-word',
13605 return a lambda that calls re-search-forward/re-search-backward
13606 with a regexp returned by `word-search-regexp' or by the function
13607 in `isearch-word'.
13608
13609 2012-05-29 Juri Linkov <juri@jurta.org>
13610
13611 * isearch.el (isearch-search-fun-default): New function.
13612 (isearch-search-fun): Move default part to the new function
13613 `isearch-search-fun-default'.
13614 (isearch-search-fun-function): Set the default value to
13615 `isearch-search-fun-default'. (Bug#11381)
13616
13617 * comint.el (comint-history-isearch-end):
13618 Use `isearch-search-fun-default'.
13619 (comint-history-isearch-search): Use `isearch-search-fun-default'
13620 and remove spacial case for `isearch-word'.
13621 (comint-history-isearch-wrap): Remove spacial case for
13622 `isearch-word'.
13623
13624 * hexl.el (hexl-isearch-search-function):
13625 Use `isearch-search-fun-default'.
13626
13627 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13628 Use `word-search-regexp' for `isearch-word'.
13629
13630 * misearch.el (multi-isearch-search-fun):
13631 Use `isearch-search-fun-default'.
13632
13633 * simple.el (minibuffer-history-isearch-search):
13634 Use `isearch-search-fun-default' and remove spacial case for
13635 `isearch-word'.
13636 (minibuffer-history-isearch-wrap): Remove spacial case for
13637 `isearch-word'.
13638
13639 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13640 Remove spacial case for `isearch-word'.
13641 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13642
13643 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13644
13645 Decrease XEmacs incompatibilities.
13646 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13647 Use `string-match'.
13648 (flyspell-delete-region-overlays): Use alternative definition for
13649 XEmacs.
13650 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13651 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13652 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13653 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13654 `define-obsolete-face-alias' under XEmacs, but old method.
13655
13656 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13657 `with-no-warnings' definition or Emacs alias.
13658 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13659 (ispell-word): Do not use `region-p' if XEmacs.
13660
13661 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13662
13663 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13664 Check for `ispell-dictionary-base-alist' instead of full
13665 `ispell-dictionary-alist'.
13666 (ispell-init-process): Show spellchecker when starting new Ispell
13667 process.
13668
13669 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13670
13671 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13672 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13673
13674 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13675
13676 * version.el (motif-version-string, gtk-version-string)
13677 (ns-version-string): Declare.
13678
13679 2012-05-27 Juri Linkov <juri@jurta.org>
13680
13681 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13682 after the `eval-defun-1' specialcaseing
13683 like in `edebug-eval-defun' (bug#10181).
13684
13685 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13686 like in `eval-defun-1'.
13687
13688 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13689
13690 * mail/sendmail.el (mail-yank-region):
13691 Recognize rmail-yank-current-message in addition to insert-buffer.
13692 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13693 a *mail* buffer created through rmail-start-mail with sendmail as
13694 mail-user-agent.
13695
13696 2012-05-27 Chong Yidong <cyd@gnu.org>
13697
13698 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13699 Default to 256 (Bug#11267).
13700
13701 * help.el (describe-mode): Doc fix.
13702
13703 2012-05-26 Glenn Morris <rgm@gnu.org>
13704
13705 * w32-fns.el (w32-init-info): Remove.
13706 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13707
13708 * info.el (info-initialize): For self-contained NS builds, put the
13709 included info/ directory at the front. (Bug#2791)
13710
13711 * paths.el (Info-default-directory-list): Make it a defcustom,
13712 mainly so that we can use custom-initialize-delay.
13713
13714 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13715
13716 * subr.el (buffer-has-markers-at): Mark obsolete.
13717
13718 * subr.el (lambda): Use declare.
13719
13720 * emacs-lisp/lisp-mode.el (lambda):
13721 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13722
13723 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13724
13725 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13726
13727 2012-05-26 Glenn Morris <rgm@gnu.org>
13728
13729 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13730
13731 2012-05-25 Glenn Morris <rgm@gnu.org>
13732
13733 * paths.el: Remove no-byte-compile.
13734 * loadup.el: No need to load paths.el uncompiled.
13735
13736 * image.el (imagemagick-types-inhibit): Doc fix.
13737
13738 * version.el: Remove no-byte-compile and associated formatting.
13739 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13740 is ancient code from when there was an "inc-vers.el".
13741
13742 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13743
13744 * progmodes/gdb-mi.el: Minor style changes.
13745 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13746 Turn into minor modes.
13747 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13748 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13749 (gdb-shell): Remove unneeded let-binding.
13750 (gdb-get-many-fields): Eliminate O(n²) behavior.
13751
13752 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13753
13754 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13755 platforms that don't link in fontset.c.
13756
13757 2012-05-25 Juri Linkov <juri@jurta.org>
13758
13759 Use the same diff color scheme as in modern VCSes (bug#10181).
13760
13761 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13762 to avoid confusion with `diff-added' that now uses green colors.
13763 (diff-removed): Use shades of red.
13764 (diff-added): Use shades of green.
13765 (diff-changed): Leave just the yellow color.
13766 (diff-use-changed-face): New variable.
13767 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13768 how to highlight context diff changes.
13769 (diff-refine-change): Use shades of yellow.
13770 (diff-refine-removed): New face that uses shades of red.
13771 (diff-refine-added): New face that uses shades of green.
13772 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13773 `diff-refine-removed' in the call to `smerge-refine-subst'
13774 depending on the value of `diff-use-changed-face'.
13775
13776 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13777 (smerge-other): Use shades of green.
13778 (smerge-base): Use shades of yellow.
13779 (smerge-refined-change): Empty face.
13780 (smerge-refined-removed): New face that uses shades of red.
13781 (smerge-refined-added): New face that uses shades of green.
13782 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13783 args `props-r' and `props-a', and use them. Doc fix.
13784 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13785 on its value use different faces `smerge-refined-change',
13786 `smerge-refined-removed', `smerge-refined-added' in the call to
13787 `smerge-refine-subst'.
13788
13789 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13790 Add face condition `min-colors 88' with shades of red.
13791 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13792 `min-colors 88' with shades of green.
13793 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13794 `min-colors 88' with shades of yellow.
13795
13796 2012-05-24 Glenn Morris <rgm@gnu.org>
13797
13798 * paths.el (prune-directory-list, remote-shell-program): Move to...
13799 * files.el (prune-directory-list, remote-shell-program): ...here.
13800 For the latter, delay initialization, prefer ssh, just search PATH.
13801
13802 * paths.el (term-file-prefix): Move to faces.el (the only user).
13803 * faces.el (term-file-prefix): Move here, make it a defcustom.
13804
13805 * paths.el (news-directory, news-path, news-inews-program):
13806 Move to gnus/nnspool.el.
13807
13808 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13809
13810 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13811 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13812 Make the latter a defcustom, with a delayed initialization.
13813
13814 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13815 These were deleted from Gnus itself late 2010.
13816
13817 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13818
13819 * progmodes/which-func.el (which-func-ff-hook):
13820 Check against user-error, not error.
13821
13822 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13823 cl-specs.el, which no longer exists.
13824
13825 2012-05-22 Glenn Morris <rgm@gnu.org>
13826
13827 * info.el (info-emacs-bug): New command.
13828 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13829 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13830
13831 2012-05-21 Glenn Morris <rgm@gnu.org>
13832
13833 * makefile.w32-in (update-subdirs-SH):
13834 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13835
13836 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13837
13838 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13839
13840 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13841 Simplify Maven regexp, and make sure the file can't start with a space
13842 (bug#11517).
13843
13844 2012-05-21 Glenn Morris <rgm@gnu.org>
13845
13846 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13847 Scrap superfluous subshells.
13848
13849 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13850
13851 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13852 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13853
13854 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13855
13856 * calc/calc.el (calc-ensure-consistent-units): New variable.
13857
13858 * calc/calc-units.el (math-consistent-units-p)
13859 (math-check-unit-consistency): New functions.
13860 (calc-quick-units, calc-convert-units):
13861 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13862 is non-nil.
13863 (calc-extract-units): Fix typo.
13864
13865 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13866
13867 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13868
13869 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13870 (flyspell-default-deplacement-commands): Don't spell check after
13871 repeated window/frame switches (e.g. triggered by mouse-movement).
13872 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13873 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13874 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13875 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13876 Remove unused vars.
13877 (flyspell-get-casechars, flyspell-get-not-casechars):
13878 Simplify; Don't bother removing a ] just to add it back.
13879 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13880
13881 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13882
13883 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13884 New functions.
13885 (math-function-table): Add support for more C functions.
13886
13887 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13888
13889 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13890 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13891 Protect delay handling for otherchars against empty otherchars.
13892
13893 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13894
13895 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13896 their respective macro declarations.
13897 * skeleton.el (define-skeleton):
13898 * progmodes/compile.el (define-compilation-mode):
13899 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13900 (define-ibuffer-filter):
13901 * emacs-lisp/generic.el (define-generic-mode):
13902 * emacs-lisp/easy-mmode.el (define-minor-mode)
13903 (define-globalized-minor-mode):
13904 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13905 * emacs-lisp/byte-run.el (defsubst):
13906 * custom.el (deftheme): Add doc-string metadata.
13907
13908 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13909
13910 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13911
13912 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13913
13914 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13915
13916 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13917 * emacs-lisp/cl-macs.el: Idem.
13918 * emacs-lisp/cl-specs.el: Remove.
13919
13920 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13921
13922 Minor renaming of internal CL functions and variables.
13923 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13924 (cl--position): Rename from cl-position.
13925 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13926 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13927 (cl--random-state): Rename from *random-state*.
13928
13929 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13930
13931 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13932 parens around the arg list (bug#11499).
13933
13934 2012-05-17 Juri Linkov <juri@jurta.org>
13935
13936 * isearch.el (word-search-regexp, word-search-backward)
13937 (word-search-forward, word-search-backward-lax)
13938 (word-search-forward-lax): Move functions from search.c
13939 (bug#10145, bug#11381).
13940
13941 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13942
13943 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13944 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13945 Delay for otherchars as for normal word components.
13946
13947 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13948
13949 * minibuffer.el (completion--sifn-requote): Fix last change.
13950 (minibuffer-local-must-match-filename-map):
13951 Move define-obsolete-variable-alias before its var.
13952
13953 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13954
13955 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13956
13957 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13958 behavior.
13959 (completion--string-equal-p): New function.
13960 (completion--twq-all): Use it to get better assertion failure data.
13961
13962 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13963 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13964 (shell--requote-argument): New functions.
13965 (shell-completion-vars): Use them.
13966 (shell--parse-pcomplete-arguments): Rename from
13967 shell-parse-pcomplete-arguments.
13968 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13969 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13970 Obey comint-file-name-quote-list.
13971
13972 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13973 (smie-indent-keyword): Use it.
13974
13975 2012-05-14 Stefan Merten <smerten@oekonux.de>
13976
13977 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13978
13979 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13980
13981 * net/rlogin.el (rlogin-mode-map): Fix last change.
13982
13983 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13984
13985 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13986 the following \r\n using a single `process-send-string', since the
13987 Lotus SMTP server refuses to accept any commands if they are sent
13988 with two `process-send-string's (Bug#11444).
13989
13990 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13991
13992 * shell.el (shell-parse-pcomplete-arguments):
13993 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13994
13995 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13996
13997 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13998 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13999 (image-transform-width, image-transform-fit-width): New functions.
14000 (image-transform-properties): Use them.
14001 (image-transform-check-size): New function.
14002 (image-toggle-display-image): Use it (for testing).
14003 (image-transform-set-rotation): Reduce angle mod 360.
14004 Delete obsolete comment.
14005
14006 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14007
14008 * image-mode.el: Fix scaling (bug#11399).
14009 (image-transform-resize): Doc fix.
14010 (image-transform-properties): Default scale is 1 and height should
14011 be an integer.
14012
14013 2012-05-13 Johan Bockgård <bojohan@gnu.org>
14014
14015 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14016 than hard-coding `car', to fix misbehavior when moving forward.
14017
14018 2012-05-13 Chong Yidong <cyd@gnu.org>
14019
14020 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14021 (tabulated-list-entries, tabulated-list-padding)
14022 (tabulated-list-sort-key): Make permanent-local.
14023
14024 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14025 (electric-buffer-list): Put electric buffer menu
14026 command descriptions in this docstring, instead of the docstring
14027 of electric-buffer-menu-mode. Code cleanups.
14028 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14029 Electric-buffer-menu-mode.
14030 (electric-buffer-update-highlight): Minor code cleanup.
14031
14032 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14033
14034 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14035 (Bug#11447)
14036
14037 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14038
14039 Move define-obsolete-variable-alias before the var's definition.
14040 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14041 * tooltip.el (tooltip-hook):
14042 * textmodes/reftex-toc.el (reftex-toc-map):
14043 * textmodes/reftex-sel.el (reftex-select-label-map)
14044 (reftex-select-bib-map):
14045 * textmodes/reftex-index.el (reftex-index-map)
14046 (reftex-index-phrases-map):
14047 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14048 * progmodes/meta-mode.el (meta-mode-map):
14049 * novice.el (disabled-command-hook):
14050 * loadhist.el (unload-hook-features-list):
14051 * frame.el (blink-cursor):
14052 * files.el (find-file-not-found-hooks, write-file-hooks)
14053 (write-contents-hooks):
14054 * emulation/tpu-edt.el (GOLD-map):
14055 * emacs-lock.el (emacs-lock-from-exiting):
14056 * emacs-lisp/generic.el (generic-font-lock-defaults):
14057 * emacs-lisp/chart.el (chart-map):
14058 * dos-fns.el (register-name-alist):
14059 * dired-x.el (dired-omit-files-p):
14060 * desktop.el (desktop-enable):
14061 * cus-edit.el (custom-mode-hook):
14062 * buff-menu.el (buffer-menu-mode-hook):
14063 * bookmark.el (bookmark-read-annotation-text-func)
14064 (bookmark-exit-hooks):
14065 * allout.el (allout-mode-deactivate-hook)
14066 (allout-exposure-change-hook, allout-structure-added-hook)
14067 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14068 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14069 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14070 comes before the corresponding variable's definition.
14071
14072 2012-05-12 Chong Yidong <cyd@gnu.org>
14073
14074 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14075 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14076 (Buffer-menu-mode-map): Bind it.
14077 (Buffer-menu--pretty-name): Add a mouse-face property.
14078
14079 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14080
14081 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14082 (prolog-upper-case-string, prolog-lower-case-string)
14083 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14084 (prolog-use-smie, prolog-smie-grammar): New vars.
14085 (prolog-smie-forward-token, prolog-smie-backward-token)
14086 (prolog-smie-rules): New funs.
14087 (prolog-comment-indent): Remove.
14088 (prolog-mode-variables): Use default comment indentation instead.
14089 Setup SMIE.
14090 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14091 (prolog-mode): Don't call them any more.
14092 (prolog-electric-colon, prolog-electric-dash)
14093 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14094
14095 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14096
14097 * minibuffer.el (completion--twq-all): Again, allow case differences.
14098
14099 * term.el: Move keymap initialization code to be more idiomatic.
14100 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14101 (term-terminal-menu): Move initialization into declaration.
14102 (term-escape-char): Let the user set it in her .emacs.
14103
14104 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14105 Provide SMIE-based indentation (not enabled by default yet).
14106 (sh-mode-map): Don't bind electric keys.
14107 Use electric-pair-mode instead of skeleton-pair.
14108 (sh-assignment-regexp): Fit within 80 columns.
14109 (sh-indent-supported): Specify actual shell name instead of boolean.
14110 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14111 (sh-maybe-here-document): Use it. Make obsolete.
14112 (sh-electric-here-document-mode) New minor mode.
14113 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14114 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14115 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14116 (sh-smie-rc-grammar, sh-use-smie): New vars.
14117 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14118 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14119 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14120 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14121 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14122 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14123 (sh-set-shell): Use smie-setup if requested.
14124
14125 * term.el (term-set-escape-char): Properly set term-escape-char.
14126 See http://stackoverflow.com/questions/10524656.
14127
14128 2012-05-10 Chong Yidong <cyd@gnu.org>
14129
14130 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14131 Use url-generic-parse-url, and handle host names and Windows
14132 filenames properly.
14133 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14134 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14135 URL schemes to work on.
14136 (ffap--toggle-read-only): New function.
14137 (ffap-read-only, ffap-read-only-other-window)
14138 (ffap-read-only-other-frame): Use it.
14139 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14140 necessary for ffap-url-unwrap-remote.
14141
14142 2012-05-10 Dave Abrahams <dave@boostpro.com>
14143
14144 * cus-start.el (create-lockfiles): Add it.
14145
14146 2012-05-09 Chong Yidong <cyd@gnu.org>
14147
14148 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14149 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14150
14151 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14152
14153 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14154
14155 2012-05-09 Chong Yidong <cyd@gnu.org>
14156
14157 * ansi-color.el (ansi-color-process-output): Check for validity of
14158 comint-last-output-start before using it. This avoids a bad
14159 interaction with gdb-mi's input/output buffer.
14160
14161 2012-05-09 Glenn Morris <rgm@gnu.org>
14162
14163 * files.el (dir-locals-read-from-file):
14164 Mention dir-locals in any error message.
14165
14166 2012-05-09 Chong Yidong <cyd@gnu.org>
14167
14168 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14169 package (Bug#11410).
14170
14171 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14172 variables into description.
14173
14174 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14175
14176 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14177 shell-delimiter-argument-list (bug#11348).
14178 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14179
14180 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14181
14182 * textmodes/rst.el: Silence byte-compiler warnings.
14183 (rst-re-alist, rst-reset-section-caches): Move around.
14184 (rst-re): Use `characterp', not `char-valid-p'.
14185 (font-lock-beg, font-lock-end): Declare.
14186
14187 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14188 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14189
14190 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14191
14192 2012-05-08 Glenn Morris <rgm@gnu.org>
14193
14194 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14195
14196 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14197
14198 * vc/log-edit.el: Add GNU coding standards highlighting.
14199 (log-edit-font-lock-gnu-style)
14200 (log-edit-font-lock-gnu-keywords): New vars.
14201 (log-edit-font-lock-keywords): New fun.
14202 (log-edit-mode): Don't fold case in font-lock.
14203 (log-edit-font-lock-keywords): Do not assume case-folding.
14204
14205 * imenu.el: Misc cleanup. Make docstrings out of comments.
14206 Use lexical-binding.
14207 (imenu--index-alist, imenu--last-menubar-index-alist)
14208 (imenu-menubar-modified-tick): Use defvar-local.
14209 (imenu--split-menu): Remove unused var.
14210 (imenu--cleanup-seen): Declare as global.
14211 (imenu--cleanup): Use dolist.
14212
14213 * subr.el (defvar-local): Add debug spec and doc-string position.
14214
14215 2012-05-08 Glenn Morris <rgm@gnu.org>
14216
14217 * language/burmese.el, language/cham.el, language/czech.el:
14218 * language/english.el, language/georgian.el, language/greek.el:
14219 * language/japanese.el, language/khmer.el, language/korean.el:
14220 * language/lao.el, language/misc-lang.el, language/romanian.el:
14221 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14222 * language/thai.el, language/utf-8-lang.el:
14223 Remove no-byte-compile setting.
14224
14225 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14226
14227 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14228
14229 * progmodes/make-mode.el (makefile-browse):
14230 Remove unnecessary interactive. (Bug#11324)
14231
14232 2012-05-07 Glenn Morris <rgm@gnu.org>
14233
14234 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14235
14236 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14237
14238 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14239
14240 * loadup.el: Preload newcomment.el.
14241 * newcomment.el: Move autoload-only code to toplevel.
14242
14243 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14244 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14245 Handle new :right-align column property.
14246 (tabulated-list-print-col): Idem, plus use `display' text-property to
14247 try and preserve alignment for variable pitch fonts.
14248
14249 2012-05-07 Chong Yidong <cyd@gnu.org>
14250
14251 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14252 (tabulated-list-use-header-line): New var.
14253 (tabulated-list-init-header): Use it.
14254 (tabulated-list-print-fake-header): New function.
14255 (tabulated-list-print): Use it.
14256 (tabulated-list-sort-button-map): Add non-header-line commands.
14257 (tabulated-list-init-header): Add column name property to basic
14258 labels as well.
14259 (tabulated-list-col-sort): Handle non-header-line button case.
14260 (tabulated-list--sort-by-column-name): Fix a corner case.
14261
14262 * buff-menu.el (list-buffers--refresh):
14263 Handle Buffer-menu-use-header-line.
14264
14265 2012-05-06 Chong Yidong <cyd@gnu.org>
14266
14267 * buff-menu.el: Convert to Tabulated List mode.
14268 (Buffer-menu-buffer+size-width): Make obsolete.
14269 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14270 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14271 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14272 documentation into docstring of buffer-menu.
14273 (Buffer-menu-toggle-files-only): Add an informative message.
14274 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14275 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14276 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14277 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14278 (Buffer-menu-execute, Buffer-menu-select)
14279 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14280 (Buffer-menu-bury): Use Tabulated List machinery.
14281 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14282 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14283 Delete.
14284 (list-buffers--refresh): New function.
14285 (list-buffers-noselect): Use it.
14286 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14287 (Buffer-menu--pretty-file-name): New helper functions.
14288
14289 * loadup.el: Preload tabulated-list.
14290
14291 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14292 tabulated-list-sort-column.
14293 (tabulated-list-init-header): Add the initial aligning space even
14294 if tabulated-list-padding is zero.
14295
14296 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14297
14298 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14299 whose cdr is not a cons cell correctly (bug#11038).
14300
14301 2012-05-06 Chong Yidong <cyd@gnu.org>
14302
14303 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14304 Accept additional plist in column descriptors.
14305 (tabulated-list-init-header): Obey it.
14306 (tabulated-list-get-entry): New function.
14307 (tabulated-list-put-tag): Use it. Use string-width instead of
14308 length.
14309 (tabulated-list--column-number): New function.
14310 (tabulated-list-print): Use it.
14311 (tabulated-list-print-col): New function.
14312 Set `tabulated-list-column-name' property on each column's text.
14313 (tabulated-list-print-entry): Use it.
14314 (tabulated-list-delete-entry, tabulated-list-set-col):
14315 New functions.
14316 (tabulated-list-sort-column): New command (Bug#11337).
14317
14318 * buff-menu.el (list-buffers): Move C-x C-b binding from
14319 buff-menu.el to bindings.el.
14320
14321 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14322 :advertised-binding feature.
14323
14324 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14325
14326 * progmodes/compile.el (compilation-internal-error-properties):
14327 Calculate start position correctly when end-col is set but
14328 end-line is not (Bug#11382).
14329
14330 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14331
14332 * man.el (Man-unindent): Use text-property-default-nonsticky to
14333 prevent untabify from inheriting face properties (Bug#11408).
14334
14335 2012-05-05 Stefan Merten <smerten@oekonux.de>
14336
14337 * textmodes/rst.el: Major merge with upstream development up to
14338 Docutils SVN r7399 / rst.el V1.2.1.
14339
14340 Clarify maintainership and authors.
14341
14342 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14343 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14344 (rst-official-version, rst-official-cvs-rev, rst-version)
14345 (rst-package-emacs-version-alist): New functions and variables
14346 for version information.
14347
14348 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14349 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14350 (rst-mode-syntax-table, rst-mode): New and corrected functions
14351 and variables representing reStructuredText features.
14352
14353 (rst-re): New function for reStructuredText regexes. Use in
14354 many places.
14355
14356 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14357 (rst-mode-map): Rebind keys.
14358
14359 (rst-mode-lazy, rst-font-lock-keywords)
14360 (rst-font-lock-extend-region)
14361 (rst-font-lock-extend-region-internal)
14362 (rst-font-lock-extend-region-extend)
14363 (rst-font-lock-find-unindented-line-limit)
14364 (rst-font-lock-find-unindented-line-match)
14365 (rst-adornment-level, rst-font-lock-adornment-level)
14366 (rst-font-lock-adornment-match)
14367 (rst-font-lock-handle-adornment-pre-match-form)
14368 (rst-font-lock-handle-adornment-matcher): Major revision of
14369 font-locking. Integrate with other code. Use `jit-lock-mode'.
14370
14371 (rst-preferred-adornments, rst-adjust-hook)
14372 (rst-new-adornment-down, rst-preferred-bullets)
14373 (rst-preferred-bullets, rst-indent, rst-indent-width)
14374 (rst-indent-field, rst-indent-literal-normal)
14375 (rst-indent-literal-minimized, rst-indent-comment): Change,
14376 extend and improve customization.
14377
14378 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14379 (rst-normalize-cursor-position, rst-get-decoration)
14380 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14381 (rst-rstrip, rst-toc-insert-find-delete-contents)
14382 (rst-shift-fill-region, rst-compute-bullet-tabs)
14383 (rst-debug-print-tabs, rst-debug-mark-found)
14384 (rst-shift-region-guts, rst-shift-region-right)
14385 (rst-shift-region-left, rst-use-char-classes)
14386 (rst-font-lock-keywords-function)
14387 (rst-font-lock-indentation-point)
14388 (rst-font-lock-find-unindented-line-begin)
14389 (rst-font-lock-find-unindented-line-end)
14390 (rst-font-lock-find-unindented-line)
14391 (rst-font-lock-adornment-point, rst-font-lock-level)
14392 (rst-adornment-level-alist): Remove functions and variables.
14393
14394 (rst-compare-adornments, rst-get-adornment-match)
14395 (rst-suggest-new-adornment, rst-get-adornments-around)
14396 (rst-adornment-complete-p, rst-get-next-adornment)
14397 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14398 (rst-straighten-adornments): Standardize function names to
14399 use "adornment" instead of "decoration". Correct callers.
14400 Similar standardizing in many places.
14401
14402 (rst-update-section, rst-adjust, rst-promote-region)
14403 (rst-enumerate-region, rst-bullet-list-region)
14404 (rst-repeat-last-character): Correct use of `interactive'.
14405
14406 (rst-classify-adornment, rst-find-all-adornments)
14407 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14408 (rst-find-leftmost-column, rst-repeat-last-character):
14409 Refactor functions.
14410
14411 (rst-find-title-line, rst-reset-section-caches)
14412 (rst-get-adornments-around, rst-adjust-adornment-work)
14413 (rst-arabic-to-roman, rst-roman-to-arabic)
14414 (rst-insert-list-pos, rst-insert-list-new-item)
14415 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14416 New functions.
14417
14418 (rst-all-sections, rst-section-hierarchy)
14419 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14420 New variables.
14421
14422 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14423 configuration instead of only buffer. Change where necessary.
14424
14425 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14426 (rst-shift-region, rst-adaptive-fill): New functions for
14427 indentation and filling.
14428
14429 (rst-comment-line-break, rst-comment-indent)
14430 (rst-comment-insert-comment, rst-comment-region)
14431 (rst-uncomment-region): New functions for handling comments.
14432
14433 (rst-compile): Quote shell arguments.
14434
14435 (rst-compile-pdf-preview, rst-compile-slides-preview):
14436 Delete temporary files after use.
14437
14438 2012-05-05 Glenn Morris <rgm@gnu.org>
14439
14440 * calendar/cal-html.el: Optionally include holidays in the output.
14441 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14442 (cal-html-holidays): New option.
14443 (cal-html-css-default): Add holiday entry.
14444 (holiday-in-range): Autoload it.
14445 (cal-html-htmlify-entry): Add optional class argument.
14446 (cal-html-htmlify-list): Add optional holidays argument.
14447 (cal-html-insert-agenda-days): Include holidays in the output.
14448 (cal-html-one-month): Maybe include holidays.
14449
14450 * calendar/holidays.el (holiday-in-range):
14451 Move here from cal-tex-list-holidays.
14452 * calendar/cal-tex.el (cal-tex-list-holidays):
14453 Make it an obsolete alias for holiday-in-range. Update all callers.
14454
14455 2012-05-05 Chong Yidong <cyd@gnu.org>
14456
14457 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14458 Nextstep.
14459
14460 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14461
14462 * files.el (file-auto-mode-skip): New var.
14463 (set-auto-mode-1): Use it.
14464
14465 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14466
14467 * repeat.el: Use lexical-binding.
14468 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14469 (repeat-undo-count): Remove.
14470 (repeat):
14471 * progmodes/octave-mod.el (octave-abbrev-start):
14472 * progmodes/f90.el (f90-abbrev-start):
14473 * face-remap.el (text-scale-adjust):
14474 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14475
14476 * emacs-lisp/pcase.el (pcase--let*): New function.
14477 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14478 a bit more.
14479 (pcase--split-pred): Be more clever about ruling out overlap between
14480 a predicate and some constant pattern.
14481 (pcase--q1): Use `null' instead of (eq foo nil).
14482
14483 * subr.el (setq-local, defvar-local): New macros.
14484 (kbd): Redefine as an alias.
14485 (with-selected-window): Leave unrelated frames alone.
14486 (set-temporary-overlay-map): New function.
14487
14488 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14489
14490 * subr.el (user-error): New function.
14491 * window.el (switch-to-buffer):
14492 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14493 (smerge-match-conflict):
14494 * simple.el (previous-matching-history-element)
14495 (next-matching-history-element, goto-history-element, undo-more)
14496 (undo-start):
14497 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14498 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14499 (next-file, tags-loop-scan, list-tags, complete-tag):
14500 * progmodes/compile.el (compilation-loop):
14501 * mouse.el (mouse-minibuffer-check):
14502 * man.el (Man-bgproc-sentinel, Man-goto-page):
14503 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14504 (Info-history-forward, Info-follow-reference, Info-menu)
14505 (Info-extract-menu-item, Info-extract-menu-counting)
14506 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14507 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14508 (Info-next-reference, Info-prev-reference, Info-index)
14509 (Info-index-next, Info-follow-nearest-node)
14510 (Info-copy-current-node-name):
14511 * imenu.el (imenu--make-index-alist)
14512 (imenu-default-create-index-function, imenu-add-to-menubar):
14513 * files.el (basic-save-buffer, recover-file):
14514 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14515 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14516 (checkdoc-message-text, checkdoc-defun):
14517 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14518 * cus-edit.el (customize-changed-options, customize-rogue)
14519 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14520 (custom-variable-mark-to-reset-standard)
14521 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14522 (custom-file):
14523 * completion.el (check-completion-length):
14524 * comint.el (comint-search-arg)
14525 (comint-previous-matching-input-string-position)
14526 (comint-previous-matching-input)
14527 (comint-replace-by-expanded-history-before-point, comint-send-input)
14528 (comint-copy-old-input, comint-backward-matching-input)
14529 (comint-goto-process-mark, comint-set-process-mark):
14530 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14531 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14532
14533 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14534
14535 * dabbrev.el (dabbrev--ignore-case-p): New function.
14536 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14537 Use it.
14538
14539 * files.el (automount-dir-prefix): Mark as obsolete.
14540
14541 2012-05-04 Glenn Morris <rgm@gnu.org>
14542
14543 * patcomp.el, play/bruce.el: Move to obsolete/.
14544
14545 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14546
14547 Fix minor Y10k bugs.
14548 * arc-mode.el (archive-unixdate):
14549 * autoinsert.el (auto-insert-alist):
14550 * calc/calc-forms.el (math-this-year):
14551 * emacs-lisp/copyright.el (copyright-current-year)
14552 (copyright-update-year, copyright):
14553 * tar-mode.el (tar-clip-time-string):
14554 * time.el (display-time-update):
14555 Don't assume years have 4 digits.
14556
14557 2012-05-04 Chong Yidong <cyd@gnu.org>
14558
14559 * dos-w32.el (file-name-buffer-file-type-alist)
14560 (direct-print-region-use-command-dot-com):
14561 * ffap.el (ffap-menu-regexp):
14562 * find-file.el (ff-special-constructs):
14563 * follow.el (follow-debug):
14564 * forms.el (forms--debug):
14565 * iswitchb.el (iswitchb-all-frames):
14566 * ido.el (ido-all-frames):
14567 * emacs-lisp/timer.el (timer-max-repeats):
14568 * mail/feedmail.el (feedmail-mail-send-hook)
14569 (feedmail-mail-send-hook-queued):
14570 * mail/footnote.el (footnote-signature-separator):
14571 * mail/mailabbrev.el (mail-alias-separator-string)
14572 (mail-abbrev-mode-regexp):
14573 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14574 * progmodes/idlwave.el (idlwave-libinfo-file)
14575 (idlwave-default-completion-case-is-down)
14576 (idlwave-library-routines): Convert defvars to defcustoms.
14577
14578 * mail/rmail.el (rmail-decode-mime-charset):
14579 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14580 (idlwave-shell-fix-inserted-breaks)
14581 (idlwave-shell-activate-alt-keybindings)
14582 (idlwave-shell-use-breakpoint-glyph):
14583 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14584
14585 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14586
14587 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14588
14589 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14590
14591 * progmodes/verilog-mode.el (font-lock-keywords):
14592 Fix mis-highligting auto. Reported by Craig Barner.
14593 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14594 defines from global name space. Reported by Dan Dever.
14595 (verilog-auto-reset, verilog-auto-reset-widths)
14596 (verilog-auto-tieoff): Support using unbased numbers for
14597 AUTORESET and AUTOTIEOFF.
14598 (verilog-submit-bug-report): Update variable list.
14599 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14600 parenthesis from not matching. Reported by Michael Rytting.
14601 (verilog-auto-template-lint): Fix hash error when linting modules
14602 with no used templates.
14603 (verilog-warn, verilog-warn-error)
14604 (verilog-warn-fatal): When non-interactive report multiple
14605 warnings before exiting. Suggested by Brad Dobbie.
14606 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14607 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14608 to report unused template errors. Reported by Brad Dobbie.
14609 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14610 nets, bug438. Reported by Vns Blore.
14611 (verilog-auto-inout-module, verilog-auto-reg)
14612 (verilog-read-decls, verilog-read-sub-decls-sig)
14613 (verilog-signals-edit-wire-reg, verilog-signals-with):
14614 Fix passing of Verilog data types in ANSI input/output ports
14615 such as "output logic" into the AUTOs. Special case "wire" and
14616 "reg" for backwards compatibility presuming Verilog 2001.
14617 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14618 (verilog-preprocess): Fix replication of preprocess output.
14619 Reported by Brad Dobbie.
14620 (verilog-auto-inst-interfaced-ports):
14621 Create verilog-auto-inst-interfaced-ports, bug429.
14622 Reported by Julian Gorfajn.
14623 (verilog-after-save-font-hook)
14624 (verilog-before-save-font-hook): New variable.
14625 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14626 (verilog-save-font-mods): Wrap disabling fontification, reported
14627 by David Rogoff.
14628 (verilog-do-indent, verilog-pretty-declarations-auto)
14629 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14630 Reported by Pierre-David Pfister.
14631 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14632 of class declarations, bug292. Reported by Kevin Heilman.
14633 (verilog-read-decls): Fix 'parameter type' not appearing in
14634 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14635 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14636 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14637 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14638 Reported by David Kravitz.
14639
14640 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14641
14642 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14643 assignment with tests in ifs and for loops.
14644 (verilog-extended-complete-re, verilog-complete-reg): Change so
14645 that DPI inport functions don't look like fuction declarations.
14646 (verilog-pretty-expr): Don't line up assignment
14647 operations to the test and increment in if and for loops
14648 (verilog-extended-complete-re, verilog-complete-reg): Change so
14649 that DPI inport functions don't look like fuction declarations.
14650
14651 2012-05-03 Kenichi Handa <handa@m17n.org>
14652
14653 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14654 decoding, and show a warning message without signaling an error
14655 (Bug#11282).
14656
14657 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14658
14659 * emacs-lisp/bytecomp.el
14660 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14661 since cconv.el might have introduced :fun-body, internal-make-closure,
14662 and friends for bytecomp to handle (bug#11391).
14663 * custom.el (defcustom): Avoid ((λ ..) ..).
14664
14665 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14666
14667 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14668
14669 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14670
14671 * notifications.el (dbus-debug):
14672 * term/linux.el (gpm-mouse-enable):
14673 * term/screen.el (xterm-register-default-colors): Declare.
14674
14675 2012-05-02 Chong Yidong <cyd@gnu.org>
14676
14677 * cus-start.el (gc-cons-percentage, exec-suffixes)
14678 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14679 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14680 (make-cursor-line-fully-visible, void-text-area-pointer)
14681 (font-list-limit): Add customization data.
14682
14683 * allout.el (allout-exposure-change-functions)
14684 (allout-structure-added-functions)
14685 (allout-structure-deleted-functions)
14686 (allout-structure-shifted-functions): Rename abnormal hooks from
14687 *-hook, and convert to defcustoms.
14688 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14689 Convert to defcustoms.
14690 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14691
14692 * allout-widgets.el: Hook callers changed.
14693
14694 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14695
14696 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14697 the yanked message in preference to the default value of
14698 buffer-file-coding-system.
14699
14700 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14701
14702 * window.el (display-buffer--action-function-custom-type):
14703 Fix entry.
14704
14705 2012-05-02 Alan Mackenzie <acm@muc.de>
14706
14707 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14708
14709 2012-05-01 Glenn Morris <rgm@gnu.org>
14710
14711 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14712
14713 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14714
14715 * cus-edit.el (custom-variable-documentation): Simplify with format.
14716
14717 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14718 Stefan Monnier <monnier@iro.umontreal.ca>
14719
14720 * simple.el (suggest-key-bindings, execute-extended-command):
14721 Move from keyboard.c.
14722
14723 2012-05-01 Chong Yidong <cyd@gnu.org>
14724
14725 * follow.el: Eliminate advice.
14726 (set-process-filter, process-filter, sit-for): Advice deleted.
14727 (follow-mode-off-hook): Obsolete hook removed.
14728 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14729 Vars deleted.
14730 (follow-auto): Use a :set function.
14731 (follow-mode): Rewritten. Don't advise process filters.
14732 (follow-switch-to-current-buffer-all, follow-scroll-up)
14733 (follow-scroll-down): Assume follow-mode is bound.
14734 (follow-comint-scroll-to-bottom)
14735 (follow-align-compilation-windows): New functions.
14736 (follow--window-sorter): New function.
14737 (follow-all-followers): Use it to explicitly sort windows by their
14738 positions; don't make assumptions about next-window order.
14739 (follow-windows-start-end, follow-delete-other-windows-and-split)
14740 (follow-calc-win-start): Doc fix.
14741 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14742 vertical-motion unnecessarily.
14743 (follow-adjust-window): New function.
14744 (follow-post-command-hook): Use it.
14745 (follow-call-set-process-filter, follow-call-process-filter)
14746 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14747 (follow-stop-intercept-process-output, follow-generic-filter):
14748 Functions deleted.
14749 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14750 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14751 New functions, replacing advice on scroll-bar-* commands.
14752 (follow-mwheel-scroll): New function (Bug#4112).
14753
14754 * comint.el (comint-adjust-point): New function.
14755 (comint-postoutput-scroll-to-bottom): Use it.
14756 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14757
14758 2012-05-01 Glenn Morris <rgm@gnu.org>
14759
14760 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14761 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14762 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14763 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14764 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14765 Remove no-byte-compile setting.
14766
14767 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14768
14769 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14770 all-completions code to not return a number in the last cdr.
14771
14772 2012-04-30 Leo Liu <sdl.web@gmail.com>
14773
14774 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14775 read-only error.
14776
14777 2012-04-29 Chong Yidong <cyd@gnu.org>
14778
14779 * follow.el (follow-calc-win-end): Rewrite to handle partial
14780 screen lines correctly (Bug#8390).
14781 (follow-avoid-tail-recenter): Minor cleanup.
14782
14783 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14784
14785 Avoid the obsolete `assoc' package.
14786 * speedbar.el (speedbar-refresh): Avoid adelete.
14787 (speedbar-file-lists): Simplify and avoid aput.
14788 * man.el (Man--sections, Man--refpages): New vars, replacing
14789 Man-sections-alist and Man-refpages-alist.
14790 (Man-build-section-alist, Man-build-references-alist):
14791 Use them; avoid aput.
14792 (Man--last-section, Man--last-refpage): New vars.
14793 (Man-follow-manual-reference): Use them.
14794 Use the `default' arg of completing-read.
14795 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14796
14797 2012-04-27 Chong Yidong <cyd@gnu.org>
14798
14799 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14800
14801 * startup.el (x-apply-session-resources): New function.
14802
14803 * term/ns-win.el (ns-initialize-window-system):
14804 * term/w32-win.el (w32-initialize-window-system):
14805 * term/x-win.el (x-initialize-window-system): Use it to properly
14806 set menu-bar-mode and other vars from X resources, even if the
14807 initial frame is not a window-system frame (Bug#2299).
14808
14809 * subr.el (read-key): Avoid running filter function when setting
14810 up temporary tool bar entries (Bug#9922).
14811
14812 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14813
14814 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14815 (Bug#11344)
14816
14817 2012-04-27 Chong Yidong <cyd@gnu.org>
14818
14819 * select.el (xselect--encode-string): New function, split from
14820 xselect-convert-to-string.
14821 (xselect-convert-to-string): Use it.
14822 (xselect-convert-to-filename, xselect-convert-to-os)
14823 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14824 returned strings are properly encoded (Bug#11315).
14825
14826 2012-04-27 Chong Yidong <cyd@gnu.org>
14827
14828 * simple.el (delete-active-region): Move to killing custom group.
14829
14830 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14831
14832 * progmodes/which-func.el (which-func-current): Quote %
14833 characters for mode-line processing.
14834
14835 2012-04-27 Chong Yidong <cyd@gnu.org>
14836
14837 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14838 reaching eob (Bug#11286).
14839
14840 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14841
14842 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14843 (gdb): Make it buffer-local and init to zero.
14844 (gdb-control-commands-regexp): New variable.
14845 (gdb-send): Don't wrap in "-interpreter-exec console" if
14846 gdb-control-level is positive. Increment gdb-control-level
14847 whenever the command matches gdb-control-commands-regexp, and
14848 decrement it each time the command is "end". (Bug#11279)
14849
14850 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14851
14852 * window.el (adjust-window-trailing-edge, enlarge-window)
14853 (shrink-window, window-resize):
14854 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14855 windows (Bug#11276).
14856
14857 2012-04-27 Chong Yidong <cyd@gnu.org>
14858
14859 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14860 fix "missing prefix" warning. All callers changed.
14861
14862 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14863
14864 * emacs-lisp/assoc.el: Move to obsolete/.
14865
14866 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14867
14868 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14869
14870 * term/ns-win.el (ns-define-service):
14871 * progmodes/pascal.el (pascal-goto-defun):
14872 * progmodes/js.el (js--read-tab):
14873 * progmodes/etags.el (tags-lazy-completion-table):
14874 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14875 * emacs-lisp/ewoc.el (ewoc--wrap):
14876 * emacs-lisp/assoc.el (aput, adelete, amake):
14877 * doc-view.el (doc-view-convert-current-doc):
14878 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14879
14880 2012-04-26 Chong Yidong <cyd@gnu.org>
14881
14882 * image.el (image-type-from-buffer): Only return supported image
14883 type (Bug#9045).
14884
14885 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14886 value, for symmetry with diff-end-of-hunk.
14887 (diff-split-hunk, diff-find-source-location)
14888 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14889 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14890 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14891 compute the relevant hunk or file properly (Bug#6005).
14892 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14893
14894 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14895
14896 * vc/vc-mtn.el:
14897 * vc/vc-hg.el:
14898 * vc/vc-git.el:
14899 * vc/vc-dir.el:
14900 * vc/vc-cvs.el:
14901 * vc/vc-bzr.el:
14902 * vc/vc-arch.el:
14903 * vc/vc.el: Replace lexical-let by lexical-binding.
14904 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14905 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14906 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14907
14908 2012-04-26 Chong Yidong <cyd@gnu.org>
14909
14910 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14911 (diff-mode-shared-map): Bind it to / and [remap undo].
14912
14913 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14914 (ediff-window-setup-function): Use it as the default, to set up
14915 windows based on whether the current frame is graphical (Bug#2138).
14916 (ediff-choose-window-setup-function-automatically): Make obsolete.
14917
14918 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14919
14920 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14921
14922 * ffap.el: Remove old code for obsolete package.
14923 (ffap-complete-as-file-p): Remove.
14924
14925 Use completion-table-with-quoting for comint and pcomplete.
14926 * comint.el (comint--unquote&requote-argument)
14927 (comint--unquote-argument, comint--requote-argument): New functions.
14928 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14929 (comint-quote-filename): Use regexp-opt-charset.
14930 (comint--common-suffix, comint--common-quoted-suffix)
14931 (comint--table-subvert): Remove.
14932 (comint-unquote-function, comint-requote-function): New vars.
14933 (comint--complete-file-name-data): Use them with
14934 completion-table-with-quoting.
14935 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14936 * pcomplete.el (pcomplete-arg-quote-list)
14937 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14938 (pcomplete-unquote-argument-function): Default to non-nil.
14939 (pcomplete-unquote-argument): Simplify.
14940 (pcomplete--common-quoted-suffix): Remove.
14941 (pcomplete-requote-argument-function): New var.
14942 (pcomplete--common-suffix): New function.
14943 (pcomplete-completions-at-point): Use completion-table-with-quoting
14944 and completion-table-subvert.
14945
14946 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14947 (minibuffer--double-dollars): Preserve properties.
14948 (completion--sifn-requote): New function.
14949 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14950
14951 * minibuffer.el: Add support for completion of quoted/escaped data.
14952 (completion-table-with-quoting, completion-table-subvert): New funs.
14953 (completion--twq-try, completion--twq-all): New functions.
14954 (completion--nth-completion): New function.
14955 (completion-try-completion, completion-all-completions): Use it.
14956
14957 2012-04-25 Leo Liu <sdl.web@gmail.com>
14958
14959 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14960 Use compilation-message if available to find real filename.
14961
14962 2012-04-25 Chong Yidong <cyd@gnu.org>
14963
14964 * vc/diff-mode.el (diff-setup-whitespace): New function.
14965 (diff-mode): Use it.
14966
14967 * vc/diff.el (diff-sentinel):
14968 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14969 Whitespace mode variables based on diff style (Bug#8612).
14970
14971 2012-04-25 Leo Liu <sdl.web@gmail.com>
14972
14973 * progmodes/python.el (python-send-region): Add suffix .py to the
14974 temp file.
14975
14976 * files.el (auto-mode-alist): Use javascript-mode instead.
14977
14978 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14979
14980 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14981
14982 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14983 (soap-resolve-references-for-array-type): Hack to prevent self
14984 references, see Bug#9.
14985 (soap-parse-envelope): Report the contents of the 'detail' node
14986 when receiving a fault reply.
14987 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14988
14989 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14990 (soap-inspect-simple-type): New function.
14991
14992 * net/soap-client.el (soap-simple-type): New struct.
14993 (soap-default-xsd-types, soap-default-soapenc-types)
14994 (soap-decode-basic-type, soap-encode-basic-type):
14995 support unsignedInt and double basic types.
14996 (soap-resolve-references-for-simple-type)
14997 (soap-parse-simple-type, soap-encode-simple-type): New function.
14998 (soap-parse-schema): Parse xsd:simpleType declarations.
14999
15000 * net/soap-client.el (soap-default-xsd-types)
15001 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15002 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15003 the local name of "soapenc:Array".
15004 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15005 decoding integer, byte and anyURI xsd types.
15006
15007 2012-04-25 Chong Yidong <cyd@gnu.org>
15008
15009 * cus-edit.el (custom-buffer-create-internal): Update header text.
15010
15011 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15012
15013 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15014 settings on 'system-type', not on 'window-system'. On MS-Windows,
15015 set interactive-mode on in GDB.
15016
15017 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15018
15019 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15020 (ruby-syntax-propertize-regexp): Remove.
15021 (ruby-syntax-propertize-function): Split regexp into chunks.
15022 Match following code directly.
15023
15024 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15025
15026 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15027 (ruby-syntax-propertize-regexp): New function.
15028 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15029 by a special keyword.
15030
15031 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15032 (ruby-syntax-general-delimiters-goto-beg)
15033 (ruby-syntax-propertize-general-delimiters): New functions.
15034 (ruby-syntax-propertize-function): Use them to handle GDL.
15035 (ruby-font-lock-keywords): Move old handling of GDL...
15036 (ruby-font-lock-syntactic-keywords): .. to here.
15037 (ruby-calculate-indent): Adjust indentation for GDL.
15038
15039 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15040
15041 * notifications.el (top): Remove unneeded declarations.
15042 (notifications-specification-version): Change to "1.2".
15043 (notifications-interface, notifications-notify-method)
15044 (notifications-close-notification-method): Fix docstring.
15045 (notifications-get-capabilities-method): New defconst.
15046 (notifications-notify): Add :action-items, :resident and
15047 :transient hints. Change "image_data" to "image-data" and
15048 "image_path" to "image-path".
15049 (notifications-get-capabilities): New defun.
15050
15051 2012-04-24 Leo Liu <sdl.web@gmail.com>
15052
15053 * progmodes/python.el: Move hideshow setup to the end.
15054
15055 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15056
15057 * window.el (handle-select-window): Clear echo area since this is
15058 no more done by read_char (Bug#11304).
15059
15060 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15061
15062 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15063 and `/ M' to filter-derived-mode.
15064 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15065 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15066 (ibuffer-mark-by-mode): Use default rather than initial-input.
15067 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15068
15069 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15070
15071 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15072 (ibuffer-filter-by-derived-mode): New filter.
15073 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15074
15075 2012-04-23 Andreas Politz <politza@fh-trier.de>
15076
15077 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15078
15079 2012-04-23 Chong Yidong <cyd@gnu.org>
15080
15081 * cus-edit.el (customize-apropos, customize-apropos-options):
15082 Disable matching of non-option variables (Bug#11176).
15083 (customize-option, customize-option-other-window)
15084 (customize-changed-options): Doc fix.
15085 (customize-apropos-options, customize-apropos-faces)
15086 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15087
15088 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15089 Fix word list splitting (Bug#11132).
15090 (apropos-symbol, apropos-keybinding, apropos-label)
15091 (apropos-property, apropos-function-button)
15092 (apropos-variable-button, apropos-misc-button): New faces.
15093 (apropos-symbol-face, apropos-keybinding-face)
15094 (apropos-label-face, apropos-property-face, apropos-match-face):
15095 Variables removed (Bug#8396).
15096 (apropos-library-button, apropos-format-plist, apropos-print)
15097 (apropos-print-doc, apropos-describe-plist): Callers changed.
15098
15099 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15100
15101 * net/xesam.el (xesam-mode-map): Use let-bound map in
15102 initialization. (Bug#11292)
15103
15104 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15105
15106 Preserve ispell session localwords when switching back to
15107 original buffer.
15108
15109 * textmodes/ispell.el (ispell-buffer-session-localwords):
15110 New buffer-local variable to hold buffer session localwords.
15111 (ispell-kill-ispell): Add option 'clear to delete session
15112 localwords.
15113 (ispell-command-loop, ispell-change-dictionary)
15114 (ispell-buffer-local-words): Preserve session localwords when
15115 needed.
15116
15117 * textmodes/flyspell.el (flyspell-process-localwords)
15118 (flyspell-do-correct): Preserve session localwords when needed.
15119
15120 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15121
15122 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15123 using obsolete `translation-table-for-input'.
15124 (ispell-word, ispell-process-line, ispell-complete-word):
15125 Use plain `insert' instead of removed `ispell-insert-word'.
15126
15127 2012-04-22 Chong Yidong <cyd@gnu.org>
15128
15129 * cus-edit.el (custom-variable-menu)
15130 (custom-variable-reset-saved, custom-face-menu)
15131 (custom-face-reset-saved): If there is no saved value, make the
15132 "reset-saved" operation bring back the default (Bug#9509).
15133 (custom-face-state): Properly detect themed faces.
15134
15135 * faces.el (face-spec-set): Stop supporting deprecated form of
15136 third arg.
15137
15138 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15139
15140 Move functions from C to Lisp. Make non-blocking method calls
15141 the default. Implement further D-Bus standard interfaces.
15142
15143 * net/dbus.el (dbus-message-internal): Declare function.
15144 Remove unneeded function declarations.
15145 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15146 (dbus-message-type-method-return, dbus-message-type-error)
15147 (dbus-message-type-signal): Declare variables. Remove local
15148 definitions.
15149 (dbus-interface-dbus, dbus-interface-peer)
15150 (dbus-interface-introspectable, dbus-interface-properties)
15151 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15152 Adapt docstring.
15153 (dbus-interface-objectmanager): New defconst.
15154 (dbus-call-method, dbus-call-method-asynchronously)
15155 (dbus-send-signal, dbus-method-return-internal)
15156 (dbus-method-error-internal, dbus-register-service)
15157 (dbus-register-signal, dbus-register-method): New defuns, moved
15158 from dbusbind.c
15159 (dbus-call-method-handler, dbus-setenv)
15160 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15161 New defuns.
15162 (dbus-call-method-non-blocking): Make it an obsolete function.
15163 (dbus-unregister-object, dbus-unregister-service)
15164 (dbus-handle-event, dbus-register-property)
15165 (dbus-property-handler): Obey the new structure of
15166 `bus-registered-objects'.
15167 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15168 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15169 Use `dbus-call-method'.
15170
15171 2012-04-22 Chong Yidong <cyd@gnu.org>
15172
15173 * cus-edit.el (custom-commands, custom-reset-menu)
15174 (Custom-reset-standard): Tweak labels.
15175 (custom-reset-button-menu): Change default to t.
15176 (custom-buffer-create-internal): For the custom-reset-button-menu
15177 case, put the revert button first.
15178 (custom-group-subtitle): New face.
15179 (custom-group-value-create): Align docstring to a specific column.
15180
15181 * wid-edit.el (widget-documentation-link-add): Don't handle
15182 indentation in this function.
15183 (widget-documentation-string-indent-to): New function.
15184 (widget-documentation-string-value-create): Use it.
15185
15186 * autorevert.el (auto-revert):
15187 * epg-config.el (epg):
15188 * ibuffer.el (ibuffer):
15189 * mpc.el (mpc):
15190 * ses.el (ses):
15191 * eshell/eshell.el (eshell):
15192 * net/ange-ftp.el (ange-ftp):
15193 * progmodes/ebnf2ps.el (postscript):
15194 * progmodes/flymake.el (flymake):
15195 * progmodes/prolog.el (prolog):
15196 * progmodes/verilog-mode.el (verilog-mode):
15197 * progmodes/which-func.el (which-func):
15198 * term/xterm.el (xterm):
15199 * textmodes/picture.el (picture):
15200 * textmodes/tildify.el (tildify):
15201 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15202 customization buffers.
15203
15204 2012-04-22 Alan Mackenzie <acm@muc.de>
15205
15206 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15207 Adding a ) can hide the resulting (..) from searches. Fix it.
15208 Bound the backward search to the position of the existing (.
15209
15210 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15211
15212 * progmodes/verilog-mode.el (verilog-mode): Check whether
15213 which-func-modes is t before adding verilog-mode.
15214 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15215
15216 2012-04-21 Leo Liu <sdl.web@gmail.com>
15217
15218 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15219
15220 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15221
15222 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15223 filling of the last column of a table (Bug#5635).
15224 (woman-find-next-control-line): New arg, specifying an additional
15225 regexp component for the control line.
15226 (woman2-roff-buffer): Use it.
15227 (woman-break-table): New function.
15228 (woman2-TS): Use it.
15229
15230 2012-04-21 Chong Yidong <cyd@gnu.org>
15231
15232 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15233 (woman-horizontal-escapes, woman-negative-vertical-space)
15234 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15235 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15236
15237 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15238
15239 * minibuffer.el (completion-file-name-table): Complete user names.
15240
15241 2012-04-20 Leo Liu <sdl.web@gmail.com>
15242
15243 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15244 and pcase-let*.
15245
15246 2012-04-20 Chong Yidong <cyd@gnu.org>
15247
15248 * server.el (server-execute): Respect initial-buffer-choice if it
15249 is a string and there are no files to open (Bug#2825).
15250 (server-create-window-system-frame, server-create-tty-frame):
15251 Don't switch buffers here.
15252 (server-process-filter): Only try to open a window system frame if
15253 compiled with graphical support (Bug#8314).
15254
15255 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15256
15257 * battery.el (battery-echo-area-format): Display remaining time
15258 for sysfs backend too (Bug#11269).
15259 (battery-linux-sysfs): Fix conditional for the charge.
15260
15261 2012-04-20 Chong Yidong <cyd@gnu.org>
15262
15263 * progmodes/gdb-mi.el (gdb): Revert previous change.
15264 (gdb-inferior-io--init-proc): New function.
15265 (gdb-init-1): Use it.
15266 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15267 responsible for allocating a new pty and hooking it to gdb when
15268 the old pty gets an EIO due to process exit.
15269 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15270 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15271 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15272
15273 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15274
15275 * window.el (window-min-size, window-sizable, window-min-delta)
15276 (window-max-delta, window--resizable, window-resizable)
15277 (window-total-size, window-full-height-p, window-full-width-p)
15278 (window-in-direction, window--resize-mini-window, window-resize)
15279 (window--resize-child-windows-normal)
15280 (window--resize-child-windows, window--resize-siblings)
15281 (window--resize-this-window, adjust-window-trailing-edge)
15282 (enlarge-window, shrink-window): Doc fixes.
15283
15284 2012-04-20 Chong Yidong <cyd@gnu.org>
15285
15286 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15287 New function to call delete-process on the gdb-inferior buffer's pty.
15288 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15289 pty process (Bug#11273).
15290 (gdb-update): New arg to suppress talking to the gdb process.
15291 (gdb-done-or-error): Use it.
15292 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15293 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15294 sentinel not being called.
15295
15296 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15297
15298 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15299
15300 2012-04-20 Glenn Morris <rgm@gnu.org>
15301
15302 * net/network-stream.el (open-network-stream): Doc fix.
15303
15304 2012-04-20 Chong Yidong <cyd@gnu.org>
15305
15306 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15307
15308 2012-04-20 Alan Mackenzie <acm@muc.de>
15309
15310 Ensure searching for keywords is case sensitive.
15311
15312 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15313 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15314 (c-defun-name, c-mark-function, c-cpp-define-name)
15315 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15316 (c-context-line-break): Bind case-fold-search to nil.
15317
15318 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15319 Bind case-fold-search to nil.
15320
15321 2012-04-20 Chong Yidong <cyd@gnu.org>
15322
15323 * mail/sendmail.el (mail-bury): Call return action with the right
15324 Rmail buffer (Bug#11242).
15325
15326 * server.el (server-process-filter): Handle corner case where both
15327 tty and nowait options are present (Bug#11102).
15328
15329 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15330
15331 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15332 (top level): Put into the executable the ident-style '$Id:' tag on
15333 windows-nt as well.
15334
15335 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15336
15337 * electric.el (electric-indent-post-self-insert-function): Check that
15338 electric-indent-mode is enabled in current buffer.
15339
15340 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15341
15342 * imenu.el (imenu-progress-message): Restore; it is "used" in
15343 erc/erc-imenu.el and net/snmp-mode.el.
15344
15345 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15346
15347 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15348 (mouse-avoidance-nudge-mouse): Remove unused binding.
15349
15350 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15351
15352 * descr-text.el (describe-char):
15353 * progmodes/python.el (python-describe-symbol):
15354 Don't call `toggle-read-only', set `buffer-read-only'.
15355
15356 * imenu.el (imenu-default-goto-function): Mark unused args.
15357 (imenu-progress-message): Remove obsolete macro; all callers changed.
15358
15359 * subr.el (keymap-canonicalize): Remove unused binding.
15360 (read-passwd): Mark unused arg.
15361
15362 * tutorial.el (tutorial--display-changes): Remove unused binding.
15363 (tutorial--save-tutorial-to): Remove unused variable.
15364
15365 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15366 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15367 (package-generate-autoloads, package-menu--generate)
15368 (package-menu--find-upgrades): Remove unused bindings.
15369
15370 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15371 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15372 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15373 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15374 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15375 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15376 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15377 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15378 (cua-delete-char-rectangle): Mark unused args.
15379 (cua-align-rectangle): Remove unused binding.
15380
15381 * mail/rmail.el (compilation--message->loc)
15382 (epa--find-coding-system-for-mime-charset): Declare.
15383
15384 * net/dbus.el (dbus-register-service): Declare.
15385 (dbus-name-owner-changed-handler): Remove unused binding.
15386
15387 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15388 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15389 (nxml-scan-backward-within): Mark unused arg.
15390 (nxml-dynamic-markup-word): Remove unused binding.
15391
15392 * mouse.el (mouse-menu-major-mode-map):
15393 * emacs-lisp/authors.el (authors-scan-change-log)
15394 (authors-add-to-author-list):
15395 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15396 * emacs-lisp/smie.el (smie-auto-fill):
15397 * mail/sendmail.el (mail-bury):
15398 * mail/unrmail.el (unrmail):
15399 * net/tls.el (open-tls-stream):
15400 * textmodes/picture.el (picture-mouse-set-point):
15401 Remove unused bindings.
15402
15403 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15404
15405 * net/tramp.el (tramp-action-password): Let-bind
15406 `enable-recursive-minibuffers' to t.
15407
15408 2012-04-18 Sam Steingold <sds@gnu.org>
15409
15410 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15411 instead of 'string to accommodate values like [f11].
15412 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15413 * progmodes/gdb-mi.el: Likewise.
15414
15415 2012-04-18 Leo Liu <sdl.web@gmail.com>
15416
15417 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15418 current buffer.
15419 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15420 LOCAL is nil.
15421
15422 2012-04-18 Chong Yidong <cyd@gnu.org>
15423
15424 * simple.el (line-move): Use forward-line if in batch mode
15425 (Bug#11053).
15426
15427 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15428
15429 * files.el (after-find-file): Do not try to add a final newline if
15430 the buffer is read-only (Bug#11156).
15431
15432 2012-04-17 Richard Stallman <rms@gnu.org>
15433
15434 * mail/rmail.el (rmail-start-mail):
15435 Pass (rmail-mail-return...) for the return-action.
15436 Pass (rmail-yank-current-message...) for the yank-action.
15437 (rmail-yank-current-message): New function.
15438 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15439 (rmail-reply): Likewise.
15440 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15441
15442 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15443 buffer, not the last. Reject temp buffers. Use the rmail-mode
15444 buffer, not newbuf.
15445
15446 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15447
15448 * server.el (server-ensure-safe-dir): Simplify.
15449
15450 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15451
15452 * emacs-lisp/smie.el: Provide smarter auto-filling.
15453 (smie-auto-fill): New function.
15454 (smie-setup): Use it.
15455
15456 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15457
15458 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15459
15460 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15461 (comment-indent): Use it.
15462
15463 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
15464
15465 * ses.el: The overall change is to add cell renaming, that is
15466 setting fancy names for cell symbols other than name matching
15467 "\\`[A-Z]+[0-9]+\\'" regexp .
15468 (ses-localvars): Add ses--renamed-cell-symb-list.
15469 (ses-create-cell-variable): New defun.
15470 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15471 (ses-relocate-formula): Relocate formulas only for cells the
15472 symbols of which are not renamed, i.e. symbols whose names do not
15473 match regexp "\\`[A-Z]+[0-9]+\\'".
15474 (ses-relocate-all): Relocate values only for cells the symbols of
15475 which are not renamed.
15476 (ses-load): Create cells variables as the (ses-cell ...) are read,
15477 in order to check row col consistency with cell symbol name only
15478 for cells that are not renamed.
15479 (ses-replace-name-in-formula): New defun.
15480 (ses-rename-cell): New defun.
15481
15482 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15483
15484 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15485 New option (bug#11118).
15486 (perl-calculate-indent): Respect it.
15487
15488 2012-04-17 Glenn Morris <rgm@gnu.org>
15489
15490 * dired-aux.el (dired-mark-read-string): Doc fix.
15491
15492 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15493
15494 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15495 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15496
15497 2012-04-17 Glenn Morris <rgm@gnu.org>
15498
15499 * mouse.el (mouse-drag-track):
15500 * speedbar.el (speedbar-frame-mode):
15501 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15502
15503 2012-04-16 Leo Liu <sdl.web@gmail.com>
15504
15505 * progmodes/python.el: Trivial cleanup.
15506
15507 2012-04-16 Glenn Morris <rgm@gnu.org>
15508
15509 * vc/vc.el (vc-string-prefix-p):
15510 * vc/pcvs-util.el (cvs-string-prefix-p):
15511 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15512 * mpc.el (mpc-string-prefix-p):
15513 Make all of these into obsolete aliases for string-prefix-p.
15514 Update callers.
15515 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15516
15517 * textmodes/two-column.el: Move custom options to the start.
15518 (frame-width): Remove compat definition.
15519 (2C-associate-buffer, 2C-dissociate):
15520 Use with-current-buffer rather than save-excursion.
15521 (2C-dissociate): Force a mode-line update.
15522 (2C-autoscroll): Use ignore-errors.
15523
15524 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15525 Autoload trivia.
15526
15527 * emacs-lisp/cl-extra.el (*random-state*):
15528 Remove unnecessary declaration.
15529
15530 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15531
15532 * play/cookie1.el (cookie-snarf):
15533 Give an explicit error if input file cannot be read.
15534
15535 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15536
15537 * progmodes/perl-mode.el (c-macro-expand):
15538 Remove unnecessary autoload (it is in loaddefs.el).
15539
15540 * textmodes/picture.el (picture-desired-column)
15541 (picture-update-desired-column): Convert comments to doc-strings.
15542 (picture-substitute): Remove function.
15543 (picture-mode-map): Initialize in the defvar.
15544
15545 * woman.el: Remove eval-after-load for tar-mode.
15546 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15547 (woman-tar-extract-file): Autoload it.
15548
15549 * frame.el (automatic-hscrolling): Make this alias obsolete.
15550
15551 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15552
15553 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15554 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15555 (ispell-dictionary-base-alist): Revert to original XEmacs
15556 friendly version for default. [:alpha:] will be added in
15557 `ispell-set-spellchecker-params' if needed.
15558
15559 2012-04-16 Chong Yidong <cyd@gnu.org>
15560
15561 * image.el (imagemagick--file-regexp): New variable.
15562 (imagemagick-register-types): Use it.
15563 (imagemagick-types-inhibit): Add :set function. Allow new value
15564 of t to inhibit all types.
15565
15566 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15567 so we can preload it.
15568
15569 * loadup.el (fboundp): Preload regexp-opt, needed by
15570 imagemagick-register-types.
15571
15572 2012-04-15 Chong Yidong <cyd@gnu.org>
15573
15574 * frame.el (scrolling): Remove nearly unused customization group.
15575
15576 * scroll-all.el (scroll-all-mode): Move to windows group.
15577
15578 2012-04-15 Chong Yidong <cyd@gnu.org>
15579
15580 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15581
15582 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15583
15584 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15585 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15586
15587 2012-04-15 Glenn Morris <rgm@gnu.org>
15588
15589 * simple.el (process-file-side-effects): Doc fix.
15590
15591 2012-04-15 Glenn Morris <rgm@gnu.org>
15592
15593 * international/mule-cmds.el (set-language-environment): Doc fix.
15594
15595 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15596
15597 * server.el (server-auth-key, server-generate-key): Doc fixes.
15598 (server-get-auth-key): Doc fix. Use `string-match-p'.
15599 (server-start): Reflow docstring.
15600
15601 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15602
15603 * server.el (server-generate-key): `called-interactively-p'
15604 requires a parameter.
15605
15606 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15607
15608 * server.el (server-auth-key): New variable.
15609 (server-generate-key, server-get-auth-key): New function.
15610 (server-start): Use the new variable and functions to allow
15611 setting a permanent server key (bug#9423).
15612
15613 2012-04-14 Leo Liu <sdl.web@gmail.com>
15614
15615 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15616
15617 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15618
15619 Spelling fixes.
15620 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15621 Emacs uses American spelling.
15622
15623 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15624
15625 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15626 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15627 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15628 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15629
15630 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15631
15632 * progmodes/which-func.el (which-func-modes): Change default.
15633
15634 2012-04-14 Kim F. Storm <storm@cua.dk>
15635
15636 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15637 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15638
15639 2012-04-14 Chong Yidong <cyd@gnu.org>
15640
15641 * custom.el (custom-theme-set-variables): Doc fix.
15642
15643 2012-04-14 Glenn Morris <rgm@gnu.org>
15644
15645 * international/mule.el (set-auto-coding-for-load): Doc fix.
15646
15647 2012-04-14 Alan Mackenzie <acm@muc.de>
15648
15649 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15650 imenu work again for Objective C Mode. Correct the *-index values,
15651 these having been disturbed by a previous change in 2011-08.
15652
15653 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15654 Correct two search limits.
15655
15656 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15657
15658 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15659
15660 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15661
15662 * international/characters.el: Fix sorting.
15663
15664 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15665
15666 * international/characters.el: Add more missing Latin case pairs.
15667
15668 2012-04-14 Glenn Morris <rgm@gnu.org>
15669
15670 * files.el (dir-locals-set-class-variables): Doc fix.
15671
15672 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15673
15674 * international/characters.el: Add set-case-syntax-pair call for
15675 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15676 counterpart. (Bug#11209)
15677
15678 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15679
15680 2012-04-14 Glenn Morris <rgm@gnu.org>
15681
15682 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15683
15684 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15685
15686 * textmodes/ispell.el (ispell-dictionary-base-alist):
15687 Add data for Hebrew.
15688
15689 2012-04-14 Chong Yidong <cyd@gnu.org>
15690
15691 * net/rcirc.el (rcirc-cmd-quit):
15692 Revert 2012-03-18 change (Bug#11192).
15693
15694 2012-04-14 Glenn Morris <rgm@gnu.org>
15695
15696 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15697
15698 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15699
15700 * minibuffer.el (completion-in-region-mode-map):
15701 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15702
15703 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15704
15705 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15706
15707 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15708
15709 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15710 to allow `C-M-f' and `C-M-b' to move to the nearest path
15711 separator (bug#9511).
15712
15713 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15714
15715 * avoid.el: Require cl when compiling. And also move the
15716 `provide' to the end.
15717
15718 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15719
15720 * avoid.el (mouse-avoidance-banish-position): New variable.
15721 (mouse-avoidance-banish-destination): Use it (bug#10165).
15722
15723 2012-04-13 Leo Liu <sdl.web@gmail.com>
15724
15725 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15726
15727 2012-04-13 Ken Brown <kbrown@cornell.edu>
15728
15729 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15730 this is no longer needed now that cygstart understands file:// URLs.
15731 (browse-url-filename-alist): For the same reason, don't modify
15732 file:// URLs on Cygwin.
15733
15734 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15735
15736 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15737 the region on shift if the binding is already shifted (bug#11221).
15738
15739 2012-04-12 Glenn Morris <rgm@gnu.org>
15740
15741 * mail/mailpost.el: Move to obsolete/.
15742
15743 2012-04-12 Drew Adams <drew.adams@oracle.com>
15744
15745 * imenu.el (imenu--generic-function): Ignore invisible definitions
15746 (bug#10123).
15747
15748 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15749
15750 * hexl.el (hexl-bits): New variable.
15751 (hexl-options): Mention the variable in the doc string.
15752 (hexl-rulerise, hexl-line-displen): New functions.
15753 (hexl-mode): Mention the new variable.
15754 (hexl-mode, hexl-current-address, hexl-current-address):
15755 Use the displen.
15756 (hexl-ascii-start-column): New function.
15757 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15758 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15759
15760 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15761
15762 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15763 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15764 the encoding, as expected by hunspell.
15765
15766 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15767
15768 * battery.el (battery--linux-sysfs-regexp): New const.
15769 (battery-status-function): Use it. Remove yeeloong special case.
15770 (battery-yeeloong-sysfs): Remove.
15771 (battery-echo-area-format): Remove yeeloong special case.
15772
15773 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15774
15775 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15776 Reported by Noah Friedman.
15777
15778 * subr.el (read-passwd): Use read-string.
15779
15780 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15781
15782 * vcursor.el (vcursor-move): Increase the priority of the overlay
15783 (bug#9663).
15784
15785 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15786
15787 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15788 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15789
15790 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15791
15792 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15793 define-minor-mode (bug#10760).
15794
15795 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15796
15797 * progmodes/grep.el (rgrep): Tweak the find command line so
15798 that directories matching `grep-find-ignored-files' won't be
15799 pruned (bug#10351).
15800
15801 2012-04-11 Chong Yidong <cyd@gnu.org>
15802
15803 * startup.el (command-line): Remove support for long-obsolete
15804 variable font-lock-face-attributes.
15805
15806 2012-04-11 Glenn Morris <rgm@gnu.org>
15807
15808 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15809
15810 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15811
15812 * window.el (window--state-get-1): Obey window-point-insertion-type.
15813
15814 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15815
15816 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15817 to previous function when point is on the first character of a
15818 function. Take care of that in `narrow-to-defun' (bug#6157).
15819
15820 2012-04-11 Glenn Morris <rgm@gnu.org>
15821
15822 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15823 not just file-errors.
15824
15825 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15826 (vc-bzr-sha1): Use internal sha1.
15827
15828 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15829
15830 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15831
15832 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
15833
15834 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15835 that start in the middle of the line (bug#10496).
15836
15837 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15838
15839 * battery.el (battery-linux-proc-acpi): Only one battery is
15840 discharged at a time, but that seems to confuse battery.el when
15841 computing `rate-type' for the battery not being discharged
15842 (bug#10332).
15843
15844 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15845
15846 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15847
15848 * international/quail.el: Use dolist and simplify.
15849 (quail-define-package, quail-update-keyboard-layout)
15850 (quail-define-rules): Use dolist.
15851 (quail-insert-kbd-layout, quail-get-translation): CSE.
15852
15853 * tmm.el: Use dolist, remove left over hook.
15854 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15855 Use dolist.
15856 (calendar-load-hook): Don't mess with it.
15857
15858 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15859 Use derived-mode-p. Run the diff asynchronously.
15860
15861 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15862
15863 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15864
15865 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15866
15867 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15868 (list-dynamic-libraries--loaded): New function.
15869 (list-dynamic-libraries--refresh): Use it.
15870
15871 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15872
15873 * progmodes/python.el (python-fill-paragraph):
15874 Make python-fill-region in a multiline string work when font-lock is
15875 disabled (bug#7018).
15876
15877 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15878
15879 * language/european.el (cp775): Add oem/legacy (en)coding on
15880 DOS/MS Windows for the Baltic languages. There are still plenty
15881 of texts written in this encoding/codepage (bug#6519).
15882
15883 2012-04-10 Glenn Morris <rgm@gnu.org>
15884
15885 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15886 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15887
15888 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15889
15890 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15891 next-line "n" and previous-line "p" in order to make recentf more
15892 consistent with ibuffer, dired or org-mode (bug#9387).
15893
15894 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15895
15896 * image.el (put-image): Return the overlay created instead of the
15897 optional input string (bug#7834). Note that this may break code
15898 that is (for some reason or other) depending on `put-image'
15899 returning the string.
15900
15901 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15902
15903 * simple.el (zap-to-char): Allow zapping using input methods
15904 (bug#1580).
15905
15906 * textmodes/fill.el (fill-region): Leave point and mark where they
15907 were before filling (bug#5399).
15908
15909 2012-04-09 Glenn Morris <rgm@gnu.org>
15910
15911 * version.el (emacs-bzr-get-version):
15912 Handle lightweight checkouts of local branches.
15913
15914 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15915
15916 * international/characters.el: Recover lost case pairs. (Bug#11209)
15917
15918 2012-04-09 Chong Yidong <cyd@gnu.org>
15919
15920 * custom.el (custom-variable-p): Return nil for non-symbol
15921 arguments instead of signaling an error.
15922 (user-variable-p): Obsolete alias for custom-variable-p.
15923
15924 * apropos.el (apropos-variable):
15925 * files-x.el (read-file-local-variable):
15926 * simple.el (set-variable):
15927 * woman.el (woman-mini-help):
15928 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15929
15930 2012-04-09 Glenn Morris <rgm@gnu.org>
15931
15932 * startup.el (normal-top-level): Don't look for leim-list.el
15933 in places where it will not be found. (Bug#910)
15934
15935 * international/mule-cmds.el (set-default-coding-systems):
15936 * files.el (normal-mode):
15937 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15938 This function was removed with ucs-tables.el in 2008.
15939
15940 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15941
15942 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15943 ispell-encoding8-command to "-i", without a trailing space.
15944 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15945 separate command-line arguments, to specify the encoding, since
15946 that's how hunspell expects it.
15947
15948 2012-04-08 Glenn Morris <rgm@gnu.org>
15949
15950 * loadup.el: Load bindings before cus-start.
15951 This reduces somewhat the number of "rogue" settings in emacs -Q.
15952
15953 2012-04-07 Glenn Morris <rgm@gnu.org>
15954
15955 * version.el (emacs-bzr-get-version): New function.
15956 (emacs-bzr-version): New variable.
15957 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15958 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15959
15960 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15961
15962 * international/uni-bidi.el, international/uni-category.el:
15963 * international/uni-combining.el, international/uni-decimal.el:
15964 * international/uni-decomposition.el, international/uni-digit.el:
15965 * international/uni-lowercase.el, international/uni-mirrored.el:
15966 * international/uni-name.el, international/uni-numeric.el:
15967 * international/uni-titlecase.el, international/uni-uppercase.el:
15968 Update for Unicode 6.1.
15969
15970 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15971
15972 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15973
15974 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15975
15976 * window.el (shrink-window): Mention the `window-min-height'
15977 variable in the doc string.
15978
15979 2012-04-05 Bastien Guerry <bzg@altern.org>
15980
15981 * color.el (color-lighten-name): Fix typo.
15982
15983 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15984
15985 * server.el (server--on-display-p): New function.
15986 (server--on-display-p): Use it.
15987
15988 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
15989
15990 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15991 (bug#11145).
15992
15993 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15994
15995 * comint.el (comint--common-quoted-suffix): Check string boundary
15996 before comparing (bug#11158).
15997 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15998
15999 2012-04-04 Chong Yidong <cyd@gnu.org>
16000
16001 * minibuffer.el (completion-extra-properties): Doc fix.
16002
16003 * subr.el (delayed-warnings-hook): Doc fix.
16004
16005 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16006
16007 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16008 selection (Bug#11159).
16009 (epa-insert-keys): Inform that the default public key will be
16010 exported if no key is selected.
16011
16012 2012-04-04 Richard Stallman <rms@gnu.org>
16013
16014 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16015
16016 2012-04-03 Chong Yidong <cyd@gnu.org>
16017
16018 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16019 mail-insert-file, not its obsolete alias mail-attach-file.
16020
16021 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16022
16023 * notifications.el (notifications-notify): Fix docstring.
16024
16025 2012-04-02 Glenn Morris <rgm@gnu.org>
16026
16027 * emacs-lisp/authors.el (authors-aliases): Another addition.
16028
16029 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16030
16031 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16032 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16033 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16034
16035 2012-04-01 Chong Yidong <cyd@gnu.org>
16036
16037 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16038 Handle root directory properly.
16039 (copy-directory): Caller changed.
16040
16041 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16042 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16043
16044 2012-03-31 Glenn Morris <rgm@gnu.org>
16045
16046 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16047
16048 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16049
16050 * calendar/calendar.el (calendar-window-list)
16051 (calendar-hide-window): Restore. (Bug#11140)
16052 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16053
16054 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16055
16056 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16057
16058 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16059 Check if file is a symlink (Bug#10489).
16060
16061 * files.el (copy-directory): Likewise.
16062
16063 2012-03-30 Chong Yidong <cyd@gnu.org>
16064
16065 * image.el (imagemagick-types-inhibit)
16066 (imagemagick-register-types): Doc fix.
16067
16068 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16069
16070 * textmodes/ispell.el (ispell-get-extended-character-mode):
16071 Disable extended-char-mode for hunspell. hunspell does not support it
16072 and treats ~word as ordinary words in pipe mode.
16073
16074 2012-03-30 Glenn Morris <rgm@gnu.org>
16075
16076 * tutorial.el (help-with-tutorial): Ensure local variables don't
16077 happen to make the buffer read-only. (Bug#11127)
16078
16079 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16080
16081 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16082 (perl-calculate-indent): Return `noindent' in strings.
16083
16084 2012-03-28 Sam Steingold <sds@gnu.org>
16085
16086 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16087 instead of the broken adhockery which does not prevent calendar
16088 buffers from being displayed at random after exit.
16089 (calendar-window-list, calendar-hide-window): Remove the broken
16090 adhockery.
16091
16092 2012-03-28 Glenn Morris <rgm@gnu.org>
16093
16094 * replace.el (query-replace-map): Doc fix.
16095
16096 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16097
16098 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16099 contents. (Bug#11109)
16100
16101 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16102
16103 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16104 (bug#11077).
16105 (avl-tree--check, avl-tree--check-node): New funs.
16106
16107 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16108
16109 * window.el (switch-to-visible-buffer): New option.
16110 (switch-to-prev-buffer, switch-to-next-buffer):
16111 Observe switch-to-visible-buffer. Make sure that checking for a window
16112 showing a buffer already is done on the same frame.
16113
16114 2012-03-27 Glenn Morris <rgm@gnu.org>
16115
16116 * startup.el (mail-host-address): Doc fix.
16117
16118 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16119
16120 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16121 than 197 variables.
16122
16123 2012-03-26 Ami Fischman <ami@fischman.org>
16124
16125 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16126
16127 2012-03-26 Glenn Morris <rgm@gnu.org>
16128
16129 * files.el (save-buffers-kill-emacs): Doc fix.
16130
16131 * startup.el (normal-top-level, command-line, command-line-1):
16132 Give them doc strings.
16133
16134 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16135
16136 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16137 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16138
16139 2012-03-25 Chong Yidong <cyd@gnu.org>
16140
16141 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16142 theme if it was previously enabled before (Bug#11031).
16143
16144 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16145 spec with custom-face-get-current-spec if its :shown-value is not
16146 determined yet (Bug#9337).
16147 (customize-create-theme, custom-theme-revert): Doc fixes.
16148
16149 * button.el (button-at): Minor addition to docstring.
16150
16151 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16152
16153 * vc/vc.el (vc-merge): Fix a prompt.
16154
16155 2012-03-24 Chong Yidong <cyd@gnu.org>
16156
16157 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16158 point (Bug#9623).
16159
16160 * button.el (button-at): Minor addition to docstring.
16161
16162 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16163
16164 * newcomment.el (comment-choose-indent): No space after BOL.
16165
16166 2012-03-22 Sam Steingold <sds@gnu.org>
16167
16168 * window.el (switch-to-prev-buffer): Revert last patch because the
16169 bug turned out to be an advertised feature (Elisp manual 28.14).
16170
16171 2012-03-22 Glenn Morris <rgm@gnu.org>
16172
16173 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16174 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16175
16176 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16177
16178 * net/network-stream.el (network-stream-open-starttls): Make error
16179 message under Windows be less misleading.
16180
16181 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16182
16183 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16184 understands (bug#9942).
16185
16186 2012-03-22 Chong Yidong <cyd@gnu.org>
16187
16188 * simple.el (end-of-visible-line): Handle return value of
16189 next-single-property-change properly (Bug#9371).
16190
16191 2012-03-22 Kenichi Handa <handa@m17n.org>
16192
16193 * international/quail.el (quail-insert-kbd-layout): Fix previous
16194 change. To avoid unwanted bidi reordering, use
16195 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16196
16197 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16198
16199 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16200 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16201 (ruby-beginning-of-indent): Be more careful with the difference
16202 between word-boundary and symbol boundary.
16203 (ruby-mode-syntax-table): Make : a symbol constituent.
16204
16205 2012-03-21 Andreas Politz <politza@fh-trier.de>
16206
16207 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16208
16209 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16210
16211 * progmodes/etags.el (tags-completion-at-point-function):
16212 Improve last fix.
16213
16214 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16215
16216 2012-03-21 Sam Steingold <sds@gnu.org>
16217
16218 * progmodes/etags.el (tags-completion-at-point-function):
16219 Avoid the error when point is inside the pattern.
16220
16221 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16222
16223 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16224 line (Bug#10855).
16225
16226 2012-03-21 Drew Adams <drew.adams@oracle.com>
16227
16228 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16229
16230 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16231
16232 * ido.el (ido-set-current-directory, ido-read-internal)
16233 (ido-choose-completion-string, ido-completion-help): Handle nil
16234 value of ido-completion-buffer (Bug#11008).
16235
16236 2012-03-21 Sam Steingold <sds@gnu.org>
16237
16238 * window.el (switch-to-prev-buffer): Do not switch to a visible
16239 window previous buffer, just like with the frame previous buffers.
16240
16241 2012-03-21 Chong Yidong <cyd@gnu.org>
16242
16243 * faces.el (make-face, make-empty-face, copy-face):
16244 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16245 Doc fixes.
16246
16247 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16248
16249 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16250 (widget-complete): Remove broken use of it.
16251
16252 2012-03-20 Chong Yidong <cyd@gnu.org>
16253
16254 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16255 Use string-width and truncate-string-width to handle arbitrary
16256 characters.
16257
16258 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16259
16260 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16261 to draw rectangles, not squares. (Regression introduced by revno
16262 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16263
16264 2012-03-18 Chong Yidong <cyd@gnu.org>
16265
16266 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16267 it is not yet defined (for temacs).
16268
16269 2012-03-18 Leo Liu <sdl.web@gmail.com>
16270
16271 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16272 prefix.
16273
16274 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16275
16276 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16277 (ispell-choices-win-default-height, ispell-silently-savep)
16278 (ispell-dictionary-alist, ispell-encoding8-command)
16279 (ispell-check-version, ispell-aspell-find-dictionary)
16280 (ispell-valid-dictionary-list, ispell-words-keyword)
16281 (ispell-get-word, ispell-internal-change-dictionary)
16282 (ispell-region, ispell-skip-region-list)
16283 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16284 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16285 (ispell-message-text-end, ispell-message)
16286 (ispell-buffer-local-parsing): Doc fix.
16287
16288 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16289
16290 * htmlfontify.el: Add support for code block fontification for ODT
16291 export (Bug #9914).
16292 (hfy-optimisations): Define new option
16293 `body-text-only'
16294 (hfy-fontify-buffer): Honor above setting.
16295 (hfy-begin-span, hfy-end-span): New routines factored out form
16296 `hfy-fontify-buffer'.
16297 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16298 that permit insertion of custom tags.
16299 (hfy-fontify-buffer): Use above handlers.
16300 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16301 (hfy-face-to-css): Re-defined to be a variable.
16302 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16303 over multiple runs. This is made possible by having the caller let
16304 bind a special variable `hfy-user-sheet-assoc'.
16305 (htmlfontify-string): New defun.
16306 (hfy-compile-face-map): Make sure that the last char in the
16307 buffer is correctly fontified.
16308 (hfy-face-resolve-face): Whitespace only change.
16309
16310 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16311
16312 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16313 message more clear.
16314
16315 2012-03-16 Leo Liu <sdl.web@gmail.com>
16316
16317 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16318
16319 2012-03-16 Alan Mackenzie <acm@muc.de>
16320
16321 Further optimize the handling of large macros.
16322
16323 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16324 limit to a call of `c-literal-limits'.
16325 (c-determine-+ve-limit): New function.
16326 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16327 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16328 In CASE 5B, restrict a search limit to 500.
16329 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16330
16331 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16332 Restrict macro bounds to +-500 from after-change's BEG END.
16333
16334 2012-03-16 Leo Liu <sdl.web@gmail.com>
16335
16336 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16337
16338 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16339
16340 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16341 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16342
16343 2012-03-16 Glenn Morris <rgm@gnu.org>
16344
16345 * view.el (view-buffer, view-buffer-other-window)
16346 (view-buffer-other-frame): Doc fixes re special mode-class.
16347
16348 * subr.el (eval-after-load): If named feature is provided not from
16349 a file, run after-load forms. (Bug#10946)
16350
16351 * calendar/calendar.el (calendar-insert-at-column):
16352 Handle non-unit-width characters a bit better. (Bug#10978)
16353
16354 2012-03-15 Chong Yidong <cyd@gnu.org>
16355
16356 * emacs-lisp/ring.el (ring-extend): New function.
16357 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16358
16359 * comint.el (comint-read-input-ring)
16360 (comint-add-to-input-history): Grow comint-input-ring lazily.
16361
16362 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16363
16364 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16365 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16366
16367 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16368 (imenu-add-to-menubar): Don't add a redundant index.
16369 (imenu-update-menubar): Handle a dynamically composed keymap.
16370
16371 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16372
16373 * mail/sendmail.el (mail-encode-header):
16374 Bind rfc2047-encode-encoded-words to nil.
16375
16376 2012-03-13 Glenn Morris <rgm@gnu.org>
16377
16378 * calendar/calendar.el (calendar-string-spread):
16379 Handle non-unit-width characters a bit better. (Bug#10978)
16380
16381 2012-03-13 Leo Liu <sdl.web@gmail.com>
16382
16383 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16384 directory and file as argument (Bug#10822).
16385
16386 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16387
16388 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16389 For dynamically generated code, follow $PC.
16390 (gdb-disassembly-handler-custom): Handle no function name case.
16391
16392 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16393
16394 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16395 * emulation/ws-mode.el (ws-query-replace):
16396 * sort.el (sort-regexp-fields):
16397 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16398
16399 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16400
16401 * dabbrev.el: Fix cycle completion order (bug#10963).
16402 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16403 (dabbrev-completion): Don't use an obarray; provide
16404 a cycle-sort-function.
16405
16406 2012-03-12 Leo Liu <sdl.web@gmail.com>
16407
16408 * simple.el (kill-new): Use equal-including-properties for comparison.
16409 (kill-do-not-save-duplicates): Doc fix.
16410
16411 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16412
16413 * dabbrev.el: Fix cycle completion (bug#10963).
16414 Use lexical binding and wrap to 80 columns.
16415 (dabbrev-completion): Delay computing the list of completions.
16416
16417 2012-03-12 Kenichi Handa <handa@m17n.org>
16418
16419 * international/quail.el (quail-insert-kbd-layout): Surround each
16420 row by LRO and PDF instead of inserting many LRMs. Pad the left
16421 and right of each non-spacing marks. Insert invisible space
16422 between lower and upper characters to prevent composition.
16423
16424 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16425
16426 * minibuffer.el (minibuffer-complete): Don't get confused when the
16427 function is run twice via different commands (bug#10958).
16428 (complete-with-action): Fix docstring.
16429
16430 2012-03-12 Chong Yidong <cyd@gnu.org>
16431
16432 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16433 (nxml-completion-at-point-function): New function.
16434 (nxml-mode): Use it.
16435 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16436
16437 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16438 Load generated autoloads file before byte compiling (Bug#10970).
16439 (package--make-autoloads-and-compile): New helper fun.
16440
16441 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16442
16443 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16444
16445 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16446
16447 * autorevert.el (auto-revert-handler): Ensure, that
16448 file-readable-p is applied only for local files or in
16449 auto-revert-tail-mode.
16450
16451 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16452
16453 * server.el (server-eval-at): Handle non-tcp connections.
16454 Decode result string.
16455
16456 * server.el (server-msg-size): New constant.
16457 (server-reply-print): New function.
16458 (server-eval-and-print): Use it.
16459 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16460 Handle -print-nonl.
16461
16462 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16463
16464 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16465 (Bug#10987).
16466
16467 2012-03-11 Chong Yidong <cyd@gnu.org>
16468
16469 * simple.el (goto-line): Doc fix (Bug#9938).
16470
16471 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16472
16473 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16474 when finished (Bug#10963).
16475
16476 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16477
16478 * window.el (split-window-below): Fix bug in case where
16479 split-window-keep-point is nil (Bug#10971).
16480
16481 2012-03-11 Juri Linkov <juri@jurta.org>
16482
16483 * replace.el (replace-highlight): Set isearch-word to nil
16484 unconditionally. (Bug#10887)
16485
16486 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16487
16488 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16489 mairix-replace-illegal-chars; all callers changed. Don't remove
16490 ^, ~, and = characters: they are meaningful in mairix search specs.
16491 (mairix-widget-create-query): Add usage information about mairix
16492 search forms: negating words, searching for substrings, etc.
16493
16494 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16495
16496 * international/fontset.el (font-encoding-alist): Add an entry for
16497 ksx1001 (Bug#5667).
16498
16499 2012-03-10 Richard Stallman <rms@gnu.org>
16500
16501 * mail/sendmail.el (mail-encode-header):
16502 Set rfc2047-encode-encoded-words.
16503
16504 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16505
16506 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16507 view buffer means not swapped.
16508 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16509 (rmail-write-region-annotate): Error if real text has disappeared.
16510
16511 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16512
16513 2012-03-10 Chong Yidong <cyd@gnu.org>
16514
16515 * emulation/cua-rect.el (cua--init-rectangles):
16516 * emulation/cua-base.el (cua--init-keymaps):
16517 Add delete-forward-char to remappings (Bug#9666).
16518
16519 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16520
16521 * speedbar.el (speedbar-unhighlight-one-tag-line):
16522 Avoid unhighlighting due to frame switching (Bug#10275).
16523
16524 2012-03-10 Chong Yidong <cyd@gnu.org>
16525
16526 * minibuffer.el (completion-in-region, completion-help-at-point):
16527 Give the completion field overlay a high priority (Bug#6830).
16528
16529 * dired.el (dired-goto-file): Recognize absolute file name
16530 listings (Bug#7126).
16531 (dired-goto-file-1): New helper function.
16532 (dired-toggle-read-only): Inhibit warnings.
16533
16534 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16535
16536 * net/dbus.el (dbus-property-handler): Return empty array if
16537 there are no properties.
16538
16539 2012-03-09 Leo Liu <sdl.web@gmail.com>
16540
16541 * savehist.el (savehist-printable): Stricter check for string
16542 value (Bug#10937).
16543
16544 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16545
16546 * mail/smtpmail.el (smtpmail-send-it):
16547 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16548 valid mbox format.
16549
16550 2012-03-09 Glenn Morris <rgm@gnu.org>
16551
16552 * files.el (dir-locals-find-file):
16553 Don't check result is regular, readable.
16554 (dir-locals-read-from-file): Demote errors.
16555
16556 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16557
16558 * international/quail.el (quail-insert-kbd-layout):
16559 Insert invisible LRM characters before each character in a keyboard
16560 layout cell, to prevent their reordering by bidi display engine.
16561 For details, see the discussion in
16562 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16563
16564 2012-03-08 Alan Mackenzie <acm@muc.de>
16565
16566 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16567 the starting position; make it extend the marked region when
16568 invoked repeatedly - all under appropriate circumstances.
16569 Fixes bugs #5525, #10906.
16570
16571 2012-03-08 Glenn Morris <rgm@gnu.org>
16572
16573 * files.el (locate-dominating-file, dir-locals-find-file):
16574 Undo 2012-03-06 change.
16575
16576 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16577
16578 * international/quail.el (quail-help):
16579 Force bidi-paragraph-direction be left-to-right. See discussion in
16580 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16581 for the reason.
16582
16583 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16584
16585 Avoid superfluous registering of signals. (Bug#10807)
16586
16587 * notifications.el (notifications-on-action-object)
16588 (notifications-on-close-object): New defvars.
16589 (notifications-on-action-signal, notifications-on-closed-signal):
16590 Unregister the signal if not needed any longer.
16591 (notifications-notify): Register `notifications-action-signal' or
16592 `notifications-closed-signal', if :on-action or :on-close has been
16593 passed as argument.
16594
16595 2012-03-07 Chong Yidong <cyd@gnu.org>
16596
16597 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16598 non-X platforms.
16599
16600 2012-03-06 Glenn Morris <rgm@gnu.org>
16601
16602 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16603 (x-disown-selection-internal, x-get-selection-internal):
16604 Doc fix (add arglist signatures). (Bug#10783)
16605
16606 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16607
16608 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16609 Handle breakpoints with no "type".
16610
16611 2012-03-06 Glenn Morris <rgm@gnu.org>
16612
16613 * files.el (locate-dominating-file): Add optional predicate argument.
16614 (dir-locals-find-file): Make use of above change.
16615
16616 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16617
16618 * info.el (Info-insert-dir): Also try "dir.gz".
16619
16620 2012-03-06 Glenn Morris <rgm@gnu.org>
16621
16622 * files.el (dir-locals-find-file):
16623 Ignore non-readable or non-regular files. (Bug#10928)
16624
16625 * files.el (locate-dominating-file): Doc fix.
16626
16627 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16628
16629 * calendar/calendar.el (calendar-set-mode-line):
16630 `getenv' returns a string. (Bug#10951)
16631
16632 2012-03-05 Leo Liu <sdl.web@gmail.com>
16633
16634 * simple.el (backward-delete-char-untabify): Constrain point to
16635 field (Bug#10939).
16636
16637 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16638
16639 2012-03-05 Chong Yidong <cyd@gnu.org>
16640
16641 * simple.el (count-words): If called from Lisp, return the word
16642 count, for symmetry with `count-lines'. Arglist changed.
16643 (count-words--message): Args changed. Consolidate counting code
16644 from count-words and count-words-region.
16645 (count-words-region): Caller changed.
16646 (count-lines-region): Make it an obsolete alias.
16647
16648 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16649
16650 * saveplace.el (save-place-to-alist)
16651 (save-place-ignore-files-regexp): Allow value nil to disable this
16652 feature.
16653
16654 2012-03-04 Chong Yidong <cyd@gnu.org>
16655
16656 * faces.el (face-spec-reset-face): For the default face, reset the
16657 attributes to default values (Bug#10748).
16658
16659 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16660
16661 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16662 previous patch: Check `message-send-mail-function', and not the
16663 default function (bug#10897).
16664
16665 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16666
16667 * notifications.el (notifications-on-action-signal)
16668 (notifications-on-closed-signal): Check for unique service name of
16669 incoming event. Fix error in removing entry.
16670 (top): Register for signals with wildcard service name.
16671 (notifications-notify): Use daemon unique service name for map entries.
16672
16673 2012-03-04 Chong Yidong <cyd@gnu.org>
16674
16675 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16676
16677 2012-03-04 Glenn Morris <rgm@gnu.org>
16678
16679 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16680 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16681 (expand-abbrev, define-abbrev-table): Doc fixes.
16682
16683 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16684
16685 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16686 `message-default-send-mail-function' and not `send-mail-function'
16687 when doing the prompting for `sendmail-query-once' before sending
16688 in Message buffers (bug#10897).
16689
16690 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16691 This is inconsistent with all the other stream functions, which leave
16692 the setting up to the higher levels (if so wanted) (bug#10931).
16693
16694 2012-03-02 Alan Mackenzie <acm@muc.de>
16695
16696 Depessimize the handling of very large macros.
16697
16698 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16699 (c-macro-cache-syntactic): New variables to implement a one
16700 element macro cache.
16701 (c-invalidate-macro-cache): New function.
16702 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16703 Adapt to use the new cache.
16704 (c-state-safe-place): Use better the cache of safe positions.
16705 (c-state-semi-nonlit-pos-cache)
16706 (c-state-semi-nonlit-pos-cache-limit):
16707 New variables for...
16708 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16709 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16710 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16711 Use c-state-semi-safe-place.
16712
16713 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16714 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16715
16716 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16717
16718 * jka-compr.el (jka-compr-call-process):
16719 Apply `file-accessible-directory-p' only when the default directory is
16720 not remote.
16721
16722 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16723
16724 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16725 access of FILE2, if FILE1 does not exist.
16726
16727 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16728 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16729
16730 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16731 Add "PAGER=" to `process-environment'.
16732
16733 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16734
16735 * progmodes/sql.el: Bug fix
16736 (sql-get-login-ext): Save login values in globals.
16737 (sql-get-login): Use new version of `sql-get-login-ext'.
16738 (sql-interactive-mode): Set global `sql-connection' to nil.
16739 (sql-connect): Set global values for connection.
16740 (sql-product-interactive): Save global values as buffer local.
16741
16742 2012-02-29 Leo Liu <sdl.web@gmail.com>
16743
16744 * abbrev.el (define-abbrevs): Reset sys to nil.
16745
16746 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16747
16748 * files.el (file-equal-p): Rename from `files-equal-p'.
16749 Return nil when one or both files don't exist.
16750 (file-subdir-of-p): Now only top directory must exists,
16751 return nil if it doesn't.
16752 (copy-directory): No need to test with `file-subdir-of-p' after
16753 creating dir.
16754 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16755 to `file-equal-p'.
16756
16757 2012-02-28 Glenn Morris <rgm@gnu.org>
16758
16759 * shell.el (shell-mode):
16760 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16761 * play/landmark.el (landmark-font-lock-face-O):
16762 * play/handwrite.el (handwrite):
16763 * play/gomoku.el (gomoku-O):
16764 * net/browse-url.el (browse-url-browser-display):
16765 * international/mule.el (define-charset):
16766 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16767 * filesets.el (filesets-find-file-delay):
16768 * eshell/em-xtra.el (eshell-xtra):
16769 * eshell/em-unix.el (eshell-grep):
16770 * emulation/viper.el (viper-mode):
16771 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16772 * emacs-lisp/easymenu.el (easy-menu-define):
16773 * calendar/timeclock.el (timeclock-use-display-time):
16774 * bs.el (bs-mode):
16775 * bookmark.el (bookmark-save-flag):
16776 Doc fix (standardize possessive apostrophe usage).
16777
16778 2012-02-27 Chong Yidong <cyd@gnu.org>
16779
16780 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16781 Fix key-binding lookup for ESC key (Bug#9146).
16782
16783 * font-lock.el (font-lock-specified-p): Rename from
16784 font-lock-spec-present. Callers changed.
16785
16786 2012-02-27 Daniel Hackney <dan@haxney.org>
16787
16788 * emacs-lisp/package.el (package-compute-transaction):
16789 Handle holding a package version to t in package-load-list.
16790
16791 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16792
16793 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16794 (tramp-get-inode, tramp-get-device): Use cached values.
16795
16796 2012-02-26 Alan Mackenzie <acm@muc.de>
16797
16798 Check there is a font-lock specification before doing initial
16799 fontification.
16800
16801 * font-core.el (font-lock-mode): Move the conditional from
16802 :after-hook to font-lock-initial-fontify.
16803 (font-lock-default-function): Move the check for a specification
16804 to font-lock-spec-present.
16805
16806 * font-lock.el (font-lock-initial-fontify): Call ...
16807 (font-lock-spec-present): New function.
16808
16809 2012-02-26 Jim Blandy <jimb@red-bean.com>
16810
16811 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16812 (gdb-send): Apply it to the operand of the '-interpreter-exec
16813 console' command, so that we can pass arguments with (say) quotes
16814 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16815
16816 2012-02-26 Chong Yidong <cyd@gnu.org>
16817
16818 * help-fns.el (describe-function-1): Clarify description of
16819 remapping (Bug#10844).
16820
16821 * files.el (files-equal-p): Doc fix.
16822 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16823 and quit the loop once a mismatch is found.
16824
16825 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16826
16827 * bs.el (bs--show-with-configuration): Don't throw an error
16828 if the window cannot be split; otherwise, subsequent calls to
16829 bs-show fail, restoring a stale window config. (Bug#10882)
16830
16831 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16832
16833 * term/ns-win.el (global-map): Bind ns-drag-file to
16834 ns-find-file (Bug#5855, Bug#10050).
16835
16836 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16837
16838 * calendar/parse-time.el (parse-time-string): Allow extractor to
16839 return nil.
16840
16841 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16842
16843 * net/tramp.el (tramp-file-name-for-operation):
16844 Add `files-equal-p' and `file-subdir-of-p'.
16845
16846 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16847 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16848 Add COPY-CONTENTS argument.
16849
16850 2012-02-25 Chong Yidong <cyd@gnu.org>
16851
16852 Add custom groups for VC backends, for consistency with vc-bzr.
16853
16854 * vc/vc-arch.el (vc-arch):
16855 * vc/vc-cvs.el (vc-cvs):
16856 * vc/vc-git.el (vc-git):
16857 * vc/vc-hg.el (vc-hg):
16858 * vc/vc-mtn.el (vc-mtn):
16859 * vc/vc-rcs.el (vc-rcs):
16860 * vc/vc-sccs.el (vc-sccs):
16861 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16862 All relevant defcustoms reassigned.
16863
16864 2012-02-25 Chong Yidong <cyd@gnu.org>
16865
16866 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16867
16868 * term/x-win.el (x-initialize-window-system): Reduce default for
16869 x-selection-timeout to 5 seconds (Bug#8869).
16870
16871 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16872
16873 * files.el (files-equal-p, file-subdir-of-p): New functions.
16874 (copy-directory): Error when trying to copy a directory on itself.
16875 Add missing copy-contents arg to tramp handler.
16876 * dired-aux.el (dired-copy-file-recursive): Same.
16877 (dired-create-files): Modify destination when source is equal to
16878 dest when copying files.
16879 Return also when dest is a subdir of source. (Bug#10489)
16880
16881 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16882
16883 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16884 (Bug#10874)
16885
16886 2012-02-23 Alan Mackenzie <acm@muc.de>
16887
16888 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16889 parameter "after-hook:" to allow the expansion to run code after
16890 the execution of the mode hooks.
16891
16892 * font-lock.el (font-lock-initial-fontify): New function extracted
16893 from font-lock-mode-internal.
16894
16895 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16896 :after-hook.
16897
16898 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16899
16900 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16901 (completion--cache-all-sorted-completions): New function.
16902 (completion-all-sorted-completions): Use it.
16903 (completion--do-completion, minibuffer-force-complete):
16904 Use it to re-instate the flush hook.
16905
16906 * icomplete.el (icomplete-completions): Replace last fix with a better
16907 one (bug#10850).
16908
16909 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16910
16911 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16912 when it might call us back infinitely (bug#10797).
16913
16914 2012-02-23 Glenn Morris <rgm@gnu.org>
16915
16916 * minibuffer.el (completion-category-overrides): Doc fix.
16917
16918 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16919
16920 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16921 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16922
16923 2012-02-23 Glenn Morris <rgm@gnu.org>
16924
16925 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16926 (authors-obsolete-files-regexps, authors-ignored-files)
16927 (authors-ambiguous-files, authors-renamed-files-alist):
16928 Add more entries.
16929
16930 2012-02-23 Juri Linkov <juri@jurta.org>
16931
16932 * isearch.el (isearch-occur): Sync interactive spec with occur's
16933 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16934
16935 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16936
16937 2012-02-22 Juri Linkov <juri@jurta.org>
16938
16939 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16940 (ucs-insert): Doc fix. Check for hex digits in the string.
16941 Don't display `nil' in the error message. (Bug#10857)
16942
16943 2012-02-22 Alan Mackenzie <acm@muc.de>
16944
16945 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16946
16947 2012-02-22 Glenn Morris <rgm@gnu.org>
16948
16949 * ffap.el (ffap-c-path):
16950 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16951
16952 2012-02-22 Chong Yidong <cyd@gnu.org>
16953
16954 * custom.el (load-theme): Doc fix.
16955
16956 2012-02-22 Glenn Morris <rgm@gnu.org>
16957
16958 * dired-x.el (dired-guess-shell-alist-default):
16959 Remove escape sequences from nroff output. (Bug#172)
16960
16961 2012-02-21 Glenn Morris <rgm@gnu.org>
16962
16963 * vc/emerge.el (emerge-defvar-local):
16964 Set `permanent-local' property rather than unused `preserved'.
16965
16966 * textmodes/picture.el (picture-delete-char): New alias.
16967 (picture-mode-map): Use it. (Bug#10860)
16968 (picture-mode): Doc fix.
16969
16970 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16971
16972 * newcomment.el (uncomment-region-default): Remove unused binding.
16973
16974 2012-02-21 Glenn Morris <rgm@gnu.org>
16975
16976 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16977 (picture-self-insert, picture-tab-chars): Doc fix.
16978 (picture-mode-map): Fix C-a, C-e.
16979
16980 2012-02-20 Glenn Morris <rgm@gnu.org>
16981
16982 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16983
16984 2012-02-20 Leo Liu <sdl.web@gmail.com>
16985
16986 * icomplete.el (icomplete-completions): Check FROM arg before
16987 passing to substring (Bug#10850).
16988
16989 2012-02-19 Chong Yidong <cyd@gnu.org>
16990
16991 * comint.el: Require ansi-color.
16992 (comint-output-filter-functions): Add ansi-color-process-output.
16993
16994 * ansi-color.el: Don't set comint-output-filter-functions; it is
16995 now in the initial value defined in comint.el.
16996 (ansi-color-apply-face-function): New variable.
16997 (ansi-color-apply-on-region): Use it.
16998 (ansi-color-apply-overlay-face): New function.
16999
17000 * shell.el (shell): No need to require ansi-color.
17001 (shell-mode): Use ansi-color-apply-face-function to highlight
17002 color escapes using font-lock-face property (Bug#10835).
17003
17004 2012-02-19 Chong Yidong <cyd@gnu.org>
17005
17006 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17007 mode-line formats (Bug#10839).
17008
17009 2012-02-18 Glenn Morris <rgm@gnu.org>
17010
17011 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17012
17013 * mail/undigest.el (unforward-rmail-message): Doc fix.
17014
17015 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17016
17017 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17018
17019 * international/characters.el (script-list): Sync with the latest
17020 Unicode Character Database.
17021
17022 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17023
17024 * international/titdic-cnv.el: Remove duplicate coding tag.
17025 * language/cham.el: Likewise.
17026 * language/tai-viet.el: Likewise.
17027
17028 2012-02-18 Glenn Morris <rgm@gnu.org>
17029
17030 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17031 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17032 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17033 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17034 * calendar/holidays.el (holiday-bahai-holidays)
17035 (calendar-holidays, list-holidays):
17036 Use utf-8 Bahá'í in doc-strings, menus, etc.
17037
17038 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17039
17040 * saveplace.el (save-place-ignore-files-regexp): New variable
17041 allowing for excluding files from saving their location of point.
17042 The default value matches the temporary commit message editing
17043 files from Git, SVN, Bazaar, and Mercurial.
17044 (save-place-to-alist): Use it.
17045
17046 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17047 Stefan Monnier <monnier@iro.umontreal.ca>
17048
17049 * newcomment.el (uncomment-region-default): Don't leave extra space
17050 when an arg is provided (bug#8150).
17051
17052 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17053
17054 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17055
17056 2012-02-17 Glenn Morris <rgm@gnu.org>
17057
17058 * net/socks.el: Require network-stream. (Bug#10599)
17059
17060 2012-02-17 Kenichi Handa <handa@m17n.org>
17061
17062 * international/charprop.el:
17063 * international/uni-name.el:
17064 * international/uni-old-name.el:
17065 * international/uni-comment.el: Regenerate.
17066
17067 2012-02-16 Glenn Morris <rgm@gnu.org>
17068
17069 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17070 Interactively in calendar buffer, give an error if not on a date.
17071
17072 2012-02-15 Glenn Morris <rgm@gnu.org>
17073
17074 * shell.el (shell-delimiter-argument-list):
17075 Revert 2011-02-17 change. (Bug#8027)
17076
17077 2012-02-15 Chong Yidong <cyd@gnu.org>
17078
17079 * minibuffer.el (completion-at-point-functions): Doc fix.
17080
17081 * custom.el (defcustom): Doc fix; note use of defvar.
17082
17083 2012-02-15 Glenn Morris <rgm@gnu.org>
17084
17085 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17086 Doc fixes.
17087
17088 2012-02-14 Glenn Morris <rgm@gnu.org>
17089
17090 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17091
17092 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17093
17094 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17095 way the ports list is computed.
17096 (smtpmail-query-smtp-server): Prompt the user for a port number if
17097 we can't connect to any of the standard ports (bug#10810).
17098
17099 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17100
17101 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17102
17103 2012-02-13 Glenn Morris <rgm@gnu.org>
17104
17105 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17106
17107 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17108
17109 * net/gnutls.el (gnutls-trustfiles): New variable.
17110 (gnutls-negotiate): Use it.
17111
17112 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17113
17114 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17115 does its stuff if Gnus is running.
17116
17117 2012-02-13 Alan Mackenzie <acm@muc.de>
17118
17119 Fix a loop in c-set-fl-decl-start.
17120
17121 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17122 c-backward-syntactic-ws actually moves backwards.
17123
17124 2012-02-13 Leo Liu <sdl.web@gmail.com>
17125
17126 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17127 beginning so that all \C-o chars are removed.
17128
17129 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17130
17131 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17132
17133 2012-02-12 Alan Mackenzie <acm@muc.de>
17134
17135 Fix infinite loop with long macros.
17136 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17137
17138 2012-02-12 Chong Yidong <cyd@gnu.org>
17139
17140 * window.el (display-buffer): Doc fix (Bug#10785).
17141
17142 2012-02-12 Glenn Morris <rgm@gnu.org>
17143
17144 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17145 (x-disown-selection-internal, x-get-selection-internal):
17146 Sync docs with the xselect.c versions.
17147
17148 * allout-widgets.el: Add missing license notice.
17149
17150 2012-02-11 Glenn Morris <rgm@gnu.org>
17151
17152 * select.el (x-get-selection-internal, x-own-selection-internal)
17153 (x-disown-selection-internal):
17154 * x-dnd.el (x-get-selection-internal): Update declarations.
17155
17156 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17157
17158 * window.el (window-sides-slots):
17159 * tool-bar.el (tool-bar-position):
17160 * term/xterm.el (xterm-extra-capabilities):
17161 * ses.el (ses-self-reference-early-detection):
17162 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17163 (verilog-auto-wire-type)
17164 (verilog-auto-delete-trailing-whitespace)
17165 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17166 (verilog-auto-tieoff-declaration):
17167 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17168 (sql-oracle-statement-starters, sql-oracle-scan-on):
17169 * progmodes/prolog.el (prolog-align-comments-flag)
17170 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17171 (prolog-left-indent-regexp, prolog-paren-indent-p)
17172 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17173 (prolog-types, prolog-mode-specificators)
17174 (prolog-determinism-specificators, prolog-directives)
17175 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17176 (prolog-electric-dot-flag)
17177 (prolog-electric-dot-full-predicate-template)
17178 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17179 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17180 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17181 (prolog-program-switches, prolog-prompt-regexp)
17182 (prolog-debug-on-string, prolog-debug-off-string)
17183 (prolog-trace-on-string, prolog-trace-off-string)
17184 (prolog-zip-on-string, prolog-zip-off-string)
17185 (prolog-use-standard-consult-compile-method-flag)
17186 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17187 (prolog-imenu-max-lines, prolog-info-predicate-index)
17188 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17189 (prolog-char-quote-workaround):
17190 * progmodes/cc-vars.el (c-defun-tactic):
17191 * net/tramp.el (tramp-encoding-command-interactive)
17192 (tramp-local-end-of-line):
17193 * net/soap-client.el (soap-client):
17194 * net/netrc.el (netrc-file):
17195 * net/gnutls.el (gnutls):
17196 * minibuffer.el (completion-category-overrides)
17197 (completion-cycle-threshold)
17198 (completion-pcm-complete-word-inserts-delimiters):
17199 * man.el (Man-name-local-regexp):
17200 * mail/feedmail.el (feedmail-display-full-frame):
17201 * international/characters.el (glyphless-char-display-control):
17202 * eshell/em-ls.el (eshell-ls-date-format):
17203 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17204 (lisp-lambda-list-keyword-parameter-indentation)
17205 (lisp-lambda-list-keyword-parameter-alignment):
17206 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17207 * dired-x.el (dired-omit-verbose):
17208 * cus-theme.el (custom-theme-allow-multiple-selections):
17209 * calc/calc.el (calc-highlight-selections-with-faces)
17210 (calc-lu-field-reference, calc-lu-power-reference)
17211 (calc-note-threshold):
17212 * battery.el (battery-mode-line-limit):
17213 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17214 (archive-7z-update):
17215 * allout.el (allout-prefixed-keybindings)
17216 (allout-unprefixed-keybindings)
17217 (allout-inhibit-auto-fill-on-headline)
17218 (allout-flattened-numbering-abbreviation):
17219 * allout-widgets.el (allout-widgets-auto-activation)
17220 (allout-widgets-icons-dark-subdir)
17221 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17222 (allout-widgets-theme-dark-background)
17223 (allout-widgets-theme-light-background)
17224 (allout-widgets-item-image-properties-emacs)
17225 (allout-widgets-item-image-properties-xemacs)
17226 (allout-widgets-run-unit-tests-on-load)
17227 (allout-widgets-time-decoration-activity)
17228 (allout-widgets-hook-error-post-time)
17229 (allout-widgets-track-decoration):
17230 Add missing :version tags to new defcustoms and defgroups.
17231
17232 * progmodes/sql.el (sql-ansi-statement-starters)
17233 (sql-oracle-statement-starters): Add custom type.
17234
17235 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17236 (prolog-system-version): Give it a type.
17237
17238 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17239
17240 * term/pc-win.el (x-select-text, x-selection-owner-p)
17241 (x-own-selection-internal, x-disown-selection-internal)
17242 (x-get-selection-internal): Sync doc strings and argument lists
17243 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17244
17245 2012-02-11 Leo Liu <sdl.web@gmail.com>
17246
17247 * progmodes/python.el (python-end-of-statement): Fix infinite
17248 loop. (Bug#10788)
17249
17250 2012-02-10 Glenn Morris <rgm@gnu.org>
17251
17252 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17253 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17254
17255 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17256
17257 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17258 about SMTP before checking the From header.
17259
17260 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17261 into own function for reuse by emacsbug.el.
17262
17263 2012-02-10 Leo Liu <sdl.web@gmail.com>
17264
17265 * subr.el (condition-case-unless-debug): Rename from
17266 condition-case-no-debug. All callers changed.
17267 (with-demoted-errors): Fix caller.
17268
17269 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17270 * nxml/rng-valid.el (rng-do-some-validation):
17271 * emacs-lisp/package.el (package-refresh-contents)
17272 (package-menu-execute):
17273 * desktop.el (desktop-create-buffer):
17274 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17275
17276 2012-02-10 Glenn Morris <rgm@gnu.org>
17277
17278 * textmodes/bibtex.el:
17279 Add missing :version tags for new/changed defcustoms.
17280
17281 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17282
17283 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17284
17285 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17286 (smtpmail-via-smtp): Use it, or fall back on the From address.
17287 (smtpmail-send-it): Ditto.
17288
17289 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17290
17291 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17292 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17293 (byte-compile-tmp-var): New const.
17294 (byte-compile-defvar): Use it to minimize .elc size.
17295 Just use `defvar' rather than simulate it (bug#10761).
17296
17297 2012-02-09 Glenn Morris <rgm@gnu.org>
17298
17299 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17300
17301 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17302 Add :version tags.
17303
17304 * progmodes/compile.el (compilation-error-screen-columns)
17305 (compilation-first-column, compilation-filter-start): Doc fixes.
17306
17307 * vc/log-view.el (log-view-toggle-entry-display):
17308 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17309
17310 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17311 (report-emacs-bug-can-use-xdg-email):
17312 (report-emacs-bug-insert-to-mailer): Doc fixes.
17313 (report-emacs-bug): Message fix.
17314
17315 * net/browse-url.el (browse-url-can-use-xdg-open)
17316 (browse-url-xdg-open): Doc fixes.
17317
17318 * electric.el (electric-indent-mode, electric-pair-mode)
17319 (electric-layout-rules, electric-layout-mode): Doc fixes.
17320 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17321
17322 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17323
17324 * server.el (server-unselect-display): Don't inadvertently kill
17325 the current buffer. (Bug#10729)
17326
17327 2012-02-08 Glenn Morris <rgm@gnu.org>
17328
17329 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17330 (sql-list-table): Doc fixes.
17331
17332 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17333 Comment out (does nothing).
17334
17335 * completion.el (dynamic-completion-mode):
17336 * dirtrack.el (dirtrack-debug-mode):
17337 * electric.el (electric-layout-mode):
17338 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17339 * face-remap.el (text-scale-mode, buffer-face-mode):
17340 * iimage.el (iimage-mode):
17341 * image-mode.el (image-transform-mode):
17342 * minibuffer.el (completion-in-region-mode):
17343 * scroll-lock.el (scroll-lock-mode):
17344 * simple.el (next-error-follow-minor-mode):
17345 * tar-mode.el (tar-subfile-mode):
17346 * tooltip.el (tooltip-mode):
17347 * vcursor.el (vcursor-use-vcursor-map):
17348 * wid-browse.el (widget-minor-mode):
17349 * emulation/tpu-edt.el (tpu-edt-mode):
17350 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17351 * international/iso-ascii.el (iso-ascii-mode):
17352 * language/thai-util.el (thai-word-mode):
17353 * mail/supercite.el (sc-minor-mode):
17354 * net/goto-addr.el (goto-address-mode):
17355 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17356 * progmodes/cwarn.el (cwarn-mode):
17357 * progmodes/flymake.el (flymake-mode):
17358 * progmodes/glasses.el (glasses-mode):
17359 * progmodes/hideshow.el (hs-minor-mode):
17360 * progmodes/pascal.el (pascal-outline-mode):
17361 * textmodes/enriched.el (enriched-mode):
17362 * vc/smerge-mode.el (smerge-mode):
17363 Doc fixes (minor mode argument).
17364
17365 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17366
17367 * ls-lisp.el (ls-lisp-sanitize): New function.
17368 (ls-lisp-insert-directory): Use it to fix or remove any elements
17369 in file-alist with missing attributes. (Bug#4673)
17370
17371 2012-02-07 Alan Mackenzie <acm@muc.de>
17372
17373 Fix spurious recognition of c-in-knr-argdecl.
17374
17375 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17376 putative K&R region.
17377
17378 2012-02-07 Alan Mackenzie <acm@muc.de>
17379
17380 * progmodes/cc-engine.el (c-forward-objc-directive):
17381 Prevent looping in "#pragma mark @implementation".
17382
17383 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17384
17385 * notifications.el (notifications-on-closed-signal): Make `reason'
17386 optional. (Bug#10744)
17387
17388 2012-02-07 Glenn Morris <rgm@gnu.org>
17389
17390 * emacs-lisp/easy-mmode.el (define-minor-mode):
17391 Doc fixes for the macro and the mode it defines.
17392
17393 * image.el (imagemagick-types-inhibit): Doc fix.
17394
17395 * cus-start.el (imagemagick-render-type): Add it.
17396
17397 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17398
17399 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17400 Set the default at load time, too, so that `font-lock-fontify-buffer'
17401 can be called without setting up the entire mode first. This fixes
17402 a bug in `mm-inline-text' with C MIME parts.
17403
17404 2012-02-06 Chong Yidong <cyd@gnu.org>
17405
17406 * simple.el (list-processes--refresh): Delete exited processes
17407 (Bug#8094).
17408
17409 * comint.el (comint-next-prompt): next-single-char-property-change
17410 and prev-single-char-property-change never return nil (Bug#8657).
17411
17412 * custom.el (defcustom): Doc fix (Bug#9711).
17413
17414 2012-02-05 Chong Yidong <cyd@gnu.org>
17415
17416 * cus-edit.el (custom-variable-reset-backup): Quote the value
17417 before storing it in the customized-value property (Bug#6712).
17418 (custom-display): Add a customization type tag.
17419 (custom-buffer-create-internal): Improve tooltip message.
17420
17421 * wid-edit.el (widget-field-value-get): New optional arg to
17422 suppress trailing whitespace truncation.
17423 (character): Use it (Bug#2689).
17424
17425 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17426
17427 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17428 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17429
17430 2012-02-05 Chong Yidong <cyd@gnu.org>
17431
17432 * cus-edit.el (custom-variable-value-create): For mismatched
17433 types, show the current value (Bug#7600).
17434
17435 * custom.el (defcustom): Doc fix.
17436
17437 2012-02-05 Glenn Morris <rgm@gnu.org>
17438
17439 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17440
17441 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17442
17443 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17444 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17445 (pp-last-sexp): Use `looking-at-p'.
17446
17447 2012-02-04 Glenn Morris <rgm@gnu.org>
17448
17449 * files.el (revert-buffer):
17450 Doc fix (mention revert-buffer-in-progress-p).
17451
17452 * emacs-lisp/ert-x.el (ert-simulate-command):
17453 Check deferred-action-list (which is obsolete) is bound.
17454
17455 * subr.el (with-wrapper-hook): Doc fixes.
17456
17457 * simple.el (filter-buffer-substring-functions)
17458 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17459
17460 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17461
17462 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17463 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17464
17465 2012-02-04 Leo Liu <sdl.web@gmail.com>
17466
17467 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17468
17469 2012-02-04 Glenn Morris <rgm@gnu.org>
17470
17471 * image.el (image-extension-data): Add obsolete alias.
17472
17473 * isearch.el (isearch-update): Doc fix.
17474
17475 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17476
17477 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17478
17479 2012-02-03 Glenn Morris <rgm@gnu.org>
17480
17481 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17482 (image-animate-timeout): Doc fix.
17483
17484 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17485
17486 2012-02-02 Glenn Morris <rgm@gnu.org>
17487
17488 * server.el (server-auth-dir): Doc fix.
17489 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17490
17491 * subr.el (run-mode-hooks): Doc fix.
17492
17493 2012-02-02 Juri Linkov <juri@jurta.org>
17494
17495 * image-mode.el (image-toggle-display-image): Remove tautological
17496 `major-mode' from the `derived-mode-p' test.
17497
17498 2012-02-02 Kenichi Handa <handa@m17n.org>
17499
17500 * composite.el (compose-region): Cancel previous change.
17501
17502 2012-02-02 Kenichi Handa <handa@m17n.org>
17503
17504 * composite.el (compose-region, compose-string): Signal error for
17505 a null string component (Bug#6988).
17506
17507 2012-02-01 Chong Yidong <cyd@gnu.org>
17508
17509 * view.el (view-buffer-other-window, view-buffer-other-frame):
17510 Handle special modes like view-buffer (Bug#10650).
17511 (view-buffer): Simplify.
17512
17513 * frame.el (set-frame-font): Tweak meaning of third argument.
17514
17515 * dynamic-setting.el (font-setting-change-default-font):
17516 Use set-frame-font (Bug#9982).
17517
17518 2012-02-01 Glenn Morris <rgm@gnu.org>
17519
17520 * progmodes/compile.el (compilation-internal-error-properties):
17521 Respect compilation-first-column in the "*compilation*" buffer.
17522
17523 * emacs-lisp/easy-mmode.el (define-minor-mode):
17524 Relax :variable's test for a named function.
17525
17526 2012-01-31 Alan Mackenzie <acm@muc.de>
17527
17528 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17529 off by one error.
17530
17531 2012-01-31 Chong Yidong <cyd@gnu.org>
17532
17533 * frame.el (set-frame-font): New arg ALL-FRAMES.
17534
17535 * menu-bar.el (menu-set-font): Use set-frame-font.
17536
17537 * faces.el (face-spec-reset-face): Don't apply unspecified
17538 attribute values to the default face.
17539
17540 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17541
17542 * progmodes/cwarn.el (cwarn): Remove dead link.
17543 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17544 Remove * from defcustom docstrings.
17545 (turn-on-cwarn-mode): Make obsolete.
17546 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17547 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17548
17549 2012-01-31 Glenn Morris <rgm@gnu.org>
17550
17551 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17552 Fix :variable handling of mode a symbol not equal to modefun.
17553 Allow named functions to be used as the cdr of :variable.
17554
17555 2012-01-30 Glenn Morris <rgm@gnu.org>
17556
17557 * emacs-lisp/authors.el (authors-fixed-entries):
17558 Remove reference to deleted file rnewspost.el.
17559
17560 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17561
17562 * window.el (window-with-parameter): Remove unused variable `windows'.
17563 (window--side-check): Remove unused variable `code'.
17564 (window--resize-siblings): Remove unused variable `first'.
17565 (adjust-window-trailing-edge): Remove unused variable `failed'.
17566 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17567 Use `let', not `let*'.
17568 (balance-windows-2): Remove unused variable `found'.
17569 (window--state-put-2): Remove unused variable `splits'.
17570 (window-state-put): Remove unused variable `selected'.
17571 (same-window-p): Use `string-match-p'.
17572 (display-buffer-assq-regexp): Remove unused variable `value'.
17573 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17574 Mark argument ALIST as ignored.
17575 (pop-to-buffer): Remove unused variable `old-window'.
17576
17577 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17578
17579 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17580 and .lzma compressed files.
17581
17582 2012-01-29 Chong Yidong <cyd@gnu.org>
17583
17584 * frame.el (window-system-default-frame-alist): Doc fix.
17585
17586 * dynamic-setting.el (font-setting-change-default-font): Don't
17587 change the default face if SET-FONT argument is non-nil (Bug#9982).
17588
17589 2012-01-29 Samuel Bronson <naesten@gmail.com>
17590
17591 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17592
17593 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17594
17595 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17596 breakpoints in files outside current directory (Bug#6098).
17597
17598 2012-01-29 Chong Yidong <cyd@gnu.org>
17599
17600 * progmodes/python.el: Require ansi-color at top-level.
17601
17602 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17603 Define and use in Emacs Lisp mode (Bug#9360).
17604 (lisp-mode-abbrev-table): Add doc.
17605 (lisp-mode-variables): Don't set local-abbrev-table.
17606 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17607
17608 2012-01-28 Roland Winkler <winkler@gnu.org>
17609
17610 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17611
17612 2012-01-28 Roland Winkler <winkler@gnu.org>
17613
17614 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17615 (bibtex-set-dialect): Use it. Either set global values of
17616 dialect-dependent variables or bind these variables buffer-locally
17617 (Bug#10254).
17618 (bibtex-mode): Call bibtex-set-dialect via
17619 hack-local-variables-hook.
17620 (bibtex-dialect): Update docstring.
17621 Add safe-local-variable predicate.
17622 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17623 bibtex-set-dialect.
17624 (bibtex-mode-map): Define menu for each dialect.
17625 (bibtex-entry): Fix docstring.
17626
17627 2012-01-28 Chong Yidong <cyd@gnu.org>
17628
17629 * eshell/esh-arg.el (eshell-quote-argument): New function.
17630
17631 * eshell/esh-ext.el (eshell-invoke-batch-file):
17632 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17633 first arg to eshell-parse-command (Bug#10523).
17634
17635 2012-01-28 Drew Adams <drew.adams@oracle.com>
17636
17637 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17638 `default-directory' is non-nil.
17639
17640 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17641
17642 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17643 line that displays system-configuration-options. (Bug#9924)
17644
17645 2012-01-28 Drew Adams <drew.adams@oracle.com>
17646
17647 * descr-text.el (describe-char): Show information about POS, in
17648 addition to information about the character at POS. Improve and
17649 update the doc string. Change "code point" to "code point in
17650 charset", to avoid confusion with the character's Unicode code
17651 point shown above that. (Bug#10129)
17652
17653 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17654
17655 * descr-text.el (describe-char): Show the raw character, not only
17656 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17657 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17658 for the reasons.
17659
17660 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17661
17662 * emacs-lisp/package.el (package-install):
17663 Run package-refresh-contents if there is no archive yet (Bug#9798).
17664
17665 2012-01-28 Chong Yidong <cyd@gnu.org>
17666
17667 * emacs-lisp/package.el (package-maybe-load-descriptor):
17668 New function, split from package-maybe-load-descriptor.
17669 (package-maybe-load-descriptor): Use it.
17670 (package-download-transaction): Fully load required packages
17671 inside the loop, so that `require' calls work (Bug#10593).
17672 (package-install): No need to call package-initialize now.
17673
17674 2012-01-28 Chong Yidong <cyd@gnu.org>
17675
17676 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17677
17678 * tooltip.el (tooltip-mode): Doc fix.
17679 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17680
17681 * frame.el (set-cursor-color): Doc fix (Bug#352).
17682
17683 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17684 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17685
17686 * cus-edit.el (custom-buffer-create-internal): Fix search button
17687 action (Bug#10542).
17688 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17689
17690 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17691
17692 * dired.el (dired-mark-files-regexp):
17693 Include any subdirectory components. (Bug#10445)
17694
17695 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17696
17697 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17698 Handle [host]:port syntax. (Bug#10533)
17699
17700 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17701
17702 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17703
17704 2012-01-26 Glenn Morris <rgm@gnu.org>
17705
17706 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17707 * term.el (term-raw-escape-map): Use Control-X-prefix.
17708 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17709
17710 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17711
17712 * window.el (window-state-get, window--state-get-1): Don't deal
17713 with fixed-sizeness of windows. Simplify code.
17714
17715 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17716
17717 * window.el (window--state-get-1, window--state-put-2):
17718 Don't save and restore the mark.
17719
17720 2012-01-25 Chong Yidong <cyd@gnu.org>
17721
17722 * custom.el (custom-variable-p): Doc fix.
17723
17724 2012-01-25 Glenn Morris <rgm@gnu.org>
17725
17726 * dired.el (dired-goto-file): Handle some of the more common
17727 characters that `ls -b' escapes. (Bug#10596)
17728
17729 * progmodes/compile.el (compilation-next-error-function):
17730 Respect compilation-first-column in the "*compilation*" buffer.
17731 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17732
17733 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17734
17735 2012-01-24 Glenn Morris <rgm@gnu.org>
17736
17737 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17738
17739 2012-01-24 Julien Danjou <julien@danjou.info>
17740
17741 * color.el (color-rgb-to-hsl): Fix value computing.
17742 (color-hue-to-rgb): New function.
17743 (color-hsl-to-rgb): New function.
17744 (color-clamp, color-saturate-hsl, color-saturate-name)
17745 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17746 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17747
17748 2012-01-24 Glenn Morris <rgm@gnu.org>
17749
17750 * vc/vc-rcs.el (vc-rcs-create-tag):
17751 * vc/vc-sccs.el (vc-sccs-create-tag):
17752 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17753
17754 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17755
17756 * eshell/esh-util.el (eshell-read-hosts-file):
17757 Skip comment lines. (Bug#10549)
17758
17759 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17760
17761 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17762
17763 * subr.el (display-delayed-warnings): Doc fix.
17764 (collapse-delayed-warnings): New function to collapse identical
17765 adjacent warnings.
17766 (delayed-warnings-hook): Add it.
17767
17768 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17769
17770 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17771
17772 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17773 (tramp-default-user-alist): Don't add "pscp".
17774 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17775 property "login-as", if set. (Bug#10530)
17776
17777 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17778
17779 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17780 "plink1" and "psftp". (Bug#10530)
17781
17782 2012-01-21 Kenichi Handa <handa@m17n.org>
17783
17784 * international/mule-cmds.el (prefer-coding-system): Show a
17785 warning message if the default value of file-name-coding-system
17786 was not changed.
17787
17788 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17789
17790 * windmove.el (windmove-reference-loc):
17791 Fix windmove-reference-loc miscalculation.
17792
17793 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17794
17795 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17796 default unit.
17797
17798 2012-01-21 Glenn Morris <rgm@gnu.org>
17799
17800 * international/mule.el (auto-coding-alist): Add .tbz.
17801
17802 * files.el (local-enable-local-variables): Doc fix.
17803 (inhibit-local-variables-regexps): Rename from
17804 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17805 Doc fix. Add some extensions from auto-coding-alist.
17806 (inhibit-local-variables-suffixes):
17807 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17808 (inhibit-local-variables-p):
17809 New function, extracted from set-auto-mode-1.
17810 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17811 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17812 (hack-local-variables): Doc fix. Make the mode-only case
17813 respect enable-local-variables and friends.
17814 Respect inhibit-local-variables-regexps for file-locals, but
17815 not for directory-locals.
17816 (set-visited-file-name):
17817 Take account of inhibit-local-variables-regexps.
17818 Whether it applies may change as the file name is changed.
17819 * jka-cmpr-hook.el (jka-compr-install):
17820 * jka-compr.el (jka-compr-uninstall):
17821 Update for inhibit-first-line-modes-suffixes name change.
17822
17823 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17824
17825 * help-macro.el (make-help-screen): Temporarily restore original
17826 binding for minor-mode-map-alist (Bug#10454).
17827
17828 2012-01-19 Julien Danjou <julien@danjou.info>
17829
17830 * color.el (color-name-to-rgb): Use the white color to find the max
17831 color component value and return correctly computed values.
17832 (color-name-to-rgb): Add missing float conversion for max value.
17833
17834 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17835
17836 * window.el (window--state-get-1, window-state-get): Do not use
17837 special state value for window-persistent-parameters.
17838 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17839 (window--state-put-2): Reset all window parameters to nil before
17840 assigning values of persistent parameters.
17841
17842 2012-01-18 Alan Mackenzie <acm@muc.de>
17843
17844 Eliminate sluggishness and hangs in fontification of "semicolon
17845 deserts".
17846
17847 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17848 Change value 10000 -> 3000.
17849 (c-state-safe-place): Reformulate so it doesn't stack up an
17850 infinite number of wrong entries in c-state-nonlit-pos-cache.
17851 (c-determine-limit-get-base, c-determine-limit): New functions to
17852 determine backward search limits disregarding literals.
17853 (c-find-decl-spots): Amend commenting.
17854 (c-cheap-inside-bracelist-p): New function which detects "={".
17855
17856 * progmodes/cc-fonts.el
17857 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17858 backward search.
17859 (c-font-lock-declarations): Fix an occurrence of point being
17860 undefined. Check additionally for point being in a bracelist or
17861 near a macro invocation without a semicolon so as to avoid a
17862 fruitless time consuming search for a declarator. Give a more
17863 precise search limit for declarators using the new
17864 c-determine-limit.
17865
17866 2012-01-18 Glenn Morris <rgm@gnu.org>
17867
17868 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17869 (set-auto-mode): Doc fixes.
17870
17871 2012-01-17 Glenn Morris <rgm@gnu.org>
17872
17873 * isearch.el (search-nonincremental-instead): Fix doc typo.
17874
17875 * dired.el (dired-insert-directory): Handle newlines in directory name.
17876 (dired-build-subdir-alist): Unescape newlines in directory name.
17877
17878 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17879
17880 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17881 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17882 (tramp-action-terminal): Use it. (Bug#10530)
17883
17884 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17885
17886 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17887
17888 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17889
17890 * window.el (window-state-ignored-parameters): Remove variable.
17891 (window--state-get-1): Rename argument MARKERS to IGNORE.
17892 Handle persistent window parameters. Make copy of clone-of
17893 parameter only if requested. (Bug#10348)
17894 (window--state-put-2): Install a window parameter only if it has
17895 a non-nil value or an existing parameter shall be overwritten.
17896
17897 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17898
17899 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17900
17901 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17902
17903 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17904 don't pass the (nil) value of `upnode' to string-match.
17905
17906 2012-01-14 Chong Yidong <cyd@gnu.org>
17907
17908 * startup.el (command-line): Fix X resource class for cursorColor.
17909 Fix values recognized by the cursorBlink resource.
17910
17911 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17912
17913 * epg.el (epg--make-temp-file): Avoid permission race condition
17914 when running on old Emacs versions (bug#10403).
17915
17916 2012-01-14 Glenn Morris <rgm@gnu.org>
17917
17918 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17919
17920 2012-01-13 Alan Mackenzie <acm@muc.de>
17921
17922 Fix filling for when filladapt mode is enabled.
17923
17924 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17925 c-mask-paragraph, pass in `fill-paragraph' rather than
17926 `fill-region-as-paragraph'. (This is a reversion of a previous
17927 change.)
17928 * progmodes/cc-mode.el (c-basic-common-init):
17929 Make fill-paragraph-handle-comment buffer local and set it to nil.
17930
17931 2012-01-13 Glenn Morris <rgm@gnu.org>
17932
17933 * dired.el (dired-switches-escape-p): New function.
17934 (dired-insert-directory): Use dired-switches-escape-p.
17935 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17936
17937 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17938
17939 2012-01-12 Glenn Morris <rgm@gnu.org>
17940
17941 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17942 changes in adaptive-fill-regexp. (Bug#10276)
17943
17944 2012-01-11 Alan Mackenzie <acm@muc.de>
17945
17946 Fix Emacs bug #10463 - put `widen's around the critical spots.
17947
17948 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17949 widen around each invocation of c-state-pp-to-literal. Remove an
17950 unused let variable.
17951
17952 2012-01-11 Glenn Morris <rgm@gnu.org>
17953
17954 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17955 Doc fix.
17956
17957 2012-01-10 Chong Yidong <cyd@gnu.org>
17958
17959 * net/network-stream.el (network-stream-open-starttls):
17960 Avoid emitting a confusing error message when the server gives a bad
17961 response to the capability command.
17962
17963 2012-01-10 Glenn Morris <rgm@gnu.org>
17964
17965 * mail/unrmail.el (unrmail): Tweak previous change.
17966
17967 2012-01-09 Chong Yidong <cyd@gnu.org>
17968
17969 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17970
17971 2012-01-08 Alan Mackenzie <acm@muc.de>
17972
17973 Optimize font locking in long enum definitions.
17974
17975 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17976 arm to a cond form to handle enums.
17977 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17978 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17979
17980 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17981
17982 * files.el (move-file-to-trash): Preserve default file modes on error.
17983 (Bug#10401)
17984
17985 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17986
17987 * faces.el (set-face-attribute): Clarify the meaning of the nil
17988 frame (bug#10294).
17989
17990 * subr.el (with-selected-frame): Mention that the selected frame
17991 is restored (bug#9980).
17992
17993 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17994 (bug#9759).
17995
17996 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17997 (password-read): Don't autoload unused function.
17998
17999 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18000
18001 * progmodes/which-func.el (which-func-mode): Turn into a
18002 non-interactive function and mark as obsolete (bug#10428).
18003
18004 2012-01-06 Chong Yidong <cyd@gnu.org>
18005
18006 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18007 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18008 functions, along with 1 and -1.
18009
18010 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18011
18012 * time.el (display-time-load-average)
18013 (display-time-default-load-average): Doc fixes. See the thread
18014 starting at
18015 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18016 for the details.
18017
18018 2012-01-06 Glenn Morris <rgm@gnu.org>
18019
18020 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18021 has no messages. (Bug#10377)
18022
18023 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18024 than Info-edit. (Bug#10385)
18025
18026 * time.el (display-time-load-average, display-time-next-load-average):
18027 Doc fixes.
18028
18029 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18030 local setting of buffer-read-only to the input buffer. (Bug#10419)
18031
18032 * calendar/calendar.el (calendar-mode):
18033 Locally set scroll-margin to 0. (Bug#10379)
18034
18035 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18036
18037 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18038
18039 2012-01-05 Glenn Morris <rgm@gnu.org>
18040
18041 * eshell/em-unix.el (diff-no-select): Autoload it.
18042 (eshell/diff): Use diff-no-select. (Bug#10420)
18043
18044 2012-01-05 Chong Yidong <cyd@gnu.org>
18045
18046 * shell.el (shell-dynamic-complete-functions): Revert last change.
18047 (shell-command-completion-function): New function.
18048 (shell-completion-vars): Use it to implement
18049 shell-completion-execonly (Bug#10417).
18050
18051 * custom.el (enable-theme): Don't set custom-safe-themes.
18052
18053 * cus-theme.el (custom-theme-merge-theme):
18054 Ignore custom-enabled-themes and custom-safe-themes.
18055
18056 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18057
18058 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18059 first prompt in `sql-interacive-mode'.
18060 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18061 keywords.
18062 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18063 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18064 context of original buffer. Invoke `sql-login-hook'.
18065
18066 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18067
18068 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18069 letters in cite-prefix.
18070
18071 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18072
18073 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18074
18075 2012-01-03 Chong Yidong <cyd@gnu.org>
18076
18077 * shell.el (shell-dynamic-complete-functions):
18078 Put pcomplete-completions-at-point, so as to try
18079 comint-filename-completion first (Bug#10417).
18080
18081 2012-01-02 Richard Stallman <rms@gnu.org>
18082
18083 * battery.el (battery-status-function):
18084 Detect when to use battery-yeeloong-sysfs.
18085 (battery-echo-area-format): Add string for Yeeloong.
18086 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18087 (battery-yeeloong-sysfs): New function.
18088
18089 2012-01-02 Chong Yidong <cyd@gnu.org>
18090
18091 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18092 (dirtrack): Merge code for handling relative filenames in prompt
18093 from shell-dir-cookie-watcher.
18094 (dirtrack-debug-message): New arg to avoid excess format calls.
18095
18096 * shell.el (shell-dir-cookie-re): Variable deleted.
18097 (shell-dir-cookie-watcher): Function deleted.
18098 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18099 with dirtrack-mode.
18100
18101 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18102
18103 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18104 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18105 libgnutls-26.dll.
18106
18107 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18108
18109 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18110
18111 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18112
18113 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18114 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18115
18116 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18117
18118 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18119 also for alternative shells.
18120 (tramp-open-connection-setup-interactive-shell): Check, whether
18121 the shell is a busybox.
18122 (tramp-send-command): Don't suppress multiple prompts for
18123 busyboxes, it hurts.
18124
18125 2011-12-28 Chong Yidong <cyd@gnu.org>
18126
18127 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18128 (gdb-get-source-file): Move mode line update to
18129 gdb-get-source-file (Bug#10087).
18130
18131 2011-12-25 Chong Yidong <cyd@gnu.org>
18132
18133 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18134 gud-gdb-marker-filter without taking it as an argument.
18135 (gud-gdb-run-command-fetch-lines): Caller changed.
18136 (gud-gdb-completion-function): New variable.
18137 (gud-gdb-completion-at-point): Use it.
18138 (gud-gdb-completions-1): Split from gud-gdb-completions.
18139
18140 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18141 function as separate arguments.
18142 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18143 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18144 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18145 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18146 (gdb-stopped, def-gdb-auto-update-trigger)
18147 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18148 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18149 Callers changed.
18150 (gud-gdbmi-completions): New function.
18151 (gdb): Use it for generating the completion table.
18152
18153 2011-12-24 Alan Mackenzie <acm@muc.de>
18154
18155 Introduce a mechanism to widen the region used in context font
18156 locking. Use this to protect declarations from losing their contexts.
18157
18158 * progmodes/cc-langs.el (c-before-font-lock-functions):
18159 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18160 (c-before-context-fontification-functions): New defvar, a list of
18161 functions to be run just before context (etc.) font locking.
18162
18163 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18164 New, functionality extracted from
18165 c-neutralize-syntax-in-and-mark-CPP.
18166 (c-in-after-change-fontification): New variable.
18167 (c-after-change): Set c-in-after-change-fontification.
18168 (c-set-fl-decl-start): Rejig its interface, so it can be called
18169 from both after-change and context fontifying.
18170 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18171 New functions.
18172 (c-standard-font-lock-fontify-region-function): New variable.
18173 (c-font-lock-fontify-region): New function.
18174
18175 2011-12-24 Juri Linkov <juri@jurta.org>
18176
18177 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18178 (Bug#10348)
18179
18180 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18181
18182 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18183 existence of source file. (Bug#10325)
18184
18185 2011-12-23 Alan Mackenzie <acm@muc.de>
18186
18187 Fix unstable fontification inside templates.
18188
18189 * progmodes/cc-langs.el (c-before-font-lock-functions):
18190 Newly created from the singular version. The (c c++ objc) entry now
18191 additionally has c-set-fl-decl-start. The other languages (apart
18192 from AWK) have that as a single entry.
18193
18194 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18195 The functionality for "local" declarations has been extracted to
18196 c-set-fl-decl-start.
18197
18198 * progmodes/cc-mode.el (c-common-init, c-after-change):
18199 Changes due to pluralisation of c-before-font-lock-functions.
18200 (c-set-fl-decl-start): New function, extracted from
18201 c-font-lock-enclosing-decls and enhanced.
18202
18203 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18204
18205 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18206
18207 2011-12-22 Juri Linkov <juri@jurta.org>
18208
18209 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18210
18211 2011-12-22 Chong Yidong <cyd@gnu.org>
18212
18213 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18214
18215 2011-12-21 Drew Adams <drew.adams@oracle.com>
18216
18217 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18218
18219 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18220
18221 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18222
18223 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18224
18225 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18226 highlighting and support. Fix up comments for capitalization.
18227 (cfengine-mode-debug): New var.
18228 (cfengine3-mode): Change the modeline indicator to "CFE3".
18229 (cfengine3-font-lock-keywords): Improve defun highlighting.
18230 (cfengine2-actions): Rename from `cfengine-actions'.
18231 (cfengine2-font-lock-keywords): Rename from
18232 `cfengine-font-lock-keywords'.
18233 (cfengine2-imenu-expression): Rename from
18234 `cfengine-imenu-expression'.
18235 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18236 (cfengine2-beginning-of-defun): Rename from
18237 `cfengine-beginning-of-defun'.
18238 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18239 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18240 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18241 modeline indicator to "CFE2".
18242 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18243 (cfengine-mode-abbrevs): Mark obsolete.
18244
18245 2011-12-21 Chong Yidong <cyd@gnu.org>
18246
18247 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18248 filename argument.
18249
18250 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18251
18252 * window.el (window-normalize-buffer-to-display): Remove.
18253 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18254
18255 2011-12-19 Chong Yidong <cyd@gnu.org>
18256
18257 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18258 Don't signal an error in a predicate function; return non-nil.
18259 (vc-dir-mark-file): Move the error here.
18260 (vc-dir-mark-unmark): If acting on the region, keep going if one
18261 of the entries cannot be marked/unmarked.
18262 (vc-dir-mark-all-files): If current entry is a directory, mark
18263 only child files, as documented.
18264
18265 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
18266
18267 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18268 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18269 addition.
18270
18271 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18272
18273 * term/ns-win.el (ns-get-selection-internal)
18274 (ns-store-selection-internal): Declare.
18275 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18276 Declare as obsolete.
18277 (ns-get-pasteboard, ns-paste-secondary):
18278 Use ns-get-selection-internal.
18279 (ns-set-pasteboard, ns-copy-including-secondary):
18280 Use ns-store-selection-internal.
18281
18282 2011-12-17 Chong Yidong <cyd@gnu.org>
18283
18284 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18285 (vc-deduce-fileset): Doc fix.
18286
18287 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18288
18289 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18290
18291 2011-12-13 Sam Steingold <sds@gnu.org>
18292
18293 * man.el (Man-getpage-in-background): When running under a
18294 window-system, ignore $MANWIDTH and $COLUMNS.
18295
18296 2011-12-15 Kenichi Handa <handa@m17n.org>
18297
18298 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18299 (setup-ethiopic-environment-internal): Comment out key-binding for
18300 ethio-toggle-punctuation.
18301
18302 2011-12-13 Alan Mackenzie <acm@muc.de>
18303
18304 Add the switch statement to AWK Mode.
18305
18306 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18307 "default" to the keywords regexp.
18308
18309 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18310 expression as the rest.
18311 (c-nonlabel-token-key): Allow string literals for AWK.
18312 Refactor for the other modes.
18313
18314 Large brace-block initialisation makes CC Mode slow: Fix.
18315 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18316 routines. Limit backward searching in c-font-lock-enclosing.decl.
18317
18318 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18319 pp-state and literal type in addition to the limits.
18320 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18321 (c-state-literal-at): Use the above new defun.
18322 (c-slow-in-literal, c-fast-in-literal): Remove.
18323 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18324
18325 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18326 being in a literal. Add a limit for backward searching.
18327
18328 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18329 c-slow-in-literal.
18330
18331 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18332
18333 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18334
18335 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18336
18337 * window.el (delete-other-windows): Use correct frame in call to
18338 window-with-parameter.
18339
18340 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18341
18342 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18343 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18344 (makefile-gmake-statements, makefile-makepp-statements):
18345 Use it and add new makepp keywords.
18346 (makefile-makepp-font-lock-keywords): Add new patterns.
18347 (makefile-match-function-end): Match new [...] and [[...]].
18348
18349 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18350
18351 * ses.el (ses-call-printer-return, ses-cell-property-get)
18352 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18353 (ses-create-cell-variable, ses-reset-header-string)
18354 (ses-cell-set-formula, ses-repair-cell-reference-all)
18355 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18356 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18357 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18358 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18359 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18360 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18361 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18362 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18363 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18364 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18365 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18366 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18367
18368 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
18369
18370 * ses.el: The overall change is to add cell renaming, that is
18371 setting fancy names for cell symbols other than name matching
18372 "\\`[A-Z]+[0-9]+\\'" regexp .
18373 (ses-create-cell-variable): New defun.
18374 (ses-relocate-formula): Relocate formulas only for cells the
18375 symbols of which are not renamed, i.e. symbols whose names do not
18376 match regexp "\\`[A-Z]+[0-9]+\\'".
18377 (ses-relocate-all): Relocate values only for cells the symbols of
18378 which are not renamed.
18379 (ses-load): Create cells variables as the (ses-cell ...) are read,
18380 in order to check row col consistency with cell symbol name only
18381 for cells that are not renamed.
18382 (ses-replace-name-in-formula): New defun.
18383 (ses-rename-cell): New defun.
18384
18385 2011-12-11 Chong Yidong <cyd@gnu.org>
18386
18387 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18388 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18389
18390 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18391
18392 * window.el (other-window): Fix docstring.
18393
18394 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18395
18396 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18397 `from' or `to' address before taking its substring.
18398 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18399 encoded name is chopped in the middle of the encoded string, and
18400 thus displayed encoded.
18401
18402 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18403
18404 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18405
18406 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18407
18408 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18409 to use texinfo-update-node and commands that call it if the
18410 Texinfo file uses @node lines without next/prev/up pointers.
18411 Correct outdated description about texinfo-master-menu.
18412 (texinfo-all-menus-update, texinfo-master-menu)
18413 (texinfo-update-node, texinfo-every-node-update)
18414 (texinfo-multiple-files-update): Doc fix. Warn against updating
18415 all the @node lines.
18416 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18417 argument is numeric. Explain better in the doc string what the
18418 function really does.
18419 (texinfo-insert-master-menu-list): Improve the error message
18420 displayed if there's no menu in the Top node.
18421 (Bug#2975) See also this thread:
18422 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18423
18424 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
18425
18426 * speedbar.el (speedbar-supported-extension-expressions):
18427 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18428
18429 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18430
18431 * printing.el (pr-mode-alist):
18432 * simple.el (filter-buffer-substring-functions)
18433 (completion-list-insert-choice-function):
18434 * window.el (window-with-parameter, window-atom-root)
18435 (window-sides-slots, window-size-fixed, window-min-delta)
18436 (window-max-delta, window--resize-mini-window)
18437 (window--resize-child-windows-normal, window-tree)
18438 (delete-other-windows, quit-window, split-window)
18439 (display-buffer-record-window, special-display-buffer-names)
18440 (special-display-regexps, special-display-popup-frame)
18441 (same-window-p, split-window-sensibly)
18442 (display-buffer-overriding-action, display-buffer-alist)
18443 (display-buffer-base-action, display-buffer, switch-to-buffer)
18444 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18445 (fit-window-to-buffer, recenter-positions)
18446 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18447 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18448 and remove unneeded backslashes in docstrings.
18449
18450 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18451
18452 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18453
18454 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18455 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18456 end in ".mk".
18457 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18458 when reading the makefile (bug#10116).
18459
18460 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18461
18462 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18463 (bug#10116).
18464
18465 2011-12-06 Glenn Morris <rgm@gnu.org>
18466
18467 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18468
18469 2011-12-06 Chong Yidong <cyd@gnu.org>
18470
18471 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18472
18473 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18474
18475 * textmodes/table.el (table-shorten-cell): Fix typo.
18476
18477 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18478
18479 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18480
18481 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18482
18483 * descr-text.el (describe-char): Fix display of strong
18484 right-to-left characters and directional embeddings and overrides.
18485
18486 * simple.el (what-cursor-position): Fix display of codepoints of
18487 strong right-to-left characters.
18488
18489 2011-12-05 Chong Yidong <cyd@gnu.org>
18490
18491 * faces.el (read-color): Doc fix.
18492
18493 2011-12-05 Glenn Morris <rgm@gnu.org>
18494
18495 * align.el (align--set-marker): Add doc-string.
18496 Don't try to move something that is not a marker. (Bug#10216)
18497
18498 2011-12-04 Glenn Morris <rgm@gnu.org>
18499
18500 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18501 overly zealous deletion of trailing whitespace.
18502
18503 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18504
18505 * server.el (server-delete-client): On Windows, do not try to delete
18506 the only terminal.
18507 (server-process-filter): On Windows, treat requests for a tty frame as
18508 if they were for a GUI frame if the running server is in GUI mode.
18509
18510 2011-12-03 Glenn Morris <rgm@gnu.org>
18511
18512 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18513
18514 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18515
18516 * electric.el: Streamline electric-indent's hook.
18517 (electric-indent-chars): Revert to simple list.
18518 (electric-indent-functions): New var.
18519 (electric-indent-post-self-insert-function): Use it.
18520
18521 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18522 there's no inferior buffer (bug#10196).
18523 (prolog-consult-compile): Don't use toggle-read-only.
18524
18525 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18526
18527 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18528 interrupt. (Bug#10187)
18529
18530 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18531
18532 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18533 (bug#9160).
18534
18535 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18536 (bug#10191).
18537
18538 2011-12-02 Juri Linkov <juri@jurta.org>
18539
18540 * info.el (Info-search): Display "end of manual" when Isearch
18541 reaches the end of single-file Info manual. (Bug#9918)
18542
18543 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18544
18545 * isearch.el (isearch-message-prefix): Run the input method part
18546 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18547
18548 2011-12-02 Juri Linkov <juri@jurta.org>
18549
18550 * isearch.el (isearch-occur): Use `word-search-regexp' for
18551 `isearch-word'.
18552 (isearch-search-and-update): Add condition for `isearch-word' and
18553 call `word-search-regexp'. (Bug#10145)
18554
18555 2011-12-01 Glenn Morris <rgm@gnu.org>
18556
18557 * eshell/em-hist.el (eshell-hist-initialize):
18558 Handle eshell-history-size nil and HISTSIZE set or unset.
18559 (eshell-history-file-name, eshell-history-size): Fix custom type.
18560
18561 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18562
18563 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18564
18565 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18566
18567 * progmodes/verilog-mode.el (verilog-pretty-expr):
18568 Rework verilog-pretty-expr to handle new assignment operators in system
18569 verilog, such as += *= and the like.
18570 (verilog-assignment-operator-re): Regular expression to find the
18571 assigment operator in a verilog assignment.
18572 (verilog-assignment-operation-re): Regular expression to find an
18573 assignment statement for pretty-expr.
18574 (verilog-in-attribute-p): Query returns true if point is in an
18575 attribute context; used to skip these for expression line up from
18576 pretty-expr.
18577 (verilog-in-parameter-p): Query returns true if point is in an
18578 parameter definition context; used to skip these for expression
18579 line up from pretty-expr.
18580 (verilog-in-parenthesis-p): Query returns true if point is in a
18581 parenthetical expression, specifically ( ) but not [ ] or { };
18582 used by pretty-expr.
18583 (verilog-just-one-space): If there is no space, don't add one.
18584 (verilog-get-lineup-indent-2): Specifically skip just attribute
18585 contexts for expression lineup, rather than skipping all
18586 parenthetical expressions.
18587 (verilog-calculate-indent): Fix comment, and fix indent.
18588 (verilog-do-indent): Indent declarations in lists (suggested by
18589 Joachim Lechner).
18590 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18591 skeleton items.
18592 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18593 by Alain Mellan).
18594
18595 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18596
18597 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18598 parameters with embedded comments. Reported by Ray Stevens.
18599 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18600 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18601 Reported by Tim Holt.
18602 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18603 instantiated by upper module causing wrong expansion until AUTOed a
18604 second time. Reported by K C Buckenmaier.
18605 (verilog-diff-auto): Fix showing .* as a difference when
18606 `verilog-auto-star-save' off. Reported by Dan Dever.
18607 (verilog-auto-reset, verilog-read-always-signals)
18608 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18609 temporary signals in reset list if
18610 verilog-auto-reset-blocking-in-non is nil, and match assignment
18611 style to each signal's assignment type, bug381.
18612 Reported by Thomas Esposito.
18613 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18614 (verilog-uvm-statement-re): Support UVM indentation and
18615 highlighting, with old OVM keywords only.
18616 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18617 Support AUTOTIEOFF creating non-wire data types.
18618 Suggested by Jonathan Greenlaw.
18619 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18620 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18621 (verilog-inject-sense, verilog-read-inst-pins)
18622 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18623 Fix mismatching parenthesis inside commented out code when deleting
18624 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18625 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18626 non-numeric vector width. Reported by Alex Reed.
18627 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18628 detecting signals with parameter widths. Reported by Alex Reed.
18629 (verilog-auto-delete-trailing-whitespace):
18630 With `verilog-auto-delete-trailing-whitespace' remove trailing
18631 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18632 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18633 Fix verilog-scan-cache corruption when running user AUTO expansion
18634 hooks that call indentation routines.
18635 (verilog-simplify-range-expression): Fix typo ignoring lower case
18636 identifiers.
18637 (verilog-delete-auto): Fix delete-autos to also remove user created
18638 automatics, as long as they start with AUTO.
18639 (verilog-batch-diff-auto, verilog-diff-auto)
18640 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18641 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18642 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18643 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18644 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18645 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18646 is disabled and its cache will get corrupt, causing AUTOS not to
18647 expand. Instead use only -quick functions.
18648 (verilog-scan-region): Fix scanning over escaped quotes.
18649 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18650 (verilog-re-search-backward-quick)
18651 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18652 related functions now ignore strings, to fix misparsing of strings
18653 with magic comments embedded in them.
18654 (verilog-read-auto-template):
18655 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18656 Reported by Brad Dobbie.
18657 (verilog-read-auto-template):
18658 Fix 'verilog-auto-inst-template-numbers' with comments.
18659 Reported by Brad Dobbie.
18660 (verilog-auto-inst, verilog-auto-inst-param)
18661 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18662 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18663 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18664 debugging templates without merge conflicts, bug357.
18665 Reported by Brad Dobbie.
18666 (verilog-read-auto-template):
18667 Fix verilog-auto-inst-template-numbers with multiple templates.
18668 Reported by Brad Dobbie.
18669 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18670 abbrevs so user won't be asked to save.
18671 (verilog-read-auto-lisp-present): Fix to start at beginning of
18672 buffer in case called outside of verilog-auto.
18673 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18674 to "X-2". Reported by Matthew Myers.
18675 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18676 all inputs from module templates. Reported by Leith Johnson.
18677 (verilog-module-inside-filename-p): Fix locating programs as with
18678 modules.
18679 (verilog-auto-inst-port): Fix vl-width expressions when using
18680 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18681 (verilog-decls-get-regs, verilog-decls-get-signals,
18682 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18683 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18684 verilog-read-decls): Combine reg and wire structures into one var
18685 structure to represent SystemVerilog concepts.
18686 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18687 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18688 (verilog-auto-wire-type, verilog-insert-definition):
18689 Add verilog-auto-wire-type and AUTOLOGIC to support using
18690 SystemVerilog "logic" keyword instead of "wire"/"reg".
18691 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18692 to declares outputs that also have assignments (presumably in an
18693 ifdef or generate if so there's not a driver conflict).
18694 Reported by Matthew Myers.
18695 (verilog-auto-declare-nettype, verilog-insert-definition):
18696 Add verilog-auto-declare-nettype to fix declarations using
18697 `default_nettype none. Reported by Julian Gorfajn.
18698 (verilog-read-always-signals-recurse, verilog-read-decls)
18699 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18700 malformed end statement, bug325. Reported by Joshua Wise and
18701 Andrew Drake.
18702 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18703 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18704 when expanding .* in interfaces, bug320.
18705 Reported by Pierre-David Pfister.
18706 (verilog-read-module-name): Fix import statements between module
18707 name and open parenthesis, bug317.
18708 Reported by Pierre-David Pfister.
18709 (verilog-simplify-range-expression): Fix simplification of
18710 multiplications inside AUTOWIRE connections, bug303.
18711 (verilog-auto-inst-port): Support parameter expansion in
18712 multidimensional arrays.
18713 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18714 after "assert property". Reported by Julian Gorfajn.
18715 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18716 with multiplication, bug303.
18717 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18718 Reported by Jan Frode Lonnum.
18719
18720 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18721
18722 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18723 (hfy-shell-file-name, hfy-shell):
18724 * international/fontset.el (x-decompose-font-name): Fix typos.
18725
18726 2011-11-29 Ken Brown <kbrown@cornell.edu>
18727
18728 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18729 (gdb-version): Remove defvar.
18730 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18731 (gdb-gud-context-command, gdb-non-stop-handler)
18732 (gdb-current-context-command, gdb-stopped): Use it.
18733 (gdb-init-1): Enable pretty printing here.
18734 (gdb-non-stop-handler): Don't enable pretty-printing here.
18735 Check to see if the target supports non-stop mode; if not, turn off
18736 non-stop mode. Use the following.
18737 (gdb-check-target-async): New defun.
18738 (gud-watch, gdb-stopped): Fix whitespace.
18739 (gdb-get-source-file): Don't try to display the source file if
18740 `gdb-main-file' is nil.
18741
18742 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18743
18744 * align.el: Try to generate fewer markers (bug#10047).
18745 (align--set-marker): New macro.
18746 (align-region): Use it.
18747
18748 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18749
18750 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18751
18752 2011-11-29 Chong Yidong <cyd@gnu.org>
18753
18754 * indent.el (indent-for-tab-command, indent-according-to-mode):
18755 Doc fix.
18756 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18757
18758 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18759
18760 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18761 aware of remote file names. (Bug#10124)
18762
18763 2011-11-29 Chong Yidong <cyd@gnu.org>
18764
18765 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18766
18767 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18768
18769 * files.el (find-file): Don't use force-same-window (bug#10144).
18770 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18771 use pop-to-buffer if the selected window can't be used.
18772 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18773
18774 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18775
18776 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18777 special-mode-map.
18778
18779 2011-11-28 Chong Yidong <cyd@gnu.org>
18780
18781 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18782
18783 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18784
18785 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18786 gdb-get-source-file-list on gdb-create-source-file-list.
18787
18788 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18789
18790 * whitespace.el (whitespace-newline): Use a different foreground
18791 color for 16-color light-background displays.
18792
18793 2011-11-24 Chong Yidong <cyd@gnu.org>
18794
18795 * window.el (display-buffer--special-action): Doc fix.
18796
18797 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18798
18799 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18800 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18801 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18802 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18803 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18804 (avl-tree-stack-first):
18805 * emacs-lisp/cconv.el (cconv--analyse-use):
18806 * net/gnutls.el (gnutls-negotiate): Fix typos.
18807
18808 2011-11-24 Glenn Morris <rgm@gnu.org>
18809
18810 * lpr.el (lpr-windows-system, lpr-lp-system):
18811 * mail/binhex.el (binhex-begin-line):
18812 * progmodes/grep.el (grep-history, grep-find-history):
18813 * textmodes/flyspell.el:
18814 * vc/pcvs-defs.el (cvs-global-menu):
18815 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18816 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18817 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18818
18819 * net/tls.el: Fix case of "GnuTLS".
18820
18821 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18822
18823 * version.el (emacs-build-system): Give it a doc-string.
18824
18825 2011-11-24 Juri Linkov <juri@jurta.org>
18826
18827 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18828
18829 2011-11-24 Glenn Morris <rgm@gnu.org>
18830
18831 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18832 if called on a non-mime message just toggle the headers. (Bug#8006)
18833
18834 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18835
18836 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18837 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18838 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18839 (allout-rebullet-heading, allout-open-sibtopic)
18840 (allout-toggle-current-subtree-encryption)
18841 (allout-toggle-subtree-encryption, allout-encrypt-string)
18842 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18843 (allout-distinctive-bullets-string, allout-auto-activation):
18844 * window.el (window-normalize-buffer-to-display):
18845 * progmodes/verilog-mode.el (verilog-batch-indent):
18846 * textmodes/bibtex.el (bibtex-field-braces-opt)
18847 (bibtex-field-strings-opt):
18848 * vc/cvs-status.el (cvs-tree-merge):
18849 Fix typos.
18850
18851 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18852
18853 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18854 `non-essential' to t, in order to avoid remote connections.
18855
18856 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18857
18858 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18859 On MS-DOS and MS-Windows, compare with loaddefs.el
18860 case-insensitively.
18861
18862 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18863
18864 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18865
18866 2011-11-23 Glenn Morris <rgm@gnu.org>
18867
18868 * paths.el (rmail-file-name): Reformat the doc-string so that it
18869 is picked up.
18870
18871 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18872 (rmail-auto-file): Ignore case in the "special" field names,
18873 as mail-fetch-field does for all others.
18874
18875 * mail/rmail.el (rmail-forward):
18876 * mail/rmailkwd.el (rmail-set-label):
18877 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18878 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18879
18880 * mail/rmail.el (rmail-current-message): Doc fix.
18881
18882 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18883
18884 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18885
18886 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18887
18888 2011-11-22 Glenn Morris <rgm@gnu.org>
18889
18890 * mail/rmailmm.el (test-rmail-mime-handler)
18891 (test-rmail-mime-bulk-handler)
18892 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18893
18894 2011-11-21 Juri Linkov <juri@jurta.org>
18895
18896 * calc/calc.el (calc-read-key-sequence):
18897 Let-bind `input-method-function' to nil. (Bug#10018)
18898
18899 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18900
18901 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18902 Tell the caller that the next line needs recomputation, even
18903 though it doesn't start a sexp (bug#10094).
18904
18905 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18906
18907 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18908
18909 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18910
18911 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18912 Use force-same-window.
18913
18914 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18915
18916 * descr-text.el (describe-char-unicode-data):
18917 * json.el (json-string-escape):
18918 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18919 (Footnote-unicode, Footnote-style-p):
18920 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18921
18922 2011-11-20 Chong Yidong <cyd@gnu.org>
18923
18924 * window.el (replace-buffer-in-windows): Restore interactive spec.
18925
18926 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18927
18928 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18929
18930 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18931 (byte-compile-global-not-obsolete-vars): New var.
18932 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18933 Use it.
18934 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18935
18936 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18937
18938 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18939 * progmodes/pascal.el (electric-pascal-equal):
18940 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18941 * xml.el (xml-substitute-special): Fix typos.
18942
18943 2011-11-20 Glenn Morris <rgm@gnu.org>
18944
18945 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18946 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18947 Doc fixes.
18948 (rmail-decode-mime-charset): Mark as obsolete.
18949
18950 * mail/rmailsum.el (rmail-message-regexp-p-1):
18951 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18952 Before using mime functions, check they are set. (Bug#10077)
18953
18954 2011-11-19 Juri Linkov <juri@jurta.org>
18955
18956 * info.el (Info-finder-find-node): Use `package--builtins' instead
18957 of `package-alist'. Use node names formed by the pattern "Keyword "
18958 and the keyword name.
18959
18960 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18961
18962 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18963
18964 2011-11-19 Juri Linkov <juri@jurta.org>
18965
18966 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18967 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18968 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18969 `old-history', `old-history-forward'. Add let-binding
18970 `window-selected'. Remove calls to `kill-buffer',
18971 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18972 before calling `Info-find-node', so `Info-find-node-2' will reread
18973 the Info file. Restore window positions only when `window-selected'
18974 is non-nil.
18975
18976 2011-11-19 Juri Linkov <juri@jurta.org>
18977
18978 * isearch.el (isearch-lazy-highlight-new-loop):
18979 Remove condition `(not isearch-error)'. (Bug#9918)
18980
18981 * misearch.el (multi-isearch-search-fun): Add condition
18982 `(not bound)' to ignore lazy-highlighting search.
18983 Add the search-failed message "end of multi" when the end of
18984 multi-sequence is reached. Uncapitalize the search-failed
18985 message "Repeat for next buffer".
18986
18987 * info.el (Info-search): Add the search-failed message
18988 "end of the manual" when the end of the manual is reached
18989 in Isearch mode.
18990
18991 2011-11-19 Juri Linkov <juri@jurta.org>
18992
18993 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18994 Use non-destructive `remove' instead of `delete' because
18995 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18996 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18997
18998 2011-11-19 Juri Linkov <juri@jurta.org>
18999
19000 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19001 to nil instead of binding `search-ring' and `regexp-search-ring'.
19002 (Bug#9185)
19003
19004 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19005
19006 * simple.el (line-move): Force movement by logical lines for any
19007 hscrolled window, not only when auto-hscroll-mode is on.
19008 (line-move-visual): Update doc string to that effect. (Bug#10076)
19009
19010 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19011
19012 * language/european.el (macintosh): Define as alias for mac-roman.
19013
19014 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19015
19016 * mail/rmailmm.el (rmail-mime-display-header)
19017 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19018 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19019 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19020 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19021 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19022 of a raw aref.
19023 (rmail-mime-entity-segment): To get past the tagline, move forward
19024 2 more lines, to account for the 2 empty lines that precede and
19025 follow the line with the buttons.
19026 (rmail-mime-update-tagline): Move one more line, to get past the
19027 empty line that follows the buttons in the tagline. (Bug#9520)
19028
19029 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19030
19031 * window.el (window-max-delta-1, window-min-delta-1)
19032 (window-min-size-1, window-state-get-1, window-state-put-1)
19033 (window-state-put-2): Use "window--" prefix.
19034
19035 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19036
19037 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19038 (smie-warning-count): New var.
19039 (smie-set-prec2tab): Use it.
19040 (smie-bnf->prec2): Improve warnings. Add docstring.
19041 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19042 (smie-bnf--set-class): New function.
19043 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19044 corner case.
19045
19046 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19047 (compilation-error-properties, compilation-move-to-column):
19048 Handle compilation-first-column while in the target buffer.
19049
19050 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19051 Don't hardcode point-min==1.
19052
19053 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19054 (eshell-rewrite-for-command): Remove workaround.
19055 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19056 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19057 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19058
19059 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19060
19061 2011-11-17 Glenn Morris <rgm@gnu.org>
19062
19063 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19064 Ignore buffer-local generated-autoload-file if it is the same
19065 as the global value. (Bug#10049)
19066
19067 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19068
19069 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19070 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19071 (reftex-toc-previous-heading, reftex-toc-max-level)
19072 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19073 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19074 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19075 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19076 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19077 (reftex-toc-rename-label, reftex-toc-visit-location)
19078 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19079 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19080 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19081 leaving "*toc*" only for references to the buffer.
19082
19083 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19084
19085 * window.el (window-resize, delete-window, split-window):
19086 Replace window-splits by window-combination-resize.
19087 * cus-start.el (window-splits): Replace by window-combination-resize.
19088
19089 2011-11-17 Glenn Morris <rgm@gnu.org>
19090
19091 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19092 Make bash entry derive from sh entry, not shell entry.
19093
19094 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19095
19096 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19097 local file name.
19098
19099 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19100
19101 * menu-bar.el (menu-bar-file-menu):
19102 * printing.el (pr-ps-utility):
19103 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19104 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19105 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19106 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19107 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19108 (icalendar--convert-cyclic-to-ical)
19109 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19110 (icalendar--convert-ical-to-diary)
19111 (icalendar--convert-recurring-to-diary)
19112 (icalendar--convert-non-recurring-all-day-to-diary)
19113 (icalendar-import-format-sample):
19114 * progmodes/idlw-shell.el (idlwave-shell-mode):
19115 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19116 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19117 (vhdl-ps-print-init): Fix typos.
19118
19119 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19120
19121 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19122 FSF and collapse date sequence, obscure author/maintainer email address
19123 better, remove extra version line, track relocation of author's webpage.
19124
19125 * progmodes/python.el (python-pdbtrack-input-prompt)
19126 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19127 regular python pdb prompts. Adjustments shamelessly taken exactly as
19128 suggested in EmacsWiki page (tiny change):
19129 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19130
19131 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19132
19133 * expand.el (expand-pos, expand-index, expand-point):
19134 Remove redundant info from docstring.
19135 (expand-add-abbrevs): Doc fix.
19136 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19137 (expand-sample-perl-mode-expand-list): Fix typos.
19138
19139 * net/dbus.el (dbus-event-member-name):
19140 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19141 * term/pc-win.el (msdos-create-frame-with-faces):
19142 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19143
19144 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19145
19146 * window.el (split-window, window-state-get-1)
19147 (window-state-put-1, window-state-put-2): Rename occurrences of
19148 window-nest to window-combination-limit.
19149 * cus-start.el (window-nest): Rename to window-combination-limit.
19150
19151 2011-11-16 Chong Yidong <cyd@gnu.org>
19152
19153 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19154 regexp (Bug#10033).
19155
19156 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19157
19158 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19159 `completing-read' will remove *Completions* and will preserve
19160 current-buffer for us.
19161 (tmm-add-prompt): Users of *Completions* will always (re)set its
19162 major mode.
19163 (tmm-old-comp-map): Remove.
19164
19165 2011-11-16 Glenn Morris <rgm@gnu.org>
19166
19167 * mail/rmailedit.el: Require rmailmm when compiling.
19168 (rmail-old-mime-state): New declaration.
19169 (rmail-edit-current-message): If editing a mime message,
19170 edit the "raw" message from the mbox buffer.
19171 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19172
19173 2011-11-15 Glenn Morris <rgm@gnu.org>
19174
19175 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19176 which wasn't being used. Add optional arg to force given state.
19177 (rmail-mime): Add optional arg to force given state.
19178
19179 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19180
19181 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19182 * frame.el (display-mm-dimensions-alist):
19183 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19184 (outline-move-subtree-down):
19185 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19186 (newsticker--treeview-do-get-node):
19187 * net/quickurl.el (quickurl-list-buffer-name):
19188 * progmodes/dcl-mode.el (dcl-mode):
19189 * progmodes/gdb-mi.el (gdb-mapcar*):
19190 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19191
19192 2011-11-15 Glenn Morris <rgm@gnu.org>
19193
19194 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19195 in a boolean sense, so just make it a boolean, and fix the doc.
19196 (rmail-show-mime-function, rmail-mime-feature)
19197 (rmail-require-mime-maybe): Doc fixes.
19198 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19199
19200 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19201
19202 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19203
19204 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19205 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19206 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19207 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19208
19209 2011-11-15 Glenn Morris <rgm@gnu.org>
19210
19211 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19212 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19213 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19214 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19215 (rmail-mime, rmail-show-mime): Doc fixes.
19216
19217 * term/ns-win.el (mode-line-frame-identification):
19218 Leave it alone. (Bug#10051)
19219
19220 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19221
19222 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19223 Handle empty buffers. (Bug#9978)
19224
19225 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19226
19227 * international/mule.el (define-charset):
19228 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19229 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19230 * progmodes/verilog-mode.el (verilog-backward-token):
19231 * textmodes/ispell.el (lookup-words):
19232 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19233
19234 2011-11-14 Glenn Morris <rgm@gnu.org>
19235
19236 * progmodes/executable.el
19237 (executable-make-buffer-file-executable-if-script-p):
19238 Handle file-modes returning nil.
19239
19240 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19241 message - not necessary, and causes problems. (Bug#9831)
19242
19243 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19244
19245 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19246
19247 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19248 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19249 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19250
19251 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19252
19253 * window.el (window-resize, delete-window): Use window-splits
19254 variable instead of function.
19255 (window-state-get-1, window-state-put-2, window-state-put):
19256 Don't deal with windows' splits status.
19257
19258 2011-11-12 Glenn Morris <rgm@gnu.org>
19259
19260 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19261 (apropos-documentation): Doc fixes.
19262
19263 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19264
19265 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19266 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19267
19268 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19269
19270 * electric.el (electric-indent-post-self-insert-function): Make it
19271 possible for a char to only indent in some circumstances.
19272 (electric-indent-mode): Simplify.
19273
19274 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19275
19276 * window.el (windows-with-parameter): Remove unused function.
19277 (windows-at-side): Rename to window-at-side-list.
19278 (window-check, window-atom-check, window-atom-check-1)
19279 (window-side-check, window-size-ignore, window-size-fixed-1)
19280 (window-in-direction-2): Prefix with "window--".
19281 (window-tree-1): Rename to window--subtree, fix doc-string.
19282
19283 2011-11-11 Glenn Morris <rgm@gnu.org>
19284
19285 * subr.el (eval-after-load): If FILE is already loaded,
19286 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19287
19288 2011-11-10 Glenn Morris <rgm@gnu.org>
19289
19290 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19291 Call svn via vc-svn-command rather than vc-do-command.
19292 (vc-svn-command): Add --non-interactive. (Bug#9993)
19293 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19294
19295 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19296 Add toggle-read-only. (Bug#7292)
19297 * files.el (toggle-read-only): Mention that it should only
19298 be used interactively. (Bug#10006)
19299
19300 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19301
19302 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19303 Adjust regexp for OCaml warnings.
19304
19305 * electric.el (electric-pair-post-self-insert-function): Let user
19306 turn it off buffer-locally (bug#9932).
19307
19308 * progmodes/python.el (python-beginning-of-statement):
19309 Rewrite (bug#2703).
19310
19311 * progmodes/compile.el: Better handle TABs (bug#9749).
19312 (compilation-internal-error-properties)
19313 (compilation-next-error-function): Obey the target buffer's
19314 compilation-error-screen-columns.
19315
19316 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19317
19318 * progmodes/meta-mode.el: Remove obsolete comments.
19319 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19320 Fix typos in docstrings.
19321
19322 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19323
19324 * window.el (window-size-fixed-p): Rewrite doc-string.
19325 (window-resizable-p): Rename to window--resizable-p. Update callers.
19326 (window--resizable): New function. Make all callers of
19327 window-resizable call window--resizable instead.
19328 (window-resizable): Rewrite in terms of window--resizable.
19329
19330 2011-11-08 Glenn Morris <rgm@gnu.org>
19331
19332 * progmodes/delphi.el (delphi-mode-syntax-table):
19333 Let define-derived-mode define a proper syntax table. (Bug#9994)
19334
19335 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19336
19337 * window.el: Stay away from defsubst.
19338 (window-list-no-nils): Remove.
19339 (window-state-get-1, window-state-get): Use backquote instead.
19340
19341 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19342
19343 * emacs-lisp/find-func.el (find-function-read):
19344 Fix incorrect use of default argument in `completing-read'.
19345
19346 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19347
19348 * window.el (display-buffer-function, special-display-function):
19349 Mention display-buffer-record-window but do not mention
19350 help-setup parameter in doc-strings.
19351 (window-min-delta): Fix doc-string typo.
19352
19353 2011-11-08 Chong Yidong <cyd@gnu.org>
19354
19355 * window.el (window-total-height, window-total-width): Doc fix.
19356 (window-body-size): Move from C.
19357 (window-body-height, window-body-width): Move to C.
19358
19359 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19360
19361 * window.el: Make special-display like display-buffer-alist (bug#9532).
19362 (display-buffer--special-action): New function, morphed
19363 from display-buffer--special.
19364 (display-buffer): Use it to handle special-display-buffers at higher
19365 priority (just after display-buffer-alist).
19366 (display-buffer-fallback-action, display-buffer--other-frame-action)
19367 (pop-to-buffer-same-window): Remove display-buffer--special.
19368
19369 2011-11-07 Glenn Morris <rgm@gnu.org>
19370
19371 * calendar/cal-menu.el (cal-menu-set-date-title):
19372 Do nothing if not in a calendar. (Bug#9976)
19373
19374 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19375
19376 * files.el (find-file): Always use selected-window.
19377
19378 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19379
19380 * window.el (window-combinations): Make WINDOW argument
19381 mandatory. Rewrite doc-string.
19382 (walk-window-subtree, window-atom-check, window-min-delta)
19383 (window-max-delta, window--resize-this-window)
19384 (window--resize-root-window-vertically, window-tree)
19385 (balance-windows, window-state-put): Rewrite doc-strings as to
19386 not mention the term "subwindow".
19387 (window--resize-subwindows-skip-p): Rename to
19388 window--resize-child-windows-skip-p.
19389 (window--resize-subwindows-normal): Rename to
19390 window--resize-child-windows-normal.
19391 (window--resize-subwindows): Rename to
19392 window--resize-child-windows.
19393 (window-or-subwindow-p): Rename to window--in-subtree-p.
19394
19395 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19396
19397 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19398 Ensure that mbox format messages end in two newlines (Bug#9974).
19399
19400 2011-11-06 Chong Yidong <cyd@gnu.org>
19401
19402 * window.el (window-combination-p): Function deleted; its
19403 side-effect is not used in any existing code.
19404 (window-combinations, window-combined-p): Call window-*-child
19405 directly.
19406
19407 2011-11-05 Chong Yidong <cyd@gnu.org>
19408
19409 * window.el (window-valid-p): Rename from window-any-p.
19410 (window-size-ignore, window-state-get): Callers changed.
19411 (window-normalize-window): Rename from window-normalize-any-window.
19412 New arg LIVE-ONLY, replacing window-normalize-live-window.
19413 (window-normalize-live-window): Delete.
19414 (window-combination-p, window-combined-p, window-combinations)
19415 (walk-window-subtree, window-atom-root, window-min-size)
19416 (window-sizable, window-sizable-p, window-size-fixed-p)
19417 (window-min-delta, window-max-delta, window-resizable)
19418 (window-resizable-p, window-full-height-p, window-full-width-p)
19419 (window-current-scroll-bars, window-point-1, set-window-point-1)
19420 (window-at-side-p, window-in-direction, window-resize)
19421 (adjust-window-trailing-edge, maximize-window, minimize-window)
19422 (window-deletable-p, delete-window, delete-other-windows)
19423 (record-window-buffer, unrecord-window-buffer)
19424 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19425 (quit-window, split-window, window-state-put)
19426 (set-window-text-height, fit-window-to-buffer)
19427 (shrink-window-if-larger-than-buffer): Callers changed.
19428
19429 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19430
19431 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19432 rfc2047-decode-string.
19433 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19434 warnings.
19435
19436 * window.el (window-body-height, window-body-width): Mention in
19437 the doc string that the return values are in frame's canonical
19438 units. (Bug#9949)
19439
19440 2011-11-03 Alan Mackenzie <acm@muc.de>
19441
19442 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19443 change in cc-engine.el.
19444
19445 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19446
19447 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19448
19449 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19450
19451 * window.el (quit-window): Call unrecord-window-buffer after
19452 showing another buffer in the window. (Bug#9937)
19453 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19454
19455 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19456
19457 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19458 Accept status with more than 9 shelves. (Bug#9935)
19459 Reported by Colin D Bennett <colin@gibibit.com>.
19460
19461 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19462
19463 * help.el (with-help-window): Don't reference
19464 temp-buffer-show-specifiers in doc-string.
19465
19466 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19467
19468 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19469 menu-item.
19470
19471 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19472
19473 * whitespace.el: New version 13.2.2.
19474 (whitespace-newline-mode): Disable properly. Reported by Sarah
19475 <EmacsWiki>.
19476
19477 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19478
19479 * net/newst-treeview.el: Remove "Time-stamp".
19480 (newsticker--group-manage-orphan-feeds): Do not call
19481 newsticker--treeview-tree-update.
19482 (newsticker-treeview-update, newsticker-treeview):
19483 Call newsticker--treeview-tree-update if necessary.
19484
19485 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19486
19487 * window.el (window-iso-combination-p, window-iso-combined-p)
19488 (window-iso-combinations): Remove "iso-" infix.
19489 Suggested by Chong Yidong.
19490 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19491 (window-max-delta-1, window-resize, window--resize-siblings)
19492 (window--resize-this-window, adjust-window-trailing-edge)
19493 (split-window, balance-windows-1)
19494 (shrink-window-if-larger-than-buffer):
19495 * calendar/calendar.el (calendar-generate-window):
19496 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19497
19498 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19499
19500 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19501 in place (bug#9907).
19502 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19503 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19504 (eshell-structure-basic-command, eshell-rewrite-while-command)
19505 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19506 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19507 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19508 (eshell-do-pipelines-synchronously, eshell-eval-command):
19509 Use backquotes and prefer setq to set.
19510 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19511 (eshell-macrop): Use functionp.
19512 (eshell-do-eval): Handle multiple expressions in `while' body.
19513
19514 2011-10-30 Chong Yidong <cyd@gnu.org>
19515
19516 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19517 instead of set-mark (Bug#9810).
19518
19519 2011-10-30 Chong Yidong <cyd@gnu.org>
19520
19521 * window.el (split-window-below, split-window-right): Rename from
19522 split-window-above-each-other and split-window-side-by-side
19523 respectively. All callers changed.
19524 (split-window-sensibly, split-window-sensibly): Use them.
19525 (split-window-keep-point): Doc fix.
19526
19527 * isearch.el: Add isearch-scroll property to split-window-below
19528 and split-window-right.
19529
19530 * follow.el (follow-mode):
19531 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19532 * progmodes/ada-xref.el (ada-gdb-application):
19533 * emulation/vip.el (vip-buffer-in-two-windows):
19534 * image-dired.el (image-dired-dired-with-window-configuration):
19535 * dired-x.el (dired-do-find-marked-files):
19536 * dired.el (dired-pop-to-buffer):
19537 * bs.el (bs--show-with-configuration):
19538 * vc/emerge.el (emerge-setup-windows):
19539 * textmodes/two-column.el (2C-two-columns):
19540 * textmodes/reftex-toc.el (reftex-toc):
19541 * progmodes/gdb-mi.el (gdb-setup-windows):
19542 * progmodes/fortran.el (fortran-window-create):
19543 * net/newst-treeview.el (newsticker--treeview-window-init):
19544 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19545 * emulation/tpu-edt.el (tpu-gold-map):
19546 * emulation/crisp.el (crisp-mode-map):
19547 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19548
19549 2011-10-29 Chong Yidong <cyd@gnu.org>
19550
19551 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19552
19553 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19554
19555 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19556 forged Ispell output (Bug#7904).
19557
19558 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19559
19560 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19561
19562 * doc-view.el: Avoid ugly errors about not finding nil.
19563 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19564 (doc-view-dvipdf-program, doc-view-unoconv-program)
19565 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19566 Avoid nil or absolute file name as default value.
19567 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19568
19569 2011-10-28 Alan Mackenzie <acm@muc.de>
19570
19571 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19572
19573 2011-10-28 Alan Mackenzie <acm@muc.de>
19574
19575 Amend the handling of c-beginning/end-of-defun in nested declaration
19576 scopes.
19577
19578 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19579 cc-langs.el. Change it to a defcustom.
19580
19581 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19582 cc-vars.el.
19583
19584 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19585 Prevent "class foo : bar" being spuriously recognized as a label.
19586
19587 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19588 Add parameter `inclusive' (to include enclosing braces in the region).
19589 (c-widen-to-enclosing-decl-scope): New function.
19590 (c-while-widening-to-decl-block): New macro.
19591 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19592 outward for defun boundaries, and correspondingly change symbol
19593 `respect-enclosure' to `go-outward'.
19594 (c-declaration-limits): Change algorithm to report only the "innermost"
19595 defun's boundaries.
19596
19597 2011-10-28 Deniz Dogan <deniz@dogan.se>
19598
19599 * net/rcirc.el (rcirc-mode): Use hard newlines.
19600
19601 2011-10-28 Alan Mackenzie <acm@muc.de>
19602
19603 Amend to indent and fontify macros "which include their own semicolon"
19604 correctly, using the "virtual semicolon" mechanism.
19605
19606 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19607
19608 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19609 Recode to scan one line at a time rather than having \n and \r
19610 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19611 (c-forward-label): Amend for virtual semicolons.
19612 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19613
19614 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19615 of the new C macros.
19616
19617 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19618 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19619 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19620 (c-opt-cpp-macro-define): Make into a full language variable.
19621 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19622 AWK Mode (including \n, \r) removed, no longer needed.
19623
19624 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19625 Invoke c-make-macro-with-semi-re.
19626
19627 * progmodes/cc-vars.el (c-macro-with-semi-re):
19628 (c-macro-names-with-semicolon): New variables.
19629 (c-make-macro-with-semi-re): New function.
19630
19631 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19632
19633 * vc/log-edit.el: Fill empty field rather than adding new one.
19634 (log-edit-add-field): New function.
19635 (log-edit-insert-changelog): Use it.
19636
19637 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19638
19639 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19640
19641 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19642
19643 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19644 (gdb--check-interpreter): New function.
19645 (gdb): Use it.
19646
19647 2011-10-27 Glenn Morris <rgm@gnu.org>
19648
19649 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19650 (least-positive-float, least-negative-float)
19651 (least-positive-normalized-float, least-negative-normalized-float)
19652 (float-epsilon, float-negative-epsilon):
19653 Remove unnecessary declarations.
19654
19655 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19656 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19657 (least-positive-float, least-negative-float)
19658 (least-positive-normalized-float, least-negative-normalized-float)
19659 (float-epsilon, float-negative-epsilon): Add doc-strings,
19660 based on those in cl.texi.
19661
19662 * files.el (set-visited-file-name): If the major-mode changed,
19663 reload the local variables. (Bug#9796)
19664
19665 2011-10-27 Chong Yidong <cyd@gnu.org>
19666
19667 * subr.el (change-major-mode-after-body-hook): New hook.
19668 (run-mode-hooks): Run it.
19669
19670 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19671 Use change-major-mode-before-body-hook.
19672
19673 * simple.el (fundamental-mode):
19674 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19675 change introducing fundamental-mode-hook.
19676
19677 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19678
19679 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19680
19681 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19682
19683 * ido.el (ido-file-name-all-completions-1): Do not require
19684 tramp.el explicitly. (Bug#7583)
19685
19686 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19687
19688 * progmodes/octave-mod.el:
19689 * progmodes/octave-inf.el: Update maintainer.
19690
19691 2011-10-26 Chong Yidong <cyd@gnu.org>
19692
19693 * subr.el (with-wrapper-hook): Rewrite doc.
19694
19695 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19696
19697 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19698 filenames "/method:foo:". (Bug#9793)
19699
19700 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19701
19702 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19703 (bug#9865).
19704
19705 2011-10-24 Glenn Morris <rgm@gnu.org>
19706
19707 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19708
19709 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19710
19711 * notifications.el: Add the requirement of a running D-Bus session
19712 bus to the Commentary.
19713
19714 2011-10-24 Juri Linkov <juri@jurta.org>
19715
19716 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19717 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19718 (Bug#9364)
19719
19720 2011-10-24 Juri Linkov <juri@jurta.org>
19721
19722 * info.el (Info-following-node-name-re): Add newline to the list
19723 of allowed characters for leading space. (Bug#9824)
19724
19725 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19726
19727 * progmodes/octave-inf.el (inferior-octave-mode-map):
19728 Fix C-c C-h binding.
19729 * progmodes/octave-mod.el (octave-help): Remove.
19730
19731 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19732
19733 Sync with Tramp 2.2.3.
19734
19735 * net/tramp-cache.el (top): Pacify byte-compiler using
19736 `init-file-user' and `site-run-file'.
19737
19738 * net/trampver.el: Update release number.
19739
19740 2011-10-23 Chong Yidong <cyd@gnu.org>
19741
19742 * files.el (toggle-read-only): Remove obsolete comment about
19743 version control.
19744
19745 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19746 for toggle-read-only. Note that this hasn't called vc-next-action
19747 since 2008-05-02, though it wasn't documented at the time.
19748
19749 * vc/ediff-init.el (ediff-toggle-read-only-function):
19750 Use toggle-read-only.
19751
19752 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19753
19754 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19755 of c-parse-state.
19756
19757 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19758 correct faulty logical expression.
19759 (c-parse-state-state, c-record-parse-state-state):
19760 (c-replay-parse-state-state): New defvar/defuns.
19761 (c-debug-parse-state): Use new functions.
19762
19763 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19764
19765 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19766 last fix. Use window-in-direction correctly.
19767
19768 2011-10-21 Chong Yidong <cyd@gnu.org>
19769
19770 * progmodes/idlwave.el (idlwave-mode):
19771 * progmodes/vera-mode.el (vera-mode): No need to set
19772 require-final-newline; that's done in prog-mode.
19773 Suggested by Stefan Monnier.
19774
19775 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19776
19777 * mouse.el (mouse-drag-window-above)
19778 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19779 (mouse-drag-mode-line-1, mouse-drag-header-line)
19780 (mouse-drag-vertical-line-rightward-window): Remove.
19781 (mouse-drag-line): New function.
19782 (mouse-drag-mode-line, mouse-drag-header-line)
19783 (mouse-drag-vertical-line): Call mouse-drag-line.
19784 * window.el (window-at-side-p, windows-at-side): New functions.
19785
19786 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19787
19788 * tar-mode.el (tar-grind-file-mode):
19789 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19790
19791 2011-10-21 Chong Yidong <cyd@gnu.org>
19792
19793 * progmodes/idlwave.el (idlwave-mode):
19794 * progmodes/vera-mode.el (vera-mode):
19795 Use mode-require-final-newline.
19796
19797 2011-10-20 Glenn Morris <rgm@gnu.org>
19798
19799 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19800
19801 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19802
19803 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19804
19805 2011-10-20 Chong Yidong <cyd@gnu.org>
19806
19807 * emulation/cua-base.el (cua-mode):
19808 * mail/footnote.el (footnote-mode):
19809 * mail/mailabbrev.el (mail-abbrevs-mode):
19810 * net/xesam.el (xesam-minor-mode):
19811 * progmodes/bug-reference.el (bug-reference-mode):
19812 * progmodes/cap-words.el (capitalized-words-mode):
19813 * progmodes/compile.el (compilation-minor-mode)
19814 (compilation-shell-minor-mode):
19815 * progmodes/gud.el (gud-tooltip-mode):
19816 * progmodes/hideif.el (hide-ifdef-mode):
19817 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19818 * progmodes/subword.el (subword-mode):
19819 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19820 * progmodes/which-func.el (which-function-mode):
19821 * term/tvi970.el (tvi970-set-keypad-mode):
19822 * term/vt100.el (vt100-wide-mode):
19823 * textmodes/flyspell.el (flyspell-mode):
19824 * textmodes/ispell.el (ispell-minor-mode):
19825 * textmodes/nroff-mode.el (nroff-electric-mode):
19826 * textmodes/paragraphs.el (use-hard-newlines):
19827 * textmodes/refill.el (refill-mode):
19828 * textmodes/reftex.el (reftex-mode):
19829 * textmodes/rst.el (rst-minor-mode):
19830 * textmodes/sgml-mode.el (html-autoview-mode)
19831 (sgml-electric-tag-pair-mode):
19832 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19833 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19834 * emulation/crisp.el (crisp-mode):
19835 * emacs-lisp/eldoc.el (eldoc-mode):
19836 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19837 minor mode behavior.
19838
19839 2011-10-19 Juri Linkov <juri@jurta.org>
19840
19841 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19842 the list of hard-coded chars with escape-glyph face.
19843
19844 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19845
19846 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19847
19848 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19849
19850 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19851 running process.
19852
19853 2011-10-19 Glenn Morris <rgm@gnu.org>
19854
19855 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19856 Ignore ignored files. (Bug#9726)
19857
19858 2011-10-19 Chong Yidong <cyd@gnu.org>
19859
19860 Doc fix for minor modes, stating that an omitted argument enables
19861 the mode unconditionally when called from Lisp.
19862
19863 * abbrev.el (abbrev-mode):
19864 * allout.el (allout-mode):
19865 * autoinsert.el (auto-insert-mode):
19866 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19867 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19868 (global-auto-revert-mode):
19869 * battery.el (display-battery-mode):
19870 * composite.el (global-auto-composition-mode)
19871 (auto-composition-mode):
19872 * delsel.el (delete-selection-mode):
19873 * desktop.el (desktop-save-mode):
19874 * dired-x.el (dired-omit-mode):
19875 * dirtrack.el (dirtrack-mode):
19876 * doc-view.el (doc-view-minor-mode):
19877 * double.el (double-mode):
19878 * electric.el (electric-indent-mode, electric-pair-mode):
19879 * emacs-lock.el (emacs-lock-mode):
19880 * epa-hook.el (auto-encryption-mode):
19881 * follow.el (follow-mode):
19882 * font-core.el (font-lock-mode):
19883 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19884 * help.el (temp-buffer-resize-mode):
19885 * hilit-chg.el (highlight-changes-mode)
19886 (highlight-changes-visible-mode):
19887 * hi-lock.el (hi-lock-mode):
19888 * hl-line.el (hl-line-mode, global-hl-line-mode):
19889 * icomplete.el (icomplete-mode):
19890 * ido.el (ido-everywhere):
19891 * image-file.el (auto-image-file-mode):
19892 * image-mode.el (image-minor-mode):
19893 * iswitchb.el (iswitchb-mode):
19894 * jka-cmpr-hook.el (auto-compression-mode):
19895 * linum.el (linum-mode):
19896 * longlines.el (longlines-mode):
19897 * master.el (master-mode):
19898 * mb-depth.el (minibuffer-depth-indicate-mode):
19899 * menu-bar.el (menu-bar-mode):
19900 * minibuf-eldef.el (minibuffer-electric-default-mode):
19901 * mouse-sel.el (mouse-sel-mode):
19902 * msb.el (msb-mode):
19903 * mwheel.el (mouse-wheel-mode):
19904 * outline.el (outline-minor-mode):
19905 * paren.el (show-paren-mode):
19906 * recentf.el (recentf-mode):
19907 * reveal.el (reveal-mode, global-reveal-mode):
19908 * rfn-eshadow.el (file-name-shadow-mode):
19909 * ruler-mode.el (ruler-mode):
19910 * savehist.el (savehist-mode):
19911 * scroll-all.el (scroll-all-mode):
19912 * scroll-bar.el (scroll-bar-mode):
19913 * server.el (server-mode):
19914 * shell.el (shell-dirtrack-mode):
19915 * simple.el (auto-fill-mode, transient-mark-mode)
19916 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19917 (line-number-mode, column-number-mode, size-indication-mode)
19918 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19919 * strokes.el (strokes-mode):
19920 * time.el (display-time-mode):
19921 * t-mouse.el (gpm-mouse-mode):
19922 * tool-bar.el (tool-bar-mode):
19923 * tooltip.el (tooltip-mode):
19924 * type-break.el (type-break-mode-line-message-mode)
19925 (type-break-query-mode):
19926 * view.el (view-mode):
19927 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19928 (global-whitespace-mode, global-whitespace-newline-mode):
19929 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19930
19931 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19932 Fix autogenerated docstring.
19933
19934 2011-10-19 Juri Linkov <juri@jurta.org>
19935
19936 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19937 by checking environment variables "DESKTOP_SESSION" and
19938 "XDG_CURRENT_DESKTOP". (Bug#9779)
19939
19940 2011-10-19 Juri Linkov <juri@jurta.org>
19941
19942 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19943 (browse-url-chromium-program, browse-url-chromium-arguments):
19944 New defcustoms.
19945 (browse-url-default-browser): Check for `browse-url-chromium' and
19946 call `browse-url-chromium-program'.
19947 (browse-url-chromium): New command. (Bug#9779)
19948
19949 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19950
19951 * facemenu.el (list-colors-duplicates): On Windows, detect more
19952 duplicates by assuming that only colors matching "^System" are
19953 special "system colors". (Bug#9722)
19954
19955 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19956
19957 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19958 to distinguish the author from the committer.
19959
19960 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19961
19962 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19963
19964 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19965
19966 * international/mule.el (sgml-html-meta-auto-coding-function):
19967 Add support for detecting encoding in HTML5 specified only as
19968 <meta charset="UTF-8">. Implementation just makes http-equiv and
19969 content-type parts from HTML4 encoding string optional. (Bug#9716)
19970
19971 2011-10-18 Glenn Morris <rgm@gnu.org>
19972
19973 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19974
19975 2011-10-18 Chong Yidong <cyd@gnu.org>
19976
19977 * faces.el (cursor): Doc fix.
19978
19979 2011-10-17 Chong Yidong <cyd@gnu.org>
19980
19981 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19982
19983 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19984
19985 * dirtrack.el (dirtrack): Support shell buffers with path
19986 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19987
19988 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19989
19990 * json.el: Bump version to 1.3 and note change in History.
19991 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19992
19993 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19994
19995 * comint.el (comint-insert-input, comint-send-input)
19996 (comint-get-old-input-default, comint-backward-matching-input)
19997 (comint-next-prompt): Use nil instead of `input' for field property of
19998 past user input (bug#114).
19999
20000 * minibuffer.el (completion--replace): Inherit surrounding properties
20001 (bug#114).
20002 (minibuffer-complete-and-exit): Use it.
20003
20004 * comint.el (comint--table-subvert): Quote the all-completions output
20005 (bug#9160).
20006
20007 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20008
20009 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20010
20011 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20012 window on right of selected. (Bug#9350) Reword other window
20013 entries and separate them from frame entries.
20014
20015 2011-10-15 Glenn Morris <rgm@gnu.org>
20016
20017 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20018 Doc fixes.
20019
20020 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20021
20022 * net/network-stream.el (network-stream-open-starttls):
20023 Improve detection of failure due to lack of TLS support.
20024
20025 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20026 putting the input text in front and in bold.
20027
20028 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20029
20030 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20031
20032 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20033 empty buffer.
20034
20035 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20036 unread-command-events rather than pushing yet-another event.
20037
20038 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20039
20040 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20041 the explanation of the possible choices. Make the options passed
20042 to completing-read shorter.
20043
20044 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20045
20046 * textmodes/flyspell.el (flyspell-large-region): Make sure
20047 extended character mode is used if defined (Bug#1339).
20048
20049 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20050
20051 * simple.el (what-cursor-position): Fix the display of the
20052 character info for LRE, LRO, RLE, and RLO characters by appending
20053 an invisible PDF.
20054
20055 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20056
20057 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20058 even in case of error; add debug spec; simplify data flow.
20059 (with-timeout-handler): Remove.
20060
20061 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20062
20063 Fix Bug#6019, Bug#9315.
20064
20065 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20066 complete `buffer-file-name', the local file name part could look
20067 remotely (for example on VMS).
20068
20069 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20070 `tramp-run-real-handler'.
20071 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20072 already quoted by '"'.
20073
20074 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20075 Let `file-name-handler-alist' be nil, the local file name part
20076 could look remotely (for example on VMS).
20077
20078 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20079
20080 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20081 from here...
20082 (flyspell-post-command-hook): ...to here.
20083
20084 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20085
20086 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20087 if not needed.
20088 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20089 using completion. Protect against "slow" callers.
20090 Remove the "message hack".
20091
20092 2011-10-11 Juri Linkov <juri@jurta.org>
20093
20094 * isearch.el (isearch-lazy-highlight-word): New variable.
20095 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20096 Use it. (Bug#9727)
20097
20098 2011-10-11 Glenn Morris <rgm@gnu.org>
20099
20100 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20101 like f90-previous-statement does.
20102
20103 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20104
20105 * eshell/eshell.el (eshell-command): History should be saved
20106 only in interactive use, to avoid error.
20107
20108 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20109
20110 * minibuffer.el (completion-file-name-table): Fix last change,
20111 i.e. ignore normal errors but not the other ones.
20112
20113 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20114
20115 * window.el (special-display-buffer-names)
20116 (special-display-regexps): Remove some remnants of earlier
20117 changes from doc-strings.
20118 (quit-windows-on): New function.
20119
20120 * vc/vc.el (vc-revert, vc-rollback):
20121 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20122 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20123 (Bug#6183) (Bug#7074) (Bug#7447)
20124
20125 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20126
20127 * window.el (frame-auto-hide-function): Add version tag.
20128 (Bug#9699)
20129
20130 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20131
20132 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20133 condition.
20134
20135 2011-10-09 Leo Liu <sdl.web@gmail.com>
20136
20137 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20138 (Bug#9701)
20139
20140 2011-10-08 Glenn Morris <rgm@gnu.org>
20141
20142 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20143 before the first code statement zero indent. (Bug#9690)
20144
20145 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20146
20147 * simple.el (count-words-region): Always count in the region.
20148 Report the number of lines and characters too.
20149 (count-words): New command, which counts in the buffer if the
20150 region is inactive, as count-words-region used to.
20151 (count-words--message): New function. Handle plurals.
20152 (count-lines-region): Make it an alias for count-words-region.
20153
20154 * bindings.el (esc-map): Replace count-lines-region with
20155 count-words-region.
20156
20157 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20158
20159 * window.el (window--delete): Delete dedicated frame
20160 unconditionally when argument KILL is non-nil. (Bug#9699)
20161 (switch-to-buffer): Fix doc-string typo.
20162
20163 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20164
20165 * eshell/eshell.el (eshell-command): Avoid using hooks.
20166
20167 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20168
20169 * bindings.el ([M-left],[M-right]): Bind to left-word and
20170 right-word respectively.
20171
20172 2011-10-07 Glenn Morris <rgm@gnu.org>
20173
20174 * cus-start.el (debug-on-quit): Fix custom type.
20175
20176 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20177
20178 * subr.el (define-key-after): Clarify that the function is not
20179 useful for non-menu keymaps.
20180
20181 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20182
20183 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20184
20185 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20186 in current minibuffer (Fix bug with recursive minibuffers).
20187
20188 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20189
20190 * progmodes/gdb-mi.el (gdb): Doc fix.
20191
20192 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20193
20194 * window.el (frame-auto-hide-function): New option replacing
20195 frame-auto-delete. Suggested by Stefan Monnier.
20196 (window--delete): Call frame-auto-hide-function instead of
20197 investigating frame-auto-delete.
20198 (window-point-1, set-window-point-1): New functions.
20199 (window-in-direction, record-window-buffer, window-state-get-1)
20200 (display-buffer-record-window): Use window-point-1 instead of
20201 window-point.
20202 (set-window-buffer-start-and-point): Use set-window-point-1.
20203
20204 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20205
20206 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20207
20208 2011-10-05 Glenn Morris <rgm@gnu.org>
20209
20210 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20211 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20212
20213 2011-10-05 Leo Liu <sdl.web@gmail.com>
20214
20215 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20216 works with buffer object.
20217
20218 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20219
20220 * mpc.el (mpc-tool-bar-map): Add labels.
20221
20222 2011-10-04 Glenn Morris <rgm@gnu.org>
20223
20224 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20225
20226 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20227
20228 * window.el (window--delete): New function.
20229 (frame-auto-delete): Resuscitate option.
20230 (bury-buffer, replace-buffer-in-windows)
20231 (quit-window): Rewrite using window--delete.
20232 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20233 Pass display-buffer-mark-dedicated to window--display-buffer-2
20234 (Bug#9639).
20235
20236 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20237
20238 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20239 returns a list (bug#9554). Add remote file name completion.
20240 * comint.el (comint--table-subvert): Curry and get quote&unquote
20241 functions as arguments.
20242 (comint--complete-file-name-data): Adjust call accordingly.
20243 * pcomplete.el (pcomplete--table-subvert): Remove.
20244 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20245
20246 * minibuffer.el (completion-table-case-fold): Use currying.
20247 (completion--styles-type, completion--cycling-threshold-type):
20248 New constants.
20249 (completion-styles, completion-category-overrides)
20250 (completion-cycle-threshold): Use them.
20251 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20252 completion-table-case-fold.
20253
20254 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20255
20256 * minibuffer.el (completion-category-overrides): Fix type of styles
20257 and add more user friendly tags (bug#9660).
20258
20259 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20260
20261 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20262 (mule-input-method-string): New widget.
20263 (default-input-method, language-info-custom-alist): Use it.
20264
20265 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20266
20267 * pcomplete.el: Require comint.
20268 (pcomplete--common-suffix): Remove.
20269 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20270 (pcomplete--table-subvert): Sync with comint--table-subvert.
20271 (pcomplete--entries): Use comint-completion-file-name-table.
20272 * comint.el (comint-unquote-filename): Simplify.
20273 (comint-completion-file-name-table): New function (bug#9616).
20274 (comint--complete-file-name-data): Use it.
20275
20276 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20277 (pcmpl-gnu-tar-buffer): Remove.
20278 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20279 around. Make sure pcomplete-suffix-list is only changed temporarily.
20280 Don't look inside the tar's file if it's too large.
20281
20282 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20283
20284 * cus-edit.el (custom-mode-map):
20285 * epa.el (epa-key-list-mode-map):
20286 * man.el (Man-mode-map):
20287 * startup.el (splash-screen-keymap):
20288 * simple.el (special-mode-map): Use scroll-up-command and
20289 scroll-down-command.
20290
20291 * progmodes/idlw-help.el (idlwave-help-mode-map):
20292 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20293 * net/newst-plainview.el (newsticker-mode-map):
20294 * emulation/ws-mode.el (wordstar-mode-map):
20295 * emulation/vi.el (vi-com-map):
20296 * calc/calc-graph.el (calc-graph-show-dumb):
20297 * term/sun.el (terminal-init-sun):
20298 * term/ns-win.el (global-map):
20299 * progmodes/grep.el (grep-mode-map):
20300 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20301 * mail/rmail.el (rmail-mode-map):
20302 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20303
20304 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20305 custom-safe-themes as special.
20306
20307 2011-10-01 Julien Danjou <julien@danjou.info>
20308
20309 * notifications.el (notifications-notify): Fix docstring.
20310
20311 2011-10-01 Per Starbäck <per@starback.se>
20312
20313 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20314
20315 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20316
20317 * startup.el (command-line-1): Fix last fix by inserting
20318 initial-scratch-message into *scratch* before displaying it.
20319 (Bug#9605) and (Bug#9636)
20320
20321 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20322
20323 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20324 window is hscrolled, move by logical lines. (Bug#9607)
20325 (line-move-visual): Update the doc string to the above effect.
20326
20327 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20328
20329 * window.el (display-buffer-record-window): When WINDOW is the
20330 selected window use `point' instead of `window-point'. (Bug#9626)
20331
20332 * startup.el (command-line-1): Use insert-before-markers when
20333 inserting initial-scratch-message. (Bug#9605)
20334
20335 * help.el (help-window): Remove variable.
20336
20337 2011-09-29 Glenn Morris <rgm@gnu.org>
20338
20339 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20340
20341 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20342
20343 * descr-text.el (describe-char-categories): Accept category
20344 descriptions more than one line long.
20345
20346 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20347
20348 * simple.el (delete-trailing-whitespace): Fix last change.
20349
20350 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20351 Don't confuse "y => 3" as the beginning of a `y' operation.
20352
20353 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20354 object has more than 4 slots (bug#9613).
20355
20356 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20357
20358 * subr.el (with-output-to-temp-buffer):
20359 * net/quickurl.el (quickurl, quickurl-browse-url):
20360 Fix typos in docstrings.
20361
20362 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20363
20364 * minibuffer.el (completion-styles)
20365 (completion-category-overrides): Cross reference each other in doc
20366 strings.
20367
20368 2011-09-27 Glenn Morris <rgm@gnu.org>
20369
20370 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20371 to split-string. (Bug#9606)
20372
20373 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20374
20375 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20376 (bug#9615).
20377
20378 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20379
20380 * emacs-lisp/package.el (list-packages): Fix echo area message.
20381
20382 2011-09-27 Leo Liu <sdl.web@gmail.com>
20383
20384 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20385
20386 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20387
20388 * net/dbus.el (dbus-unregister-object): Don't release services for
20389 registered signals. (Bug#9581)
20390
20391 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20392
20393 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20394 function that picks between cfengine 2 and 3 support
20395 automatically. Update docs accordingly.
20396
20397 2011-09-22 Kenichi Handa <handa@m17n.org>
20398
20399 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20400 ZERO.
20401 (indian-itrans-v5-table-for-tamil): New variable.
20402 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20403
20404 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20405
20406 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20407 that's true if the current command involved collapsing of text.
20408 It's reset to false at the beginning of the next command.
20409 (allout-post-command-business): Move the cursor to the beginning
20410 of entry if the cursor is hidden and collapsing activity just
20411 happened.
20412
20413 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20414
20415 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20416 tracking (Bug#9541).
20417
20418 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20419
20420 * net/newst-reader.el (newsticker-html-renderer)
20421 (newsticker-show-news): Automatically load html rendering package
20422 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20423 because w3m-fill-column is let-bound" and the error "Symbol's value
20424 as variable is void: w3m-fill-column".
20425
20426 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20427
20428 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20429 Release services only if they are defined. (Bug#9581)
20430
20431 2011-09-23 Richard Stallman <rms@gnu.org>
20432
20433 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20434 distinguish start of paragraph from start of its text.
20435
20436 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20437
20438 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20439 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20440 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20441
20442 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20443
20444 * international/mule-diag.el (mule-diag): Insert a newline after
20445 each fontset description.
20446
20447 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20448
20449 * simple.el (delete-trailing-whitespace):
20450 Document last change; simplify.
20451
20452 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20453
20454 * simple.el (delete-trailing-whitespace): Also delete
20455 extra newlines at the end of the buffer.
20456
20457 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20458 (picture-newline): Use forward-line so as to ignore fields.
20459
20460 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20461
20462 * subr.el (with-wrapper-hook): Fix edebug spec.
20463
20464 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20465
20466 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20467 (bug#4538).
20468
20469 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20470
20471 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20472 Fix nasty bug using wrong cached values.
20473
20474 2011-09-23 Alan Mackenzie <acm@muc.de>
20475
20476 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20477
20478 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20479
20480 * window.el (pop-to-buffer): Ensure right window is selected if we
20481 chose another frame.
20482
20483 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20484
20485 * simple.el (what-cursor-position): Use get-char-property-change
20486 and next-single-char-property-change, to be able to show display
20487 properties that come from overlays as well as text properties.
20488
20489 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20490
20491 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20492
20493 * cmuscheme.el (run-scheme, switch-to-scheme):
20494 * cus-edit.el (customize-group, custom-buffer-create)
20495 (customize-browse):
20496 * info.el (info):
20497 * shell.el (shell):
20498 * mail/sendmail.el (mail):
20499 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20500
20501 2011-09-22 Richard Stallman <rms@gnu.org>
20502
20503 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20504 move back only to line beg, don't move back over blank lines.
20505
20506 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20507
20508 * files.el (copy-directory): Set directory attributes only in case
20509 they could be retrieved from the source directory. (Bug#9565)
20510
20511 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20512
20513 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20514 (hs-find-block-beginning, hs-hide-level-recursive):
20515 Ignore strings as well as comments. (Bug#9502)
20516
20517 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20518
20519 * progmodes/sql.el (sql-comint-postgres):
20520 Convert port number to a string. (Bug#9566)
20521
20522 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20523
20524 * window.el (quit-window): Undedicate window when switching to
20525 previous buffer. Reported by Thierry Volpiatto
20526 <thierry.volpiatto@gmail.com>.
20527 (special-display-popup-frame): When popping up a new frame reset
20528 its previous buffers to nil. Simplify code.
20529
20530 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20531
20532 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20533 and process filter, as done also in `shell-command'.
20534
20535 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20536
20537 * window.el (set-window-buffer-start-and-point):
20538 Call set-window-start with NOFORCE argument t.
20539 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20540 (quit-window): Reword doc-string. Handle new format of
20541 quit-restore parameter. Don't delete window if it has a
20542 previous buffer we can show instead of the present one.
20543 (display-buffer-record-window): Rewrite using a new format for
20544 the quit-restore window parameter
20545 (special-display-popup-frame, display-buffer-same-window)
20546 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20547 (display-buffer-pop-up-window, display-buffer-use-some-window):
20548 Adapt symbol passed to display-buffer-record-window.
20549 * help.el (help-window-setup): Handle new format of quit-restore
20550 parameter.
20551
20552 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20553
20554 * faces.el (face-list): Fix docstring (bug#9564).
20555
20556 * window.el (display-buffer--action-function-custom-type):
20557 Don't include internal functions in the Custom interface.
20558
20559 2011-09-20 Juri Linkov <juri@jurta.org>
20560
20561 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20562 (Info-forward-node, Info-backward-node, Info-next-preorder)
20563 (Info-last-preorder): Use it. (Bug#9528)
20564
20565 2011-09-20 Juri Linkov <juri@jurta.org>
20566
20567 * info.el (Info-last-preorder): Visit last menu item only when
20568 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20569
20570 2011-09-20 Julien Danjou <julien@danjou.info>
20571
20572 * password-cache.el (password-cache-remove): Remove entries even if the
20573 value is nil, so that password with a nil value (negative caching) is
20574 possible to invalidate.
20575
20576 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20577
20578 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20579 all whitespace around breakpoint. (Bug#9553)
20580 (f90-find-breakpoint): Only break at whitespace inside a comment.
20581
20582 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20583
20584 * minibuffer.el (completion-file-name-table): Keep track of errors.
20585 (completion-table-with-predicate): Handle the case where pred1 is nil.
20586 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20587
20588 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20589
20590 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20591 (debugger-return-value): Signal an error if the debugging context does
20592 not await any return value.
20593
20594 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20595 * image-mode.el (image-toggle-display-text)
20596 (image-toggle-display-image): Stay away from evil `intangible'.
20597
20598 2011-09-19 Leo Liu <sdl.web@gmail.com>
20599
20600 * replace.el (occur-revert-arguments): Make it permanent-local.
20601 (occur-mode): Don't call font-lock-defontify.
20602
20603 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20604
20605 * net/ldap.el (ldap-search-internal): Don't push empty search
20606 result (Bug#9508).
20607
20608 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20609
20610 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20611
20612 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20613
20614 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20615 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20616
20617 2011-09-18 Juri Linkov <juri@jurta.org>
20618
20619 * buff-menu.el (Buffer-menu-mode-map):
20620 * dired.el (dired-mode-map):
20621 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20622 (lisp-interaction-mode-map):
20623 * emacs-lisp/package.el (package-menu-mode-map):
20624 * epa.el (epa-key-list-mode-map):
20625 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20626 (menu-bar-options-menu):
20627 * outline.el (outline-mode-menu-bar-map):
20628 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20629 * vc/vc-dir.el (vc-dir-menu-map):
20630 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20631 Capitalize non-function content words in menu item strings.
20632
20633 * dired.el (dired-mode-map): Add menu item for
20634 `image-dired-dired-toggle-marked-thumbs'.
20635
20636 2011-09-18 Juri Linkov <juri@jurta.org>
20637
20638 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20639 to `isearch-case-fold-search' and restore its original value
20640 after the `isearch-mode' call.
20641
20642 2011-09-18 Juri Linkov <juri@jurta.org>
20643
20644 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20645 because `zgrep' returns 1 for successful matches (bug#9226).
20646
20647 2011-09-18 Juri Linkov <juri@jurta.org>
20648
20649 * info.el (Info-extract-menu-node-name): Check the second match
20650 for empty string (second test-case of bug#9528).
20651 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20652 intermediate nodes to the history (first test-case of bug#9528).
20653
20654 2011-09-18 Juri Linkov <juri@jurta.org>
20655
20656 * info.el (Info-mode-syntax-table): New variable.
20657 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20658
20659 2011-09-18 Juri Linkov <juri@jurta.org>
20660
20661 * info.el (Info-file-supports-index-cookies):
20662 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20663 outputs one more line for long file names (bug#4142).
20664
20665 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20666
20667 * newcomment.el (comment-normalize-vars): If prompting for
20668 comment-start, set comment-start-skip too (Bug#8424).
20669
20670 2011-09-18 Johan Bockgård <bojohan@gnu.org>
20671
20672 * icomplete.el: Fix previous fix of Bug#5849.
20673 (icomplete-mode): Don't set completion-show-inline-help.
20674 (icomplete-minibuffer-setup): Set completion-show-inline-help
20675 locally during icompletion.
20676
20677 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20678
20679 * woman.el (woman2-process-escapes): Don't delete unrecognized
20680 escapes (Bug#7843).
20681
20682 * files.el (inhibit-first-line-modes-regexps): Add image files.
20683 (hack-local-variables-prop-line): Return nil for malformed
20684 prop-lines (Bug#9044).
20685
20686 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20687
20688 * net/tramp.el (top): Don't require 'shell.
20689 (tramp-methods): Fix docstring.
20690 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20691 Return complete remote file name. Handle "smb" case.
20692 Use `tramp-tmpdir', if defined for the respective method.
20693 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20694
20695 * net/tramp-compat.el (top): Require 'shell.
20696
20697 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20698 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20699 `tramp-current-host'.
20700 (tramp-get-remote-tmpdir): Remove.
20701
20702 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20703 `tramp-tmpdir' entries.
20704 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20705 (tramp-smb-handle-file-attributes): Ignore errors.
20706 (tramp-smb-wait-for-output): Check also for process end.
20707
20708 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20709
20710 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20711 when sending QUIT (bug#9312).
20712
20713 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20714
20715 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20716 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20717 occur-mode-display-occurrence.
20718 (occur-edit-mode): Add usage message.
20719 (occur-cease-edit): New command.
20720 (occur-after-change-function): Use text properties to find the
20721 position of the prefix text.
20722 (occur-engine): Set stickiness of prefix text properties.
20723
20724 2011-09-17 Glenn Morris <rgm@gnu.org>
20725
20726 * progmodes/etags.el (complete-tag):
20727 Fix call to completion-in-region. (Bug#9526)
20728
20729 2011-09-17 Juri Linkov <juri@jurta.org>
20730
20731 * textmodes/ispell.el (ispell-word): Add to the error message
20732 the word, ispell program name and current dictionary (bug#9121).
20733 (ispell-tex-arg-end): Capitalize "error" in the error message.
20734
20735 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20736
20737 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20738 check. (Bug#4251)
20739
20740 2011-09-17 Juri Linkov <juri@jurta.org>
20741
20742 * window.el (window-safe-min-height, window-safe-min-width):
20743 Fix typos (followup to bug#9522).
20744
20745 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20746
20747 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20748
20749 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20750
20751 * simple.el (line-move): If goal-column is set, move by logical
20752 lines, not by display lines. (Bug#971)
20753 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20754 to reflect the above change.
20755
20756 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20757
20758 * image.el (imagemagick-register-types): Use regexp-opt.
20759
20760 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20761
20762 * window.el (display-buffer-base-action): Rename from
20763 display-buffer-default-action. Make default value empty.
20764 (display-buffer-overriding-action): Convert to defvar.
20765 (display-buffer-fallback-action): New var.
20766
20767 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20768
20769 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20770 declaration.
20771 (package--add-to-archive-contents): If there is a duplicate entry
20772 with an older version, remove it.
20773 (package-menu-mark-delete, package-menu-mark-install)
20774 (package-menu-mark-unmark): Make unused args optional.
20775 (package-menu-mark-obsolete-for-deletion):
20776 Use package-menu-get-status instead of a regexp search.
20777 (package-menu-get-status): Use tabulated-list-entry.
20778 (package-menu-mark-upgrades): New command.
20779 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20780 (package-menu-execute): Do installation before deletion.
20781 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20782 instead of checking major-mode.
20783 (package-menu--find-upgrades): New function.
20784
20785 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20786
20787 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20788 passwords in the log buffer.
20789 (smtpmail-process-filter): Update the process marker so that the
20790 "broken by peer" status message is inserted in the right place.
20791
20792 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20793
20794 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20795 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20796 bibtex-completion-at-point-function.
20797 (bibtex-completion-at-point-function): Use them.
20798
20799 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20800
20801 * mpc.el (mpc-constraints-tag-lookup): New function.
20802 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20803 also to browser "album|playlist".
20804
20805 2011-09-14 Juri Linkov <juri@jurta.org>
20806
20807 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20808 (isearch-edit-string): Use length of `isearch-string' when
20809 `isearch-fail-pos' returns nil.
20810 (isearch-message): Remove duplicate code and call
20811 `isearch-fail-pos' with arg `t'.
20812
20813 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20814
20815 * replace.el (occur-mode-goto-occurrence): Don't force using other
20816 window (Bug#9499).
20817
20818 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20819
20820 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20821
20822 * window.el (display-buffer-window): Remove.
20823 (display-buffer-record-window): Use help-setup window parameter
20824 instead of variable display-buffer-window.
20825 (display-buffer-function, special-display-buffer-names)
20826 (special-display-function): Mention help-setup parameter instead
20827 of display-buffer-window in doc-string.
20828 * help.el (help-window-setup): New argument help-window.
20829 Use help-window-setup parameter instead of display-buffer-window.
20830 Reword some messages.
20831 (with-help-window): Pass window used for displaying the buffer
20832 to help-window-setup. Don't set display-buffer-window.
20833
20834 2011-09-13 Glenn Morris <rgm@gnu.org>
20835
20836 * emacs-lisp/debug.el (debugger-make-xrefs):
20837 Preserve point. (Bug#9462)
20838
20839 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20840
20841 * window.el (window-deletable-p): Use next-frame.
20842
20843 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20844
20845 * window.el (window-auto-delete): Remove.
20846 (window-deletable-p): Remove argument FORCE. Don't deal with
20847 dedication and previous buffers.
20848 (switch-to-prev-buffer): Don't delete window.
20849 (delete-windows-on): Delete a window's frame if and only if the
20850 window is dedicated.
20851 (replace-buffer-in-windows): Delete buffer's window or frame if
20852 and only if window is dedicated.
20853 (quit-window): Handle quit-restore as before last change.
20854 (bury-buffer): Delete window only if window-deletable-p returns t.
20855
20856 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20857
20858 * window.el (window-deletable-p): Never delete the last frame on a
20859 given terminal.
20860
20861 2011-09-13 Glenn Morris <rgm@gnu.org>
20862
20863 * help.el (describe-key-briefly): Copy previous standard-output change.
20864
20865 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20866
20867 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20868
20869 2011-09-13 Glenn Morris <rgm@gnu.org>
20870
20871 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20872 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20873
20874 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20875
20876 * dired-aux.el (dired-mark-read-string): Don't return default
20877 value on empty input (Bug#9361).
20878 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20879 Omit initial minibuffer contents.
20880 (dired-do-chmod): Signal an error on empty input.
20881 (dired-mark-read-string): Don't return default on empty input.
20882
20883 * files.el (file-modes-symbolic-to-number): Doc fix.
20884
20885 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20886
20887 * international/mule-cmds.el (ucs-completions): Remove.
20888 (read-char-by-name): Use complete-with-action instead; add metadata.
20889
20890 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20891
20892 * window.el (display-buffer--action-function-custom-type)
20893 (display-buffer--action-custom-type): New vars.
20894 (display-buffer-alist, display-buffer-default-action)
20895 (display-buffer-overriding-action): Add defcustom types.
20896
20897 * frame.el (delete-other-frames): Doc fix (Bug#276).
20898
20899 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20900
20901 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20902
20903 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20904
20905 Change modes that used same-window-* vars to use switch-to-buffer.
20906
20907 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20908 Use switch-to-buffer.
20909
20910 * cus-edit.el (customize-group, custom-buffer-create)
20911 (customize-browse, custom-buffer-create-other-window):
20912 Use switch-to-buffer or switch-to-buffer-other-window.
20913
20914 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20915 (Info-prev, Info-up, Info-speedbar-goto-node)
20916 (info-display-manual): Use switch-to-buffer.
20917 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20918
20919 * mail/sendmail.el (mail): Use switch-to-buffer.
20920 (mail-recover): Use switch-to-buffer-other-window.
20921
20922 * cmuscheme.el (run-scheme, switch-to-scheme):
20923 * ielm.el (ielm):
20924 * shell.el (shell):
20925 * net/rlogin.el (rlogin):
20926 * net/telnet.el (telnet, rsh):
20927 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20928
20929 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20930
20931 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20932
20933 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20934
20935 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20936 so don't mention it (bug#9301).
20937 (dired-sort-toggle-or-edit): Clarify string further.
20938
20939 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20940 match `x', `w32' and `ns', like the manual says (bug#9029).
20941
20942 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20943 (process-kill-buffer-query-function): Mention the buffer name in
20944 the query.
20945
20946 * image-mode.el (image-next-line): The line parameter is mandatory
20947 (bug#9258).
20948
20949 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20950 which can be useful (bug#9301).
20951
20952 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20953
20954 * subr.el (match-string): Mention that the current buffer should
20955 be the same as the search was done in (bug#9282).
20956
20957 * facemenu.el: Disable the remove-* commands if the mark isn't
20958 active (bug#9162).
20959
20960 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20961
20962 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20963 of display-buffer.
20964 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20965
20966 * replace.el (occur-mode-goto-occurrence)
20967 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20968 and display-buffer.
20969
20970 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20971 display-buffer.
20972
20973 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20974 special-display and same-window variables.
20975 (mail-other-window): Use switch-to-buffer-other-window.
20976 (mail-other-frame): USe switch-to-buffer-other-frame.
20977
20978 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20979 Use display-buffer-other-frame.
20980 (gdb-display-gdb-buffer): Use pop-to-buffer.
20981
20982 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20983
20984 * progmodes/python.el: Don't set same-window-buffer-names.
20985
20986 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20987
20988 * window.el (display-buffer-alist): Add *Python*.
20989
20990 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20991
20992 * window.el (display-buffer-alist): Add entry for buffers
20993 previously handled same-window-*.
20994 (display-buffer-alist, display-buffer-default-action)
20995 (display-buffer-overriding-action): Mark as risky.
20996 (display-buffer-alist): Document action function changes.
20997 (display-buffer--same-window-action)
20998 (display-buffer--other-frame-action): New variables.
20999 (switch-to-buffer, display-buffer-other-frame): Use them.
21000 (display-buffer): Rename reuse-frame entry to reusable-frames.
21001 (display-buffer-reuse-selected-window): Function deleted.
21002 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21003 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21004 (display-buffer-special): New function.
21005 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21006 display-buffer-reuse-or-pop-window. Split off special-display
21007 part into display-buffer-special.
21008 (display-buffer-use-some-window): Don't perform any special
21009 pop-up-frames handling.
21010 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21011 (display-buffer--maybe-same-window): Rename from
21012 display-buffer-maybe-same-window.
21013
21014 * info.el: Don't set same-window-regexps.
21015 (info-setup): New function.
21016 (info-other-window, info): Call it.
21017
21018 * cus-edit.el: Don't set same-window-regexps.
21019 (customize-group): New argument.
21020 (customize-group-other-window): Use it.
21021 (customize-face, customize-face-other-window): Likewise.
21022 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21023
21024 * net/rlogin.el:
21025 * net/telnet.el:
21026 * progmodes/gud.el: Don't set same-window-regexps.
21027
21028 * cmuscheme.el:
21029 * ielm.el:
21030 * shell.el:
21031 * mail/sendmail.el:
21032 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21033
21034 2011-09-10 Juri Linkov <juri@jurta.org>
21035
21036 * isearch.el (isearch-edit-string): Remove obsolete mention of
21037 `C-w' (`isearch-yank-word-or-char') from docstring.
21038 (isearch-query-replace): Fix typo in docstring (bug#9466).
21039
21040 2011-09-10 Juri Linkov <juri@jurta.org>
21041
21042 * paren.el (show-paren-function): Don't show escaped parens.
21043 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21044
21045 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21046
21047 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21048 (mm-default-file-encoding): Remove autoload forms, they are
21049 replaced with autoload cookies in mml.el and mm-encode.el.
21050 (mail-add-attachment): New command.
21051 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21052 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21053 the doc string.
21054 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21055
21056 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21057
21058 * simple.el (count-words-region): Use buffer if there's no region
21059 (bug#9429).
21060
21061 2011-09-09 Juri Linkov <juri@jurta.org>
21062
21063 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21064 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21065 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21066
21067 2011-09-09 Alan Mackenzie <acm@muc.de>
21068
21069 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21070 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21071
21072 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21073
21074 Fix for Savannah bug#9392.
21075 * simple.el (mail-encode-mml): New defvar.
21076
21077 * mail/rmail.el (mail-encode-mml): Add a defvar.
21078 (rmail-enable-mime-composing): Default to t.
21079 (rmail-forward): Use MIME method of forwarding only if both
21080 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21081 Set mail-encode-mml non-nil if the MIME method was used.
21082
21083 * mail/sendmail.el (mml-to-mime): Add autoload form.
21084 (mail-encode-mml): Add a defvar.
21085 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21086 to nil.
21087 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21088 message through mml-to-mime, and reset mail-encode-mml to nil.
21089
21090 2011-09-09 Glenn Morris <rgm@gnu.org>
21091
21092 * woman.el (woman-if-body): When processing an .el block,
21093 do not delete the next .el block as well. (Bug#9447)
21094 (woman-special-characters): Add oq, cq, and hy characters.
21095
21096 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21097
21098 * window.el (window-deletable-p): Make sure window is live before
21099 invoking window-prev-buffers.
21100
21101 2011-09-08 Leo Liu <sdl.web@gmail.com>
21102
21103 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21104
21105 2011-09-08 Juri Linkov <juri@jurta.org>
21106
21107 * progmodes/compile.el (compilation-environment): Make it
21108 a defcustom (bug#8340).
21109
21110 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21111
21112 * window.el (frame-auto-delete): Rename to window-auto-delete.
21113 Make it control auto-deletion of windows and/or frames.
21114 (window-deletable-p): New argument FORCE. Rewrite conditions
21115 for deleting window/frame. (Bug#9419)
21116 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21117 Rewrite handling of case when window/frame can be deleted.
21118 (delete-windows-on): Call window-deletable-p with new FORCE
21119 argument t. (Bug#9456)
21120
21121 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21122
21123 * help-mode.el (help-mode): Restore autoload.
21124
21125 2011-09-07 Juri Linkov <juri@jurta.org>
21126
21127 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21128 `compilation-environment'. Set buffer-local
21129 `compilation-environment' to `thisenv' later after (funcall mode).
21130 (Bug#8340)
21131
21132 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21133 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21134 instead of replacing its value. (Bug#8340)
21135
21136 2011-09-07 Juri Linkov <juri@jurta.org>
21137
21138 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21139 based on text properties put by `grep-filter' instead of matching
21140 escape sequences.
21141 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21142 to the value of `grep-error-screen-columns' (bug#9438).
21143
21144 2011-09-07 Juri Linkov <juri@jurta.org>
21145
21146 * simple.el (next-error-highlight, next-error-highlight-no-select):
21147 Doc fix (bug#9432).
21148
21149 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21150
21151 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21152 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21153
21154 2011-09-07 Leo Liu <sdl.web@gmail.com>
21155
21156 * net/rcirc.el (rcirc-mode): Conditionally initialize
21157 rcirc-input-ring.
21158
21159 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21160
21161 * emacs-lisp/find-func.el (find-function-C-source): Only set
21162 find-function-C-source-directory after checking that we found a source
21163 file there (bug#9440).
21164
21165 2011-09-06 Alan Mackenzie <acm@muc.de>
21166
21167 * isearch.el (isearch-other-meta-char): Wherever a key list is
21168 unread, "unread" the prefix arg, too. This fixes bug #8901.
21169
21170 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21171
21172 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21173
21174 2011-09-05 Juri Linkov <juri@jurta.org>
21175
21176 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21177
21178 2011-09-05 Juri Linkov <juri@jurta.org>
21179
21180 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21181 keeping point where processing of grep matches begins, and
21182 continue to delete remaining escape sequences from the same point.
21183 (grep-filter): Make leading zero optional in "0?1;31m" because
21184 git-grep emits "\033[1;31m" escape sequences unlike expected
21185 "\033[01;31m" as GNU Grep does (bug#9408).
21186 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21187
21188 2011-09-05 Juri Linkov <juri@jurta.org>
21189
21190 * subr.el (y-or-n-p): Capitalize "yes".
21191
21192 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21193
21194 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21195 `tramp-cache-unload-hook' where appropriate.
21196 (tramp-methods): Rename `tramp-remote-sh' to
21197 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21198 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21199
21200 * net/tramp-sh.el (top): Don't require 'shell.
21201 (tramp-methods): Add `tramp-remote-shell' and
21202 `tramp-remote-shell-args' entries.
21203 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21204 (tramp-sh-handle-shell-command): Remove.
21205 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21206 Use `tramp-remote-shell'.
21207
21208 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21209
21210 * mail/sendmail.el (sendmail-query-once-function): Delete.
21211 (sendmail-query-once): Save directly to send-mail-function.
21212 Update message-send-mail-function too.
21213
21214 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21215
21216 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21217
21218 * progmodes/python.el (python-mode-map): Use correct function to
21219 start python interpreter from menu-bar (as reported by Geert
21220 Kloosterman).
21221 (inferior-python-mode-map): Fix typo.
21222 (python-shell-map): Remove.
21223
21224 2011-09-03 Deniz Dogan <deniz@dogan.se>
21225
21226 * net/rcirc.el (rcirc-print): Simplify code for
21227 rcirc-scroll-show-maximum-output. There is no need to walk
21228 through all windows to find the right one.
21229
21230 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21231
21232 * help.el (help-return-method): Doc fix.
21233
21234 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21235
21236 * window.el (window-deletable-p): Don't return a non-nil value
21237 when there's a buffer that was shown in the window before.
21238 (Bug#9419)
21239 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21240 Set window's previous buffers to nil.
21241
21242 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21243
21244 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21245 newline before and after the tag line, so it doesn't interfere
21246 with determining the paragraph direction of bidirectional text.
21247
21248 2011-09-03 Leo Liu <sdl.web@gmail.com>
21249
21250 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21251
21252 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21253
21254 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21255 (pop-to-buffer): Change interactive spec. Pass second argument
21256 directly to display-buffer.
21257 (display-buffer): Fix interactive spec. Use functionp to
21258 distinguish between a function and a list of functions.
21259
21260 * abbrev.el (edit-abbrevs):
21261 * arc-mode.el (archive-extract):
21262 * autoinsert.el (auto-insert):
21263 * bookmark.el (bookmark-bmenu-list):
21264 * files.el (find-file):
21265 * view.el (view-buffer):
21266 * progmodes/compile.el (compilation-goto-locus):
21267 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21268
21269 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21270
21271 * window.el (display-buffer-alist): Doc fix.
21272 (display-buffer): Add docstring. Don't treat
21273 display-buffer-default specially.
21274 (display-buffer-reuse-selected-window)
21275 (display-buffer-same-window, display-buffer-maybe-same-window)
21276 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21277 (display-buffer-pop-up-window)
21278 (display-buffer-reuse-or-pop-window)
21279 (display-buffer-use-some-window): New functions.
21280 (display-buffer-default-action): Use them.
21281 (display-buffer-default): Delete.
21282 (pop-to-buffer-1): Fix choice of actions.
21283
21284 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21285
21286 * minibuffer.el (completion--insert-strings): Don't get confused by
21287 completion entries that end with an LF char.
21288
21289 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21290
21291 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21292
21293 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21294
21295 * window.el (display-buffer): Restore interactive spec.
21296 (display-buffer-same-window, display-buffer-other-window):
21297 New functions.
21298 (pop-to-buffer-1): New function. Use the above.
21299 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21300 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21301
21302 * view.el (view-buffer-other-window, view-buffer-other-frame):
21303 Just use pop-to-buffer.
21304
21305 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21306
21307 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21308
21309 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21310
21311 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21312
21313 2011-08-31 Richard Stallman <rms@gnu.org>
21314
21315 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21316 of the separation of rmail-view-buffer from rmail-buffer.
21317 If you say no to "replace original", the decrypt is in the
21318 view buffer. If you say yes, the decrypt goes into the
21319 rmail buffer also.
21320
21321 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21322
21323 * window.el (display-buffer-window): Rewrite doc-string.
21324 (display-buffer-record-window): New function.
21325 (display-buffer-macro-specifiers)
21326 (display-buffer-even-window-sizes, display-buffer-set-height)
21327 (display-buffer-set-width, display-buffer-in-window)
21328 (display-buffer-reuse-window, display-buffer-split-specifiers)
21329 (display-buffer-side-specifiers, display-buffer-split-window-1)
21330 (display-buffer-split-window, display-buffer-split-atom-window)
21331 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21332 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21333 (display-buffer-other-window-means-other-frame)
21334 (display-buffer-normalize-special)
21335 (display-buffer-normalize-default)
21336 (display-buffer-normalize-argument)
21337 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21338 (display-buffer-normalize-specifiers, display-buffer-frame)
21339 (display-buffer-same-window, display-buffer-same-frame)
21340 (display-buffer-other-window)
21341 (display-buffer-same-frame-other-window)
21342 (display-buffer-other-frame, pop-to-buffer-same-window)
21343 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21344 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21345 (switch-to-buffer-same-frame)
21346 (switch-to-buffer-other-window-same-frame)
21347 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21348 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21349 (display-buffer-alist-set): Remove.
21350 (display-buffer-function, special-display-buffer-names)
21351 (special-display-regexps, special-display-function):
21352 In doc-string refer to display-buffer-window and quit-restore
21353 parameter.
21354 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21355 (special-display-frame-alist, special-display-popup-frame)
21356 (same-window-buffer-names, same-window-regexps, same-window-p)
21357 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21358 (split-window-preferred-function, split-height-threshold)
21359 (split-width-threshold, window-splittable-p)
21360 (split-window-sensibly, window--try-to-split-window)
21361 (window--frame-usable-p, even-window-heights)
21362 (window--even-window-heights, window--display-buffer-1)
21363 (window--display-buffer-2, display-buffer-other-frame):
21364 Restore old Emacs 23 code, order and doc-strings where applicable.
21365 (display-buffer-default, display-buffer-assq-regexp): New functions.
21366 (display-buffer-alist): Rewrite doc-string.
21367 (display-buffer-default-action)
21368 (display-buffer-overriding-action): New variables.
21369 (display-buffer, switch-to-buffer): Rewrite.
21370 (pop-to-buffer): Restore Emacs 23 behavior but use
21371 window-normalize-buffer-to-display.
21372 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21373 Restore Emacs 23 behavior but use
21374 window-normalize-buffer-to-switch-to.
21375 (pop-to-buffer-same-window): Rewrite.
21376 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21377 Rewrite using Emacs 23 options.
21378
21379 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21380
21381 * net/tramp.el (tramp-root-regexp): Remove.
21382 (tramp-completion-file-name-regexp-unified)
21383 (tramp-completion-file-name-regexp-separate)
21384 (tramp-completion-file-name-regexp-url): Don't use leading volume
21385 letter on w32 systems. (Bug#5303, Bug#9311)
21386 (tramp-drop-volume-letter): Simplify definition.
21387 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21388
21389 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21390
21391 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21392 (bug#9356).
21393
21394 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21395
21396 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21397
21398 2011-08-29 Juri Linkov <juri@jurta.org>
21399
21400 * isearch.el (isearch-done): Don't display message "Mark saved"
21401 when arg `edit' is non-nil to prevent its flicker in the echo area.
21402
21403 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21404
21405 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21406 obsolete packages for deletion.
21407
21408 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21409
21410 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21411 (help-mode): Derive help-mode from special-mode. Don't invoke
21412 view-mode from help-mode.
21413 (help-xref-override-view-map): Remove.
21414 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21415 view-mode is not used anymore.
21416
21417 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21418
21419 * server.el (server-port): Doc fix.
21420
21421 * cus-theme.el (custom-theme-choose-mode): Inherit from
21422 special-mode (Bug#9124).
21423 (custom-theme-choose-mode-map): Add special-mode to parent.
21424
21425 2011-08-28 Alan Mackenzie <acm@muc.de>
21426
21427 * progmodes/cc-fonts.el
21428 (c-make-font-lock-BO-decl-search-function): New function.
21429 (c-basic-matchers-after - "Fontify the clauses after various
21430 keywords"): Extract the three keyword lists for the 3 erroneous
21431 constructs from the list of four, and use the new function above
21432 in place of an old one.
21433
21434 2011-08-28 Deniz Dogan <deniz@dogan.se>
21435
21436 * net/rcirc.el (rcirc-insert-prev-input)
21437 (rcirc-insert-next-input): Remove unused argument.
21438
21439 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21440
21441 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21442
21443 2011-08-27 Alan Mackenzie <acm@muc.de>
21444
21445 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21446 handle function pointer parameters properly.
21447
21448 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21449
21450 * window.el (display-buffer-reuse-window): Fix case where
21451 selected window was reused with non-nil OTHER-WINDOW argument.
21452 (Bug#9381)
21453
21454 2011-08-27 Deniz Dogan <deniz@dogan.se>
21455
21456 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21457 oftc's NickServ messages.
21458
21459 2011-08-27 Glenn Morris <rgm@gnu.org>
21460
21461 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21462
21463 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21464
21465 * emacs-lisp/package.el (package-install): Call package-initialize
21466 if called interactively.
21467
21468 2011-08-26 Leo Liu <sdl.web@gmail.com>
21469
21470 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21471
21472 2011-08-25 Juri Linkov <juri@jurta.org>
21473
21474 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21475 `search-whitespace-regexp' (bug#9364).
21476
21477 2011-08-25 Juri Linkov <juri@jurta.org>
21478
21479 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21480 `regexp-search-ring' to their global values to protect from
21481 updating by `read-from-minibuffer' (bug#9185).
21482
21483 2011-08-25 Juri Linkov <juri@jurta.org>
21484
21485 * textmodes/ispell.el (ispell-command-loop): Add newline
21486 at the end of the "Use option `i'..." line.
21487
21488 2011-08-25 Juri Linkov <juri@jurta.org>
21489
21490 * battery.el (display-battery-mode): If `battery-status-function'
21491 or `battery-mode-line-format' is nil, display the message and set
21492 `display-battery-mode' to nil (bug#9363).
21493
21494 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21495
21496 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21497 bidi-string-mark-left-to-right; they are unnecessary now.
21498
21499 2011-08-25 Deniz Dogan <deniz@dogan.se>
21500
21501 * net/quickurl.el: Documentation typo fixes.
21502
21503 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21504
21505 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21506
21507 2011-08-25 Glenn Morris <rgm@gnu.org>
21508
21509 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21510
21511 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21512 (smtpmail-via-smtp): Handle nil response from smtp.
21513
21514 2011-08-24 Juri Linkov <juri@jurta.org>
21515
21516 * proced.el (proced-marked): Inherit from `error' instead of
21517 `font-lock-warning-face'.
21518
21519 * ibuffer.el (ibuffer-marked-face): Change default face from
21520 `font-lock-warning-face' to `warning'.
21521 (ibuffer-deletion-face): Change default face from
21522 `font-lock-type-face' to `error'.
21523
21524 * battery.el (battery-update): Use the face `error' instead of
21525 `font-lock-warning-face' (bug#6117).
21526
21527 2011-08-24 Juri Linkov <juri@jurta.org>
21528
21529 * faces.el (success): Change face color from "Green3" to
21530 "ForestGreen" on light background (bug#9353).
21531
21532 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21533
21534 * window.el (quit-window): Rename from quit-restore-window.
21535 Use same arglist as old quit-window.
21536 (frame-auto-delete): Doc fix.
21537
21538 * view.el (view-mode-exit): Use quit-window.
21539
21540 2011-08-24 Juri Linkov <juri@jurta.org>
21541
21542 * isearch.el (isearch-ring-adjust1): Start visiting previous
21543 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21544 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21545 for empty search string (when the last search string is reused
21546 automatically) to adjust the isearch ring to the last element and
21547 prepare the correct index for further M-p commands (bug#9185).
21548
21549 2011-08-24 Kenichi Handa <handa@m17n.org>
21550
21551 * international/ucs-normalize.el: If decomposition property of
21552 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21553 nil.
21554 (nfd, nfkd): Likewise.
21555
21556 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21557
21558 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21559 from process filters aren't reliably transmitted to the surrounding
21560 accept-process-output.
21561 (mpc-proc-check): New function.
21562 (mpc-proc-sync): Use it (bug#8293)
21563
21564 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21565
21566 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21567 Add compatibility functions (bug#9313).
21568
21569 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21570
21571 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21572
21573 * international/uni-bidi.el: Regenerate.
21574
21575 2011-08-23 Kenichi Handa <handa@m17n.org>
21576
21577 * international/charprop.el:
21578 * international/uni-bidi.el:
21579 * international/uni-category.el:
21580 * international/uni-combining.el:
21581 * international/uni-comment.el:
21582 * international/uni-decimal.el:
21583 * international/uni-decomposition.el:
21584 * international/uni-digit.el:
21585 * international/uni-lowercase.el:
21586 * international/uni-mirrored.el:
21587 * international/uni-name.el:
21588 * international/uni-numeric.el:
21589 * international/uni-old-name.el:
21590 * international/uni-titlecase.el:
21591 * international/uni-uppercase.el: Regenerate.
21592
21593 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21594
21595 * help.el (help-window-setup): Fix message displayed when other
21596 window is reused. (Bug#9341)
21597
21598 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21599
21600 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21601 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21602
21603 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21604 Mark obsolete.
21605 * shell.el (shell-parse-pcomplete-arguments): New function.
21606 (shell-completion-vars): Use it instead (bug#9160).
21607
21608 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21609
21610 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21611 strings and comments (bug#9333).
21612
21613 * emacs-lisp/debug.el (debug-arglist): New function.
21614 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21615 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21616
21617 2011-08-22 Juri Linkov <juri@jurta.org>
21618
21619 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21620 Revert regexp that highlights output switches to its old
21621 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21622
21623 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21624 to check for empty output (bug#9226).
21625
21626 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21627
21628 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21629 symbol-constituent as the default, as that stops font-lock from
21630 working properly (Bug#8843).
21631
21632 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21633
21634 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21635 `coding-system-for-*' around the process open call to avoid
21636 auth-source side effects.
21637 (smtpmail-try-auth-methods): Expand the secret password.
21638 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21639 probe hangs.
21640
21641 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21642
21643 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21644
21645 * emacs-lisp/find-func.el (find-function-noselect): New arg
21646 lisp-only.
21647
21648 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21649 signal an error for built-in functions (Bug#6664).
21650
21651 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21652
21653 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21654 (smtpmail-try-auth-methods): Use it.
21655
21656 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21657
21658 * font-lock.el (font-lock-fontify-region)
21659 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21660 (font-lock-default-unfontify-buffer)
21661 (font-lock-default-fontify-region)
21662 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21663
21664 * progmodes/compile.el (compilation-error-properties):
21665 Fix confusion between file struct and message struct (Bug#9319).
21666 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21667 `ant' regexp.
21668
21669 * net/browse-url.el (browse-url-firefox): Don't call
21670 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21671
21672 2011-08-20 Glenn Morris <rgm@gnu.org>
21673
21674 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21675
21676 * tutorial.el (tutorial--default-keys): Update some default bindings.
21677
21678 * files.el (hack-local-variables): Fully ignore case for "mode:".
21679
21680 2011-08-20 Alan Mackenzie <acm@muc.de>
21681
21682 Resolve invalid use of a regexp in regexp-opt.
21683
21684 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21685 detection for a java annotation.
21686
21687 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21688 detection for a java annotation.
21689
21690 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21691 handling for java.
21692 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21693
21694 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21695
21696 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21697 (Bug#9274).
21698
21699 2011-08-20 Alan Mackenzie <acm@muc.de>
21700
21701 Fontify CPP expressions correctly when starting in the middle of
21702 such a construct. Mainly for when jit-lock etc. starts a chunk
21703 here.
21704
21705 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21706 variable.
21707 (c-make-font-lock-search-form): New function, extracted from
21708 c-make-font-lock-search-function.
21709 (c-make-font-lock-search-function): Use the above function.
21710 (c-make-font-lock-context-search-function): New function.
21711 (c-cpp-matchers): Enhance the preprocessor expression case with
21712 the above function
21713 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21714 which takes an expression.
21715
21716 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21717
21718 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21719
21720 * window.el (display-buffer-reuse-window)
21721 (display-buffer-pop-up-window): Don't reuse or split a side
21722 window.
21723
21724 2011-08-19 Glenn Morris <rgm@gnu.org>
21725
21726 * files.el (hack-local-variables-prop-line, hack-local-variables):
21727 Downcase "Mode:". (Bug#9331)
21728
21729 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21730
21731 * international/characters.el: Add L and R categories.
21732
21733 * subr.el (bidi-string-mark-left-to-right): Rename from
21734 string-mark-left-to-right. Use category search.
21735
21736 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21737
21738 2011-08-18 Juri Linkov <juri@jurta.org>
21739
21740 * faces.el (error, warning, success): New faces with definitions
21741 copied from old default values of `font-lock-warning-face',
21742 `compilation-warning', `compilation-info' (bug#6117).
21743
21744 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21745
21746 * progmodes/compile.el (compilation-error): Inherit from `error'.
21747 (compilation-warning): Inherit from `warning'.
21748 (compilation-info): Inherit from `success'.
21749
21750 * dired.el (dired-marked): Inherit from `warning'.
21751 (dired-flagged): Inherit from `error'.
21752
21753 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21754
21755 * mail/smtpmail.el (auth-source): Require to avoid problems with
21756 binding variables (bug#9298). Also clean up some unused
21757 autoloads.
21758
21759 * net/network-stream.el (network-stream-open-starttls):
21760 Support using starttls.el without using gnutls-cli.
21761
21762 2011-08-17 Juri Linkov <juri@jurta.org>
21763
21764 * progmodes/grep.el (rgrep): Handle the case when
21765 `grep-find-command' is a cons cell (bug#9278).
21766
21767 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21768
21769 * window.el (display-buffer-pop-up-frame): Run frame creation
21770 function with BUFFER current (as special-display-popup-frame
21771 does). Reported by Drew Adams.
21772
21773 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21774
21775 * epa-mail.el: Simplify GnuPG group expansion using
21776 epg-expand-group.
21777 (epa-mail-group-alist, epa-mail-group-modtime)
21778 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21779 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21780 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21781 Remove.
21782
21783 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21784
21785 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21786
21787 2011-08-16 Alan Mackenzie <acm@muc.de>
21788
21789 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21790 Correct, to avoid the inside of macros.
21791
21792 2011-08-16 Richard Stallman <rms@gnu.org>
21793
21794 * epa-mail.el: Handle GnuPG group definitions.
21795 (epa-mail-group-alist, epa-mail-group-modtime)
21796 (epa-mail-gnupg-conf-file): New variables.
21797 (epa-mail-parse-groups, epa-mail-sync-groups)
21798 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21799 (epa-mail-expand-recipients): New functions.
21800 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21801
21802 * mail/rmail.el (rmail-epa-decrypt): New command.
21803
21804 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21805 Don't bind buffer-read-only, just inhibit-read-only.
21806 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21807 (epa-decrypt-armor-in-region): Make error message clearer.
21808
21809 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21810
21811 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21812 and "a2b" to "ab" for `prefix'.
21813
21814 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21815
21816 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21817 filter groups.
21818 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21819 Fourquet (Bug#8804).
21820
21821 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21822
21823 * startup.el (argi): Declare as global variable (bug#9275).
21824
21825 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21826
21827 * subr.el (string-mark-left-to-right): Search the entire string
21828 for RTL script, not just the terminating character. Doc fix.
21829
21830 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21831
21832 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21833 New function.
21834 (js--regexp-literal, js-syntax-propertize-function): Remove.
21835 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21836 (js-mode-map): Don't rebind electric keys.
21837 (js-insert-and-indent): Remove.
21838 (js-mode): Setup electric-layout and electric-indent instead.
21839
21840 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21841
21842 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21843
21844 * epa.el (epa-progress-callback-function): Fix the logic of
21845 displaying progress.
21846 * epa-file.el (epa-file-insert-file-contents): Make progress
21847 display more user-friendly.
21848 (epa-file-write-region): Ditto.
21849
21850 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21851
21852 * subr.el (string-mark-left-to-right): New function.
21853
21854 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21855 Use string-mark-left-to-right.
21856 (list-buffers-noselect): Caller changed.
21857
21858 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21859 Use string-mark-left-to-right.
21860 (tabulated-list-print): Recenter after moving point.
21861
21862 2011-08-10 Juri Linkov <juri@jurta.org>
21863
21864 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21865 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21866 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21867
21868 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21869
21870 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21871 (Bug#7554).
21872
21873 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21874
21875 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21876 character. (Bug#6594)
21877
21878 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21879
21880 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21881 (image-dired--with-db-file): New macro.
21882 (image-dired-write-tags, image-dired-remove-tag)
21883 (image-dired-create-gallery-lists, image-dired-write-comments)
21884 (image-dired-get-comment, image-dired-mark-tagged-files)
21885 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21886 (image-dired-gallery-generate): Use insert-file-contents.
21887
21888 * time.el (display-time-world-list, display-time-world-display):
21889 * time-stamp.el (time-stamp-string):
21890 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21891 set-time-zone-rule (Bug#7337).
21892
21893 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21894
21895 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21896 (epg-error-to-string, epg-errors-to-string): New function.
21897 (epg-wait-for-completion): Reverse errors list.
21898 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21899 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21900 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21901 (epg-sign-keys, epg-generate-key-from-file)
21902 (epg-generate-key-from-string): Format errors by using
21903 epg-errors-to-string (bug#9255).
21904 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21905
21906 2011-08-07 Juri Linkov <juri@jurta.org>
21907
21908 * faces.el (list-faces-display): Remove extra angle bracket
21909 from `help-mode-map'.
21910
21911 * info.el (Info-history-toc-nodes): Doc fix.
21912
21913 * longlines.el (longlines-mode): Doc fix.
21914
21915 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21916
21917 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21918 of statements and in a few more cases (bug#9183).
21919
21920 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21921 New functions.
21922 (cl-transform-lambda): Use them (bug#9239).
21923
21924 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21925
21926 * window.el (display-buffer-same-window)
21927 (display-buffer-same-frame, display-buffer-other-window)
21928 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21929 (pop-to-buffer-other-window)
21930 (pop-to-buffer-same-frame-other-window)
21931 (pop-to-buffer-other-frame): Make them defuns.
21932 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21933
21934 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21935
21936 * subr.el (make-composed-keymap): Move from C. Change calling
21937 convention, and improve docstring to bring attention to a subtle point.
21938 * minibuffer.el (completing-read-default): Adjust accordingly.
21939
21940 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21941
21942 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21943 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21944
21945 * net/trampver.el: Update release number.
21946
21947 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21948
21949 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21950 "in" (bug#9190).
21951
21952 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21953
21954 * mail/sendmail.el (sendmail-query-once): Restore the current
21955 buffer after querying (bug#9074).
21956
21957 * dired.el (dired-flagged): Use different faces for marked and
21958 flagged files (bug#6117).
21959
21960 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21961 (bug#4433).
21962
21963 * ido.el (ido-mode): Switch off the message if called
21964 non-interactively.
21965
21966 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21967 before 587, since it appears that that's more likely to work for
21968 more people.
21969
21970 * cus-edit.el (custom-file): When running under emacs -q, always
21971 refuse to save the customizations, even if the .emacs file doesn't
21972 exist.
21973
21974 * info.el: Remove the `Info-beginning-of-buffer' function
21975 (bug#8325).
21976
21977 * net/network-stream.el (network-stream-open-starttls):
21978 Use `starttls-available-p' to see whether starttls.el can be used.
21979
21980 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21981
21982 * window.el (display-buffer-in-window): Don't set dedicated status
21983 of window here (Bug#9215).
21984 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21985 (display-buffer-pop-up-side-window)
21986 (display-buffer-in-side-window): Set dedicated status of window here.
21987
21988 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21989
21990 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21991 before binding generated-autoload-file.
21992
21993 2011-08-01 Deniz Dogan <deniz@dogan.se>
21994
21995 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21996
21997 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21998
21999 Sync with Tramp 2.2.2.
22000
22001 * net/trampver.el: Update release number.
22002
22003 2011-07-30 Juri Linkov <juri@jurta.org>
22004
22005 * dired-aux.el (dired-touch-initial): Remove function.
22006 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22007 current time, and `default' to the last modification time of the
22008 current marked file (bug#6887).
22009
22010 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22011
22012 * simple.el (goto-line): Use string-to-number to provide a
22013 numeric argument to read-number (bug#9163).
22014
22015 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22016
22017 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22018 connection process, it could be nil.
22019
22020 2011-07-27 Leo Liu <sdl.web@gmail.com>
22021
22022 Simplify url handling in rcirc-mode.
22023
22024 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22025 (rcirc-browse-url-at-mouse): Remove.
22026 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22027
22028 2011-07-26 Alan Mackenzie <acm@muc.de>
22029
22030 Fontify bitfield declarations properly.
22031
22032 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22033 (c-symbol-chars): Now exported as a lang variable.
22034 (c-not-primitive-type-keywords): New lang variable.
22035
22036 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22037 QT keyword "more" to prevent "more slots: ...." being spuriously
22038 parsed as a bitfield declaration.
22039
22040 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22041 Refactor and enhance to handle bitfield declarations.
22042 (c-punctuation-in): New function.
22043 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22044 declarations properly.
22045
22046 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22047
22048 * calendar/icalendar.el (icalendar--all-events): Take care of
22049 multiple vcalendars in a single file.
22050 (icalendar--convert-float-to-ical): Checkdoc fixes.
22051
22052 2011-07-25 Deniz Dogan <deniz@dogan.se>
22053
22054 * image.el (insert-image): Clarifying docstring.
22055
22056 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22057
22058 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22059 `tramp-send-command-and-check' if there is no error.
22060 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22061
22062 2011-07-22 Alan Mackenzie <acm@muc.de>
22063
22064 Prevent cc-langs.elc being loaded at run time.
22065
22066 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22067 cc-langs.
22068
22069 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22070 "(require 'cc-langs)". Quote a form so it will evaluate at
22071 (cc-mode's) compilation time.
22072
22073 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22074
22075 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22076 loading. (Bug#9114)
22077
22078 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22079
22080 * window.el (display-buffer-pop-up-window)
22081 (display-buffer-pop-up-side-window)
22082 (display-buffer-in-side-window): Call display-buffer-set-height
22083 and display-buffer-set-width after setting the new window's
22084 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22085
22086 2011-07-20 Sam Steingold <sds@gnu.org>
22087
22088 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22089 (etags-tags-included-tables): Call `convert-standard-filename' on
22090 the file names contained in TAGS so that windows Emacs can handle
22091 TAGS files created by cygwin ctags.
22092
22093 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22094
22095 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22096 which apparently didn't work.
22097
22098 2011-07-19 Roland Winkler <winkler@gnu.org>
22099
22100 * proced.el (proced-send-signal): For *Marked Processes* buffer
22101 put point at beginning of buffer.
22102
22103 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22104
22105 * proced.el (proced-format): Make header lines align with the text
22106 (bug#1779).
22107
22108 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22109
22110 * view.el (view-buffer): Allow running in `special' modes if we're
22111 visiting a file (bug#8615).
22112
22113 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22114
22115 * window.el (display-buffer-alist-of-strings-p)
22116 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22117 New functions.
22118 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22119 more accurately.
22120
22121 2011-07-18 Alan Mackenzie <acm@muc.de>
22122
22123 Fontify declarators properly when, e.g., a jit-lock chunk begins
22124 inside a declaration.
22125
22126 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22127
22128 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22129 New function.
22130 (c-complex-decl-matchers): Insert reference to
22131 c-font-lock-enclosing-decls.
22132
22133 * progmodes/cc-engine.el (c-backward-single-comment):
22134 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22135 to nil around calls to (forward-comment -1).
22136
22137 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22138
22139 * image.el (put-image): Doc typo fix.
22140
22141 * progmodes/etags.el (tags-search): Doc typo fix.
22142
22143 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22144 password if we get errors 550 to 554.
22145
22146 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22147
22148 * net/gnutls.el (gnutls-log-level): Remove.
22149
22150 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22151 indentation character (bug#6380).
22152
22153 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22154
22155 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22156 to clarify what the problem is (bug#4291).
22157
22158 * simple.el (current-kill): Clarify what
22159 `interprogram-paste-function' does (bug#7500).
22160 (auto-fill-mode): Document `auto-fill-function' in relation to
22161 `auto-fill-mode' (bug#2470).
22162
22163 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22164
22165 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22166 method if slot is read-only (bug#9035).
22167
22168 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22169
22170 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22171 * window.el (pop-to-buffer): Select window used even if it was
22172 selected before, see discussion of (Bug#8615), (Bug#6954).
22173 Pass argument NORECORD on to select-frame-set-input-focus.
22174
22175 2011-07-15 Glenn Morris <rgm@gnu.org>
22176
22177 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22178 Respect help-form.
22179
22180 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22181
22182 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22183 (gnutls-negotiate): Use it.
22184
22185 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22186
22187 * net/gnutls.el (gnutls-negotiate):
22188 Upcase `gnutls-algorithm-priority'.
22189
22190 2011-07-15 Glenn Morris <rgm@gnu.org>
22191
22192 * jka-compr.el (jka-compr-verbose): Move from here...
22193 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22194 Add missing :version tag.
22195 * info.el: No need to require jka-compr when compiling.
22196
22197 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22198
22199 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22200 (gnutls-negotiate): Use it.
22201
22202 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22203
22204 * info.el (Info-beginning-of-buffer): New command.
22205 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22206 announcing `b' as the key (bug#8325).
22207 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22208
22209 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22210
22211 * international/mule-cmds.el
22212 (describe-specified-language-support): Make the error message
22213 clearer (bug#8905).
22214
22215 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22216
22217 * isearch.el (isearch-barrier): Add a doc string, since it's
22218 mentioned in a function doc string (bug#8678).
22219
22220 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22221
22222 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22223 buffer argument (Bug#9083) and self-identifying label argument.
22224
22225 2011-07-15 Glenn Morris <rgm@gnu.org>
22226
22227 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22228
22229 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22230
22231 * man.el (Man-fontify-manpage): Fix message when formatting the
22232 man page (bug#7929).
22233
22234 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22235
22236 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22237 argument LRM; if non-nil, append an invisible LRM character to the
22238 buffer name.
22239 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22240 last argument non-nil, when formatting buffer names.
22241 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22242 paragraph direction.
22243
22244 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22245
22246 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22247 the man page name (bug#7929).
22248
22249 * image.el (put-image): Mention the `put-image' overlay property
22250 (bug#7834).
22251
22252 * scroll-bar.el (set-scroll-bar-mode): Mention that
22253 `scroll-bar-mode' lists the values (bug#7772).
22254
22255 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22256 command (bug#7729).
22257
22258 * rect.el (apply-on-rectangle): Return the point after the last
22259 operation.
22260 (string-rectangle): Go to the point after the last operation
22261 (bug#7522).
22262
22263 * printing.el (pr-toggle-region): Clarify the documentation
22264 slightly (bug#7493).
22265
22266 * time.el (display-time-update):
22267 Allow `display-time-mail-function' to return nil (bug#7158).
22268 Fix suggested by Detlev Zundel.
22269
22270 * vc/diff.el (diff): Clarify the order the file names are read
22271 (bug#7111).
22272
22273 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22274 the doc string (bug#7015).
22275
22276 * font-lock.el (font-lock-maximum-decoration): Mention what
22277 numeric levels mean (bug#6935).
22278
22279 * startup.el (initial-buffer-choice): Don't mention the `none'
22280 selection, which is against policy.
22281
22282 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22283
22284 * window.el (display-buffer-normalize-special):
22285 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22286
22287 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22288
22289 * subr.el (version<, version<=, version=): Mention "-CVS" and
22290 "-12345" alpha version numbers.
22291
22292 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22293
22294 * bindings.el: Add advertised binding for set-mark-command
22295 (Bug#5772).
22296
22297 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22298
22299 * bindings.el (mode-line-other-buffer):
22300 * bookmark.el (bookmark-bmenu-2-window):
22301 * bs.el (bs-cycle-next, bs-cycle-previous):
22302 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22303 switch-to-buffer.
22304
22305 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22306 Delete.
22307
22308 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22309
22310 * follow.el (follow-debug-message, follow-redisplay):
22311 * jka-cmpr-hook.el (with-auto-compression-mode):
22312 Fix typos in docstrings.
22313
22314 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22315
22316 * subr.el (with-silent-modifications): Clarify somewhat what the
22317 macro inhibits (bug#6525).
22318
22319 * simple.el (eval-expression): Note what it does if called
22320 interactively (bug#6495).
22321
22322 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22323
22324 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22325 Use pop-to-buffer buffer-or-name if it is nil.
22326
22327 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22328 Remove switch-to-buffer.
22329
22330 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22331
22332 * files.el (make-directory): Clarify that an error will be raised
22333 if there's an error (bug#6397).
22334
22335 * startup.el (initial-buffer-choice): Add `none' as a choice
22336 (bug#6234).
22337
22338 * subr.el (add-hook): Clarify section about buffer-local hooks
22339 (bug#6218).
22340
22341 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22342
22343 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22344
22345 * tabify.el (untabify): Preserve the current column so that point
22346 doesn't move (bug#6032).
22347
22348 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22349
22350 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22351 Rewrite to avoid awkward possessive "s" (bug#5986).
22352
22353 2011-07-13 Glenn Morris <rgm@gnu.org>
22354
22355 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22356 (dired-insert-directory): Give a message the first time
22357 if ls is found not to support --dired.
22358
22359 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22360
22361 * simple.el (toggle-truncate-lines): Clarify what is toggled
22362 (bug#5580). Text by Drew Adams.
22363
22364 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22365
22366 * simple.el (blink-matching-open): Make the error message from the
22367 last change less verbose.
22368
22369 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22370
22371 * font-lock.el (font-lock-comment-face): Use the high contrast
22372 "yellow" color for font-lock-comment-face on low color terminals
22373 using a dark background color (bug#4221).
22374
22375 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22376
22377 * dired.el (dired-insert-set-properties): Make the doc string
22378 reflect what it does now (bug#5325).
22379
22380 * simple.el (blink-matching-open): Say that we were unable to find
22381 the match within the limit, if we're limited (bug#5122).
22382
22383 * international/mule-cmds.el (prefer-coding-system): Add an
22384 example (bug#4869).
22385
22386 * progmodes/etags.el (tags-search): Document `file-list-form'
22387 (bug#4731).
22388
22389 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22390
22391 * net/browse-url.el (browse-url-default-browser)
22392 (browse-url-browser-function): Make the default browser choice a
22393 bit more logical (bug#4300). Also clean up the doc string.
22394
22395 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22396
22397 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22398 binary endings (bug#4440).
22399
22400 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22401
22402 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22403 which can be pretty annoying (bug#8971).
22404
22405 * jka-compr.el (jka-compr-verbose): New variable, and use
22406 throughout (bug#8971).
22407
22408 * info.el (Info-find-file): Fall back on the installation
22409 directory if we can't find the info node anywhere else.
22410
22411 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22412
22413 * vc/vc.el (vc-revert-file):
22414 Don't set file time-stamp in the past. (Bug#5181)
22415
22416 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22417
22418 * files.el (after-find-file): Give a better error message when
22419 trying to find a symlink that points to a file that doesn't exist
22420 (bug#4398).
22421
22422 * progmodes/cc-vars.el: Remove (probably) misleading comment
22423 (bug#4396).
22424
22425 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22426
22427 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22428
22429 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22430
22431 * mouse-sel.el: Hack restoring functionality, while keeping
22432 compatibility with 2010-07-03 changes to mouse selection.
22433 (mouse-sel-primary-overlay): New var.
22434 (mouse-sel-selection-alist): Use it.
22435 (mouse-sel-mode): Doc fix; remove points that are default features
22436 of mouse.el.
22437
22438 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22439
22440 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22441 Fix previous fix (bug#2490).
22442
22443 2011-07-12 Roland Winkler <winkler@gnu.org>
22444
22445 * textmodes/bibtex.el (bibtex-initialize):
22446 Use pop-to-buffer-same-window.
22447 (bibtex-search-entries): Fix interactive call.
22448
22449 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22450
22451 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22452 Fontise bytecomp Error lines more correctly (bug#2490).
22453 Fix suggested by Johan Bockgård.
22454
22455 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22456
22457 * dired-x.el (dired-guess-default): Use `delete-dups'.
22458
22459 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22460
22461 * dired.el (dired-mark-prompt):
22462 * dired-aux.el (dired-read-shell-command): Doc fix.
22463
22464 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22465
22466 * mail/sendmail.el (sendmail-query-once):
22467 Use `customize-save-variable' unconditionally, now that it works under
22468 emacs -Q.
22469
22470 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22471
22472 * cus-edit.el (custom-file): Take an optional no-error variable.
22473 (customize-save-variable): Set the variable, and give a warning if
22474 running under "emacs -q".
22475
22476 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22477
22478 * loadhist.el (unload-feature-special-hooks):
22479 Add `auto-coding-functions', `fill-nobreak-predicate' and
22480 `find-directory-functions' (bug#5327).
22481
22482 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22483
22484 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22485
22486 * cus-edit.el (custom-guess-name-alist): -alist variables should
22487 use the `alist' type (bug#3120). Suggested by Drew Adams.
22488
22489 * printing.el: Add documentation to all the `pr-toggle-' commands.
22490
22491 2011-07-11 Leo Liu <sdl.web@gmail.com>
22492
22493 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22494 backends where it makes sense (bug#2623).
22495
22496 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22497
22498 * dired-x.el (dired-guess-default): Remove duplicate shell command
22499 entries (bug#2028).
22500 (dired-guess-default): Fix grammar in doc string (bug#2028).
22501 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22502
22503 * subr.el (remove-duplicates): New conveniency function.
22504
22505 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22506
22507 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22508 (bug#1526).
22509
22510 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22511
22512 * window.el (display-buffer-normalize-default): Don't invert
22513 meaning of even-window-heights. Reported by Eli Zaretskii
22514 <eliz@gnu.org>.
22515
22516 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22517
22518 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22519
22520 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22521
22522 * window.el (display-buffer): Fix arguments to
22523 display-buffer-reuse-window in last change.
22524
22525 * faces.el (link): Use a less saturated blue on light backgrounds.
22526
22527 * startup.el (fancy-startup-text, fancy-about-text)
22528 (fancy-startup-tail): Use font-lock faces, for background safety.
22529
22530 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22531
22532 * emulation/viper-cmd.el (viper-change-state-to-vi):
22533 Limit triggering of abbrev expansion (Bug#9038).
22534
22535 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22536
22537 * window.el (display-buffer-default-specifiers): Remove.
22538 (display-buffer-macro-specifiers): Remove default specifiers.
22539 (display-buffer-alist): Default to nil.
22540 (display-buffer-reuse-window): New optional argument other-window.
22541 (display-buffer-pop-up-window): Allow splitting internal
22542 windows. Check whether a live window was created.
22543 (display-buffer-other-window-means-other-frame)
22544 (display-buffer-normalize-arguments): Rename to
22545 display-buffer-normalize-argument and rewrite. Set the
22546 other-window specifier.
22547 (display-buffer-normalize-special): New function.
22548 (display-buffer-normalize-options): Rename to
22549 display-buffer-normalize-default and rewrite.
22550 (display-buffer-normalize-options-inhibit): Remove.
22551 (display-buffer-normalize-specifiers): Rewrite.
22552 (display-buffer): Process other-window specifier and call
22553 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22554 more faithfully.
22555 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22556 (display-buffer-alist-set): Don't handle 'unset default values.
22557 (display-buffer-in-window, display-buffer-alist-set):
22558 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22559 <tassilo@member.fsf.org>.
22560
22561 2011-07-09 Leo Liu <sdl.web@gmail.com>
22562
22563 * register.el (insert-register): Restore accidental change on
22564 2011-06-26. (Bug#9028)
22565
22566 2011-07-09 Glenn Morris <rgm@gnu.org>
22567
22568 * subr.el (remq): Handle the empty list. (Bug#9024)
22569
22570 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22571
22572 * mail/sendmail.el (send-mail-function): No longer delay custom
22573 initialization.
22574 * custom.el (custom-initialize-delay): Doc fix.
22575
22576 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22577
22578 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22579
22580 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22581
22582 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22583 human-friendly prompt.
22584
22585 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22586
22587 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22588 provided by a particular plugin.
22589
22590 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22591
22592 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22593 save customizations (with "emacs -Q"), just set the variable
22594 instead of erroring out.
22595
22596 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22597
22598 2011-07-08 Juri Linkov <juri@jurta.org>
22599
22600 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22601 (archive-zip-update-case): Use 7z if found by `executable-find'.
22602 The order of searching the available programs is the same as in
22603 `archive-zip-extract' (bug#8968).
22604
22605 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22606
22607 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22608 (menu-bar-options-menu): Tweak descriptions.
22609
22610 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22611
22612 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22613 menu items into verb phrases (bug#1421). Also refill to fit under
22614 80 columns.
22615
22616 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22617
22618 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22619 (Info-read-node-name): Doc fix (Bug#1084).
22620
22621 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22622 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22623 (end-of-sexp, beginning-of-sexp)
22624 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22625 (forward-symbol, forward-same-syntax, word-at-point)
22626 (sentence-at-point): Doc fix (Bug#1144).
22627
22628 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22629
22630 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22631 should cover it (bug#1281).
22632
22633 * cus-edit.el (custom-show): Mark as obsolete.
22634
22635 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22636 negotiation fails, then possibly try again with a non-encrypted
22637 connection (bug#9017).
22638
22639 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22640 be used.
22641
22642 2011-07-07 Richard Stallman <rms@gnu.org>
22643
22644 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22645 property, and handle its changed format.
22646 Look for the correct line number.
22647 Use file's line contents (but not past first =) to find
22648 correct line in message.
22649
22650 2011-07-07 Kenichi Handa <handa@m17n.org>
22651
22652 * international/characters.el (build-unicode-category-table):
22653 Delete it.
22654 (unicode-category-table): Set it by unicode-property-table-internal.
22655
22656 * international/mule-cmds.el (char-code-property-alist): Move to
22657 to src/chartab.c.
22658 (get-char-code-property): Call unicode-property-table-internal to
22659 load a file. Call get-unicode-property-internal where necessary.
22660 (put-char-code-property): Call unicode-property-table-internal to
22661 load a file. Call put-unicode-property-internal where necessary.
22662 put-unicode-property-internal where necessary.
22663 (char-code-property-description):
22664 Call unicode-property-table-internal to load a file.
22665
22666 * international/charprop.el:
22667 * international/uni-bidi.el:
22668 * international/uni-category.el:
22669 * international/uni-combining.el:
22670 * international/uni-comment.el:
22671 * international/uni-decimal.el:
22672 * international/uni-decomposition.el:
22673 * international/uni-digit.el:
22674 * international/uni-lowercase.el:
22675 * international/uni-mirrored.el:
22676 * international/uni-name.el:
22677 * international/uni-numeric.el:
22678 * international/uni-old-name.el:
22679 * international/uni-titlecase.el:
22680 * international/uni-uppercase.el: Regenerate.
22681
22682 * loadup.el: Load international/charprop.el before
22683 international/characters.
22684
22685 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22686
22687 * window.el (next-buffer, previous-buffer): Signal an error if
22688 called from a minibuffer window.
22689
22690 * bindings.el: Revert 2011-07-04 change.
22691
22692 2011-07-06 Richard Stallman <rms@gnu.org>
22693
22694 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22695 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22696 Treat markers like ints.
22697 (rmail-mime-entity): Doc fix.
22698
22699 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22700
22701 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22702 defcustom again for backwards compatibility.
22703
22704 * simple.el (shell-command-on-region): Fill.
22705
22706 * dired-aux.el (dired-kill-line): Add a doc string.
22707
22708 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22709 to "\\sw\\|\\s_" (bug#358).
22710
22711 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22712 (dired-unmark-backward): Ditto.
22713 (dired-flag-backup-files): Ditto.
22714
22715 * dired-x.el (dired-mark-sexp): Ditto.
22716
22717 2011-07-06 Richard Stallman <rms@gnu.org>
22718
22719 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22720 (rmail-mime-entity): New arg TRUNCATED.
22721 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22722 New functions.
22723 (rmail-mime-save): Warn if entity is truncated.
22724 (rmail-mime-toggle-hidden): Likewise, for showing.
22725 (rmail-mime-process-multipart): Record when an entity is truncated.
22726
22727 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22728 if ENTITY is a string.
22729
22730 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22731
22732 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22733 of faces when `M-C-x'-ing their definitions (bug#8378).
22734 Also clean up the code slightly.
22735
22736 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22737 because that makes the colors go away.
22738
22739 * mail/sendmail.el (send-mail-function): Change the default to
22740 `sendmail-query-once'.
22741 (sendmail-query-once): Add an autoload cookie.
22742
22743 * net/network-stream.el (network-stream-open-starttls): Try using
22744 a plain connection even if the server offered STARTTLS, and we
22745 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22746 capability. This should make smtpmail.el work in slightly more
22747 configurations.
22748
22749 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22750
22751 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22752 New defun.
22753 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22754
22755 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22756
22757 * progmodes/sql.el: Version 3.0
22758 (sql-product-alist): Add product :completion-object,
22759 :completion-column, and :statement attributes.
22760 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22761 (sql-mode-syntax-table): Mark all punctuation.
22762 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22763 ansi keywords.
22764 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22765 (sql-mode-oracle-font-lock-keywords): Improve.
22766 (sql-oracle-show-reserved-words): New function for development.
22767 (sql-product-font-lock): Simplify for source code buffers.
22768 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22769 New functions.
22770 (sql-highlight-product): Set product specific syntax table.
22771 (sql-mode-map): Add statement movement functions.
22772 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22773 New variable.
22774 (sql-statement-regexp, sql-beginning-of-statement)
22775 (sql-end-of-statement, sql-signum): New functions.
22776 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22777 (sql-show-sqli-buffer): Bug fix.
22778 (sql-interactive-mode): Store connection data as buffer local.
22779 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22780 with sql-interactive-mode.
22781 (sql-save-connection): Save buffer local settings.
22782 (sql-connection-menu-filter): Change menu entry name.
22783 (sql-product-interactive): Bug fix.
22784 (sql-preoutput-hold): New variable.
22785 (sql-interactive-remove-continuation-prompt): Bug fixes.
22786 (sql-debug-redirect): New variable.
22787 (sql-str-literal): New function.
22788 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22789 Redesign.
22790 (sql-oracle-save-settings, sql-oracle-restore-settings)
22791 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22792 (sql-completion-object, sql-completion-column)
22793 (sql-completion-sqlbuf): New variables.
22794 (sql-build-completions-1, sql-build-completions)
22795 (sql-try-completion): New functions.
22796 (sql-read-table-name): Use them.
22797 (sql-contains-names): New buffer local variable.
22798 (sql-list-all, sql-list-table): Use it.
22799 (sql-oracle-completion-types): New variable.
22800 (sql-oracle-completion-object, sql-sqlite-completion-object)
22801 (sql-postgres-completion-object): New functions.
22802
22803 2011-07-06 Glenn Morris <rgm@gnu.org>
22804
22805 * window.el (pop-to-buffer): Doc fix.
22806
22807 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22808
22809 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22810
22811 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22812
22813 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22814
22815 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22816
22817 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22818
22819 * button.el (button): Inherit from link face. Suggested by Dan
22820 Nicolaescu.
22821
22822 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22823
22824 * progmodes/gdb-mi.el: Fit in 80 columns.
22825 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22826 switch-to-buffer.
22827
22828 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22829 if imenu is simply not configured (bug#8941).
22830
22831 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22832
22833 * allout.el (allout-post-undo-hook): New allout outline-change
22834 event hook to signal undo activity.
22835 (allout-post-command-business): Run allout-post-undo-hook if an
22836 undo just occurred.
22837 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22838 * allout-widgets.el (allout-widgets-after-undo-function):
22839 Ensure the integrity of the current item's decoration after it has been
22840 in the vicinity of an undo.
22841 (allout-widgets-mode): Include allout-widgets-after-undo-function
22842 on the new allout-post-undo-hook.
22843
22844 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22845
22846 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22847 Let define-derived-mode define it.
22848 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22849 cycles of abbrev-table inheritance (bug#8998).
22850
22851 2011-07-05 Roland Winkler <winkler@gnu.org>
22852
22853 * textmodes/bibtex.el: Add support for biblatex.
22854 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22855 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22856 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22857 (bibtex-entry-alist, bibtex-field-alist): New variables.
22858 (bibtex-entry-field-alist): Obsolete alias for
22859 bibtex-BibTeX-entry-alist.
22860 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22861 (bibtex-set-dialect): New command.
22862 (bibtex-entry-type, bibtex-entry-head)
22863 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22864 Bind via bibtex-set-dialect.
22865 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22866 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22867 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22868 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22869 Define via bibtex-set-dialect.
22870 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22871 Obey bibtex-no-opt-remove-re.
22872 (bibtex-vec-push, bibtex-vec-incr): New functions.
22873 (bibtex-format-entry, bibtex-field-list)
22874 (bibtex-print-help-message, bibtex-validate)
22875 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22876
22877 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22878
22879 * progmodes/compile.el (compilation-goto-locus):
22880 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22881 * bs.el (bs-cycle-next, bs-cycle-previous):
22882 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22883 * bindings.el (mode-line-other-buffer):
22884 * autoinsert.el (auto-insert):
22885 * arc-mode.el (archive-extract):
22886 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22887
22888 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22889
22890 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22891 Fix check of `emacs-lock-unlockable-modes'.
22892 Coerce true values of `emacs-lock--try-unlocking' to t.
22893
22894 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22895
22896 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22897 * emacs-lock.el: New file.
22898
22899 2011-07-05 Julien Danjou <julien@danjou.info>
22900
22901 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22902 than `boundp' to check if face is set.
22903
22904 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22905
22906 * register.el (registerv-make):
22907 * window.el (window-min-height): Fix typos in docstrings.
22908
22909 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22910
22911 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22912 Update doc string.
22913
22914 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22915
22916 * server.el (server-execute): Catch quit and call
22917 `server-return-error' to pass the error back to emacsclient and
22918 close the connection (bug#8942).
22919
22920 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22921
22922 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22923 insecure exception for current topic. Also note that auto-saves
22924 are handled differently.
22925
22926 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22927 State variables for tracking auto-save inhibition situation.
22928
22929 (allout-write-contents-hook-handler): Rename from
22930 'allout-write-file-hook-handler', and describe how it depends on
22931 write-contents-functions sensitivity to non-nil value to prevent
22932 file write.
22933
22934 (allout-auto-save-hook-handler): Remove. auto-save does not check
22935 this in individual buffers, only in the starting buffer, so this
22936 is not the right way for us to inhibit auto-save in a buffer
22937 according to its condition.
22938
22939 (allout-mode): Use new allout-write-contents-hook-handler, and
22940 only with write-contents-functions. Remove auto-save provisions -
22941 they're implemented elsewhere.
22942
22943 (allout-before-change-handler): If undo is in progress, note that
22944 for attention of allout-post-command-business.
22945
22946 (allout-post-command-business): If the command we're following was
22947 an undo, check for change in the status of encrypted items and
22948 adjust auto-save inhibitions accordingly.
22949
22950 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22951 according to whether there are or aren't any plain-text topics
22952 pending encryption.
22953
22954 (allout-inhibit-auto-save-info-for-decryption):
22955 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22956 if there are plain-text topics pending encryption.
22957
22958 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22959 buffer-saved-size and some allout state to not inhibit auto-saves
22960 if there are no longer any plain-text topics pending encryption.
22961
22962 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22963 No longer provide for exemption of the current topic.
22964
22965 2011-07-04 Juri Linkov <juri@jurta.org>
22966
22967 Add 7z operations to delete and save changed members (bug#8968).
22968 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22969 New defcustoms.
22970 (archive-7z-write-file-member): New function.
22971 (archive-7z-summarize): Fix the number of dashes in the
22972 listing output.
22973
22974 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22975
22976 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22977 (bug#8958).
22978
22979 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22980
22981 * bindings.el: Ignore next-buffer and previous-buffer in
22982 minibuffer-local-map.
22983
22984 * font-lock.el (font-lock-builtin-face): Change light background
22985 color to dark slate blue (Bug#6693).
22986
22987 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22988
22989 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22990
22991 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22992
22993 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22994 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22995 Add switch-to-buffer.
22996
22997 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22998
22999 * isearch.el (isearch-search-fun-function): Clarify further the
23000 meaning of the function returned.
23001
23002 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23003
23004 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23005
23006 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23007 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23008 Use it.
23009 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23010 `tramp-default-remote-path' does not exist.
23011 (tramp-send-command-and-read): New optional argument NOERROR.
23012 (tramp-open-connection-setup-interactive-shell)
23013 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23014 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23015 (tramp-process-sentinel): Flush also process' connection property.
23016 (tramp-sh-handle-start-file-process): Do not set process
23017 sentinel. It is done now ...
23018 (tramp-maybe-open-connection): ... here. (Bug#8929)
23019
23020 2011-07-04 MON KEY <monkey@sandpframing.com>
23021
23022 * play/animate.el (animate-string): Doc fixes and allow changing
23023 the buffer name (bug#5417).
23024
23025 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23026
23027 * play/animate.el (animation-buffer-name): Rename from *animate*.
23028
23029 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23030
23031 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23032 This is simpler and helps future-proof the code.
23033 (timer-until): Use time-subtract and float-time.
23034 (timer--time-less-p): Use time-less-p.
23035
23036 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23037
23038 * type-break.el (timep): Use the value of `float-time' to avoid a
23039 byte-compiler warning.
23040
23041 * server.el (server-eval-and-print): Return any result, even nil.
23042
23043 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23044
23045 * type-break.el: Accept time formats that the builtins accept.
23046 (timep, type-break-time-difference): Accept any format that
23047 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23048 This is simpler and helps future-proof the code.
23049 (type-break-time-difference): Round rather than ignoring
23050 subseconds components.
23051
23052 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23053
23054 * info.el (Info-apropos-matches): Make non-interactive, since it
23055 doesn't seem to do anything useful as a command (bug#8829).
23056
23057 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23058
23059 * frame.el (frame-background-mode, frame-set-background-mode):
23060 Move from faces.el.
23061 (frame-default-terminal-background): New function.
23062
23063 * custom.el (custom-push-theme): Don't record faces in `changed'
23064 theme; this doesn't work correctly for per-frame face settings.
23065 (disable-theme): Use face-set-after-frame-default to reset faces.
23066 (custom--frame-color-default): New function.
23067
23068 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23069
23070 * dired.el (dired-flagging-regexp): Remove unused variable
23071 (bug#8769).
23072
23073 2011-03-29 Kevin Ryde <user42@zip.com.au>
23074
23075 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23076 `perl-Test2' extend to match possible "fail #N" rep count
23077 (bug#8377).
23078
23079 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23080
23081 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23082 `smtpmail-via-smtp' now returns the error instead of nil.
23083
23084 * isearch.el (isearch-search-fun-function): Clarify the doc string
23085 (bug#8101).
23086
23087 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23088
23089 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23090 unnecessary spaces (bug#8987).
23091
23092 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23093
23094 * net/network-stream.el (open-network-stream): Use the
23095 :end-of-capability command thoughout.
23096
23097 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23098
23099 * net/network-stream.el (open-network-stream): Add the
23100 :end-of-capability command parameter, used by pop3.el.
23101
23102 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23103
23104 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23105
23106 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23107 for list)" (bug#6475).
23108
23109 * files.el (file-expand-wildcards): Ignore non-readable
23110 sub-directories while trying to find matches instead of signaling
23111 an error (bug#6297).
23112
23113 * man.el (Man-reference-regexp): Allow matching possible
23114 word-wrapped references (bug#6289).
23115
23116 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23117 for consistency with the other vc buffers (bug#6197).
23118 (vc-checkin): Ditto.
23119
23120 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23121
23122 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23123
23124 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23125
23126 * custom.el (defcustom): Clarify that :set is only used in the
23127 Customize user interface (bug#6089).
23128
23129 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23130 associated with a file, refuse to run instead of erroring out
23131 (bug#6084).
23132
23133 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23134 the doc string, since it appears that using `fill-column' always
23135 controls the width (bug#7845).
23136
23137 * simple.el (shell-command-on-region): Say where the error output
23138 went if `shell-command-default-error-buffer' is set (bug#6857).
23139
23140 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23141
23142 * allout.el (allout-yank-processing): Adjust cursor position for
23143 backwards-deleted space.
23144
23145 (allout-rebullet-heading): Register changes with
23146 allout-exposure-changed-hook, so the modified topic is properly
23147 decorated.
23148
23149 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23150
23151 * minibuffer.el (completion-in-region): Document PREDICATE
23152 (bug#7136).
23153
23154 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23155 of keyword/argument pairs (bug#6904).
23156
23157 * replace.el (multi-occur):
23158 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23159
23160 2011-07-02 Drew Adams <drew.adams@oracle.com>
23161
23162 * dired.el (dired-mark-if): Make the message about whether it's
23163 marking or unmarking clearer (bug#8523).
23164
23165 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23166
23167 * disp-table.el (display-table-print-array): New function.
23168 (describe-display-table): Use it to print the vectors more pretty
23169 (Bug#8859).
23170
23171 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23172
23173 * window.el (window-state-get-1): Don't assign clone numbers.
23174 Add clone-of item to list of window parameters.
23175 (window-state-put-2): Don't process clone numbers.
23176 (display-buffer-alist): Fix doc-string.
23177
23178 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23179
23180 * subr.el (remq): Don't allocate if it's not needed.
23181 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23182 (keymap--merge-bindings): New functions.
23183 (keymap-canonicalize): Use them to refine the canonicalization.
23184 * minibuffer.el (minibuffer-local-completion-map)
23185 (minibuffer-local-must-match-map): Move initialization from C.
23186 (minibuffer-local-filename-completion-map): Move initialization from C;
23187 don't inherit from anything here.
23188 (minibuffer-local-filename-must-match-map): Make obsolete.
23189 (completing-read-default): Use make-composed-keymap to combine
23190 minibuffer-local-filename-completion-map with either
23191 minibuffer-local-must-match-map or
23192 minibuffer-local-filename-completion-map.
23193
23194 2011-07-01 Glenn Morris <rgm@gnu.org>
23195
23196 * type-break.el (type-break-time-sum): Use dolist.
23197
23198 * textmodes/flyspell.el (flyspell-word-search-backward):
23199 Replace CL function.
23200
23201 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23202
23203 * mouse.el (mouse--strip-first-event): New function.
23204 (function-key-map): Use it to map fringe clicks to normal clicks
23205 by default.
23206
23207 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23208 (vc-bzr-revision-completion-table): Add support for annotate and date.
23209
23210 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23211 inherit from parent.
23212
23213 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23214
23215 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23216 (dired-show-file-type): Doc fixup (bug#8818).
23217
23218 * dired.el (dired-mode): Fix up the doc string as suggested by
23219 Drew Adams (bug#8817).
23220
23221 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23222 cookie, since the manual says that it should be possible to add
23223 this function to `find-file-hook' (bug#8709).
23224
23225 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23226
23227 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23228 here. Noted Ted Zlatanov as the maintainer.
23229 (cfengine-common-settings, cfengine-common-syntax): New functions
23230 to set up common things between `cfengine-mode' and
23231 `cfengine3-mode'.
23232 (cfengine3-mode): New mode.
23233 (cfengine3-defuns cfengine3-defuns-regex
23234 (cfengine3-class-selector-regex cfengine3-category-regex)
23235 (cfengine3-vartypes cfengine3-font-lock-keywords)
23236 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23237 (cfengine3-indent-line): Add from cfengine3.el.
23238
23239 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23240
23241 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23242
23243 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23244
23245 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23246
23247 * window.el (same-window-buffer-names, same-window-regexps)
23248 (same-window-p, special-display-frame-alist)
23249 (special-display-popup-frame, special-display-function)
23250 (special-display-buffer-names, special-display-regexps)
23251 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23252 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23253 (split-window-preferred-function, split-height-threshold)
23254 (split-width-threshold, even-window-heights)
23255 (display-buffer-mark-dedicated, window-splittable-p)
23256 (split-window-sensibly, window-safely-shrinkable-p):
23257 Un-obsolete.
23258 (display-buffer): Don't spread args with function specifier
23259 because special-display-popup-frame won't like it.
23260
23261 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23262
23263 Time-stamp simplifications and fixes.
23264 These improve accuracy slightly, and future-proof the code
23265 against some potential changes to current-time format.
23266
23267 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23268 by using time-since and float-time.
23269
23270 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23271 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23272 + NNN microseconds".
23273
23274 * type-break.el (type-break-time-sum): Rewrite using time-add.
23275
23276 * play/hanoi.el (hanoi-current-time-float): Remove.
23277 All uses replaced by float-time.
23278
23279 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23280 This yields a more-accurate answer.
23281 (rng-time-to-float): Remove; no longer needed.
23282
23283 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23284
23285 * calendar/timeclock.el (timeclock-seconds-to-time):
23286 Defalias to seconds-to-time, since they're the same thing.
23287
23288 * emacs-lisp/elp.el (elp-elapsed-time):
23289 * emacs-lisp/benchmark.el (benchmark-elapse):
23290 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23291
23292 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23293
23294 * window.el (bury-buffer): Don't iconify the only frame.
23295 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23296 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23297
23298 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23299
23300 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23301 Add mouse-yank-primary.
23302
23303 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23304
23305 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23306
23307 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23308
23309 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23310 (find-library-name): Use it to find relative load names when provided
23311 absolute file name (bug#8803).
23312
23313 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23314
23315 * textmodes/flyspell.el (flyspell-word): Consider words that
23316 differ only in case as potential doublons (bug#5687).
23317
23318 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23319 Remove two rather uninteresting debugging-like messages to make
23320 debbugs.el more silent.
23321
23322 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23323 a password-like phrase.
23324
23325 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23326
23327 * progmodes/cc-guess.el: New file.
23328
23329 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23330
23331 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23332 derived from `c-basic-common-init'.
23333
23334 * progmodes/cc-mode.el (top-level): Require cc-guess.
23335 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23336
23337 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23338
23339 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23340
23341 2011-06-30 Alan Mackenzie <acm@muc.de>
23342
23343 * progmodes/cc-engine.el (c-guess-continued-construct):
23344 Correct the handling of template-args-cont, particularly for when font
23345 lock is disabled. Name this case as "CASE G".
23346
23347 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23348
23349 * allout.el (allout-yank-processing): Fix injection of extra space
23350 between bullet and non-whitespace character in first topic when
23351 pasting, ensuring that the actual spacing in the pasted topic
23352 following the bullet char is preserved. This extra space was
23353 causing pasted encrypted topics to get a decrypted status even
23354 when the content was actually still encrypted. Now the decryption
23355 status from before the paste is preserved.
23356
23357 (allout-flag-region): Set all allout overlays so they evaporate
23358 when reduced to zero length (evanescent), to prevent overlay
23359 leakage.
23360
23361 2011-06-30 Glenn Morris <rgm@gnu.org>
23362
23363 * w32-fns.el (w32-charset-info-alist): Declare.
23364
23365 * find-dired.el (find-grep-options): Simplify.
23366
23367 * term/ns-win.el (ns-set-resource): Declare.
23368
23369 * ses.el (row, col): Declare dynamic variables honestly.
23370
23371 * textmodes/reftex-parse.el (index-tags): Declare.
23372
23373 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23374
23375 * cus-edit.el (customize-push-and-save): New function.
23376
23377 * files.el (hack-local-variables-confirm): Use it.
23378
23379 * custom.el (load-theme): New arg NO-CONFIRM.
23380 Use customize-push-and-save (Bug#8720).
23381 (custom-enabled-themes): Doc fix.
23382
23383 * cus-theme.el (customize-create-theme)
23384 (custom-theme-merge-theme): Callers to load-theme changed.
23385
23386 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23387
23388 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23389 short URLs have at least one dot in them (bug #7614).
23390
23391 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23392 nil, because using a pty is apparently too slow (bug #895).
23393
23394 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23395
23396 * mail/sendmail.el (sendmail-query-once): New function.
23397 (sendmail-query-once-function): New variable.
23398
23399 2011-06-29 Glenn Morris <rgm@gnu.org>
23400
23401 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23402
23403 * ses.el (top-level): Require cl when compiling.
23404 (ses-set-localvars): Fix error statement.
23405 Call it at compile time to silence a storm of warnings.
23406
23407 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23408
23409 * window.el (normalize-live-buffer): Rename to
23410 window-normalize-buffer.
23411 (normalize-live-frame): Rename to window-normalize-frame.
23412 (normalize-any-window): Rename to window-normalize-any-window.
23413 (normalize-live-window): Rename to window-normalize-live-window.
23414 (make-window-atom): Rename to window-make-atom.
23415 (window-resize-reset): Rename to window--resize-reset.
23416 (window-resize-reset-1): Rename to window--resize-reset-1.
23417 (resize-mini-window): Rename to window--resize-mini-window.
23418 (resize-subwindows-skip-p): Rename to
23419 window--resize-subwindows-skip-p.
23420 (resize-subwindows-normal): Rename to
23421 window--resize-subwindows-normal.
23422 (resize-subwindows): Rename to window--resize-subwindows.
23423 (resize-other-windows): Rename to window--resize-siblings.
23424 (resize-this-window): Rename to window--resize-this-window.
23425 (resize-root-window): Rename to window--resize-root-window.
23426 (resize-root-window-vertically): Rename to
23427 window--resize-root-window-vertically.
23428 (normalize-buffer-to-display): Rename to
23429 window-normalize-buffer-to-display.
23430 (normalize-buffer-to-switch-to): Rename to
23431 window-normalize-buffer-to-switch-to.
23432 Correspondingly update all callers of the functions listed
23433 above.
23434 (display-buffer-alist, display-buffer-normalize-arguments)
23435 (display-buffer-normalize-options, display-buffer)
23436 (display-buffer-alist-set): Use "function" instead of
23437 "fun-with-args".
23438
23439 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23440
23441 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23442 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23443 debbugs.gnu.org. Mention acknowledgment email.
23444
23445 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23446
23447 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23448 buffer multibyteness, since it shouldn't matter.
23449
23450 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23451
23452 * window.el (display-buffer-in-side-window): Handle dedicated
23453 windows as in display-buffer-reuse-window.
23454 (display-buffer-normalize-alist): Use value of override
23455 specifier.
23456 (display-buffer-normalize-specifiers): Use value of
23457 other-window-means-other-frame specifier.
23458 (display-buffer-alist): Rewrite some texts in widgets.
23459 (display-buffer): Spread arguments when calling function
23460 specified by fun-with-args.
23461
23462 2011-06-28 Deniz Dogan <deniz@dogan.se>
23463
23464 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23465 Unnest `let'.
23466
23467 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23468 selectors (Bug#5732).
23469 (css-proprietary-nmstart-re): Use `regexp-opt'.
23470
23471 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23472
23473 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23474 (eshell-ls-date-format): New defcustom.
23475 (eshell-ls-file): Use it.
23476
23477 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23478
23479 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23480
23481 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23482
23483 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23484 (ange-ftp-make-tmp-name): New arg.
23485 (ange-ftp-file-local-copy): Use it.
23486
23487 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23488
23489 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23490 no-conversion (Bug#8870).
23491
23492 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23493
23494 * window.el (window-right, window-left, window-child)
23495 (window-child-count, window-last-child)
23496 (window-iso-combination-p, walk-window-tree-1)
23497 (window-atom-check-1, window-tree-1, delete-window)
23498 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23499 new naming conventions - window-vchild, window-hchild,
23500 window-next and window-prev are now called window-top-child,
23501 window-left-child, window-next-sibling and window-prev-sibling
23502 respectively.
23503 (resize-window-reset): Rename to window-resize-reset.
23504 (resize-window-reset-1): Rename to window-resize-reset-1.
23505 (resize-window): Rename to window-resize.
23506 (window-min-height, window-min-width)
23507 (resize-mini-window, resize-this-window, resize-root-window)
23508 (resize-root-window-vertically, adjust-window-trailing-edge)
23509 (enlarge-window, shrink-window, maximize-window)
23510 (minimize-window, delete-window, quit-restore-window)
23511 (split-window, balance-windows, balance-windows-area-adjust)
23512 (balance-windows-area, window-state-put-2)
23513 (display-buffer-even-window-sizes, display-buffer-set-height)
23514 (display-buffer-set-width, set-window-text-height)
23515 (fit-window-to-buffer): Rename all "resize-window" prefixed
23516 calls to use the "window-resize" prefix convention.
23517 (display-buffer-alist): Fix symbol for label specifier.
23518 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23519 corresponding specifier.
23520 Reported by Juanma Barranquero <lekktu@gmail.com>.
23521
23522 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23523
23524 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23525 convention.
23526 (ses-call-printer): Does not pass an empty string to formatter when the
23527 cell is empty to keep from barking printer Calc math-format-value.
23528
23529 2011-06-27 Richard Stallman <rms@gnu.org>
23530
23531 * battery.el (battery-mode-line-limit): New variable.
23532 (battery-update): Handle it.
23533
23534 * mail/rmailmm.el (rmail-mime-process-multipart):
23535 Handle truncated messages.
23536
23537 2011-06-27 Glenn Morris <rgm@gnu.org>
23538
23539 * progmodes/flymake.el (flymake-err-line-patterns):
23540 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23541
23542 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23543
23544 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23545 (ses--clean-!, ses--clean-_): New functions.
23546 (ses-range): Add configurability of readout order, and conversion
23547 to Calc vector.
23548
23549 * ses.el (ses-repair-cell-reference-all): New function.
23550 (ses-cell-symbol): Set macro as safe, so that it can be used in
23551 formulas.
23552
23553 * ses.el: Update cycle detection algorithm.
23554 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23555 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23556 (ses-set-localvars): New function.
23557 (ses-make-cell): Add property-list as a cell element.
23558 (ses-cell-property-get-fun, ses-cell-property-get)
23559 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23560 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23561 New functions.
23562 (ses-cell-property-set, ses-cell-property-pop)
23563 (ses-cell-property-get-handle): New macro.
23564 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23565 New aliases, used for code readability.
23566 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23567 cycle detection.
23568 (ses-self-reference-early-detection): New defcustom.
23569 (ses-formula-references): Robustify against self-referring cells.
23570 (ses-mode): Use ses-set-localvars.
23571 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23572 before lauching the update processing.
23573 (ses-initialize-Dijkstra-attempt): New function.
23574 (ses-recalculate-cell): Update for cycle detection based on
23575 Dijkstra algorithm.
23576
23577 * ses.el: Fix commenting and indenting convention.
23578
23579 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23580
23581 * bs.el (bs-cycle-next): Complete last change.
23582
23583 2011-06-27 Drew Adams <drew.adams@oracle.com>
23584
23585 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23586
23587 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23588
23589 * net/network-stream.el (network-stream-open-starttls):
23590 Don't re-get capabilities unless we've reestablished connection.
23591 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23592
23593 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23594 to binary to possibly avoid line encoding issues on Windows (among
23595 other things).
23596
23597 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23598
23599 * net/network-stream.el (open-network-stream): Return an :error
23600 saying what the problem was, if possible.
23601
23602 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23603 server.
23604
23605 * net/network-stream.el (network-stream-open-starttls): If we
23606 wanted to use STARTTLS, and the server offered it, but we weren't
23607 able to because we had no STARTTLS support, then close the connection.
23608 (open-network-stream): Return an :error element, if present.
23609
23610 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23611
23612 * hl-line.el (hl-line-sticky-flag): Doc fix.
23613 (global-hl-line-sticky-flag): New option (Bug#8323).
23614 (global-hl-line-highlight): Obey it.
23615
23616 * vc/vc.el (vc-revert-show-diff): Default to t.
23617
23618 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23619
23620 * allout-widgets.el (allout-widgets-post-command-business):
23621 Stop decorating intermediate isearch matches. They're not being
23622 undecorated when an isearch is continued past, and isearch
23623 automatically collapses them. This leads to "widget leaks", where
23624 decorated items accumulate in collapsed areas. Lines with lots of
23625 hidden widgets can slow down cursor travel, substantially.
23626 Too much complicated machinery would be needed to ensure undecoration,
23627 so we're doing without this nicety.
23628
23629 (allout-widgets-tally-string): Don't try to do a hash-table-count
23630 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23631 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23632 *Messages* when allout-widgets-maintain-tally is t.
23633
23634 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23635
23636 * window.el (display-buffer-normalize-argument): Rename to
23637 display-buffer-normalize-arguments. Handle special meaning of
23638 LABEL argument. Respect special-display-function when popping up
23639 a new frame. Fix code searching for a window showing the buffer
23640 on another frame.
23641 (display-buffer-normalize-specifiers):
23642 Call display-buffer-normalize-arguments.
23643 (display-buffer-in-window): Don't undedicate the window if its
23644 buffer remains the same.
23645 Reported by Drew Adams <drew.adams@oracle.com>.
23646 (display-buffer-alist): Add choice for same-window macro
23647 specfier.
23648 (display-buffer): Mention special meaning of LABEL argument in
23649 doc-string. Fix quoting. Don't pop up a new frame even as
23650 fallback.
23651
23652 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23653
23654 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23655 avoid deleting the current window in some cases (bug#8911).
23656
23657 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23658
23659 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23660 (Bug#8934)
23661
23662 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23663
23664 * net/network-stream.el (network-stream-open-starttls):
23665 Use built-in TLS support if `gnutls-available-p' is true.
23666 (network-stream-open-tls): Ditto.
23667
23668 2011-06-26 Leo Liu <sdl.web@gmail.com>
23669
23670 * register.el (registerv): New struct.
23671 (registerv-make): New function.
23672 (jump-to-register, describe-register-1, insert-register):
23673 Support the jump-func, print-func and insert-func slot of a registerv
23674 struct. (Bug#8415)
23675
23676 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23677
23678 * vc/vc.el (vc-revert-show-diff): New defcustom.
23679 (vc-diff-internal): New arg specifying diff buffer.
23680 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23681 reuse an existing *vc-diff* buffer (Bug#8927).
23682
23683 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23684
23685 2011-06-26 Glenn Morris <rgm@gnu.org>
23686
23687 * progmodes/f90.el (f90-critical-indent): New option.
23688 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23689 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23690 (f90-mode): Doc fix.
23691 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23692 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23693 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23694 (f90-match-end): Handle block, critical.
23695
23696 2011-06-25 Glenn Morris <rgm@gnu.org>
23697
23698 * calendar/diary-lib.el (diary-included-files): Doc fix.
23699 (diary-include-files): New function, extracted from
23700 diary-include-other-diary-files and diary-mark-included-diary-files.
23701 (diary-include-other-diary-files, diary-mark-included-diary-files):
23702 Just call diary-include-files.
23703 (diary-mark-entries): Reset diary-included-files on first call.
23704
23705 * calendar/diary-lib.el (diary-mark-entries)
23706 (diary-mark-included-diary-files):
23707 Visit included diary-files in temp buffers.
23708
23709 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23710 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23711 (f90-start-block-re, f90-imenu-generic-expression)
23712 (f90-looking-at-program-block-start, f90-no-block-limit):
23713 Add support for submodules.
23714
23715 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23716 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23717
23718 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23719
23720 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23721 buffer-file-type before setting its value, to avoid disastrous
23722 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23723
23724 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23725
23726 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23727
23728 * ses.el (ses-unload-function):
23729 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23730
23731 * proced.el (proced-unload-function):
23732 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23733
23734 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23735
23736 * server.el (server-create-window-system-frame): Add parameters arg.
23737 (server-process-filter): Doc fix. Handle frame-parameters.
23738
23739 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23740
23741 Fix bug#8730, bug#8781.
23742
23743 * loadhist.el (unload--set-major-mode): New function.
23744 (unload-feature): Use it.
23745
23746 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23747 (python-unload-function): New function.
23748
23749 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23750
23751 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23752
23753 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23754
23755 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23756 the candidates list.
23757
23758 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23759
23760 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23761
23762 2011-06-23 Richard Stallman <rms@gnu.org>
23763
23764 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23765 (rmail-variables): Set next-error-move-function.
23766 (rmail-what-message): Take argument POS.
23767 (rmail-next-error-move): New function.
23768
23769 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23770
23771 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23772 messages for adjacent non-terminals.
23773
23774 2011-06-23 Richard Stallman <rms@gnu.org>
23775
23776 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23777 (rmail-show-message-1): Preserve buffer modified flag.
23778 (rmail-start-mail): Don't specify use of rmail-mail-return;
23779 that's done by mail-bury now.
23780 (rmail-mail-return): Handle arg NEWBUF.
23781
23782 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23783
23784 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23785 SIZE is a number.
23786
23787 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23788
23789 * window.el (get-lru-window, get-mru-window)
23790 (get-largest-window): Never return a minibuffer window.
23791 (display-buffer-pop-up-window): Fix a bug that could lead to
23792 reusing the minibuffer window.
23793 (display-buffer): Pass original specifier argument to
23794 display-buffer-function instead of the normalized one.
23795 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23796
23797 2011-06-22 Leo Liu <sdl.web@gmail.com>
23798
23799 * minibuffer.el (completing-read-function)
23800 (completing-read-default): Move from minibuf.c.
23801
23802 2011-06-22 Richard Stallman <rms@gnu.org>
23803
23804 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23805 to Rmail even if not started by a special Rmail command.
23806
23807 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23808 Copy the buffer currently showing just one message.
23809
23810 2011-06-22 Roland Winkler <winkler@gnu.org>
23811
23812 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23813 (bibtex-clean-entry): First delete the old key so that a
23814 customized algorithm for generating the new key does not get
23815 confused by the old key.
23816 (bibtex-url): Obey regexp of first step.
23817 (bibtex-search-entries): Do not use add-to-list with local
23818 list-var.
23819
23820 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23821
23822 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23823 stored a user name, then query for the password first, instead of
23824 waiting for SMTP to give an error message and the trying again.
23825
23826 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23827
23828 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23829 BUFFER in call-process.
23830
23831 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23832
23833 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23834 QUIT twice.
23835 (smtpmail-try-auth-methods): Require user name and password from
23836 auth-source.
23837
23838 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23839
23840 * window.el (display-buffer-default-specifiers)
23841 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23842 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23843 (split-window): Normalize SIDE argument (Bug#8916).
23844
23845 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23846 (special-display-frame-alist, special-display-popup-frame):
23847 Remove duplicate declarations. These are now in window.el.
23848
23849 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23850
23851 * mail/smtpmail.el (smtpmail-via-smtp):
23852 Set :use-starttls-if-possible so that we always use STARTTLS if the
23853 server supports it. SMTP servers that support STARTTLS commonly
23854 require it.
23855
23856 * net/network-stream.el (network-stream-open-starttls): Support
23857 upgrading to STARTTLS always, even if we don't have built-in support.
23858 (open-network-stream): Add the :always-query-capabilities keyword.
23859
23860 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23861 upgrades with `open-network-stream', and rely solely on
23862 auth-source for all credentials. Big changes throughout the file,
23863 but in particular:
23864 (smtpmail-auth-credentials): Remove.
23865 (smtpmail-starttls-credentials): Remove.
23866 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23867 MAIL FROM, too.
23868
23869 * net/network-stream.el (network-stream-open-starttls):
23870 Provide support for client certificates both for external and built-in
23871 STARTTLS.
23872 (auth-source): Require.
23873 (open-network-stream): Document the :client-certificate keyword.
23874 (network-stream-certificate): Change cert-cert to cert and
23875 cert-key to key.
23876
23877 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23878
23879 * net/tramp-cache.el (top): Don't load the persistency file when
23880 "emacs -Q" has been called.
23881
23882 2011-06-21 Tim Harper <timcharper@gmail.com>
23883
23884 * term/ns-win.el (ns-initialize-window-system):
23885 Set application-specific `ApplePressAndHoldEnabled' system
23886 resource to NO as it is not yet supported by the NS port.
23887
23888 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23889
23890 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23891 (list-dynamic-libraries): ...not here.
23892
23893 2011-06-21 Leo Liu <sdl.web@gmail.com>
23894
23895 * subr.el (sha1): Implement sha1 using secure-hash.
23896
23897 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23898
23899 * window.el (display-buffer-alist): In default value do not
23900 enforce searching a window on any but the selected frame.
23901 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23902 (display-buffer-select-window): Remove function.
23903 (display-buffer-in-window): When a window on another frame gets
23904 reused, do not select it any more but just raise its frame if
23905 necessary (Bug#8851) and (Bug#8856).
23906 (display-buffer-normalize-options): Handle pop-up-frames related
23907 options more faithfully.
23908 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23909 window if it is on another frame.
23910 (display-buffer-alist, display-buffer-default-specifiers):
23911 Don't make new frame unsplittable by default.
23912 (display-buffer-normalize-argument): Fix doc-string typo and use
23913 'same-frame-other-window instead of 'other-window when associating
23914 with display-buffer-macro-specifiers.
23915
23916 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
23917
23918 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23919 New functions.
23920 (5x5-mode-map, 5x5-mode-menu): Bind them.
23921 (5x5-draw-grid): Tweak the solver's rendering.
23922
23923 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23924
23925 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23926 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23927
23928 2011-06-21 Drew Adams <drew.adams@oracle.com>
23929
23930 * menu-bar.el: Use function variable instead of switch-to-buffer.
23931 (menu-bar-select-buffer-function): New variable.
23932 (menu-bar-update-buffers): Use it (bug#8876).
23933
23934 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23935
23936 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23937 variable's status.
23938
23939 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23940
23941 * x-dnd.el (x-dnd-version-from-flags)
23942 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23943 and long as number (Bug#8899).
23944 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23945
23946 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23947
23948 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23949 (completion-try-completion, completion-all-completions): Compute the
23950 metadata argument if it's missing; make it optional (bug#8795).
23951
23952 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23953 (widget-complete): Use new :completion-function property.
23954 (widget-completions-at-point): New function.
23955 (default): Use :completion-function instead of :complete.
23956 (widget-default-completions): Rename from widget-default-complete;
23957 Rewrite.
23958 (widget-string-complete, widget-file-complete, widget-color-complete):
23959 Remove functions.
23960 (file, symbol, function, variable, coding-system, color):
23961 * international/mule-cmds.el (default-input-method, charset)
23962 (language-info-custom-alist):
23963 * cus-edit.el (face): Use new property :completions.
23964
23965 * progmodes/pascal.el (pascal-completions-at-point): New function.
23966 (pascal-mode): Use it.
23967 (pascal-mode-map): Use completion-at-point.
23968 (pascal-toggle-completions): Make obsolete.
23969 (pascal-complete-word, pascal-show-completions):
23970 * progmodes/octave-mod.el (octave-complete-symbol):
23971 Redefine as obsolete alias.
23972 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23973 Signal absence of completion info for old Octave,
23974 (inferior-octave-complete): Redefine as obsolete alias.
23975 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23976 (meta-completions-at-point): Rename from meta-complete-symbol and
23977 adapt it for use on completion-at-point-functions.
23978 (meta-common-mode): Use it.
23979 (meta-looking-at-backward, meta-match-buffer): Remove.
23980 (meta-complete-symbol): Redefine as obsolete alias.
23981 (meta-common-mode-map): Use completion-at-point.
23982 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23983 (makefile-mode-map): Use completion-at-point.
23984 (makefile-completions-at-point): Rename from makefile-complete and
23985 adapt it for use on completion-at-point-functions.
23986 (makefile-mode): Use it.
23987 (makefile-complete): Redefine as obsolete alias.
23988
23989 2011-06-20 Deniz Dogan <deniz@dogan.se>
23990
23991 * net/rcirc.el: Delete trailing whitespaces once and for all.
23992
23993 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23994
23995 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23996
23997 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23998
23999 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24000
24001 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24002
24003 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24004
24005 * window.el (display-buffer-other-window-means-other-frame):
24006 Call display-buffer-normalize-alist.
24007 (display-buffer-normalize-specifiers-1): Rename to
24008 display-buffer-normalize-argument. New argument other-frame.
24009 Rewrite.
24010 (display-buffer-normalize-specifiers-2): Rename to
24011 display-buffer-normalize-options.
24012 (display-buffer-normalize-alist-1): New function.
24013 (display-buffer-normalize-specifiers-3): Rename to
24014 display-buffer-normalize-alist.
24015 Call display-buffer-normalize-alist-1.
24016 (display-buffer-normalize-options-inhibit): New variable.
24017 (display-buffer-normalize-specifiers): Rewrite calling
24018 display-buffer-normalize-alist,
24019 display-buffer-normalize-argument, and
24020 display-buffer-normalize-options. Don't call the latter if
24021 display-buffer-normalize-options-inhibit is non-nil.
24022 (frame-auto-delete): New option.
24023 (window-deletable-p): Use frame-auto-delete.
24024 (window-list-no-nils, window-state-ignored-parameters)
24025 (window-state-get-1, window-state-get, window-state-put-list)
24026 (window-state-put-1, window-state-put-2, window-state-put):
24027 New functions.
24028 (display-buffer-normalize-options): Move special-display-p group
24029 after pop-up-frame group (Bug#8851) and (Bug#8856).
24030
24031 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24032
24033 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24034 groups (Bug#8776).
24035 (rx-submatch-n): New function.
24036 (rx): Document it.
24037
24038 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24039 (Bug#8768).
24040
24041 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24042
24043 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24044
24045 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24046 anytime existing face settings are present (Bug#8889).
24047
24048 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24049 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24050 Remove unused argument.
24051
24052 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24053
24054 * window.el (display-buffer-default-specifiers):
24055 Remove pop-up-frame. Add pop-up-window-min-height,
24056 pop-up-window-min-width, and another reuse-window specifier
24057 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24058 (display-buffer-normalize-specifiers-2):
24059 Handle split-height-threshold and split-width-threshold also when
24060 pop-up-windows is unset. Add a reuse-window specifier for the
24061 case popping up a new window fails.
24062 (special-display-popup-frame): Remove double quoting.
24063 (display-buffer-normalize-specifiers-1): Fix thinko.
24064
24065 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24066
24067 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24068 according to comint-completion-addsuffix.
24069
24070 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24071 (pcomplete-suffix-list): Mark as obsolete.
24072 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24073 pcomplete-seen in the closure.
24074 (pcomplete-comint-setup): Setup completion-at-point as well.
24075 (pcomplete--entries): New function.
24076 (pcomplete--env-regexp): New var.
24077 (pcomplete-entries): Rewrite to work with partial-completion and
24078 without relying on pcomplete-suffix-list.
24079 (pcomplete-pare-list): Remove, unused.
24080
24081 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24082
24083 * window.el (display-buffer-alist): Set pop-up-window-min-height
24084 and pop-up-window-min-width in default value. Reported by
24085 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24086 other-window-means-other-frame.
24087 (display-buffer-macro-specifiers): Comment out entry for
24088 other-window specifier.
24089 (display-buffer-other-window-means-other-frame): New function.
24090 (display-buffer-normalize-specifiers-1): New arguments
24091 buffer-name and label. Treat other-window case specially.
24092 (display-buffer-normalize-specifiers-2): Treat other-window case
24093 specially.
24094 (display-buffer-normalize-specifiers-3): New function.
24095 (display-buffer-normalize-specifiers):
24096 Call display-buffer-normalize-specifiers-3.
24097
24098 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24099
24100 * window.el (same-window-p): Fix two typos introduced when
24101 adding with-no-warnings.
24102 (display-buffer-normalize-specifiers-1): Don't check
24103 pop-up-frames for 'unset initialization.
24104 (display-buffer-normalize-specifiers-2): Major rewrite using
24105 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24106 (pop-up-frames, display-buffer-reuse-frames)
24107 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24108 Suggested by David Engster <deng@randomsample.de>.
24109 (even-window-heights): Initialize to 'unset.
24110 (display-buffer-alist-set): Handle new 'unset initializations.
24111 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24112 other window case.
24113
24114 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24115
24116 * window.el (display-buffer-normalize-specifiers-1):
24117 Respect current value of pop-up-frames for most reasonable values of
24118 second argument of display-buffer (Bug#8865).
24119 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24120 (switch-to-buffer-other-window-same-frame)
24121 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24122 Adams (Bug#8875).
24123 (display-buffer): Don't check noninteractive when calling
24124 display-buffer-pop-up-frame.
24125 (display-buffer-pop-up-frame): Never pop up a frame in
24126 noninteractive mode (Bug#8857).
24127 (enlarge-window, shrink-window): Don't report an error when the
24128 window can't be resized as requested (Bug#8862).
24129
24130 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24131
24132 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24133
24134 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24135
24136 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24137
24138 2011-06-15 Alan Mackenzie <acm@muc.de>
24139
24140 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24141 for declarators, disable knr checking to speed up for normal files.
24142 2: Refactor, replacing a sequence of nested if forms by a cond form.
24143
24144 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24145
24146 * net/network-stream.el (open-network-stream): Add the keyword
24147 :always-query-capabilities for the case where you want to force a
24148 `plain' network connection, but the protocol still requires the
24149 capabilitiy command (i.e., SMTP and EHLO).
24150
24151 * subr.el (process-live-p): Rename from `process-alive-p' for
24152 consistency with other `-live-p' functions.
24153
24154 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24155
24156 * window.el (same-window-buffer-names, same-window-regexps)
24157 (special-display-frame-alist, special-display-popup-frame)
24158 (special-display-function, special-display-buffer-names)
24159 (special-display-regexps, pop-up-frame-alist)
24160 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24161 (pop-up-windows, split-window-preferred-function)
24162 (split-height-threshold, split-width-threshold, even-window-heights)
24163 (display-buffer-mark-dedicated): Don't encourage the use of
24164 display-buffer-alist from Elisp code.
24165
24166 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24167
24168 * progmodes/python.el (python-mode): Derive from prog-mode.
24169 * progmodes/ps-mode.el (ps-mode):
24170 * progmodes/mixal-mode.el (mixal-mode):
24171 * progmodes/cfengine.el (cfengine-mode):
24172 * progmodes/ld-script.el (ld-script-mode): Likewise.
24173
24174 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24175
24176 * window.el (display-buffer-alist): Trim default value to avoid
24177 popping up a new frame (Bug#8857) or reusing an arbitrary window
24178 on another frame.
24179 (display-buffer): Do not fall back on popping up a new frame in
24180 batch mode (Bug#8857).
24181
24182 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24183
24184 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24185 (custom-theme-summary): New function.
24186 (customize-themes): Use it.
24187
24188 2011-06-13 Glenn Morris <rgm@gnu.org>
24189
24190 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24191
24192 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24193
24194 * help.el (help-window): Remove variable.
24195 (help-window-point-marker, temp-buffer-max-height)
24196 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24197 (help-print-return-message): Don't set help-window.
24198 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24199 (help-window-setup-finish): Remove.
24200 (help-window-display-message, help-window-setup)
24201 (with-help-window): Major rewrite based on new
24202 display-buffer-window variable.
24203
24204 * help-mode.el (help-mode-finish): Remove help-window related
24205 code.
24206
24207 * view.el (view-exits-all-viewing-windows): Remove reference to
24208 view-return-to-alist in doc-string.
24209 (view-return-to-alist): Make obsolete.
24210 (view-buffer): Call pop-to-buffer-same-window and remove
24211 undo-window code.
24212 (view-buffer-other-window): Call pop-to-buffer-other-window and
24213 simplify code. Ignore second argument.
24214 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24215 simplify code. Ignore second argument.
24216 (view-return-to-alist-update): Make obsolete.
24217 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24218 Rewrite using quit-restore window parameters.
24219 (view-mode-exit): Rename second argument to EXIT-ONLY.
24220 Rewrite using quit-restore-window.
24221 (View-exit, View-exit-and-edit, View-leave, View-quit)
24222 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24223 appropriate arguments.
24224 (view-end-message): Use quit-restore window parameter.
24225
24226 * window.el (display-buffer-function): Rewrite doc-string.
24227 (display-buffer-window, display-buffer-alist): New variables.
24228 (display-buffer-split-specifiers)
24229 (display-buffer-side-specifiers)
24230 (display-buffer-macro-specifiers): New constants.
24231 (display-buffer-even-window-sizes, display-buffer-set-height)
24232 (display-buffer-set-width, display-buffer-select-window)
24233 (display-buffer-in-window, display-buffer-reuse-window)
24234 (display-buffer-split-window-1, display-buffer-split-window)
24235 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24236 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24237 (display-buffer-in-side-window, normalize-buffer-to-display)
24238 (display-buffer-normalize-specifiers-1)
24239 (display-buffer-normalize-specifiers-2)
24240 (display-buffer-normalize-specifiers, display-buffer-frame):
24241 New functions.
24242 (display-buffer): Major rewrite.
24243 (display-buffer-other-window, display-buffer-other-frame)
24244 (pop-to-buffer, switch-to-buffer-other-window)
24245 (switch-to-buffer-other-frame): Rewrite.
24246 (display-buffer-same-window, display-buffer-same-frame)
24247 (display-buffer-same-frame-other-window)
24248 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24249 (pop-to-buffer-other-window)
24250 (pop-to-buffer-same-frame-other-window)
24251 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24252 (switch-to-buffer-other-window-same-frame): New functions.
24253 (same-window-p, special-display-p): Rewrite disabling warnings.
24254 Make obsolete.
24255 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24256 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24257 Make obsolete
24258 (same-window-buffer-names, same-window-regexps)
24259 (special-display-frame-alist, special-display-popup-frame)
24260 (special-display-function, special-display-buffer-names)
24261 (special-display-regexps, pop-up-frame-alist)
24262 (pop-up-frame-function, split-window-preferred-function)
24263 (split-height-threshold, split-width-threshold)
24264 (even-window-heights): Make obsolete.
24265
24266 2011-06-12 Glenn Morris <rgm@gnu.org>
24267
24268 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24269 Misc simplifications.
24270
24271 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24272
24273 * window.el (window-safely-shrinkable-p): Restore function which
24274 was inadvertently removed in change from 2011-06-11. Declare as
24275 obsolete.
24276
24277 * calendar/calendar.el (calendar-generate-window):
24278 Use window-iso-combined-p instead of combination of one-window-p and
24279 window-safely-shrinkable-p.
24280
24281 2011-06-12 Glenn Morris <rgm@gnu.org>
24282
24283 * progmodes/fortran.el (fortran-mode-syntax-table):
24284 * progmodes/f90.el (f90-mode-syntax-table):
24285 Set % to punctuation. (Bug#8820)
24286 (f90-find-tag-default): Remove, no longer needed.
24287
24288 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24289
24290 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24291
24292 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24293
24294 * image.el (image-animated-p): Return animation delay in seconds.
24295 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24296 (image-animate-timeout): Remove DELAY argument. Don't assume
24297 every subimage has the same delay; get it from image-animated-p.
24298 (image-animate): Caller changed.
24299
24300 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24301
24302 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24303 to ignored backtrace functions.
24304
24305 2011-06-11 Glenn Morris <rgm@gnu.org>
24306
24307 * calendar/appt.el (appt-disp-window-function): Doc fix.
24308 (appt-check): Handle overlapping appointments. (Bug#8337)
24309
24310 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24311
24312 * window.el (window-tree-1, window-tree): New functions, moving
24313 the latter to window.el.
24314 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24315 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24316 (bw-refresh-edges): Remove.
24317 (balance-windows-1, balance-windows-2): New functions.
24318 (balance-windows): Rewrite in terms of window tree functions,
24319 balance-windows-1 and balance-windows-2.
24320 (bw-adjust-window): Remove.
24321 (balance-windows-area-adjust): New function with functionality of
24322 bw-adjust-window but using resize-window.
24323 (set-window-text-height): Rewrite doc-string.
24324 Use normalize-live-window and resize-window.
24325 (enlarge-window-horizontally, shrink-window-horizontally):
24326 Rename argument to DELTA.
24327 (window-buffer-height): New function.
24328 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24329 Rewrite using new window resize routines.
24330 (kill-buffer-and-window, mouse-autoselect-window-select):
24331 Use ignore-errors instead of condition-case.
24332 (quit-window): Call delete-frame instead of delete-windows-on
24333 for the only buffer on frame.
24334
24335 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24336
24337 * loadup.el (top-level): Load window before files for the sake
24338 of replace-buffer-in-windows.
24339
24340 * files.el (read-buffer-to-switch)
24341 (switch-to-buffer-other-window)
24342 (switch-to-buffer-other-frame, display-buffer-other-frame):
24343 Move to window.el.
24344
24345 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24346 (previous-buffer): Move to window.el.
24347
24348 * bindings.el (unbury-buffer): Move to window.el.
24349
24350 * window.el (delete-other-windows-vertically): Move after
24351 definition of delete-other-windows.
24352 (other-window, delete-windows-on, replace-buffer-in-windows):
24353 Move here from window.c.
24354 (record-window-buffer, unrecord-window-buffer)
24355 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24356 (switch-to-next-buffer): New functions.
24357 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24358 from simple.el. Call switch-to-next-buffer.
24359 (previous-buffer): Move here from simple.el.
24360 Call switch-to-prev-buffer.
24361 (bury-buffer): Move here from buffer.c. Switch to previous
24362 buffer when window cannot be deleted.
24363 (unbury-buffer): Move here from bindings.el.
24364 (ctl-x-map): Move binding for other-window from window.c to
24365 here.
24366 (read-buffer-to-switch, switch-to-buffer-other-window)
24367 (switch-to-buffer-other-frame): Move here from files.el.
24368 (normalize-buffer-to-switch-to): New functions.
24369 (switch-to-buffer): Move here from buffer.c.
24370 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24371
24372 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24373
24374 * window.el (window-min-height, window-min-width): Move here
24375 from window.c. Add defcustoms and rewrite doc-strings.
24376 (resize-mini-window, resize-window): New functions.
24377 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24378 Move here from window.c.
24379 (maximize-window, minimize-window): New functions.
24380 (delete-window, delete-other-windows, split-window): Move here
24381 from window.c.
24382 (window-split-min-size): New function.
24383 (split-window-keep-point): Mention split-window-above-each-other
24384 instead of split-window-vertically.
24385 (split-window-above-each-other, split-window-vertically):
24386 Rename split-window-vertically to split-window-above-each-other
24387 and provide defalias for old definition.
24388 (split-window-side-by-side, split-window-horizontally):
24389 Rename split-window-horizontally to split-window-side-by-side
24390 and provide defalias for the old definition.
24391 (ctl-x-map): Move bindings for delete-window,
24392 delete-other-windows and enlarge-window here from window.c.
24393 Replace bindings for split-window-vertically and
24394 split-window-horizontally by bindings for
24395 split-window-above-each-other and split-window-side-by-side.
24396
24397 * cus-start.el (all): Remove entries for window-min-height and
24398 window-min-width. Add entries for window-splits and
24399 window-nest.
24400
24401 2011-06-09 Glenn Morris <rgm@gnu.org>
24402
24403 * calendar/appt.el (appt-mode-line): New function.
24404 (appt-check, appt-disp-window): Use it.
24405
24406 * files.el (hack-one-local-variable-eval-safep):
24407 Allow minor-modes with explicit +/-1 arguments.
24408
24409 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24410
24411 * term/xterm.el (xterm): Add defgroup.
24412 (xterm-extra-capabilities): Add defcustom to supply known xterm
24413 capabilities, skip querying them, or query them (default).
24414 (terminal-init-xterm): Use it.
24415 (terminal-init-xterm-modify-other-keys): New function to set up
24416 modifyOtherKeys support to simplify `terminal-init-xterm'.
24417
24418 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24419
24420 * window.el (resize-window-reset, resize-window-reset-1)
24421 (resize-subwindows-skip-p, resize-subwindows-normal)
24422 (resize-subwindows, resize-other-windows, resize-this-window)
24423 (resize-root-window, resize-root-window-vertically)
24424 (window-deletable-p, window-or-subwindow-p)
24425 (frame-root-window-p): New functions.
24426
24427 2011-06-09 Glenn Morris <rgm@gnu.org>
24428
24429 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24430 (ange-ftp-get-files): Use it.
24431
24432 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24433
24434 * mail/sendmail.el (mail-recover-1, mail-recover):
24435 * files.el (recover-file, recover-session):
24436 Handle dired-listing-switches not being just a single short option.
24437
24438 2011-06-09 Glenn Morris <rgm@gnu.org>
24439
24440 * calendar/appt.el (appt-display-message, appt-disp-window):
24441 Handle lists of appointments.
24442
24443 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24444
24445 * window.el (one-window-p): Move down in code.
24446 Rewrite doc-string.
24447 (window-current-scroll-bars): Rewrite doc-string.
24448 Normalize live window argument.
24449 (walk-windows, get-window-with-predicate, count-windows):
24450 Rewrite doc-string. Use window-list-1.
24451 (window-in-direction-2, window-in-direction, get-mru-window):
24452 New functions.
24453
24454 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24455
24456 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24457 Doc fix (Bug#8713).
24458
24459 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24460
24461 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24462
24463 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24464
24465 * loadhist.el (unload-feature-special-hooks):
24466 Add `comint-output-filter-functions'.
24467
24468 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24469
24470 * calendar/appt.el (appt-check): Move some initializations into the let.
24471
24472 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24473
24474 * window.el (window-height): Defalias to window-total-height.
24475 (window-width): Defalias to window-body-width.
24476
24477 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24478
24479 * image-mode.el (image-toggle-animation): New command.
24480 (image-mode-map): Bind it to RET.
24481 (image-mode): Update message.
24482 (image-toggle-display-image): Avoid a spurious cache flush.
24483 (image-transform-rotation): Doc fix.
24484 (image-transform-properties): Return quickly in the normal case.
24485 (image-animate-loop): Rename from image-animate-max-time.
24486
24487 * image.el (image-animate-max-time): Move to image-mode.el.
24488 (create-animated-image): Remove unnecessary function.
24489 (image-animate): Rename from image-animate-start. New arg.
24490 (image-animate-stop): Remove; just use image-animate-timer.
24491 (image-animate-timer): Use car-safe.
24492 (image-animate-timeout): Rename argument.
24493
24494 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24495
24496 * window.el (get-lru-window, get-largest-window): Move here from
24497 window.c. Rename first argument to ALL-FRAMES.
24498 Rephrase doc-strings.
24499 (get-buffer-window-list): Rewrite using window-list-1.
24500 Rephrase doc-string.
24501 (window-safe-min-height, window-safe-min-width): New constants.
24502 (window-size-ignore, window-min-size, window-min-size-1)
24503 (window-sizable, window-sizable-p, window-size-fixed-1)
24504 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24505 (window-max-delta-1, window-max-delta, window-resizable)
24506 (window-resizable-p, window-total-height, window-total-width)
24507 (window-body-width): New functions.
24508 (window-full-height-p, window-full-width-p): Rewrite using
24509 window-total-size.
24510 (window-body-height): Rewrite using window-body-size.
24511
24512 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24513
24514 * window.el (window-right, window-left, window-child)
24515 (window-child-count, window-last-child, window-any-p)
24516 (normalize-live-buffer, normalize-live-frame)
24517 (normalize-any-window, normalize-live-window)
24518 (window-iso-combination-p, window-iso-combined-p)
24519 (window-iso-combinations)
24520 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24521 (windows-with-parameter, window-with-parameter)
24522 (window-atom-root, make-window-atom, window-atom-check-1)
24523 (window-atom-check, window-side-check, window-check):
24524 New functions.
24525 (ignore-window-parameters, window-sides, window-sides-vertical)
24526 (window-sides-slots): New variables.
24527 (window-size-fixed): Move down in code. Minor doc-string fix.
24528
24529 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24530
24531 * comint.el (comint-dynamic-complete-as-filename)
24532 (comint-dynamic-complete-filename): Correctly call
24533 completion-in-region.
24534
24535 2011-06-05 Deniz Dogan <deniz@dogan.se>
24536
24537 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24538 in last change.
24539
24540 2011-06-05 Deniz Dogan <deniz@dogan.se>
24541
24542 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24543 (rcirc): Use it to prompt for encryption.
24544
24545 2011-06-05 Roland Winkler <winkler@gnu.org>
24546
24547 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24548 (bibtex-search-entries): New command bound to C-c C-a.
24549 (bibtex-display-entries): New function.
24550
24551 2011-06-05 Roland Winkler <winkler@gnu.org>
24552
24553 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24554 (bibtex-insert-kill): After yanking insert newline if necessary.
24555 (bibtex-initialize): Call bibtex-string-files-init only once.
24556 (bibtex-mode): Do not call easy-menu-add.
24557 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24558 (bibtex-yank): Set arg properly if nil.
24559
24560 2011-06-05 Roland Winkler <winkler@gnu.org>
24561
24562 * textmodes/bibtex.el (bibtex-search-entry-globally):
24563 New variable.
24564 (bibtex-search-entry): Use it.
24565
24566 2011-06-05 Roland Winkler <winkler@gnu.org>
24567
24568 * textmodes/bibtex.el (bibtex-entry-format): New option
24569 sort-fields.
24570 (bibtex-format-entry, bibtex-reformat): Honor this option.
24571 (bibtex-parse-entry): Return fields in proper order.
24572
24573 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24574
24575 * doc-view.el (doc-view-remove-if): Move computation of result out
24576 of `dolist' to silence misleading lexical-binding warning.
24577
24578 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24579
24580 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24581 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24582
24583 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24584
24585 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24586 "SunOS 5.10".
24587
24588 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24589
24590 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24591 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24592 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24593 (tramp-parse-putty):
24594 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24595 (tramp-completion-function-alist-ssh)
24596 (tramp-completion-function-alist-telnet)
24597 (tramp-completion-function-alist-su)
24598 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24599 cookie.
24600
24601 * net/tramp-ftp.el:
24602 * net/tramp-sh.el:
24603 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24604 load "tramp.el" `tramp-set-completion-function'.
24605
24606 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24607
24608 * shell.el: Require and use pcomplete.
24609 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24610 (shell-completion-vars): Set pcomplete-default-completion-function.
24611
24612 2011-06-04 Deniz Dogan <deniz@dogan.se>
24613
24614 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24615 `memq' (Bug#8799).
24616
24617 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24618
24619 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24620
24621 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24622
24623 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24624 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24625 * vc/log-view.el (log-view-beginning-of-defun):
24626 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24627 (smerge-refine-forward, smerge-refine-chopup-region):
24628 Silence warning for unused `dotimes' counter variables.
24629
24630 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24631
24632 * net/tramp.el (tramp-with-progress-reporter): Rename from
24633 with-progress-reporter. Use `declare'.
24634 * net/tramp-smb.el:
24635 * net/tramp-sh.el:
24636 * net/tramp-gvfs.el: Update all uses.
24637
24638 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24639
24640 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24641 buffer isn't killed before making it current.
24642
24643 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24644
24645 Silence various byte-compiler warnings.
24646 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24647 `access-type' and new obsolescence format.
24648 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24649 new format.
24650 (byte-compile-check-variable): New `access-type' argument.
24651 Only warn if the access-type is obsolete.
24652 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24653 (byte-compile-variable-set): Adjust callers.
24654 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24655 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24656 setting it as obsolete.
24657 * simple.el (minibuffer-completing-symbol):
24658 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24659 access as obsolete.
24660 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24661 obsolete yet.
24662 * international/quail.el (quail-mouse-choose-completion): Remove unused
24663 code referring to obsolete var.
24664 (quail-choose-completion-string): Remove.
24665 * server.el (server-clients-with, server-kill-buffer-query-function)
24666 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24667 * proced.el (proced-send-signal):
24668 * emacs-lisp/lisp.el (lisp-complete-symbol):
24669 Replace completion-annotate-function with completion-extra-properties.
24670
24671 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24672
24673 * simple.el (goto-line): Use read-number.
24674 (overriding-map-is-bound): Remove.
24675 (saved-overriding-map): Change default.
24676 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24677 Take the map as argument.
24678 (universal-argument, negative-argument, digit-argument): Use it.
24679 (restore-overriding-map): Adjust.
24680 (do-auto-fill): Use fill-forward-paragraph.
24681 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24682
24683 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24684 (minibuffer-inactive-mode): New major mode.
24685 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24686 the *Messages* buffer" hack.
24687 (mouse-popup-menubar): Don't burp if the event is a normal key.
24688
24689 Miscellaneous tweaks.
24690 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24691 lexical scoping as in subr.el's dolist and dotimes.
24692 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24693 Silence compiler warning.
24694 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24695 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24696 * international/ccl.el (ccl-compile): Trivial simplification.
24697 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24698 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24699 `printflag' argument.
24700 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24701 Purecopy the whole obsolescence data.
24702
24703 2011-06-01 Leo Liu <sdl.web@gmail.com>
24704
24705 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24706 improve doc-string as suggested by Marco Pessotto
24707 <melmothx@gmail.com>.
24708 (rcirc-print): Fix last change.
24709
24710 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24711
24712 * minibuffer.el (complete-with-action): Return nil for the metadata and
24713 boundaries of non-functional tables.
24714 (completion-table-dynamic): Return nil for the metadata.
24715 (completion-table-with-terminator): Add default case, using
24716 complete-with-action.
24717 (completion--metadata): New function.
24718 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24719 to try and avoid pathological performance problems.
24720 (completion--embedded-envvar-table): Return `category' metadata.
24721
24722 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24723
24724 * subr.el (process-alive-p): New tiny convenience function.
24725
24726 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24727
24728 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24729 content but also its previous major mode.
24730
24731 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24732
24733 * emacs-lisp/debug.el (debug): Restore the previous content of the
24734 *Backtrace* buffer when we exit with C-M-c.
24735
24736 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24737
24738 * minibuffer.el: Add metadata method to completion tables.
24739 (completion-category-overrides): New defcustom.
24740 (completion-metadata, completion--field-metadata)
24741 (completion-metadata-get, completion--styles)
24742 (completion--cycle-threshold): New functions.
24743 (completion-try-completion, completion-all-completions):
24744 Add `metadata' argument to choose completion-styles.
24745 (completion--do-completion): Use metadata to choose cycling.
24746 (completion-all-sorted-completions): Use metadata for sorting.
24747 Remove :completion-cycle-penalty which is not needed any more.
24748 (completion--try-word-completion): Add `metadata' argument.
24749 (minibuffer-completion-help): Check metadata for annotation function
24750 and sorting.
24751 (completion-file-name-table): Return `category' metadata.
24752 (minibuffer-completing-file-name): Make obsolete.
24753 * simple.el (minibuffer-completing-symbol): Make obsolete.
24754 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24755 completion-try-completion.
24756
24757 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24758
24759 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24760
24761 2011-05-30 Leo Liu <sdl.web@gmail.com>
24762
24763 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24764 (rcirc-print): Decode all incoming messages (bug#8744).
24765 (rcirc-decode-coding-system): Allow value nil for automatic coding
24766 system detection.
24767
24768 2011-06-01 Glenn Morris <rgm@gnu.org>
24769
24770 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24771
24772 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24773
24774 * image.el (image-animate-max-time): Allow nil and t values.
24775 Default to nil.
24776 (create-animated-image): Doc fix.
24777 (image-animate-start): Remove second arg; just use
24778 image-animate-max-time.
24779 (image-animate-timeout): Doc fix. Args changed.
24780
24781 * image-mode.el (image-toggle-display-image): Ensure that the
24782 image spec passed to the animate timer is the same object as in
24783 the buffer's display property (Bug#6981).
24784 (image-transform-properties): Doc fix.
24785
24786 * image.el (image-animate-max-time): Default to nil.
24787
24788 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24789
24790 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24791 entire buffer list (Bug#8184).
24792
24793 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24794
24795 * image.el (imagemagick-types-inhibit)
24796 (imagemagick-register-types): Doc fix.
24797
24798 2011-05-29 Deniz Dogan <deniz@dogan.se>
24799
24800 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24801 default.
24802
24803 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24804
24805 * select.el: Don't perform clipboard-manager saving in hooks;
24806 leave the hooks empty.
24807
24808 2011-05-28 Leo Liu <sdl.web@gmail.com>
24809
24810 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24811 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24812 (occur-edit-mode): New major mode (Bug#8463).
24813 (occur-after-change-function): New function.
24814 (occur-engine): Give Occur tags a read-only property.
24815
24816 2011-05-28 Kevin Ryde <user42@zip.com.au>
24817
24818 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24819
24820 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24821
24822 * bindings.el (help-echo): Make the initial non-indicator dash
24823 empty on graphical terminals (Bug#7295).
24824
24825 * files.el (auto-mode-alist): Move config rule after the
24826 in-stripping one (Bug#8547).
24827
24828 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24829
24830 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24831 setting (Bug#8740).
24832
24833 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24834
24835 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24836 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24837 (Bug#8539).
24838
24839 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24840
24841 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24842
24843 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24844
24845 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24846 (hs-hide-block-at-point, hs-find-block-beginning)
24847 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24848 (Bug#8279).
24849
24850 2011-05-28 Glenn Morris <rgm@gnu.org>
24851
24852 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24853
24854 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24855
24856 * help-fns.el (describe-function-1): If the function is a derived
24857 major mode, print the parent mode.
24858
24859 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24860 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24861
24862 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24863
24864 * minibuffer.el (completion--capf-wrapper): Check applicability before
24865 returning non-nil for non-exclusive completion data.
24866 * progmodes/etags.el (tags-completion-at-point-function):
24867 * info-look.el (info-lookup-completions-at-point): Mark as
24868 non-exclusive.
24869 (info-complete): Adjust accordingly.
24870
24871 * info-look.el: Convert to lexical-binding and completion-at-point.
24872 (info-lookup-completions-at-point): New function.
24873 (info-complete): Use it and completion-in-region.
24874
24875 2011-05-28 Drew Adams <drew.adams@oracle.com>
24876
24877 * isearch.el: Let M-e start with point at the first mismatched char.
24878 (isearch-fail-pos): New function.
24879 (isearch-edit-string): Use it.
24880
24881 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24882
24883 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24884
24885 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24886
24887 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24888 traversal functions for avl-trees.
24889 (avl-tree--stack): New struct.
24890 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24891 (avl-tree-enter): Add optional `updatefun' arg.
24892 (avl-tree--do-enter): Add optional `updatefun' arg.
24893 Change return value.
24894 (avl-tree-delete): Add optional `test' and `nilflag' args.
24895 (avl-tree--do-delete): Add `test' and `nilflag' args.
24896 Change return value.
24897 (avl-tree-member): Add optional `nilflag'
24898 (avl-tree-member-p): New function.
24899 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24900 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24901 (avl-tree-stack-empty-p): New functions.
24902
24903 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24904 avl-tree--del-balance1 and make it work both ways.
24905 (avl-tree--del-balance2): Remove.
24906 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24907 make it work both ways.
24908 (avl-tree--enter-balance2): Remove.
24909 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24910 New macros.
24911 (avl-tree--mapc, avl-tree-map): Add direction argument.
24912
24913 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24914
24915 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24916
24917 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24918
24919 * select.el: Support clipboard managers with built-in function
24920 x-clipboard-manager-save, via delete-frame-functions and
24921 kill-emacs-hook.
24922 (xselect-convert-to-targets): Add MULTIPLE target to list.
24923 (xselect-convert-to-save-targets): New function.
24924
24925 2011-05-27 Kenichi Handa <handa@m17n.org>
24926
24927 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24928 let-binding rfc2047-encode-encoded-words to nil.
24929
24930 2011-05-27 Glenn Morris <rgm@gnu.org>
24931
24932 * mail/emacsbug.el: Don't require url-util.
24933
24934 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24935
24936 * files.el (set-auto-mode):
24937 Also respect mode: entries at the end of the file. (Bug#8586)
24938
24939 2011-05-26 Glenn Morris <rgm@gnu.org>
24940
24941 * files.el (hack-local-variables-prop-line, hack-local-variables):
24942 Downcase mode names, as seems to be traditional.
24943 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24944
24945 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24946 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24947
24948 2011-05-25 Julien Danjou <julien@danjou.info>
24949
24950 * textmodes/rst.el (rst-define-level-faces): Do not define face
24951 symbol if it is already defined.
24952
24953 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
24954
24955 * play/5x5.el (5x5-new-game, 5x5-randomize):
24956 Reset 5x5-solver-output to nil when a new grid is cast.
24957 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24958 these debugging traces, as defmacro breaks the compiled code.
24959
24960 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24961
24962 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24963
24964 2011-05-24 Leo Liu <sdl.web@gmail.com>
24965
24966 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24967 (vc-bzr-sha1): Adapt.
24968
24969 * sha1.el: Remove. Function `sha1' is now builtin.
24970
24971 * bindings.el: Provide sha1 feature.
24972
24973 2011-05-24 Kenichi Handa <handa@m17n.org>
24974
24975 * mail/sendmail.el: Require `rfc2047'.
24976 (mail-insert-from-field): Do not perform RFC2047 encoding.
24977 (mail-encode-header): New function.
24978 (sendmail-send-it): Set buffer-file-coding-system of the work
24979 buffer to the return value of select-message-coding-system.
24980 Call mail-encode-header.
24981
24982 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24983
24984 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24985
24986 * mail/supercite.el (sc-default-cite-frame):
24987 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24988
24989 2011-05-24 Glenn Morris <rgm@gnu.org>
24990
24991 * progmodes/python.el (brm-menu): Declare.
24992
24993 * emulation/viper.el (viper-set-hooks): Declare.
24994
24995 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24996 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24997 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24998 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24999 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25000 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25001
25002 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25003
25004 Add an :exit-function for completion-at-point.
25005
25006 * minibuffer.el (completion--done): New fun.
25007 (completion--do-completion): Use it. New arg `expect-exact'.
25008 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25009 since completion--do-completion does it for us now.
25010 (minibuffer-force-complete): Use completion--done and
25011 completion--replace. Handle sole-completion case with more care.
25012 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25013 (completion-extra-properties): New var.
25014 (completion-annotate-function): Make obsolete.
25015 (minibuffer-completion-help): Adjust accordingly.
25016 Use completion-list-insert-choice-function.
25017 (completion-at-point, completion-help-at-point):
25018 Bind completion-extra-properties.
25019 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25020 * simple.el (completion-list-insert-choice-function): New var.
25021 (completion-setup-function): Preserve it.
25022 (choose-completion): Pay attention to it, shuffle the code a bit.
25023 (choose-completion-string): New arg `insert-function'.
25024
25025 * textmodes/bibtex.el: Convert to lexical binding.
25026 (bibtex-mode-map): Use completion-at-point.
25027 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25028 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25029 (bibtex-complete): Define as obsolete alias.
25030 (bibtex-complete-internal): Remove.
25031 (bibtex-format-entry): Remove unused sub-group in regexp.
25032 * shell.el (shell--command-completion-data)
25033 (shell-environment-variable-completion):
25034 * pcomplete.el (pcomplete-completions-at-point):
25035 * comint.el (comint--complete-file-name-data): Use :exit-function
25036 instead of completion-table-with-terminator so it also works for
25037 choose-completion.
25038
25039 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25040
25041 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25042
25043 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25044 (bug#8710).
25045
25046 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25047
25048 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25049
25050 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25051 customization variable and implement: If non-nil, auto-fill will
25052 be inhibited while on topic's header line.
25053
25054 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
25055
25056 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25057 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25058 always have a solution in grid size = 5 cases.
25059 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25060 (5x5-solver-output, 5x5-log-buffer): New vars.
25061 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25062 Make these variables buffer local to achieve 5x5 multi-session-ness.
25063 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25064 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25065 (5x5-solve-suggest): New funs.
25066 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25067 randomize a grid so that we ensure that there is always a solution.
25068 (5x5-make-random-grid): Allow other movement than flipping.
25069
25070 2011-05-23 Kevin Ryde <user42@zip.com.au>
25071
25072 * emacs-lisp/advice.el (ad-read-advised-function):
25073 Use `function-called-at-point' as the default, if it has
25074 advice and passes PREDICATE.
25075
25076 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25077
25078 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25079 byte-compile-lambda if it's actually a lambda.
25080
25081 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25082 Fix function quoting. Use backquote better.
25083
25084 2011-05-22 Yuanle Song <sylecn@gmail.com>
25085
25086 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25087 matching (Bug#8516).
25088
25089 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25090
25091 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25092 different face (Bug#8178).
25093
25094 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25095
25096 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25097 defface (Bug#8144).
25098
25099 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25100
25101 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25102 funcall as well (bug#8712). Warn when performing those conversions.
25103 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25104
25105 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25106
25107 2011-05-22 Glenn Morris <rgm@gnu.org>
25108
25109 * files.el (hack-local-variables-prop-line): Small simplifications.
25110 (hack-local-variables, hack-local-variables-prop-line):
25111 If MODE-ONLY, return the mode, rather than just `t'.
25112
25113 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25114
25115 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25116
25117 2011-05-21 Glenn Morris <rgm@gnu.org>
25118
25119 * files.el (hack-local-variables-prop-line, hack-local-variables):
25120 If only interested in the mode, don't bother doing the other stuff.
25121
25122 * image-mode.el (image-after-revert-hook):
25123 Redraw all frames on which the image is visible. (Bug#8567)
25124
25125 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25126
25127 * wid-edit.el (widget-checklist-match-inline):
25128 Fix 2011-04-19 change. (Bug#8649)
25129
25130 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25131
25132 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25133 Also allow singlespace after single-letter capitals followed by a dot.
25134
25135 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25136 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25137
25138 2011-05-20 Nix <nix@esperi.org.uk>
25139
25140 * files.el (basic-save-buffer-2):
25141 Fix handling of break-hardlink-on-save with non-existent files.
25142
25143 2011-05-19 Deniz Dogan <deniz@dogan.se>
25144
25145 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25146 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25147
25148 2011-05-19 Glenn Morris <rgm@gnu.org>
25149
25150 * progmodes/f90.el (f90-type-def-re):
25151 Handle "type, bind(c)". (Bug#8691)
25152
25153 * emacs-lisp/autoload.el (batch-update-autoloads):
25154 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25155
25156 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25157
25158 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25159 property for the correct connection in case of multihops.
25160
25161 2011-05-18 Glenn Morris <rgm@gnu.org>
25162
25163 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25164 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25165
25166 Rationalize calendar handling of day and month abbrev-arrays.
25167 * calendar/calendar.el (calendar-customized-p): New function.
25168 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25169 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25170 Add :set function.
25171 (calendar-abbrev-length, calendar-day-abbrev-array)
25172 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25173 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25174 Elements may no longer be nil.
25175 (calendar-day-name, calendar-month-name):
25176 Update for changed nature of abbrev arrays.
25177 * calendar/diary-lib.el (diary-name-pattern):
25178 Update for changed nature of abbrev arrays.
25179 (diary-mark-entries-1): Update calendar-make-alist calls.
25180 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25181 * calendar/cal-html.el (cal-html-day-abbrev-array):
25182 Simply inherit from calendar-day-abbrev-array.
25183
25184 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25185
25186 * progmodes/grep.el (grep-mode): Disable default
25187 compilation-directory-matcher setting (bug#8684).
25188
25189 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25190
25191 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25192 instead of "head" and "tail". There were problems with SunOS 5.9,
25193 and it performs better.
25194
25195 2011-05-17 Glenn Morris <rgm@gnu.org>
25196
25197 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25198
25199 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25200 Replace obsolete function.
25201
25202 * shell.el (pcomplete-parse-arguments-function): Declare.
25203
25204 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25205 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25206 (appt-check): Doc fixes.
25207 (appt-disp-window-function, appt-delete-window-function):
25208 Remove needless special case in custom :type.
25209 (appt-display-count): Default to 0, not nil.
25210 (appt-check): Reset appt-display-count to 0, not nil.
25211
25212 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25213
25214 * progmodes/python.el (python-font-lock-keywords):
25215 Add the Python 3.X keyword "nonlocal" (bug#8639).
25216
25217 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25218
25219 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25220
25221 2011-05-16 Kevin Ryde <user42@zip.com.au>
25222
25223 * info-look.el (makefile-automake-mode): New setups, looking in
25224 automake manual, then makefile-mode.
25225 (makefile-mode): Remove automake manual, have it just in
25226 makefile-automake-mode since there's various things different or
25227 not relevant to plain make.
25228 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25229 believe a hypothetical automake-mode would go to makefile-mode,
25230 not the other way around.
25231
25232 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25233
25234 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25235 hunk-end tags (Bug#8672).
25236
25237 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25238 vc-annotate-show-diff-revision-at-line (Bug#8671).
25239
25240 2011-05-14 Glenn Morris <rgm@gnu.org>
25241
25242 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25243 in the middle of an existing one with multiple authors. (Bug#8645)
25244 (change-log-font-lock-keywords): Also handle multiple author lines
25245 with leading tabs. (Bug#8644)
25246
25247 * calendar/appt.el (appt-check): Rename some local variables.
25248 Some simplification/reordering.
25249
25250 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25251 (feedmail-sendmail-f-doesnt-sell-me-out)
25252 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25253 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25254 (feedmail-queue-runner-message-sender): Set :version.
25255 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25256 (bbdb-dwim-net-address, vm-mail): Declare.
25257 (feedmail-binmail-gnulinuxish-template):
25258 Rename from feedmail-binmail-linuxish-template.
25259 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25260 Use insert-buffer-substring.
25261
25262 2011-05-14 Bill Carpenter <bill@carpenter.org>
25263
25264 * mail/feedmail.el (feedmail-patch-level): Increase.
25265 (feedmail-debug): New custom group.
25266 (feedmail-confirm-outgoing-timeout)
25267 (feedmail-sendmail-f-doesnt-sell-me-out)
25268 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25269 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25270 (feedmail-sender-line, feedmail-from-line)
25271 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25272 (feedmail-spray-this-address)
25273 (feedmail-spray-address-fiddle-plex-list)
25274 (feedmail-queue-use-send-time-for-date)
25275 (feedmail-queue-use-send-time-for-message-id)
25276 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25277 (feedmail-buffer-eating-function):
25278 Doc fixes.
25279 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25280 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25281 (feedmail-message-action-scroll-down): New functions.
25282 (feedmail-queue-directory, feedmail-queue-draft-directory):
25283 Use expand-file-name.
25284 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25285 Remove C-v help entry.
25286 (feedmail-queue-buffer-file-name): New variable.
25287 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25288 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25289 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25290 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25291 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25292 (feedmail-message-action-toggle-spray)
25293 (feedmail-run-the-queue-no-prompts)
25294 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25295 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25296 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25297 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25298 (feedmail-envelope-deducer, feedmail-fiddle-from)
25299 (feedmail-fiddle-sender, feedmail-default-date-generator)
25300 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25301 (feedmail-fiddle-spray-address)
25302 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25303 (feedmail-fiddle-list-of-fiddle-plexes)
25304 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25305 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25306 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25307 Change default. Doc fix.
25308 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25309 (feedmail-binmail-linuxish-template): New constant.
25310 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25311 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25312 (feedmail-send-it): Add debug call.
25313 Use feedmail-queue-buffer-file-name, and
25314 feedmail-send-it-immediately-wrapper.
25315 (feedmail-message-action-send): Add debug call.
25316 Use feedmail-send-it-immediately-wrapper.
25317 (feedmail-queue-express-to-queue): Add debug call.
25318 Run feedmail-queue-express-hook.
25319 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25320 (feedmail-message-action-help-blat):
25321 Rename from feedmail-queue-send-edit-prompt-help-first.
25322 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25323 Check line-endings. Handle errors better.
25324 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25325 Doc fix. Add debug call.
25326 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25327 Use feedmail-queue-send-edit-prompt-inner.
25328 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25329 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25330 from feedmail-queue-send-edit-prompt.
25331 (feedmail-queue-send-edit-prompt-help)
25332 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25333 (feedmail-tidy-up-slug): Add debug call.
25334 Respect feedmail-queue-slug-suspect-regexp.
25335 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25336 (feedmail-dump-message-to-queue): Add debug call.
25337 Expand queue-directory.
25338 (feedmail-dump-message-to-queue): Change message slightly.
25339 Use feedmail-say-chatter.
25340 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25341 (feedmail-send-it-immediately-wrapper): New function.
25342 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25343 Insert empty string rather than newline. Handle full-frame case.
25344 Use catch/throw. Use feedmail-say-chatter.
25345 (feedmail-fiddle-from): Try mail-host-address.
25346 (feedmail-default-message-id-generator): Doc fix.
25347 Bind system-time-locale. Handle missing end.
25348 (feedmail-fiddle-x-mailer): Add debug call.
25349 Handle feedmail-x-mailer-line being nil.
25350 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25351 Add debug call. Use buffer-substring-no-properties.
25352 (feedmail-say-debug, feedmail-say-chatter): New functions.
25353 (feedmail-find-eoh): Give an explicit error.
25354
25355 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25356
25357 * net/newst-treeview.el (newsticker-treeview-face): Change default
25358 family from helvetica to sans.
25359 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25360 etc/images/newsticker.
25361
25362 * net/newst-reader.el (newsticker-feed-face): Change default
25363 family from helvetica to sans.
25364
25365 * net/newst-plainview.el (newsticker-new-item-face)
25366 (newsticker-old-item-face, newsticker-immortal-item-face)
25367 (newsticker-obsolete-item-face, newsticker-date-face)
25368 (newsticker-statistics-face): Change default family from
25369 helvetica to sans.
25370 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25371 etc/images/newsticker.
25372
25373 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25374 (newsticker--process-auto-mark-filter-match): Tell user about
25375 auto-marking.
25376
25377 2011-05-13 Didier Verna <didier@xemacs.org>
25378
25379 Common Lisp indentation improvements on defmethod and lambda-lists.
25380 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25381 TODO entries.
25382 (lisp-lambda-list-keyword-parameter-indentation)
25383 (lisp-lambda-list-keyword-parameter-alignment)
25384 (lisp-lambda-list-keyword-alignment): New customizable user options.
25385 (lisp-indent-defun-method): Improve docstring.
25386 (extended-loop-p): Fix comment.
25387 (lisp-indent-lambda-list-keywords-regexp): New variable.
25388 (lisp-indent-lambda-list): New function.
25389 (lisp-indent-259): Use it.
25390 (lisp-indent-defmethod): Support for more than one
25391 method qualifier and properly indent methods lambda-lists.
25392 (defgeneric): Provide a missing common-lisp-indent-function property.
25393
25394 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25395
25396 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25397 bounds for the empty string (bug#8667).
25398
25399 2011-05-13 Glenn Morris <rgm@gnu.org>
25400
25401 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25402
25403 * mail/sendmail.el (sendmail-program): Try executable-find first.
25404 (sendmail-send-it): `sendmail-program' cannot be unbound.
25405
25406 * calendar/appt.el (appt-make-list): Simplify.
25407 (appt-time-msg-list): Doc fix.
25408 (appt-check): Change mode-line message at the time of the appointment.
25409
25410 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25411
25412 * progmodes/ld-script.el (ld-script-keywords)
25413 (ld-script-builtins): Update keywords list.
25414
25415 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25416
25417 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25418
25419 * shell.el (shell-completion-vars): New function.
25420 (shell-mode):
25421 * simple.el (read-shell-command): Use it.
25422 (blink-matching-open): No need for " [...]" in minibuffer-message.
25423
25424 2011-05-12 Glenn Morris <rgm@gnu.org>
25425
25426 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25427 (appt-check): Simplify.
25428
25429 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25430
25431 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25432 literal "/dev/null".
25433
25434 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25435
25436 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25437 Fix typo.
25438
25439 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25440
25441 * progmodes/which-func.el (which-function):
25442 Use add-log-current-defun instead of add-log-current-defun-function,
25443 which might not be defined (Bug#8260).
25444
25445 2011-05-12 Glenn Morris <rgm@gnu.org>
25446
25447 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25448 Let byte-compile-initial-macro-environment always take precedence.
25449
25450 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25451
25452 * net/rcirc.el: Add support for SSL/TLS connections.
25453 (rcirc-server-alist): New field `encryption'.
25454 (rcirc): Check `encryption' settings.
25455 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25456 Merge make-local-variable into `set'.
25457 (rcirc--connection-open-p): New function.
25458 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25459 the process is not a network process (e.g. running gnutls-cli).
25460 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25461 Make rcirc-(en|de)code-coding-system local here.
25462 (rcirc-mode): Merge make-local-variable into `set'.
25463 (rcirc-parent-buffer): Make permanent buffer-local.
25464 (rcirc-multiline-minor-mode): Don't do it here.
25465 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25466 there's no server buffer.
25467
25468 2011-05-11 Glenn Morris <rgm@gnu.org>
25469
25470 * newcomment.el (comment-kill): Prefix "unused" local.
25471
25472 * term/w32console.el (get-screen-color): Declare.
25473
25474 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25475 Handle symbol elements of byte-compile-initial-macro-environment.
25476
25477 2011-05-10 Leo Liu <sdl.web@gmail.com>
25478
25479 * bookmark.el (bookmark-bmenu-mode-map):
25480 Bind bookmark-bmenu-search to `/'.
25481
25482 * mail/footnote.el: Convert to utf-8 encoding.
25483 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25484 (Footnote-unicode): New function.
25485 (footnote-style-alist): Add unicode style to the list.
25486 (footnote-style): Doc fix.
25487
25488 2011-05-10 Jim Meyering <meyering@redhat.com>
25489
25490 Fix doubled-word typos.
25491 * international/quail.el (quail-insert-kbd-layout): and and -> and
25492 * kermit.el: and and -> and
25493 * net/ldap.el (ldap-search-internal): to to -> to
25494 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25495 * progmodes/js.el (js-mode): and and -> and
25496 * textmodes/artist.el (artist-move-to-xy): at at -> at
25497 (artist-draw-region-trim-line-endings): if if -> if
25498 And Safetyc -> Safety.
25499 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25500
25501 2011-05-10 Glenn Morris <rgm@gnu.org>
25502 Stefan Monnier <monnier@iro.umontreal.ca>
25503
25504 * files.el (hack-one-local-variable-eval-safep):
25505 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25506
25507 2011-05-10 Glenn Morris <rgm@gnu.org>
25508
25509 * calendar/diary-lib.el (diary-list-entries-hook)
25510 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25511 (diary-nongregorian-marking-hook, diary-list-entries)
25512 (diary-include-other-diary-files, diary-mark-entries)
25513 (diary-mark-included-diary-files): Doc fixes.
25514
25515 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25516
25517 * misc.el: Require tabulated-list.el during compilation.
25518
25519 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25520
25521 * progmodes/compile.el (compilation-start):
25522 Run compilation-filter-hook for the async case too.
25523 (compilation-filter-hook): Doc fix.
25524
25525 2011-05-09 Deniz Dogan <deniz@dogan.se>
25526
25527 * wdired.el: Remove outdated installation comment. Fix usage
25528 comment.
25529
25530 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25531
25532 * misc.el: Implement new command `list-dynamic-libraries'.
25533 (list-dynamic-libraries--loaded-only-p): New variable.
25534 (list-dynamic-libraries--refresh): New function.
25535 (list-dynamic-libraries): New command.
25536
25537 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25538
25539 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25540 Fix the ant regexp to handle end-line and end-column info from jikes.
25541 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25542 higher priority to avoid clobbering by gnu.
25543
25544 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25545
25546 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25547 if the face has existing theme settings (Bug#8454).
25548
25549 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25550
25551 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25552 Only match variables declared via `my' or `our' (Bug#8261).
25553
25554 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25555 special file names `.' and `..' (Bug#8259).
25556
25557 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25558
25559 * progmodes/grep.el (grep-mode-font-lock-keywords):
25560 Remove buffer-changing entries.
25561 (grep-filter): New function.
25562 (grep-mode): Add it to compilation-filter-hook.
25563
25564 * progmodes/compile.el (compilation-filter-hook)
25565 (compilation-filter-start): New defvars.
25566 (compilation-filter): Call compilation-filter-hook prior to
25567 updating the process mark.
25568
25569 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25570
25571 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25572
25573 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25574
25575 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25576 mailclient-send-it even if window-system is nil. (Bug#8595)
25577
25578 * term/w32console.el (terminal-init-w32console):
25579 Call get-screen-color and use its output to set the frame
25580 background-mode. (Bug#8597)
25581
25582 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25583
25584 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25585 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25586 New functions.
25587 (defgeneric, eieio--defmethod): Use them.
25588 (eieio-defgeneric): Remove.
25589 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25590
25591 2011-05-07 Glenn Morris <rgm@gnu.org>
25592
25593 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25594 Use let rather than let*.
25595 (timeclock-find-discrep): Remove unused local.
25596
25597 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25598
25599 * calendar/appt.el (appt-time-msg-list): Doc fix.
25600
25601 2011-05-06 Noah Friedman <friedman@splode.com>
25602
25603 * apropos.el (apropos-print-doc): Only use
25604 emacs-lisp-docstring-fill-column when it is bound to an integer,
25605 per that variable's documentation.
25606
25607 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25608
25609 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25610 and warnings are not silently discarded (e.g. use -d instead of -P).
25611
25612 2011-05-06 Glenn Morris <rgm@gnu.org>
25613
25614 * calendar/appt.el (appt-message-warning-time): Doc fix.
25615 (appt-warning-time-regexp): New option.
25616 (appt-make-list): Respect appt-message-warning-time.
25617
25618 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25619 New options.
25620 (diary-add-to-list): Strip comments from the displayed string.
25621 (diary-mode): Set comment-start and comment-end.
25622
25623 * vc/diff-mode.el (smerge-refine-subst): Declare.
25624 (diff-refine-hunk): Don't require smerge-mode when compiling.
25625
25626 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25627
25628 * simple.el (list-processes): Return nil as the docstring says.
25629
25630 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25631
25632 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25633 to "".
25634 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25635 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25636 determining of binary transfer. (Bug#7383)
25637
25638 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25639
25640 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25641 Fix port computation bug. (Bug#8618)
25642
25643 2011-05-05 Glenn Morris <rgm@gnu.org>
25644
25645 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25646
25647 * simple.el (shell-dynamic-complete-functions)
25648 (comint-dynamic-complete-functions): Declare.
25649
25650 * net/network-stream.el (gnutls-negotiate):
25651 * simple.el (tabulated-list-print): Fix declarations.
25652
25653 * progmodes/gud.el (syntax-symbol, syntax-point):
25654 Remove unnecessary and incorrect declarations.
25655
25656 * emacs-lisp/check-declare.el (check-declare-scan):
25657 Handle byte-compile-initial-macro-environment in bytecomp.el.
25658
25659 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25660
25661 Fix earlier half-done eieio-defmethod change (bug#8338).
25662 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25663 Streamline and change calling convention.
25664 (defmethod): Adjust accordingly and simplify.
25665 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25666 new eieio--defmethod.
25667 (slot-boundp): Minor CSE simplification.
25668
25669 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25670
25671 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25672 (glasses-make-readable): Use glasses-separate-capital-groups.
25673
25674 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25675
25676 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25677 (warning-series): Doc fix.
25678 (display-warning): Don't try to create the buffer if we just found it.
25679
25680 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25681
25682 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25683 (autoload-find-generated-file): New function.
25684 (generate-file-autoloads): Bind generated-autoload-file to
25685 buffer-file-name.
25686 (update-file-autoloads, update-directory-autoloads):
25687 Use autoload-find-generated-file. If called interactively, prompt for
25688 output file (Bug#7989).
25689 (batch-update-autoloads): Doc fix.
25690
25691 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25692
25693 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25694
25695 2011-05-04 Glenn Morris <rgm@gnu.org>
25696
25697 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25698 function, so it follows changes in calendar-date-style.
25699 (diary-fancy-date-matcher): New function.
25700 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25701 (diary-fancy-font-lock-fontify-region-function):
25702 Use diary-fancy-date-pattern as a function.
25703
25704 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25705 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25706
25707 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25708
25709 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25710 instead of positional arguments. Allow :keylist and :crlfiles
25711 arguments.
25712 (open-gnutls-stream): Call it.
25713
25714 * net/network-stream.el (network-stream-open-starttls): Adjust to
25715 call `gnutls-negotiate' with :process and :hostname arguments.
25716
25717 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25718
25719 * minibuffer.el (completion--message): New function.
25720 (completion--do-completion, minibuffer-complete)
25721 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25722 (completion--do-completion): Don't ignore completion-auto-help when in
25723 icomplete-mode.
25724
25725 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25726 internal encoding (e.g. tibetan zero is not whitespace).
25727 (global-whitespace-mode): Prefer save-current-buffer.
25728 (whitespace-trailing-regexp): Remove useless save-match-data.
25729 (whitespace-empty-at-bob-regexp): Minor simplification.
25730
25731 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25732
25733 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25734
25735 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25736
25737 * textmodes/ispell.el (ispell-add-per-file-word-list):
25738 Use `concat' to create string for insertion.
25739
25740 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25741
25742 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25743 Avoid open-line which runs post-self-insert-hook.
25744 (bibtex-fill-entry): Remove unused `end' var.
25745
25746 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25747
25748 * textmodes/ispell.el (ispell-add-per-file-word-list):
25749 Protect against `nil' value of `comment-start' (Bug#8579).
25750
25751 2011-05-03 Leo Liu <sdl.web@gmail.com>
25752
25753 * isearch.el (isearch-yank-pop): New command.
25754 (isearch-mode-map): Bind it to `M-y'.
25755 (isearch-forward): Mention it.
25756
25757 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25758
25759 * simple.el (minibuffer-complete-shell-command): Remove.
25760 (minibuffer-local-shell-command-map): Use completion-at-point.
25761 (read-shell-command): Setup completion vars here instead.
25762 (read-expression-map): Bind TAB to symbol completion.
25763
25764 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25765 error directly rather via storing it into `results'.
25766
25767 2011-05-02 Leo Liu <sdl.web@gmail.com>
25768
25769 * vc/diff.el: Fix description.
25770
25771 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25772
25773 * server.el (server-eval-at): New function.
25774
25775 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25776
25777 * net/network-stream.el (open-network-stream): Take a :nowait
25778 parameter and pass it on to `make-network-process'.
25779 (network-stream-open-plain): Ditto.
25780
25781 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25782
25783 * faces.el (face-spec-set-match-display): Don't match toolkit
25784 options on terminal frames.
25785
25786 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25787
25788 * progmodes/pascal.el: Use lexical binding.
25789 (pascal-mode-map): Remove author preferences.
25790
25791 * pcomplete.el (pcomplete-std-complete): Don't abuse
25792 completion-at-point.
25793
25794 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25795
25796 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25797 removing code that has been dead since 1991 or so.
25798
25799 * startup.el (command-line): When warning about "_emacs", use a
25800 delayed warning to allow the user to filter it out.
25801
25802 2011-04-28 Deniz Dogan <deniz@dogan.se>
25803
25804 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25805 user has not joined.
25806
25807 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25808
25809 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25810 aren't any completions at point.
25811
25812 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25813
25814 * subr.el (display-delayed-warnings): New function.
25815 (delayed-warnings-hook): New variable.
25816
25817 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25818
25819 * minibuffer.el (completion-at-point, completion-help-at-point):
25820 Don't presume that a given completion-at-point-function will always
25821 use the same calling convention.
25822
25823 * pcomplete.el (pcomplete-completions-at-point):
25824 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25825 pcomplete-seen is non-nil.
25826 (pcomplete-comint-setup): Also recognize the new comint/shell
25827 completion functions.
25828 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25829 pcomplete-seen is non-nil.
25830
25831 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25832
25833 * calendar/icalendar.el (diary-lib): Add require statement.
25834 (icalendar--create-uid): Read out a uid from a text-property on
25835 the first character in the entry. This allows for code to add its
25836 own uid to the entry.
25837 (icalendar--convert-float-to-ical): Add export of
25838 `diary-float'-entries save for those with the optional DAY
25839 argument.
25840
25841 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25842
25843 * subr.el (shell-quote-argument): Use alternate escaping strategy
25844 when we spot a variable reference in a string.
25845
25846 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25847
25848 * cus-start.el (all): Define customization for debug-on-event.
25849
25850 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25851
25852 * subr.el (shell-quote-argument): Escape correctly under Windows.
25853
25854 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25855
25856 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25857
25858 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25859
25860 * net/tramp.el (tramp-process-actions): Add POS argument.
25861 Delete region between POS and (pos).
25862
25863 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25864 Use `nil' position in `tramp-process-actions' call.
25865 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25866
25867 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25868 position in `tramp-process-actions' call.
25869
25870 * net/trampver.el: Update release number.
25871
25872 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25873
25874 * custom.el (defcustom): Obey lexical-binding.
25875
25876 Fix octave-inf completion problems reported by Alexander Klimov.
25877 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25878 Inherit from octave-mode-syntax-table.
25879 (inferior-octave-mode): Set info-lookup-mode.
25880 (inferior-octave-completion-at-point): New function.
25881 (inferior-octave-complete): Use it and completion-in-region.
25882 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25883 comint-filename-completion.
25884 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25885 symbol elements which shouldn't be word elements.
25886 (octave-font-lock-keywords, octave-beginning-of-defun)
25887 (octave-function-header-regexp): Adjust regexps accordingly.
25888 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25889
25890 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25891
25892 * net/gnutls.el (gnutls-errorp): Declare before first use.
25893
25894 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25895
25896 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25897 verify-error, and verify-hostname-error parameters. Check whether
25898 default trustfile exists before going to use it. Add missing
25899 argument to gnutls-message-maybe call. Return value.
25900 Reported by Claudio Bley <claudio.bley@gmail.com>.
25901 (open-gnutls-stream): Add usage example.
25902
25903 * net/network-stream.el (network-stream-open-starttls): Give host
25904 parameter to `gnutls-negotiate'.
25905 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25906 * subr.el (shell-quote-argument): Escape correctly under Windows.
25907
25908 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25909
25910 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25911 Use correct match group (bug#8438).
25912
25913 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25914
25915 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25916 (package-menu--generate): New arg specifying packages to show.
25917 (package-menu-refresh, package-menu-execute, list-packages):
25918 Callers changed.
25919 (package-show-package-list): New function, replacing deleted
25920 package--list-packages (renamed because it is non-internal).
25921
25922 * finder.el (finder-list-matches): Use package-show-package-list
25923 instead of deleted package--list-packages.
25924
25925 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25926 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25927 (vc-annotate-mode-map): Bind it to RET.
25928
25929 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25930
25931 * progmodes/etags.el (next-file): Don't use set-buffer to change
25932 buffers (Bug#8478).
25933
25934 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25935
25936 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25937
25938 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25939 (apropos-accumulator): Doc fix.
25940 (apropos-function, apropos-macro, apropos-command)
25941 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25942 (apropos-plist): Add face property.
25943 (apropos-symbols-internal): Fix indentation.
25944 (apropos-print): Simplify help, and recognize apropos-multi-type.
25945 (apropos-print-doc): Use button-type-get to extract the button's
25946 face property. Fill docstring (Bug#8352).
25947
25948 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25949
25950 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25951
25952 * play/mpuz.el (mpuz-silent): Doc fix.
25953 (mpuz-mode-map): Use mapc.
25954 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25955 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25956 Fix typos in docstrings.
25957
25958 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25959 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25960
25961 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25962
25963 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25964
25965 * minibuffer.el (completion--do-completion): Avoid the "Next char
25966 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25967
25968 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25969 mouse-2 into unread-command-events, it is interpreted correctly.
25970
25971 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25972 (image-toggle-display): Doc fix.
25973
25974 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25975
25976 * textmodes/page.el (what-page): Use line-number-at-pos to
25977 calculate line number (Bug#6825).
25978
25979 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25980
25981 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25982 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25983 Pass argument NO-DEFAULT to `find-tag-interactive'.
25984
25985 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25986
25987 Lexical-binding cleanup.
25988
25989 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25990 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25991 * progmodes/ada-prj.el (ada-prj-initialize-values)
25992 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25993 (ada-prj-show-value):
25994 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25995 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25996 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25997 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25998 * progmodes/bug-reference.el (bug-reference-push-button):
25999 * progmodes/fortran.el (fortran-line-length):
26000 * progmodes/glasses.el (glasses-change):
26001 * progmodes/octave-mod.el (octave-fill-paragraph):
26002 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26003 (python-pdbtrack-grub-for-buffer, python-sentinel):
26004 * progmodes/sql.el (sql-save-connection):
26005 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26006 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26007 Mark unused parameters.
26008
26009 * progmodes/compile.el (compilation--flush-directory-cache)
26010 (compilation--flush-parse, compile-internal): Mark unused parameters.
26011 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26012 (compilation-next-error-function): Remove unused variable `timestamp'.
26013
26014 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26015 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26016
26017 * progmodes/dcl-mode.el (dcl-end-of-command):
26018 Remove unused variable `start'.
26019 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26020 (dcl-option-value-basic, dcl-option-value-offset)
26021 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26022 Mark unused parameters.
26023 (dcl-save-local-variable): Remove unused variable `val'.
26024 (mode): Declare.
26025
26026 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26027 Mark unused parameters.
26028 (delphi-ignore-changes): Move before first use.
26029 (delphi-charset-token-at): Remove unused variable `start'.
26030 (delphi-else-start): Remove unused variable `if-count'.
26031 (delphi-comment-block-start, delphi-comment-block-end):
26032 Remove unused variable `kind'.
26033 (delphi-indent-line): Remove unused variable `new-point'.
26034
26035 * progmodes/ebrowse.el (ebrowse-files-list)
26036 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26037 Mark unused parameters. Don't quote `lambda'.
26038 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26039 Don't quote `lambda'.
26040 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26041 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26042 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26043 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26044 Use `ignore-errors'.
26045 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26046 (ebrowse-view/find-file-and-search-pattern)
26047 (ebrowse-view/find-member-declaration/definition):
26048 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26049 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26050 Rename parameter PREFIX-ARG to PREFIX.
26051 (ebrowse-tags-read-name): Remove unused variables `start' and
26052 `member-info'.
26053 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26054 to `tags-file'.
26055
26056 * progmodes/etags.el (local-find-tag-hook): Declare.
26057 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26058 Mark unused parameters.
26059
26060 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26061 (executable-interpret): Mark unused parameter.
26062
26063 * progmodes/flymake.el (flymake-process-sentinel)
26064 (flymake-after-change-function)
26065 (flymake-create-temp-with-folder-structure)
26066 (flymake-get-include-dirs-dot): Mark unused parameters.
26067 (flymake-safe-delete-directory): Remove unused variable `err'.
26068
26069 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26070 (speedbar-timer-fn, speedbar-line-text)
26071 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26072 (speedbar-center-buffer-smartly): Declare functions.
26073 (gdb-find-watch-expression): Remove unused variable `array'.
26074 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26075 (gdb-starting): Mark unused parameters.
26076 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26077 (gdb-table-string): Remove unused variable `res'.
26078 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26079 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26080 (gdb-display-buffer): Remove unused variable `cur-size'.
26081
26082 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26083 allow lexical-binding compilation.
26084 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26085 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26086 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26087 Mark unused parameters.
26088 (gud-gdb-marker-filter): Remove unused variable `match'.
26089 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26090 lambda expressions and funcall them, instead of using `fset'.
26091
26092 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26093 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26094
26095 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26096 variable `header-beg'; use `let'.
26097
26098 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26099 `restart', `last-sexp' and `at-do'.
26100
26101 * progmodes/js.el (js--debug): Mark unused parameter.
26102 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26103 (js--splice-into-items): Remove unused variable `item'.
26104 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26105
26106 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26107 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26108 (makefile-complete): Remove unused variable `try'.
26109 (makefile-fill-paragraph, makefile-match-function-end):
26110 Mark unused parameters.
26111
26112 * progmodes/octave-inf.el (inferior-octave-complete):
26113 Remove unused variable `proc'.
26114 (inferior-octave-output-digest): Mark unused parameter.
26115
26116 * progmodes/perl-mode.el (perl-calculate-indent):
26117 Remove unused variable `err'.
26118
26119 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26120 (prolog-indent-line): Mark unused parameters.
26121 (prolog-indent-line): Remove unused variable `beg'.
26122
26123 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26124 (reporter-dont-compact-list): Declare.
26125
26126 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26127 Remove unused variable `char'.
26128 (sh-debug): Mark unused parameter.
26129 (sh-get-indent-info): Remove unused variable `start'.
26130 (sh-calculate-indent): Remove unused variable `var'.
26131
26132 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26133 (simula-electric-keyword): Remove unused variable `null'.
26134 (simula-search-backward, simula-search-forward): Remove unused
26135 variables `begin' and `end'.
26136
26137 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26138 Remove unused variable `pos'.
26139 (vera-electric-tab, vera-comment-uncomment-region):
26140 Mark unused parameters.
26141 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26142
26143 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26144
26145 * emacs-lisp/package.el (package--builtins, package-alist)
26146 (package-load-descriptor, package-built-in-p, package-activate)
26147 (define-package, package-installed-p)
26148 (package-compute-transaction, package-buffer-info)
26149 (package--push): Doc fix. Distinguish more clearly between
26150 version strings and version lists.
26151
26152 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26153
26154 Lexical-binding cleanup.
26155
26156 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26157 (5x5-make-mutate-best):
26158 * play/fortune.el (fortune-in-buffer):
26159 * play/gomoku.el (gomoku-init-display):
26160 * play/solitaire.el (solitaire, solitaire-do-check):
26161 * play/tetris.el (tetris-default-update-speed-function):
26162 Mark unused parameters.
26163
26164 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26165 (bubbles--shift): Remove unused variable `char-org'.
26166 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26167 (bubbles--show-images): Remove unused variable `char'.
26168
26169 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26170 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26171 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26172 (decipher-analyze-buffer): Use ?\s.
26173 (decipher-make-checkpoint): Remove unused variable `mapping'.
26174
26175 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26176
26177 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26178 Remove unused variable `result'; use `let'.
26179
26180 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26181 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26182 (gametree-children-shown-p, gametree-compute-reduced-score):
26183 Use `ignore-errors'.
26184
26185 * play/handwrite.el (ps-lpr-switches): Declare.
26186 (handwrite): Remove unused variables `pmin' and `lastp'.
26187
26188 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26189
26190 * play/landmark.el (landmark-init-display)
26191 (landmark-update-naught-weights): Mark unused parameters.
26192 (landmark-y): Remove unused variable `noise'. Simplify.
26193 (landmark-human-plays): Remove unused variable `score'.
26194
26195 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26196 (mpuz-try-proposal): Remove unused variable `game'.
26197
26198 * play/zone.el (life-patterns): Declare.
26199
26200 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26201
26202 * vc/vc.el (ediff-vc-internal): Declare function.
26203
26204 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26205
26206 * shell.el: Use lexical-binding and std completion UI.
26207 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26208 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26209 comint-preoutput-filter-functions rather than on
26210 comint-output-filter-functions.
26211 (shell-command-completion, shell--command-completion-data)
26212 (shell-filename-completion, shell-environment-variable-completion)
26213 (shell-c-a-p-replace-by-expanded-directory): New functions.
26214 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26215 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26216 (shell-dynamic-complete-environment-variable): Use them.
26217 (shell-dynamic-complete-as-environment-variable)
26218 (shell-dynamic-complete-as-command): Remove.
26219 (shell-match-partial-variable): Match past point.
26220 * comint.el: Clean up use of completion-at-point-functions.
26221 (comint-completion-at-point): New function.
26222 (comint-mode): Use it completion-at-point-functions.
26223 (comint-dynamic-complete): Make it obsolete.
26224 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26225 (comint-c-a-p-replace-by-expanded-history): New function.
26226 (comint-dynamic-complete-functions)
26227 (comint-replace-by-expanded-history): Use it.
26228 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26229 termination strings. Try harder to avoid second try-completion.
26230 (completion-in-region-mode-map): Disable bindings that don't work yet.
26231
26232 * comint.el: Use lexical-binding. Require CL.
26233 (comint-dynamic-complete-functions): Use comint-filename-completion.
26234 (comint-completion-addsuffix): Tweak custom type.
26235 (comint-filename-completion, comint--common-suffix)
26236 (comint--common-quoted-suffix, comint--table-subvert)
26237 (comint--complete-file-name-data): New functions.
26238 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26239 (comint-dynamic-list-filename-completions): Use them.
26240 (comint-dynamic-simple-complete): Make obsolete.
26241
26242 * minibuffer.el (completion-in-region-mode):
26243 Keep completion-in-region-mode--predicate global.
26244 (completion-in-region--postch):
26245 Assume completion-in-region-mode--predicate is not null.
26246
26247 * progmodes/flymake.el (flymake-start-syntax-check-process):
26248 Obey `dir'. Simplify.
26249
26250 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26251 we're in VC after all.
26252
26253 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26254
26255 * vc/vc.el (vc-diff-build-argument-list-internal)
26256 (vc-version-ediff, vc-ediff): New commands.
26257 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26258
26259 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26260
26261 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26262 add sanity check.
26263
26264 * obsolete/erc-hecomplete.el: Make obsolete.
26265 * obsolete/: Standardize obsolescence info in the header.
26266
26267 2011-04-20 Glenn Morris <rgm@gnu.org>
26268
26269 * calendar/solar.el (solar-horizontal-coordinates):
26270 Use the longitude argument rather than `calendar-longitude'.
26271 (solar-date-next-longitude): Remove unused locals.
26272
26273 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26274
26275 * whitespace.el: New version 13.2.1.
26276
26277 2011-04-20 felix <EmacsWiki> (tiny change)
26278
26279 * whitespace.el (global-whitespace-mode): Keep highlight when
26280 switching between major modes on a file.
26281
26282 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26283
26284 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26285 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26286 multi-line comments as well.
26287
26288 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26289
26290 Lexical-binding cleanup.
26291
26292 * arc-mode.el (archive-mode-revert):
26293 * cmuscheme.el (scheme-interactively-start-process):
26294 * custom.el (custom-initialize-delay):
26295 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26296 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26297 * emacs-lock.el (emacs-lock-clear-sentinel):
26298 * ezimage.el (defezimage):
26299 * follow.el (follow-avoid-tail-recenter):
26300 * fringe.el (set-fringe-mode-1):
26301 * generic-x.el (bat-generic-mode-compile):
26302 * help-mode.el (help-info-variable, help-do-xref)
26303 (help-mode-revert-buffer):
26304 * help.el (view-emacs-todo):
26305 * iswitchb.el (iswitchb-completion-help):
26306 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26307 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26308 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26309 * locate.el (locate-update):
26310 * longlines.el (longlines-encode-region)
26311 (longlines-after-change-function):
26312 * outline.el (outline-isearch-open-invisible):
26313 * ps-def.el (declare-function, charset-dimension, char-width)
26314 (encode-char):
26315 * ps-mule.el (ps-mule-plot-string):
26316 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26317 (recentf-edit-list-select, recentf-edit-list-validate)
26318 (recentf-open-files-action):
26319 * rect.el (delete-whitespace-rectangle-line)
26320 (rectangle-number-line-callback):
26321 * register.el (window-configuration-to-register)
26322 (frame-configuration-to-register):
26323 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26324 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26325 (xselect-convert-to-targets, xselect-convert-to-delete)
26326 (xselect-convert-to-filename, xselect-convert-to-charpos)
26327 (xselect-convert-to-lineno, xselect-convert-to-colno)
26328 (xselect-convert-to-os, xselect-convert-to-host)
26329 (xselect-convert-to-user, xselect-convert-to-class)
26330 (xselect-convert-to-name, xselect-convert-to-integer)
26331 (xselect-convert-to-atom, xselect-convert-to-identity):
26332 * subr.el (declare, ignore, process-kill-without-query)
26333 (text-clone-maintain):
26334 * terminal.el (te-get-char, te-tic-sentinel):
26335 * tool-bar.el (tool-bar-make-keymap):
26336 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26337 * type-break.el (type-break-mode, type-break-noninteractive-query):
26338 * view.el (View-back-to-mark):
26339 * wid-browse.el (widget-browse-action, widget-browse-widget)
26340 (widget-browse-widgets, widget-browse-sexp):
26341 * widget.el (define-widget-keywords):
26342 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26343 Mark unused parameters.
26344
26345 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26346 (align-areas): Remove unused variable `look'.
26347 (align-region): Remove unused variables `real-end' and `pos-list'.
26348
26349 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26350
26351 * bindings.el (mode-line-modified, mode-line-remote):
26352 Mark unused parameters.
26353 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26354
26355 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26356 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26357
26358 * comint.el (comint-history-isearch-pop-state)
26359 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26360 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26361 (comint-substitute-in-file-name): Doc fix.
26362
26363 * completion.el (cmpl-statistics-block): Mark unused parameter.
26364 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26365 (save-completions-to-file, load-completions-from-file):
26366 Remove unused local variable `e'.
26367
26368 * composite.el (compose-chars): Remove unused variable `len'.
26369 (lgstring-insert-glyph): Remove unused variable `g'.
26370 (compose-glyph-string): Remove unused variables `ascent',
26371 `descent', `lbearing' and `rbearing'.
26372 (compose-glyph-string-relative): Remove unused variables
26373 `lbearing', `rbearing' and `wadjust'.
26374 (compose-gstring-for-graphic): Remove unused variables `header',
26375 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26376 (compose-gstring-for-terminal): Remove unused variables `header'
26377 and `nchars'. Use `let', not `let*'.
26378
26379 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26380 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26381 (Custom-buffer-done, custom-buffer-create-internal)
26382 (custom-browse-visibility-action, custom-browse-group-tag-action)
26383 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26384 (widget-magic-mouse-down-action, custom-toggle-parent)
26385 (custom-add-parent-links, custom-toggle-hide-variable)
26386 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26387 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26388 (custom-face-menu-create, custom-variable-menu-create, get)
26389 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26390 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26391 (customize-apropos): Remove unused variable `tests'.
26392 (custom-group-value-create): Remove unused variable `hidden-p'.
26393 (sort-fold-case): Declare.
26394
26395 * cus-theme.el (custom-reset-standard-faces-list)
26396 (custom-reset-standard-variables-list): Declare.
26397 (customize-create-theme, custom-theme-revert, custom-theme-write)
26398 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26399 Mark unused parameters.
26400
26401 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26402
26403 * delim-col.el (delimit-columns-max): Move defvar before first use.
26404
26405 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26406 (describe-char): Don't quote `lambda'. Mark unused parameter.
26407
26408 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26409 (auto-insert): Declare.
26410 (desktop-restore-file-buffer): Rename desktop-* parameters;
26411 mark unused ones.
26412 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26413 (desktop-buffer): Rename desktop-* parameters.
26414
26415 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26416 (dframe-reposition-frame-xemacs, dframe-help-echo)
26417 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26418 Mark unused parameters.
26419
26420 * dired-aux.el (backup-extract-version-start, overwrite-query)
26421 (overwrite-backup-query, rename-regexp-query)
26422 (rename-non-directory-query): Declare.
26423 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26424 (dired-add-entry): Remove unused variable `orig-file-name'.
26425 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26426 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26427 `dired-copy-preserve-time' directly.
26428 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26429 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26430
26431 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26432 (dired-virtual-revert, dired-make-relative-symlink):
26433 Mark unused parameters.
26434 (manual-program): Declare.
26435 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26436 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26437 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26438
26439 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26440
26441 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26442
26443 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26444 Declare.
26445
26446 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26447
26448 * electric.el (Electric-command-loop): Rename parameter
26449 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26450
26451 * expand.el (expand-in-literal): Remove unused variable `here'.
26452
26453 * facemenu.el (facemenu-add-new-color):
26454 Remove unused variable `docstring'.
26455
26456 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26457 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26458 (face-attr-construct): Mark unused parameter. Doc fix.
26459 (read-color): Remove unused variable `hex-string'.
26460
26461 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26462 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26463 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26464 (display-buffer-other-frame): Remove unused variable `old-window'.
26465 (kill-buffer-hook): Declare.
26466 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26467 Mark unused parameters.
26468 (after-find-file): Pass 1 to `auto-save-mode', not t.
26469
26470 * files-x.el (auto-insert): Declare.
26471 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26472
26473 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26474 variable `buf'. Mark unused parameter.
26475 (find-lisp-insert-directory): Mark unused parameter.
26476
26477 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26478 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26479 (format-common-tail): Remove, unused.
26480 (format-deannotate-region): Remove unused variable `loc'.
26481 (format-annotate-region): Remove unused variable `p'.
26482 (format-annotate-single-property-change): Remove unused variables
26483 `default' and `tail'.
26484
26485 * forms.el (read-file-filter): Declare.
26486 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26487
26488 * frame.el (frame-creation-function-alist): Mark unused parameter.
26489 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26490
26491 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26492 Remove unused parameters.
26493 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26494 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26495
26496 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26497 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26498 (hfy-prepare-tag-map): Mark unused parameters.
26499 (htmlfontify-buffer): Use `called-interactively-p'.
26500
26501 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26502 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26503 (ibuffer-do-occur): Mark unused parameters.
26504 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26505 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26506
26507 * ibuffer.el: Don't quote `lambda'.
26508 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26509 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26510 Mark unused parameters.
26511
26512 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26513 (ido-completing-read): Mark unused parameters.
26514 (ido-copy-current-word): Mark unused parameters;
26515 remove unused variable `name'.
26516 (ido-sort-merged-list): Remove unused parameter `dirs'.
26517
26518 * ielm.el (ielm-input-sender): Mark unused parameter.
26519 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26520 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26521 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26522 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26523 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26524
26525 * image-dired.el (image-dired-display-thumbs): Remove unused
26526 variables `curr-file' and `count'.
26527 (image-dired-remove-tag): Remove unused variable `start'.
26528 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26529 variable `curr-file'
26530 (image-dired-rotate-original): Remove unused variable `temp-file'.
26531 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26532 Remove unused variable `file'.
26533 (image-dired-gallery-generate): Remove unused variable `curr'.
26534 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26535
26536 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26537
26538 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26539
26540 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26541
26542 * isearch.el (minibuffer-history-symbol): Declare.
26543 (isearch-edit-string): Remove unused variable `err'.
26544 (isearch-message-prefix, isearch-message-suffix):
26545 Mark unused parameters.
26546
26547 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26548
26549 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26550
26551 * makesum.el (double-column): Remove unused variable `cnt'.
26552
26553 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26554 (ido-ignore-item-temp-list): Declare.
26555
26556 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26557 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26558 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26559 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26560 `mouse-col-delta'.
26561
26562 * mouse-sel.el (mouse-extend-internal):
26563 Remove unused variable `orig-window-frame'.
26564
26565 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26566 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26567 Move declarations before first use.
26568 (pcomplete-opt): Mark unused parameters; doc fix.
26569
26570 * proced.el (proced-revert): Mark unused parameter.
26571 (proced-send-signal): Remove unused variable `err'.
26572
26573 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26574 Rename parameter PREFIX-ARG to ARG.
26575 (ps-basic-plot-string, ps-basic-plot-whitespace):
26576 Mark unused parameters.
26577
26578 * replace.el (replace-count): Define.
26579 (occur-revert-function): Mark unused parameters.
26580 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26581 (isearch-case-fold-search, isearch-string): Declare.
26582 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26583 bind `case-fold-search'. Remove unused variables `beg' and `end',
26584 and simplify.
26585 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26586 COUNT and bind `replace-count'.
26587 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26588 to COUNT.
26589
26590 * savehist.el (print-readably, print-string-length): Declare.
26591
26592 * shadowfile.el (shadow-expand-cluster-in-file-name):
26593 Remove unused variable `cluster'.
26594 (shadow-copy-file): Remove unused variable `i'.
26595 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26596 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26597 (shadow-define-literal-group, shadow-define-regexp-group)
26598 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26599
26600 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26601 (shell): Use `called-interactively-p'.
26602 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26603
26604 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26605 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26606 (delete-backward-char): Remove unused variable `ocol'.
26607 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26608 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26609 (event-apply-hyper-modifier, event-apply-shift-modifier)
26610 (event-apply-control-modifier, event-apply-meta-modifier):
26611 Mark unused parameters.
26612 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26613 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26614
26615 * speedbar.el (speedbar-ignored-directory-expressions)
26616 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26617 (speedbar-find-file, speedbar-dir-follow)
26618 (speedbar-directory-buttons-follow, speedbar-tag-find)
26619 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26620 (speedbar-buffers-line-directory, speedbar-buffer-click):
26621 Mark unused parameters.
26622 (speedbar-tag-file): Remove unused variable `mode'.
26623 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26624
26625 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26626
26627 * talk.el (talk): Remove unused variable `display'.
26628
26629 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26630 (tar-write-region-annotate): Mark unused parameter.
26631
26632 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26633 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26634 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26635 warning by another.
26636
26637 * time-stamp.el (time-stamp-string-preprocess):
26638 Remove unused variable `require-padding'.
26639
26640 * tree-widget.el (widget-glyph-enable): Declare.
26641 (tree-widget-action): Mark unused parameter.
26642
26643 * w32-fns.el (x-get-selection): Mark unused parameter.
26644 (autoload-make-program, generated-autoload-file): Declare.
26645
26646 * wdired.el (wdired-revert): Mark unused parameters.
26647 (wdired-xcase-word): Remove unused variable `err'.
26648
26649 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26650 (whitespace-help-scroll): Remove unused variable `data-help'.
26651
26652 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26653 (widget-image-insert, widget-after-change, default)
26654 (widget-default-format-handler, widget-default-notify)
26655 (widget-default-prompt-value, widget-info-link-action)
26656 (widget-url-link-action, widget-function-link-action)
26657 (widget-variable-link-action, widget-file-link-action)
26658 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26659 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26660 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26661 (widget-insert-button-action, widget-delete-button-action, visibility)
26662 (widget-documentation-link-action, widget-documentation-string-action)
26663 (widget-const-prompt-value, widget-regexp-match, symbol)
26664 (widget-coding-system-prompt-value)
26665 (widget-key-sequence-value-to-external, sexp)
26666 (widget-sexp-value-to-internal, character, vector, cons)
26667 (widget-choice-prompt-value, widget-boolean-prompt-value)
26668 (widget-color--choose-action): Mark unused parameters.
26669 (widget-item-match-inline, widget-choice-match-inline)
26670 (widget-checklist-match, widget-checklist-match-inline)
26671 (widget-group-match): Rename parameter VALUES to VALS.
26672 (widget-field-value-set): Remove unused variable `size'.
26673 (widget-color-action): Remove unused variables `value' and `start'.
26674
26675 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26676 variable `dir'. Doc fix.
26677 (windmove-find-other-window): Don't pass it.
26678
26679 * window.el (count-windows): Mark unused parameter.
26680 (bw-adjust-window): Remove unused variable `err'.
26681
26682 * woman.el (woman-file-name): Remove unused variable `default'.
26683 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26684 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26685 (global-font-lock-mode): Declare.
26686 (woman-decode-region): Mark unused parameter.
26687 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26688
26689 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26690 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26691 (x-dnd-handle-moz-url): Remove unused variable `title'.
26692 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26693
26694 * xml.el (xml-parse-tag, xml-parse-attlist):
26695 Remove unused variable `pos'.
26696
26697 2011-04-19 Glenn Morris <rgm@gnu.org>
26698
26699 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26700 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26701 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26702 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26703 * calendar/cal-html.el (cal-html-insert-minical):
26704 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26705 (calendar-mark-date-pattern):
26706 Prefix "unused" locals.
26707
26708 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26709 optional argument `style'.
26710
26711 * calendar/appt.el (appt-make-list):
26712 * calendar/cal-china.el (calendar-chinese-date-string):
26713 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26714 (diary-hebrew-yahrzeit):
26715 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26716 * calendar/calendar.el (calendar-generate-window):
26717 * calendar/time-date.el (time-to-days):
26718 Remove unused local variables.
26719
26720 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26721
26722 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26723 glyphless-char-display table.
26724 (tabulated-list-glyphless-char-display): New var.
26725
26726 2011-04-18 Sam Steingold <sds@gnu.org>
26727
26728 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26729 to acknowledgments.
26730
26731 2011-04-17 Glenn Morris <rgm@gnu.org>
26732
26733 * calendar/diary-lib.el (diary-sexp-entry):
26734 * calendar/holidays.el (holiday-sexp):
26735 Set debug-on-error rather than the removed stack-trace-on-error.
26736
26737 2011-04-16 Glenn Morris <rgm@gnu.org>
26738
26739 * progmodes/f90.el: Use lexical-binding.
26740 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26741
26742 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26743
26744 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26745 (mail-mode): Setup mailalias completion here instead.
26746 * mail/mailalias.el: Use lexical-binding.
26747 (pattern, mailalias-done): Declare dynamic.
26748 (mail-completion-at-point-function): New function, from mail-complete.
26749 (mail-complete): Use it.
26750 (mail-completion-expand): New function.
26751 (mail-get-names): Use it.
26752 (mail-directory, mail-directory-process, mail-directory-stream):
26753 Don't use `pattern' for lexically bound arg.
26754
26755 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26756
26757 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26758 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26759 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26760
26761 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26762 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26763 (byte-interactive-p): Define them again, for use when inlining
26764 old code.
26765
26766 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26767
26768 * loadup.el: Use `string-to-number', not `string-to-int'.
26769
26770 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26771
26772 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26773 gud-gdb-complete-command.
26774 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26775 (gud-gdb-completion-at-point): New function.
26776 (gud-gdb-completions): Remove.
26777
26778 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26779
26780 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26781 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26782 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26783 whether `executable-find' is bound.
26784
26785 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26786
26787 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26788
26789 * minibuffer.el (completion-in-region-mode-predicate)
26790 (completion-in-region-mode--predicate): New vars.
26791 (completion-in-region, completion-in-region--postch)
26792 (completion-in-region-mode): Use them.
26793 (completion--capf-wrapper): Also return the hook function.
26794 (completion-at-point, completion-help-at-point):
26795 Adjust and provide a predicate.
26796
26797 Preserve arg names for advice of subr and lexical functions (bug#8457).
26798 * help-fns.el (help-function-arglist): Consolidate the subr and
26799 new-byte-code cases. Add argument `preserve-names' to extract names
26800 from the docstring when needed.
26801 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26802 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26803 (ad-arglist): Use help-function-arglist's new arg.
26804 (ad-definition-type): Use cond.
26805
26806 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26807
26808 * autorevert.el (auto-revert-handler):
26809 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26810 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26811 Don't quote lambda.
26812
26813 * image-mode.el (image-transform-set-scale):
26814 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26815
26816 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26817
26818 * net/network-stream.el (network-stream-open-starttls): Only do
26819 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26820 Upgrades via gnutls-cli are too slow to be done opportunistically.
26821
26822 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26823
26824 * dframe.el (dframe-current-frame): Remove spurious quote.
26825
26826 2011-04-12 Glenn Morris <rgm@gnu.org>
26827
26828 * calendar/cal-tex.el (cal-tex-end-document):
26829 Try to automatically use latin1 input if needed.
26830
26831 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26832 Don't try to cons a mark onto an empty element.
26833
26834 2011-04-11 Leo Liu <sdl.web@gmail.com>
26835
26836 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26837 buffers.
26838 (ido-kill-buffer-at-head): Support killing virtual buffers.
26839
26840 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26841
26842 * minibuffer.el (completion-show-inline-help): New var.
26843 (completion--do-completion, minibuffer-complete)
26844 (minibuffer-force-complete, minibuffer-complete-word):
26845 Inhibit minibuffer messages if completion-show-inline-help is nil.
26846
26847 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26848 to avoid interference from inline help (Bug#5849).
26849
26850 2011-04-10 Leo Liu <sdl.web@gmail.com>
26851
26852 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26853 Fix typo.
26854
26855 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26856
26857 * image-mode.el (image-toggle-display-image): Signal an error if
26858 not in Image mode.
26859 (image-transform-mode, image-transform-resize)
26860 (image-transform-set-rotation): Doc fix.
26861 (image-transform-set-resize): Delete.
26862 (image-transform-set-scale, image-transform-fit-to-height)
26863 (image-transform-fit-to-width): Handle image-toggle-display-image
26864 and image-transform-resize directly.
26865
26866 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26867
26868 * doc-view.el (doc-view-fit-width-to-window)
26869 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26870 New functions for fitting the shown image to the Emacs window size.
26871 (doc-view-mode-map): Add bindings for the new functions.
26872
26873 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26874
26875 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26876 Fix typo in docstring.
26877
26878 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26879
26880 * files.el (file-size-human-readable): Produce one digit after
26881 decimal, like "ls -lh" does.
26882
26883 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26884 the file size representation.
26885
26886 * simple.el (list-processes): If async subprocesses are not
26887 available, error out with a clear error message.
26888
26889 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26890
26891 * help.el (help-form-show): New function, to be called from C.
26892 Put help-form output in a buffer named differently than *Help*.
26893
26894 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26895
26896 * files.el (file-size-human-readable): New function.
26897
26898 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26899 computing the representation inline. Don't require `cl'.
26900
26901 2011-04-08 Glenn Morris <rgm@gnu.org>
26902
26903 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26904
26905 * net/browse-url.el (browse-url-firefox):
26906 Test system-type, not system-configuration.
26907
26908 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26909 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26910 Use log-edit-empty-buffer-p. (Bug#7598)
26911
26912 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26913 (rlogin-mode-map): Initialize in the defvar.
26914 (rlogin): Use ignore-errors.
26915
26916 * replace.el (occur-mode-map): Some fixes for menu items.
26917
26918 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26919
26920 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26921
26922 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26923
26924 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26925 issuing unused warnings.
26926
26927 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26928 macro directly.
26929
26930 * simple.el: Lisp reimplement of list-processes. Based on an
26931 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26932 (process-menu-mode): New major mode.
26933 (list-processes--refresh, list-processes):
26934 (process-menu-visit-buffer): New functions.
26935
26936 * files.el (save-buffers-kill-emacs): Don't assume any return
26937 value of list-processes, which is undocumented anyway.
26938
26939 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26940
26941 * emacs-lisp/tabulated-list.el: New file.
26942
26943 * emacs-lisp/package.el: Use Tabulated List mode.
26944 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26945 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26946 table format using Tabulated List mode variables.
26947 (package--push): New macro, replacing package-list-maybe-add.
26948 (package-menu--generate): Use package--push. Renamed from
26949 package--generate-package-list.
26950 (package-menu-refresh, list-packages): Use it.
26951 (package-menu--print-info): Rename from package-print-package.
26952 Return insertion data instead of inserting it directly.
26953 (package-menu-describe-package, package-menu-execute):
26954 Use tabulated-list-get-id.
26955 (package-menu-mark-delete, package-menu-mark-install)
26956 (package-menu-mark-unmark, package-menu-backup-unmark)
26957 (package-menu-mark-obsolete-for-deletion):
26958 Use tabulated-list-put-tag.
26959 (package--list-packages, package-menu-revert)
26960 (package-menu-get-package, package-menu-get-version)
26961 (package-menu-sort-by-column): Functions deleted.
26962 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26963 (package-menu--status-predicate, package-menu--version-predicate)
26964 (package-menu--name-predicate)
26965 (package-menu--description-predicate): Handle arguments in the
26966 Tabulated List format.
26967 (package-list-packages-no-fetch): Call list-packages.
26968
26969 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26970
26971 * files.el (after-find-file-from-revert-buffer): Remove variable.
26972 (after-find-file): Don't bind it.
26973 (revert-buffer-in-progress-p): New variable.
26974 (revert-buffer): Bind it.
26975 Pass nil for `after-find-file-from-revert-buffer'.
26976
26977 * saveplace.el (save-place-find-file-hook): Use new variable
26978 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26979
26980 2011-04-06 Glenn Morris <rgm@gnu.org>
26981
26982 * Makefile.in (AUTOGEN_VCS): New variable.
26983 (autoloads): Use $AUTOGEN_VCS.
26984
26985 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26986 * calendar/calendar.el (calendar-mode-map):
26987 Check for toolkit scroll bars. (Bug#8305)
26988
26989 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26990
26991 * minibuffer.el (completion-in-region--postch)
26992 (completion-in-region-mode): Remove unnecessary messages.
26993
26994 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26995
26996 * font-lock.el (font-lock-refresh-defaults):
26997 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26998 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26999
27000 * info.el (Info-directory-list, Info-read-node-name-2)
27001 (Info-split-parameter-string): Doc fixes.
27002 (Info-virtual-nodes): Reflow docstring.
27003 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27004 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27005 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27006 Fix typos in docstrings.
27007 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27008 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27009 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27010 (Info-restore-desktop-buffer): Mark unused parameters.
27011 (Info-directory-find-file, Info-directory-find-node)
27012 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27013 (Info-virtual-index-find-node, Info-apropos-find-file)
27014 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27015 Mark unused parameters; fix typos in docstrings.
27016 (Info-virtual-index): Remove unused local variable `nodename'.
27017
27018 2011-04-05 Deniz Dogan <deniz@dogan.se>
27019
27020 * net/rcirc.el: Update my e-mail address.
27021 (rcirc-mode-map): Remove M-o binding.
27022
27023 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27024
27025 * startup.el (command-line): Save the cursor's theme-face
27026 directly, instead of using face-override-spec.
27027
27028 * custom.el (load-theme): Minor optimization in assigning faces.
27029
27030 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27031
27032 * help-fns.el (describe-variable): Complete all variables having
27033 documentation, including keywords.
27034 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27035
27036 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27037
27038 Convert to lexical-binding.
27039
27040 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27041 (bs--get-marked-string, bs--get-modified-string)
27042 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27043 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27044 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27045
27046 * ehelp.el (electric-help-execute-extended)
27047 (electric-help-ctrl-x-prefix):
27048 * hexl.el (hexl-revert-buffer-function):
27049 * linum.el (linum-after-change, linum-after-scroll):
27050 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27051
27052 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27053
27054 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27055
27056 * epa-dired.el:
27057 * epa-mail.el:
27058 * epa-hook.el:
27059 * epa-file.el:
27060 * epa.el:
27061 * epg.el: Use lexical binding.
27062
27063 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27064
27065 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27066
27067 * textmodes/flyspell.el (flyspell-word): Recognize default
27068 dictionary case for flyspell-mark-duplications-exceptions.
27069 Use regexp matching for languages.
27070 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27071 default dictionary (Bug#7926).
27072
27073 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27074
27075 * emacs-lisp/package.el (package--with-work-buffer):
27076 Recognize https URLs.
27077
27078 * net/network-stream.el: Move from gnus/proto-stream.el.
27079 Change prefix to network-stream throughout.
27080 (open-protocol-stream): Merge into open-network-stream, leaving
27081 open-protocol-stream as an alias. Handle nil BUFFER args.
27082
27083 * subr.el (open-network-stream): Move to net/network-stream.el.
27084
27085 2011-04-02 Glenn Morris <rgm@gnu.org>
27086
27087 * find-dired.el (find-exec-terminator): New option.
27088 (find-ls-option): Test for -ls support.
27089 (find-ls-subdir-switches): Test for -b in find-ls-option.
27090 (find-dired, find-grep-dired): Doc fixes.
27091 (find-dired): Use find-exec-terminator.
27092
27093 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27094 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27095 (find-name-arg): Remove purecopy.
27096
27097 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27098 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27099 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27100 accordingly. Don't add the null-device if not needed.
27101
27102 * files.el (save-some-buffers): Doc fix.
27103
27104 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27105
27106 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27107
27108 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27109
27110 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27111 Use `dolist' rather than `mapcar'.
27112
27113 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27114
27115 Add lexical binding.
27116
27117 * subr.el (apply-partially): Use new closures rather than CL.
27118 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27119 (dolist, dotimes): Use slightly different expansion for lexical code.
27120 (functionp): Move to C.
27121 (letrec): New macro.
27122 (with-wrapper-hook): Use it and apply-partially instead of CL.
27123 (eval-after-load): Preserve lexical-binding.
27124 (save-window-excursion, with-output-to-temp-buffer): Turn them
27125 into macros.
27126
27127 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27128
27129 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27130 than the arglist.
27131 (help-add-fundoc-usage): Don't add `Not documented'.
27132 (help-function-arglist): Handle closures, subroutines, and new
27133 byte-code-functions.
27134 (help-make-usage): Remove leading underscores.
27135 (describe-function-1): Handle closures.
27136 (describe-variable): Use special-variable-p for completion.
27137
27138 * files.el (lexical-binding): Declare safe.
27139
27140 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27141 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27142 (pcase): Add `let' pattern.
27143 Change memoization so it actually works.
27144 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27145 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27146 <let>: New case.
27147
27148 * emacs-lisp/macroexp.el: Use lexical binding.
27149 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27150 Don't convert ' to #' without checking that it's indeed quoting
27151 a lambda.
27152
27153 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27154 Use eval-sexp-add-defvars.
27155 (eval-sexp-add-defvars): New fun.
27156
27157 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27158
27159 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27160 Don't autoload.
27161 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27162 than the internal `byte-compile-lambda'.
27163 (defmethod): Don't hide code under quotes.
27164 (eieio-defmethod): New `code' argument.
27165
27166 * emacs-lisp/eieio-comp.el: Remove.
27167
27168 * emacs-lisp/edebug.el (edebug-eval-defun)
27169 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27170 (edebug-toggle): Avoid `eval'.
27171
27172 * emacs-lisp/disass.el (disassemble-internal): Handle new
27173 `closure' objects.
27174 (disassemble-1): Handle new byte codes.
27175
27176 * emacs-lisp/cl.el (pushnew): Silence warning.
27177
27178 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27179 (cl-byte-compile-throw): Remove.
27180 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27181
27182 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27183 closures.
27184
27185 * emacs-lisp/cconv.el: New file.
27186
27187 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27188 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27189 (byte-compile-initial-macro-environment):
27190 Handle declare-function here.
27191 (byte-compile--lexical-environment): New var.
27192 (byte-stack-ref, byte-stack-set, byte-discardN)
27193 (byte-discardN-preserve-tos): New lap codes.
27194 (byte-interactive-p): Don't use any more.
27195 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27196 New macros.
27197 (byte-compile-lapcode): Use them and handle new lap codes.
27198 (byte-compile-obsolete): Remove.
27199 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27200 (byte-compile-arglist-warn): Check late def of inlinable funs.
27201 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27202 since they should have been expanded by now.
27203 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27204 (byte-compile-from-buffer): Remove unused second arg.
27205 (byte-compile-preprocess): New function.
27206 (byte-compile-toplevel-file-form): New function to distinguish
27207 file-form calls from outside from file-form calls from hunk-handlers.
27208 (byte-compile-file-form): Simplify.
27209 (byte-compile-file-form-defsubst): Remove.
27210 (byte-compile-file-form-defmumble): Simplify now that
27211 byte-compile-lambda always returns a byte-code-function.
27212 (byte-compile): Preprocess.
27213 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27214 Remove, not used any more.
27215 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27216 (byte-compile-make-args-desc): New funs.
27217 (byte-compile-lambda): Handle lexical functions. Always return
27218 a byte-code-function.
27219 (byte-compile-reserved-constants): New var, to make up room for
27220 closed-over variables.
27221 (byte-compile-constants-vector): Obey it.
27222 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27223 (byte-compile-macroexpand-declare-function): New function.
27224 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27225 byte-code-functions.
27226 (byte-compile-form): Check obsolescence here.
27227 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27228 (byte-compile-variable-ref): Remove.
27229 (byte-compile-dynamic-variable-op): New fun.
27230 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27231 (byte-compile-variable-set): New funs.
27232 (byte-compile-discard): Add 2 args.
27233 (byte-compile-stack-ref, byte-compile-stack-set)
27234 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27235 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27236 macroexpand-all instead.
27237 (byte-compile-quote-form): Remove.
27238 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27239 (byte-compile-bind, byte-compile-unbind): New funs.
27240 (byte-compile-let): Handle let* and lexical binding.
27241 (byte-compile-let*): Remove.
27242 (byte-compile-catch, byte-compile-unwind-protect)
27243 (byte-compile-track-mouse, byte-compile-condition-case):
27244 Handle a new :fun-body form, used for lexical scoping.
27245 (byte-compile-save-window-excursion)
27246 (byte-compile-with-output-to-temp-buffer): Remove.
27247 (byte-compile-defun): Simplify.
27248 (byte-compile-stack-adjustment): New fun.
27249 (byte-compile-out): Use it.
27250 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27251
27252 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27253 handler any more.
27254
27255 * emacs-lisp/byte-opt.el: Use lexical binding.
27256 (byte-inline-lapcode): Remove (to bytecomp).
27257 (byte-compile-inline-expand): Pay attention to inlining to/from
27258 lexically bound code.
27259 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27260 any more.
27261 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27262 any more and don't call compiler-macros.
27263 (byte-compile-splice-in-already-compiled-code): Remove.
27264 (byte-code): Don't inline any more.
27265 (disassemble-offset): Receive `bytes' as argument rather than via
27266 dynamic scoping.
27267 (byte-compile-tag-number): Declare before first use.
27268 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27269 `return' even if make-spliceable.
27270 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27271 obsolete interactive-p.
27272 (byte-optimize-lapcode): Optimize new lap-codes.
27273 Don't trip up on new form of `byte-constant' lap code.
27274
27275 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27276
27277 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27278
27279 * custom.el (custom-initialize-default, custom-declare-variable):
27280 Use `defvar'.
27281
27282 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27283 New variables.
27284 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27285 (COMPILE_FIRST): Add macroexp and cconv.
27286 * makefile.w32-in: Mirror changes in Makefile.in.
27287
27288 * vc/cvs-status.el:
27289 * vc/diff-mode.el:
27290 * vc/log-edit.el:
27291 * vc/log-view.el:
27292 * vc/smerge-mode.el:
27293 * textmodes/bibtex-style.el:
27294 * textmodes/css-mode.el:
27295 * startup.el:
27296 * uniquify.el:
27297 * minibuffer.el:
27298 * newcomment.el:
27299 * reveal.el:
27300 * server.el:
27301 * mpc.el:
27302 * emacs-lisp/smie.el:
27303 * doc-view.el:
27304 * dired.el:
27305 * abbrev.el: Use lexical binding.
27306
27307 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27308
27309 * info.el (info-display-manual): New function.
27310
27311 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27312
27313 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27314
27315 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27316
27317 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27318 an entry for that server in rcirc-authinfo. (Bug#8385)
27319
27320 2011-03-31 Glenn Morris <rgm@gnu.org>
27321
27322 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27323
27324 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27325
27326 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27327
27328 * progmodes/python.el (python-default-interpreter)
27329 (python-python-command-args, python-jython-command-args)
27330 (python-which-shell, python-which-args, python-which-bufname)
27331 (python-file-queue, python-comint-output-filter-function)
27332 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27333 variables and functions.
27334
27335 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27336
27337 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27338 (completion-in-region-mode): New minor mode.
27339 (completion-in-region): Use it.
27340 (completion-in-region--data, completion-in-region-mode-map): New vars.
27341 (completion-in-region--postch): New function.
27342 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27343 New vars.
27344 (completion--capf-wrapper): New function.
27345 (completion-at-point): Use it to track well-behavedness of
27346 hook functions.
27347 (completion-help-at-point): New command.
27348
27349 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27350
27351 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27352 syntax class to search for whitespace on a single line
27353 (Message-ID: <4D938140.4030905@redhat.com>).
27354
27355 2011-03-30 Leo Liu <sdl.web@gmail.com>
27356
27357 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27358 New commands.
27359 (edit-abbrevs-map): Bind them here.
27360 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27361
27362 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27363
27364 * allout.el (allout-hide-by-annotation, allout-flag-region):
27365 Reduce possibility of overlay leakage by making them volatile.
27366
27367 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27368 hash is not shared between buffers. Mode initialization is
27369 responsible for giving it a useful starting value.
27370 (allout-item-span): Reduce possibility of overlay leakage by
27371 making them volatile.
27372 (allout-widgets-count-buttons-in-region): Add diagnostic function
27373 for tracking down button overlay leaks.
27374
27375 2011-03-29 Leo Liu <sdl.web@gmail.com>
27376
27377 * ido.el (ido-read-internal): Use the default history var
27378 minibuffer-history if no HISTORY is specified.
27379
27380 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27381
27382 * net/imap.el (imap-shell-open, imap-process-connection-type):
27383 Use imap-process-connection-type for 'shell' streams as well as
27384 Kerberos, SSL, other subprocesses.
27385
27386 2011-03-28 Leo Liu <sdl.web@gmail.com>
27387
27388 * abbrev.el (abbrev-table-empty-p): New function.
27389 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27390 nonempty ones. (Bug#5937)
27391
27392 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27393
27394 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27395
27396 2011-03-27 Leo Liu <sdl.web@gmail.com>
27397
27398 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27399 for foreground and background colors.
27400 (ansi-color-make-color-map): Adapt.
27401
27402 2011-03-25 Leo Liu <sdl.web@gmail.com>
27403
27404 * midnight.el (midnight-time-float): Remove. Note it calculates
27405 the microsecond component incorrectly and seconds-to-time does the
27406 same job.
27407 Remove redundant (require 'timer).
27408
27409 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27410 (ido-completions): Remove unused arguments. (Bug#8329)
27411
27412 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27413
27414 * minibuffer.el (completion--flush-all-sorted-completions):
27415 Remove itself from hook.
27416 (completion-at-point): Let the functions perform the completion
27417 immediately and return nil or t.
27418 * comint.el (comint-dynamic-complete-functions): Now identical to
27419 completion-at-point-functions.
27420 (comint-dynamic-list-input-ring): Remove unused var `index'.
27421 (comint--match-partial-filename, comint--unquote&expand-filename):
27422 New funs, split from comint-match-partial-filename.
27423 (comint-dynamic-complete): Use completion-at-point.
27424 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27425
27426 2011-03-24 Drew Adams <drew.adams@oracle.com>
27427
27428 * thingatpt.el: Support `defun'.
27429
27430 2011-03-23 Leo Liu <sdl.web@gmail.com>
27431
27432 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27433
27434 * help-mode.el (help-mode-finish): Tweak regexp.
27435
27436 2011-03-23 Glenn Morris <rgm@gnu.org>
27437
27438 * eshell/esh-opt.el (eshell-eval-using-options):
27439 Do not bind unused local variable `eshell-option-stub'.
27440
27441 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27442
27443 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27444
27445 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27446 keymap variable in `with-no-warnings' to avoid a warning when the
27447 keymap has been already `defconst'ed.
27448
27449 2011-03-22 Leo Liu <sdl.web@gmail.com>
27450
27451 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27452 encode all chars in abbrevs; otherwise use emacs-mule or
27453 utf-8-emacs. (Bug#8308)
27454
27455 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27456
27457 * simple.el (backward-delete-char-untabify):
27458 Avoid warning about using `delete-backward-char'.
27459
27460 * image.el (image-type-file-name-regexps): Make it variable.
27461 `imagemagick-register-types' modifies it, and the user may want
27462 to add new extensions for known image types.
27463 (imagemagick-register-types): Throw error if not using ImageMagick.
27464
27465 2011-03-22 Leo Liu <sdl.web@gmail.com>
27466
27467 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27468 located before rcirc-prompt-end-marker.
27469 (rcirc-complete): Error if point is not after rcirc prompt.
27470 Handle the case when table is nil.
27471 (rcirc-user-authenticated): Define to fix compiler warning.
27472
27473 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27474
27475 * custom.el (custom--inhibit-theme-enable): Make it affect only
27476 custom-theme-set-variables and custom-theme-set-faces.
27477 (provide-theme): Ignore custom--inhibit-theme-enable.
27478 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27479 (custom-enabling-themes): Delete variable.
27480 (enable-theme): Accept only loaded themes as arguments.
27481 Ignore the special custom-enabled-themes variable.
27482 (custom-enabled-themes): Forbid themes from setting this.
27483 Eliminate use of custom-enabling-themes.
27484 (custom-push-theme): Quote "changed" custom var entry.
27485
27486 2011-03-21 Leo Liu <sdl.web@gmail.com>
27487
27488 * ido.el (ido-read-internal): Add ido-selected to history instead
27489 of user input.
27490
27491 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27492
27493 * subr.el (deferred-action-list, deferred-action-function):
27494 Mark obsolete.
27495
27496 2011-03-21 Leo Liu <sdl.web@gmail.com>
27497
27498 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27499 change on 2011-02-13 (bug#8309).
27500
27501 * minibuffer.el (read-file-name-function): Change default value.
27502 (read-file-name--defaults): Rename from read-file-name-defaults.
27503 (read-file-name-default): Rename from read-file-name.
27504 (read-file-name): Call read-file-name-function.
27505
27506 2011-03-21 Glenn Morris <rgm@gnu.org>
27507
27508 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27509 Doc fixes.
27510
27511 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27512
27513 * cus-theme.el: Add missing provide statement.
27514 (customize-create-theme): Extract theme value correctly.
27515 (custom-theme-visit-theme): Autoload.
27516 (customize-create-theme): Prompt before inserting default faces.
27517
27518 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27519
27520 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27521 units and musical notes.
27522
27523 2011-03-20 Leo Liu <sdl.web@gmail.com>
27524
27525 * ido.el (ido-read-internal): Use completing-read-default.
27526 (ido-completing-read): Fix compatibility with completing-read.
27527
27528 2011-03-20 Christian Ohler <ohler@gnu.org>
27529
27530 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27531 (ert-delete-all-tests): Use `called-interactively-p' rather than
27532 `interactive-p'.
27533 (ert--make-xrefs-region): Respect END.
27534
27535 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27536
27537 * dired-aux.el (dired-create-directory): Signal an error if the
27538 directory already exists (Bug#8246).
27539
27540 * facemenu.el (list-colors-display): Call list-faces-display
27541 inside with-help-window.
27542 (list-colors-print): Use display property to align the final
27543 column, instead of checking window-width.
27544
27545 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27546
27547 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27548 windows-nt systems.
27549 (emerge-protect-metachars): Quote correctly for ms-dos and
27550 windows-nt systems.
27551
27552 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27553
27554 * info.el (info-initialize): Replace all uses of `:' with
27555 path-separator for compatibility with non-Unix systems.
27556 Cache quoting of path-separator. (Bug#8258)
27557
27558 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27559
27560 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27561 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27562 (mouse-avoidance-mode): Fix typos in docstrings.
27563
27564 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27565
27566 * startup.el (package-subdirectory-regexp): Move from package.el.
27567 Omit \\` and \\', and let callers add them.
27568
27569 * emacs-lisp/package.el (package-strip-version)
27570 (package-load-all-descriptors): Add \\` and \\' to
27571 package-subdirectory-regexp before using it.
27572 (package-untar-buffer): New arg DIR; ensure that file untars only
27573 into this expected directory. Remove superfluous delete-region.
27574 (package-unpack): Caller changed.
27575 (package-tar-file-info): Use package-subdirectory-regexp.
27576
27577 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27578
27579 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27580 diff-mode-shared-map (bug#8284).
27581 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27582
27583 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27584
27585 * calendar/time-date.el (format-seconds): Use assoc instead of
27586 assoc-string, since assoc-string doesn't exist in XEmacs.
27587
27588 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27589
27590 * custom.el (custom-known-themes): Reflow docstring.
27591 (custom-theme-load-path): Fix typo in docstring.
27592 (load-theme): Fix typo in error message.
27593 (custom-available-themes, custom-variable-theme-value):
27594 Use `let', not `let*'.
27595
27596 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27597
27598 * calc/README: Mention inclusion of musical notes.
27599
27600 * calc/calc-units.el (calc-lu-quant): Rename from
27601 `calc-logunits-quantity'.
27602 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27603 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27604 (calc-db): Rename from `calc-dblevel'.
27605 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27606 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27607 (calc-np): Rename from `calc-nplevel'.
27608 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27609 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27610 (calc-lu-plus): Rename from `calc-logunits-add'.
27611 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27612 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27613 (calc-lu-minus): Rename from `calc-logunits-sub'.
27614 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27615 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27616 (calc-lu-times): Rename from `calc-logunits-mul'.
27617 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27618 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27619 (calc-lu-divide): Rename from `calc-logunits-div'.
27620 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27621 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27622
27623 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27624 functions being autoloaded.
27625
27626 * calc/calc.el (calc-lu-power-reference): Rename from
27627 `calc-logunits-power-reference'.
27628 (calc-lu-field-reference): Rename from
27629 `calc-logunits-field-reference'.
27630
27631 * calc/calc-help.el (calc-l-prefix-help):
27632 Mention musical note functions.
27633
27634 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27635
27636 * minibuffer.el (completion-all-sorted-completions):
27637 Use :completion-cycle-penalty text property if present.
27638
27639 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27640
27641 * allout.el (allout-yank-processing): Adjust for new rebulleting
27642 regime so bullet being yanked is used without prompting the user
27643 for a choice.
27644
27645 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27646
27647 * startup.el (command-line): Warn the user that _emacs is deprecated.
27648
27649 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27650
27651 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27652 (delphi-verbose, delphi-comment-face, delphi-string-face)
27653 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27654 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27655 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27656 (delphi-new-comment-line, delphi-font-lock-defaults)
27657 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27658 Fix typos in docstrings.
27659
27660 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27661
27662 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27663 Invert the roles of character and string values for INSTEAD, so a
27664 string is used for the more common case of a defaulting prompt.
27665
27666 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27667
27668 * progmodes/ruby-mode.el (ruby-backward-sexp):
27669 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27670 * play/gamegrid.el (gamegrid-make-face):
27671 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27672 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27673 * notifications.el (notifications-notify):
27674 * net/xesam.el (xesam-search-engines):
27675 * net/quickurl.el (quickurl-list-insert):
27676 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27677
27678 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27679
27680 * startup.el (command-line): Update package subdirectory regexp.
27681
27682 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27683
27684 * allout.el (allout-abbreviate-flattened-numbering)
27685 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27686
27687 * subr.el (read-char-choice): Only show the cursor after the prompt,
27688 not after the answer.
27689
27690 2011-03-15 Kevin Ryde <user42@zip.com.au>
27691
27692 * help-fns.el (variable-at-point): Skip leading quotes, if any
27693 (bug#8253).
27694
27695 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27696
27697 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27698 warning message.
27699
27700 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27701
27702 * shell.el (shell): When called interactively, offer to change the
27703 shell file name on remote hosts.
27704
27705 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27706
27707 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27708 integration for LDAP parameters. The host, base, user or binddn,
27709 and secret tokens can be specified in a netrc file, for instance.
27710 This is optional because an `auth-source' parameter must be
27711 specified in the search attributes.
27712
27713 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27714
27715 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27716
27717 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27718
27719 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27720 into declaration. Remove redundant and harmful binding.
27721
27722 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27723
27724 * files.el (file-ownership-preserved-p): Pass `integer' as an
27725 explicit 2nd argument to `file-attributes'. If the file's owner
27726 is the Administrators group on Windows, and the current user is
27727 Administrator, consider that a match.
27728
27729 * server.el (server-ensure-safe-dir): Consider server directory
27730 safe on MS-Windows if its owner is the Administrators group while
27731 the current Emacs user is Administrator. Use `=' to compare
27732 numerical UIDs, since they could be integers or floats.
27733
27734 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27735
27736 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27737
27738 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27739
27740 Sync with Tramp 2.2.1.
27741
27742 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27743
27744 * net/trampver.el: Update release number.
27745
27746 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27747
27748 * progmodes/compile.el (compilation--previous-directory): Fix up
27749 various nil/dead-marker mismatches (bug#8014).
27750 (compilation-directory-properties, compilation-error-properties):
27751 Don't call it at a position past the one we're about to change.
27752
27753 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27754 Disable obsolescence warnings in the file that declares it.
27755
27756 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27757
27758 * allout-widgets.el (allout-widgets-tally):
27759 Initialize allout-widgets-tally as a hash table rather than nil to
27760 prevent mode-line redisplay warnings. Also, clarify the module
27761 description and fix a comment typo.
27762
27763 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27764
27765 * help-fns.el (describe-variable): Don't complete keywords.
27766 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27767
27768 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27769
27770 * emacs-lisp/package.el (package-version-join): Impose a standard
27771 string representation for pre/alpha/beta version lists.
27772 (package-unpack-single): Standardize the directory name by passing
27773 it through package-version-join.
27774 (package-strip-rcs-id): Accept any version string that does not
27775 signal an error in version-to-list.
27776
27777 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27778
27779 * simple.el (delete-trailing-whitespace): Return nil for the
27780 benefit of `write-file-functions'.
27781
27782 2011-03-10 Glenn Morris <rgm@gnu.org>
27783
27784 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27785
27786 * vc/vc-git.el (vc-git-program): New option.
27787 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27788 (vc-git--call): Use it.
27789
27790 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27791
27792 * cus-edit.el (Custom-newline): If no button at point, look
27793 for a subgroup button at start-of-line. (Bug#2298)
27794
27795 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27796
27797 2011-03-10 Julien Danjou <julien@danjou.info>
27798
27799 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27800 `cursor-type' is nil.
27801
27802 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27803
27804 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27805
27806 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27807
27808 * allout.el: Change so yank of distinctive-bullet items
27809 preserves the existing header prefix, rebulleting it if necessary,
27810 rather than replacing it. This is necessary for proper operation
27811 of cooperative addons like allout-widgets.
27812 (allout-make-topic-prefix, allout-rebullet-heading):
27813 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27814 value as alternate bullet to be used, instead of prompting the user
27815 for a bullet character.
27816
27817 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27818
27819 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27820 Do not use `tramp-file-name-port', because this returns also
27821 `tramp-default-port'.
27822
27823 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27824
27825 * net/rcirc.el (rcirc-handler-001): Remove useless
27826 with-rcirc-process-buffer.
27827 (rcirc-check-auth-status): Swap arguments to string-match.
27828
27829 2011-03-09 Glenn Morris <rgm@gnu.org>
27830
27831 * shell.el (shell-mode):
27832 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27833
27834 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27835 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27836
27837 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27838
27839 * emacs-lisp/package.el (package-refresh-contents)
27840 (package-menu-execute): Use condition-case-no-debug.
27841
27842 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27843
27844 * simple.el (shell-command-to-string): Use `process-file'.
27845
27846 * emacs-lisp/package.el (package-tar-file-info): Handle also
27847 remote files.
27848
27849 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27850 Use `equal' for upload base check.
27851
27852 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27853
27854 * textmodes/texinfo.el (texinfo-environments):
27855 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27856
27857 2011-03-08 Glenn Morris <rgm@gnu.org>
27858
27859 * cus-start.el (cursor-in-non-selected-windows):
27860 Fix :set quoting oddness. (Bug#8192)
27861
27862 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27863 in some setf expressions. (Bug#2159)
27864
27865 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27866
27867 * custom.el (custom-available-themes): Return themes in
27868 alphabetical order.
27869
27870 See ChangeLog.15 for earlier changes.
27871
27872 ;; Local Variables:
27873 ;; coding: utf-8
27874 ;; End:
27875
27876 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27877
27878 This file is part of GNU Emacs.
27879
27880 GNU Emacs is free software: you can redistribute it and/or modify
27881 it under the terms of the GNU General Public License as published by
27882 the Free Software Foundation, either version 3 of the License, or
27883 (at your option) any later version.
27884
27885 GNU Emacs is distributed in the hope that it will be useful,
27886 but WITHOUT ANY WARRANTY; without even the implied warranty of
27887 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27888 GNU General Public License for more details.
27889
27890 You should have received a copy of the GNU General Public License
27891 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.