Added -r option to eshell/cp
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
2
3 * eshell/em-unix.el: Added -r option to cp
4
5 2013-05-28 Glenn Morris <rgm@gnu.org>
6
7 * vc/vc-arch.el (vc-exec-after): Declare.
8 (vc-switches): Autoload.
9 * vc/vc-bzr.el: No need to require vc when compiling.
10 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11 (vc-resynch-buffer, vc-dir-refresh): Declare.
12 (vc-setup-buffer, vc-switches): Autoload.
13 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14 (vc-resynch-buffer): Declare.
15 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
16 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
17 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
18 (grep-read-regexp, grep-read-files, grep-expand-template)
19 (vc-dir-refresh): Declare.
20 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
21 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
22 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23 * vc/vc-mtn.el (vc-exec-after): Declare.
24 (vc-switches): Autoload.
25 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
26 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
27 (vc-file-tree-walk): Declare.
28 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
29 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
30 (vc-tag-precondition, vc-rename-master): Autoload.
31 * vc/vc-svn.el (vc-exec-after): Declare.
32 (vc-switches, vc-setup-buffer): Autoload.
33 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
34 Autoload.
35 (vc-resynch-buffer): Declare.
36
37 * obsolete/fast-lock.el (byte-compile-warnings):
38 Don't warn about obsolete features in this obsolete file.
39
40 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
41 Move definition before use.
42
43 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
44 (dun-unix-verbs): Remove dun-zippy.
45 (dun-zippy): Remove function.
46
47 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
48
49 2013-05-27 Juri Linkov <juri@jurta.org>
50
51 * replace.el (replace-search): New function with code moved out
52 from `perform-replace'.
53 (replace-highlight, replace-dehighlight): Move function definitions
54 up closer to `replace-search'. (Bug#11746)
55
56 2013-05-27 Juri Linkov <juri@jurta.org>
57
58 * replace.el (perform-replace): Ignore invisible matches.
59 In addition to checking `query-replace-skip-read-only', also
60 filter out matches by calling `run-hook-with-args-until-failure'
61 on `isearch-filter-predicates', and also check `search-invisible'
62 for t or call `isearch-range-invisible'.
63 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
64
65 2013-05-27 Juri Linkov <juri@jurta.org>
66
67 * isearch.el (isearch-filter-predicates): Rename from
68 `isearch-filter-predicate'. Doc fix. (Bug#11378)
69 (isearch-message-prefix): Display text from the property
70 `isearch-message-prefix' of the currently active filters.
71 (isearch-search): Don't compare `isearch-filter-predicate' with
72 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
73 on `isearch-filter-predicates'. Also check `search-invisible' for t
74 or call `isearch-range-invisible'.
75 (isearch-filter-visible): Make obsolete.
76 (isearch-lazy-highlight-search):
77 Call `run-hook-with-args-until-failure' on
78 `isearch-filter-predicates' and use `isearch-range-invisible'.
79
80 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
81 `isearch-filter-predicates' instead of `funcall'ing
82 `isearch-filter-predicate'.
83 (Info-mode): Set `Info-isearch-filter' to
84 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
85
86 * dired-aux.el (dired-isearch-filter-predicate-orig):
87 Remove variable.
88 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
89 (dired-isearch-filenames-end): Add and remove
90 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
91 instead of changing the value of `isearch-filter-predicate'.
92 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
93 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
94 Put property `isearch-message-prefix' to "filename " on
95 `dired-isearch-filter-filenames'.
96
97 * wdired.el (wdired-change-to-wdired-mode):
98 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
99 locally instead of changing `isearch-filter-predicate'.
100 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
101
102 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
103
104 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
105 return the commit hash (Bug#14459). Also set the
106 `vc-git-detached' property.
107 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
108 (vc-git-mode-line-string): Use the same help-echo format whether
109 in detached mode or not, because we know the actual revision now.
110 When in detached mode, shorten the revision to 7 chars.
111
112 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
113
114 * emacs-lisp/easy-mmode.el (define-minor-mode):
115 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
116 mode hook and provide a docstring.
117
118 2013-05-27 Alan Mackenzie <acm@muc.de>
119
120 Remove spurious syntax-table text properties inserted by C-y.
121 * progmodes/cc-mode.el (c-after-change): Also clear hard
122 syntax-table property with value nil.
123
124 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
125
126 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
127 when reading the events; the buffer layout shall not be changed.
128
129 2013-05-27 Leo Liu <sdl.web@gmail.com>
130
131 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
132 New variable.
133 (inferior-octave-directory-tracker): Automatically re-sync
134 default-directory.
135 (octave-help): Improve handling of 'See also'.
136
137 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
138
139 * doc-view.el: Minor naming convention tweaks.
140 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
141
142 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
143 even if there's no `display' property yet (bug#14435).
144
145 2013-05-25 Eli Zaretskii <eliz@gnu.org>
146
147 * subr.el (unmsys--file-name): Rename from reveal-filename.
148
149 * Makefile.in (custom-deps, finder-data, autoloads)
150 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
151 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
152 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
153
154 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
155
156 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
157 error-completion on the first 2 args of condition-case (bug#14446).
158 Don't burp at EOB.
159
160 2013-05-25 Leo Liu <sdl.web@gmail.com>
161
162 * comint.el (comint-previous-matching-input): Do not flood the
163 *Messages* buffer with trivial messages.
164
165 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
166
167 * progmodes/flymake.el (flymake-nop): Don't return a string.
168 (flymake-set-at): Fix typo.
169
170 * simple.el (read--expression): New function, extracted from
171 eval-expression. Set completion-at-point-functions (bug#14465).
172 (eval-expression, eval-minibuffer): Use it.
173
174 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
175
176 * progmodes/flymake.el (flymake-save-buffer-in-file)
177 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
178 (flymake-selected-frame, flymake-log, flymake-ins-after)
179 (flymake-set-at, flymake-get-buildfile-from-cache)
180 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
181 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
182 Refine the doc string.
183 (flymake-get-file-name-mode-and-masks): Reformat.
184 (flymake-get-real-file-name-function): Fix a minor bug.
185
186 2013-05-24 Juri Linkov <juri@jurta.org>
187
188 * progmodes/grep.el (grep-mode-font-lock-keywords):
189 Support =linenumber= format used by git-grep for lines with
190 function names. (Bug#13549)
191
192 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * progmodes/octave.el (octave-smie-rules): Return nil rather than
195 0 after a semi-colon; it works better for smie-auto-fill.
196 (octave--indent-new-comment-line): New function.
197 (octave-indent-new-comment-line): Use it (indirectly).
198 (octave-mode): Don't disable smie-auto-fill. Use add-function to
199 modify comment-line-break-function.
200
201 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
202 (smie-setup): Use add-function to set it.
203
204 2013-05-24 Sam Steingold <sds@gnu.org>
205
206 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
207 argument (before the `interactive' argument).
208
209 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * image-mode.el (image-mode-winprops): Add winprops to
212 image-mode-winprops-alist before running
213 image-mode-new-window-functions.
214 * doc-view.el (doc-view-new-window-function): Don't delay
215 doc-view-goto-page via timers (bug#14435).
216
217 2013-05-24 Tassilo Horn <tsdh@gnu.org>
218
219 * doc-view.el: Integrate with desktop.el. (Bug#14435)
220 (doc-view-desktop-save-buffer): New function.
221 (doc-view-restore-desktop-buffer): New function.
222 (desktop-buffer-mode-handlers):
223 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
224 handler.
225 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
226 `desktop-save-buffer' function.
227
228 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
229
230 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
231 (tramp-gvfs-file-name-handler): Raise a user error when
232 `tramp-gvfs-enabled' is nil.
233 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
234 Do not raise a user error when loading package. (Bug#14447)
235
236 * net/xesam.el: Move to obsolete/.
237
238 2013-05-24 Glenn Morris <rgm@gnu.org>
239
240 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
241
242 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
243
244 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
245 (Info-find-node, Man-getpage-in-background): Declare.
246
247 * mail/unrmail.el (unrmail):
248 Replace obsolete detect-coding-with-priority.
249
250 * net/socks.el (socks-split-string): Use this rather than split-string.
251 (socks-nslookup-host): Update for above change.
252 (dynamic-choice, s5-dynamic-choice-match)
253 (s5-dynamic-choice-match-inline, s5-widget-value-create):
254 Comment out unused code.
255
256 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
257 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
258 (gud-tooltip-echo-area): Make obsolete.
259 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
260
261 * progmodes/js.el (js--optimize-arglist): Declare.
262
263 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
264
265 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
266 (ediff-window-C): Declare.
267
268 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
269 Tweak requires to silence compiler.
270
271 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
272 (he-search-string, he-tried-table, he-expand-list)
273 (he-init-string, he-string-member, he-substitute-string)
274 (he-reset-string): Declare.
275
276 * obsolete/options.el (list-options): Use custom-variable-p,
277 rather than obsolete alias.
278
279 2013-05-23 Sam Steingold <sds@gnu.org>
280
281 * simple.el (shell-command-on-region): Pass the `replace' argument
282 down to `call-process-region' to comply with the doc as reported on
283 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
284
285 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * emacs-lisp/smie.el (smie-indent-forward-token)
288 (smie-indent-backward-token): Handle string tokens (bug#14381).
289
290 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
291
292 * ielm.el (ielm-menu): New menu.
293 (inferior-emacs-lisp-mode): Set comment-start.
294
295 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
296
297 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
298 Fix deactivate action.
299
300 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
301 Add cleveref macros.
302
303 * lisp/textmodes/reftex-parse.el
304 (reftex-locate-bibliography-files): Accept options for
305 bibliography commands.
306 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
307 Add addbibresource. Basic Biblatex support.
308
309 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
310
311 * net/tramp-gvfs.el (top):
312 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
313 when loading package. (Bug#14447)
314
315 2013-05-23 Glenn Morris <rgm@gnu.org>
316
317 * progmodes/js.el: No need to load comint when compiling.
318 (ring-insert, comint-send-string, comint-send-input)
319 (comint-last-input-end, ido-chop): Declare.
320
321 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
322 * vc/ediff-mult.el: Adjust requires.
323 (ediff-directories-internal, ediff-directory-revisions-internal)
324 (ediff-patch-file-internal): Declare.
325 * vc/ediff-ptch.el: Adjust requires.
326 (ediff-use-last-dir, ediff-buffers-internal): Declare.
327 (ediff-find-file): Autoload.
328 * vc/ediff-util.el: No need to load ediff when compiling.
329 (ediff-regions-internal): Declare.
330 * vc/ediff-wind.el: Adjust requires.
331 (ediff-compute-toolbar-width): Define when compiling.
332 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
333 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
334 (dired-get-filename, dired-get-marked-files)
335 (ediff-last-dir-patch, ediff-patch-default-directory)
336 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
337 (ediff-patch-buffer-internal): Declare.
338
339 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
340 (ispell-process, ispell-buffer-local-words, lm-summary)
341 (lm-section-start, lm-section-end): Declare.
342 (checkdoc-ispell-init): Simplify.
343
344 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
345 (he-string-member, he-reset-string, he-substitute-string): Declare.
346
347 * eshell/em-ls.el: Adjust requires.
348 (eshell-glob-regexp): Declare.
349 * eshell/em-tramp.el: Adjust requires.
350 (eshell-parse-command): Autoload.
351 * eshell/em-xtra.el: Adjust requires.
352 (eshell-parse-command): Autoload.
353 * eshell/esh-ext.el: Adjust requires.
354 (eshell-parse-command, eshell-close-handles): Autoload.
355 * eshell/esh-io.el: Adjust requires.
356 (eshell-output-filter): Autoload.
357 * eshell/esh-util.el: No need to load tramp when compiling.
358 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
359 Declare.
360 (eshell-parse-ange-ls): Require ange-ftp and tramp.
361 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
362 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
363 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
364 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
365 * eshell/esh-opt.el, eshell/esh-proc.el:
366 * eshell/esh-var.el: Adjust requires.
367 * eshell/eshell.el: Do not require esh-util twice.
368 (eshell-add-input-to-history): Declare.
369 (eshell-command): Check history module is active before using it.
370
371 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
372
373 2013-05-22 Leo Liu <sdl.web@gmail.com>
374
375 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
376
377 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
378
379 * autorevert.el (auto-revert-notify-add-watch)
380 (auto-revert-notify-handler): Add `attrib' for the inotify case,
381 it indicates changes in file modification time.
382
383 2013-05-22 Glenn Morris <rgm@gnu.org>
384
385 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
386 Always delete the autoloaded function from the noruntime and
387 unresolved functions lists.
388
389 * allout.el: No need to load epa, epg, overlay when compiling.
390 (epg-context-set-passphrase-callback, epg-list-keys)
391 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
392 (epg-key-user-id-list): Declare.
393
394 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
395 (viper-set-parsing-style-toggling-macro)
396 (viper-set-emacs-state-searchstyle-macros):
397 Use called-interactively-p on Emacs.
398 (viper-looking-back): Make it an obsolete alias. Update callers.
399 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
400 Use looking-back rather than viper-looking-back.
401 (viper-tmp-insert-at-eob, viper-enlarge-region)
402 (viper-read-string-with-history, viper-register-to-point)
403 (viper-append-to-register, viper-change-state-to-vi)
404 (viper-backward-char-carefully, viper-forward-char-carefully)
405 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
406 (viper-change-state-to-emacs): Declare.
407 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
408 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
409 * emulation/viper-mous.el: Do not load viper-cmd.
410 (viper-backward-char-carefully, viper-forward-char-carefully)
411 (viper-forward-word, viper-adjust-window): Declare.
412
413 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
414
415 * progmodes/idlw-help.el (idlwave-help-fontify):
416 Use called-interactively-p.
417
418 * term/w32console.el (w32-get-console-codepage)
419 (w32-get-console-output-codepage): Declare.
420
421 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
422 Remove unnecessary declarations.
423 (dframe-message): Doc fix.
424
425 * info.el (dframe-select-attached-frame, dframe-current-frame):
426 Declare.
427
428 * speedbar.el (speedbar-message): Make it an obsolete alias.
429 Update all callers.
430 (speedbar-with-attached-buffer)
431 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
432 (speedbar-with-writable): Use backquote.
433 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
434 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
435 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
436 rather than speedbar- aliases.
437 * mail/rmail.el: Load dframe rather than speedbar when compiling.
438 (speedbar-make-specialized-keymap, speedbar-insert-button)
439 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
440 (speedbar-do-function-pointer): Declare.
441 (rmail-speedbar-button, rmail-speedbar-find-file)
442 (rmail-speedbar-move-message):
443 Use dframe-with-attached-buffer rather than speedbar- alias.
444 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
445 (dframe-message, speedbar-make-specialized-keymap)
446 (speedbar-add-expansion-list, speedbar-mode-functions-list)
447 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
448 (speedbar-insert-button, dframe-select-attached-frame)
449 (dframe-maybee-jump-to-attached-frame)
450 (speedbar-change-initial-expansion-list)
451 (speedbar-previously-used-expansion-list-name): Declare.
452 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
453 Use dframe-message, dframe-with-attached-buffer rather than
454 speedbar- aliases.
455 (gud-sentinel): Silence compiler.
456 * progmodes/vhdl-mode.el (speedbar-refresh)
457 (speedbar-do-function-pointer, speedbar-add-supported-extension)
458 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
459 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
460 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
461 (speedbar-file-lists, speedbar-make-tag-line)
462 (speedbar-line-directory, speedbar-goto-this-file)
463 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
464 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
465 (speedbar-make-button, speedbar-reset-scanners)
466 (speedbar-files-item-info, speedbar-line-text)
467 (speedbar-find-file-in-frame, speedbar-set-timer)
468 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
469 (speedbar-with-writable): Do not (re)define it.
470 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
471 rather than speedbar- alias.
472
473 2013-05-21 Leo Liu <sdl.web@gmail.com>
474
475 * progmodes/octave.el (octave-mode-menu): Update and re-organize
476 menu items.
477 (octave-mode): Tweak fill-nobreak-predicate.
478 (inferior-octave-startup): Check process to avoid infinite loop.
479 (inferior-octave): Pop to buffer first to show abornmal process
480 exit information.
481
482 2013-05-21 Glenn Morris <rgm@gnu.org>
483
484 * printing.el (pr-menu-bar): Define when compiling.
485
486 2013-05-21 Leo Liu <sdl.web@gmail.com>
487
488 * progmodes/octave.el (octave-auto-fill): Remove.
489 (octave-indent-new-comment-line): Improve.
490 (octave-mode): Use auto fill mode through
491 comment-line-break-function and fill-nobreak-predicate
492 (octave-goto-function-definition): Support DEFUN_DLD.
493 (octave-beginning-of-defun): Small Tweak
494 (octave-help): Show parent directory.
495
496 2013-05-21 Glenn Morris <rgm@gnu.org>
497
498 * files.el (dired-unmark):
499 * progmodes/gud.el (gdb-input): Update declarations.
500
501 * calculator.el (electric, ehelp): No need to load when compiling.
502 (Electric-command-loop, electric-describe-mode): Declare.
503
504 * doc-view.el (doc-view-current-converter-processes): Move before use.
505
506 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
507 Move MODE-set-explicitly definition before use.
508
509 * international/mule-diag.el (mule-diag):
510 Don't use obsolete window-system-version.
511
512 * mail/feedmail.el (smtpmail): No need to load when compiling.
513 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
514
515 * mail/mail-utils.el (rfc822): No need to load when compiling.
516 (rfc822-addresses): Autoload it.
517 (mail-strip-quoted-names): Trivial simplification.
518
519 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
520 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
521
522 * net/snmp-mode.el (tempo): Don't duplicate requires.
523
524 * progmodes/prolog.el (info): No need to load when compiling.
525 (comint): Require before shell requires it.
526 (Info-goto-node): Autoload it.
527 (Info-follow-nearest-node): Declare.
528 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
529
530 * textmodes/artist.el (picture-mode-exit): Declare.
531
532 * textmodes/reftex-parse.el (reftex-parse-from-file):
533 Trivial rewrite so the compiler can parse it better.
534
535 2013-05-20 Leo Liu <sdl.web@gmail.com>
536
537 * progmodes/octave.el (octave-help-mode-map)
538 (octave-help-mode-finish-hook): New variables.
539 (octave-help-mode, octave-help-mode-finish): New functions.
540 (octave-help): Use octave-help-mode.
541
542 2013-05-20 Glenn Morris <rgm@gnu.org>
543
544 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
545
546 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
547
548 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
549 start at point, so that expansion starting right after opening
550 slash in a regexp is recognized.
551 (ruby-syntax-before-regexp-re): New defvar, extracted from
552 ruby-syntax-propertize-function. Since the value of this regexp
553 is looked up at runtime now, we should be able to turn
554 `ruby-syntax-methods-before-regexp' into a defcustom later.
555 (ruby-syntax-propertize-function): Split regexp matching into two
556 parts, for opening and closing slashes. That allows us to skip
557 over string interpolations and support multiline regexps.
558 Don't call `ruby-syntax-propertize-expansions', instead use another rule
559 for them, which calls `ruby-syntax-propertize-expansion'.
560 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
561 call to `ruby-syntax-propertize-function'.
562 (ruby-syntax-propertize-expansion): Extracted from
563 `ruby-syntax-propertize-expansions'. Handles one expansion.
564 (ruby-syntax-propertize-percent-literal): Leave point right after
565 the percent symbol, so that the expression expansion rule can
566 propertize the contents.
567 (ruby-syntax-propertize-heredoc): Leave point at bol following the
568 heredoc openers.
569 (ruby-syntax-propertize-expansions): Remove.
570
571 2013-05-18 Juri Linkov <juri@jurta.org>
572
573 * man.el (Man-default-man-entry): Remove `-' from the end
574 of the default value. (Bug#14400)
575
576 2013-05-18 Glenn Morris <rgm@gnu.org>
577
578 * comint.el (comint-password-prompt-regexp):
579 Allow "password for XXX" where XXX contains colons (eg https://...).
580
581 2013-05-18 Leo Liu <sdl.web@gmail.com>
582
583 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
584 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
585 (octave-source-directories): Don't check process.
586 (octave-source-directories, octave-find-definition): Doc fix.
587
588 2013-05-18 Glenn Morris <rgm@gnu.org>
589
590 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
591 Remove backspace/delete bindings. (Bug#14392)
592
593 * cus-dep.el (custom-make-dependencies): Sort the output.
594 (custom-versions-load-alist): Convert comment to doc.
595
596 2013-05-17 Leo Liu <sdl.web@gmail.com>
597
598 * newcomment.el (comment-search-backward): Stricter in finding
599 comment start. (Bug#14303)
600
601 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
602 (octave-comment-start-skip): Properly anchored.
603
604 2013-05-17 Leo Liu <sdl.web@gmail.com>
605
606 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
607 Clean up when turned off. (Bug#14395)
608 (smie--highlight-matching-block-overlay): No longer buffer-local.
609 (smie-highlight-matching-block): Adjust.
610
611 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
612
613 Doc string fix for "nanoseconds" (Bug#14406).
614 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
615 Fix doc string typo that had "nanoseconds" instead of "microseconds".
616
617 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
618
619 * calc/calc-units.el (math-extract-units): Preserve powers
620 of units.
621
622 2013-05-17 Leo Liu <sdl.web@gmail.com>
623
624 * subr.el (delete-consecutive-dups): New function.
625 * ido.el (ido-set-matches-1): Use it.
626 * progmodes/octave.el (inferior-octave-completion-table): Use it.
627 * ido.el (ido-remove-consecutive-dups): Remove.
628
629 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
632 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
633 regexp-opt's `words'.
634
635 2013-05-16 Leo Liu <sdl.web@gmail.com>
636
637 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
638 (smie--highlight-matching-block-overlay)
639 (smie--highlight-matching-block-lastpos)
640 (smie--highlight-matching-block-timer): New variables.
641 (smie-highlight-matching-block): New function.
642 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
643 (smie-setup): Conditionally enable smie-blink-matching-open.
644
645 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
646
647 Sync with upstream verilog-mode r840.
648 * progmodes/verilog-mode.el (verilog-mode-version)
649 (verilog-mode-release-date): Update.
650 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
651 (verilog-sig-tieoff): Fix string error on
652 AUTORESET with colon define, bug594. Reported by Andrew Hou.
653 (verilog-read-decls): Fix parameters confusing
654 AUTOINST interfaces, bug565. Reported by Leith Johnson.
655
656 2013-05-16 Eli Zaretskii <eliz@gnu.org>
657
658 * subr.el (reveal-filename): New function.
659
660 * loadup.el: Compute Emacs executable versions on MS-Windows,
661 where executables have the .exe extension. Add a hard link
662 emacs-XX.YY.ZZ.exe on MS-Windows.
663
664 * Makefile.in (XARGS_LIMIT): New variable.
665 (custom-deps, finder-data, autoloads)
666 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
667 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
668 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
669 (compile-main): Limit xargs according to $(XARGS_LIMIT).
670
671 2013-05-16 Leo Liu <sdl.web@gmail.com>
672
673 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
674 (octave-mode-menu, octave-mode-map): Remove its uses.
675
676 2013-05-16 Reto Zimmermann <reto@gnu.org>
677
678 Sync with upstream vhdl mode v3.34.2.
679 * progmodes/vhdl-mode.el: Use `push' throughout.
680 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
681 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
682 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
683 (vhdl-actual-generic-name): New option to derive actual generic name.
684 (vhdl-port-paste-signals): Replace formal by actual generics.
685 (vhdl-beautify): New name for old group vhdl-align. Update users.
686 (vhdl-beautify-options): New option.
687 (vhdl-last-input-event): New compat alias. Use throughout.
688 (vhdl-goto-line): Replace user level function `goto-line'.
689 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
690 vhdl-fix-statement-buffer.
691 (vhdl-create-mode-menu): Add some entries.
692 (vhdl-align-region-groups): Respect vhdl-beautify-options.
693 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
694 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
695 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
696 to force statements on one line.
697 (vhdl-remove-trailing-spaces-region):
698 New, split from vhdl-remove-trailing-spaces.
699 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
700 Respect vhdl-beautify-options.
701 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
702 (vhdl-update-sensitivity-list): Not add with index if exists without.
703 Not include array index with signal. Ignore keywords in comments.
704 (vhdl-get-visible-signals): Regexp tweaks.
705 (vhdl-template-component-inst): Handle empty library.
706 (vhdl-template-type): Add template for 'enum' type.
707 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
708 Use vhdl-replace-string.
709 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
710 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
711 (vhdl-speedbar-initialize): Update for above name change.
712 (vhdl-compose-wire-components): Fix in handling of constants.
713 (vhdl-error-regexp-emacs-alist): New variable.
714 (vhdl-error-regexp-add-emacs): New function;
715 adds support for new compile.el (Emacs 22+)
716 (vhdl-generate-makefile-1): Change target order for single lib. units.
717 Allow use of absolute file names.
718
719 2013-05-16 Leo Liu <sdl.web@gmail.com>
720
721 * simple.el (prog-indent-sexp): Indent enclosing defun.
722
723 2013-05-15 Glenn Morris <rgm@gnu.org>
724
725 * cus-start.el (show-trailing-whitespace): Move to editing basics.
726 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
727 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
728 (whitespace-highlight): Move to whitespace group.
729
730 * comint.el (comint-source):
731 * pcmpl-linux.el (pcmpl-linux):
732 * shell.el (shell-faces):
733 * eshell/esh-opt.el (eshell-opt):
734 * international/ccl.el (ccl): Remove empty custom groups.
735
736 * completion.el (dynamic-completion-mode):
737 * jit-lock.el (jit-lock-debug-mode):
738 * minibuffer.el (completion-in-region-mode):
739 * type-break.el (type-break-mode-line-message-mode)
740 (type-break-query-mode):
741 * emulation/tpu-edt.el (tpu-edt-mode):
742 * progmodes/subword.el (global-subword-mode, global-superword-mode):
743 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
744 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
745
746 * term/xterm.el (xterm): Change parent group to terminals.
747
748 * master.el (master): Remove empty custom group.
749 (master-mode): Remove unused :group argument.
750 * textmodes/refill.el (refill): Remove empty custom group.
751 (refill-mode): Remove unused :group argument.
752
753 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
754
755 * cus-dep.el: Provide a feature.
756 (custom-make-dependencies): Ignore dotfiles (dir-locals).
757 Don't mistakenly ignore files whose basenames match a basename
758 from preloaded-file-list (eg cedet/ede/simple.el).
759 Add a fallback method for getting :group.
760
761 2013-05-15 Juri Linkov <juri@jurta.org>
762
763 * isearch.el (isearch-char-by-name): Rename from
764 `isearch-insert-char-by-name'. Doc fix.
765 (isearch-forward): Mention `isearch-char-by-name' in
766 the docstring. (Bug#13348)
767
768 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
769 `exit-minibuffer' instead of
770 `isearch-nonincremental-exit-minibuffer'.
771 (isearch-edit-string): Remove mention of
772 `isearch-nonincremental-exit-minibuffer' from docstring.
773 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
774 (isearch-forward-exit-minibuffer)
775 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
776
777 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
778
779 * loadup.el: Just use unversioned DOC.
780
781 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
782 literals as extending to EOB.
783 (nxml-last-fontify-end): Remove unused variable.
784 (nxml-after-change1): Use with-silent-modifications.
785 (nxml-extend-after-change-region): Simplify.
786 (nxml-extend-after-change-region1): Remove function.
787 (nxml-after-change1): Don't adjust for dependent regions.
788 (nxml-fontify-matcher): Simplify.
789 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
790 (xmltok-add-dependent): Remove function.
791 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
792 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
793 (xmltok-scan-prolog-after-processing-instruction-open): Treat
794 unclosed <[[, <?, comment, and other literals as extending to EOB.
795 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
796 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
797 Remove functions.
798 (rng-do-some-validation-1): Don't mark dependent regions.
799 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
800 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
801 (nxml-clear-dependent-regions): Remove functions.
802 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
803 (nxml-ensure-scan-up-to-date):
804 Don't clear&mark dependent regions.
805
806 2013-05-15 Leo Liu <sdl.web@gmail.com>
807
808 * progmodes/octave.el (octave-goto-function-definition):
809 Improve and fix callers.
810
811 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
814 the setter (bug#14387).
815
816 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
817 surrounding group (bug#14402).
818
819 2013-05-14 Juri Linkov <juri@jurta.org>
820
821 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
822 (Bug#14390)
823
824 2013-05-14 Glenn Morris <rgm@gnu.org>
825
826 * progmodes/f90.el (f90-imenu-generic-expression):
827 Fix typo in 2013-05-08 change. (Bug#14402)
828
829 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
830
831 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
832 Remove signals for which replies are never received.
833
834 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
835
836 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
837 (gdb-handler-alist, gdb-handler-number): Remove variables.
838 (gdb-handler-list): New variable.
839 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
840 (gdb-pending-handler-p, gdb-handle-reply)
841 (gdb-remove-all-pending-triggers): New functions.
842 (gdb-discard-unordered-replies): New defcustom.
843 (gdb-handler): New defstruct.
844 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
845 instead of gdb-pending-triggers. Update docstring.
846 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
847 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
848 (gdb-var-update-handler, def-gdb-auto-update-trigger)
849 (def-gdb-auto-update-handler, gdb-get-changed-registers)
850 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
851 (gdb-frame-handler): Pending triggers are now automatically managed.
852 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
853 Remove argument.
854 (gdb-input): Automatically handles pending triggers. Update docstring.
855 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
856 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
857 Update comments.
858 (gdb-done-or-error): Now use gdb-handle-reply.
859
860 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
861
862 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
863 gdb-debug-log.
864
865 2013-05-14 Glenn Morris <rgm@gnu.org>
866
867 * subr.el (user-emacs-directory-warning): New option.
868 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
869
870 2013-05-14 Leo Liu <sdl.web@gmail.com>
871
872 * progmodes/octave.el (octave-font-lock-keywords): Fix error
873 during redisplay.
874 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
875 (octave-font-lock-texinfo-comment): Fix invalid search bound
876 error: wrong side of point.
877
878 2013-05-14 Glenn Morris <rgm@gnu.org>
879
880 * progmodes/flymake.el (flymake-xml-program): New option.
881 (flymake-xml-init): Use it.
882
883 * term/xterm.el: Provide a feature.
884
885 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
886
887 2013-05-13 Glenn Morris <rgm@gnu.org>
888
889 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
890 Add compat aliases as a hack workaround. (Bug#14384)
891
892 2013-05-13 Leo Liu <sdl.web@gmail.com>
893
894 * progmodes/octave.el (octave-indent-comment): Fix indentation for
895 ###, and %!.
896 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
897 C-M-q.
898 (octave-comment-start-skip): Include %!.
899 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
900
901 2013-05-12 Leo Liu <sdl.web@gmail.com>
902
903 * progmodes/octave.el (inferior-octave-startup): Store the value
904 of __octave_srcdir__ for octave-source-directories.
905 (inferior-octave-check-process): New function refactored out of
906 inferior-octave-send-list-and-digest.
907 (octave-source-directories)
908 (octave-find-definition-filename-function): New variables.
909 (octave-source-directories)
910 (octave-find-definition-default-filename): New functions.
911 (octave-find-definition): Improve to find functions implemented in C++.
912
913 2013-05-12 Glenn Morris <rgm@gnu.org>
914
915 * calendar/diary-lib.el (diary-outlook-format-1):
916 Don't include dayname in the output. (Bug#14349)
917
918 2013-05-11 Glenn Morris <rgm@gnu.org>
919
920 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
921
922 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
923 Treat cc-provide like provide.
924
925 2013-05-11 Kevin Ryde <user42@zip.com.au>
926
927 * cus-dep.el (custom-make-dependencies):
928 Use generated-autoload-load-name for the sake of files such
929 such cedet/semantic/bovine/c.el, where the base file name
930 is not in load-path. (Bug#5277)
931
932 2013-05-11 Glenn Morris <rgm@gnu.org>
933
934 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
935 Provide features.
936
937 2013-05-11 Leo Liu <sdl.web@gmail.com>
938
939 * progmodes/octave.el (octave-indent-comment): Improve.
940 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
941 (octave-eldoc-function-signatures, octave-eldoc-function):
942 New functions.
943 (octave-mode, inferior-octave-mode): Add eldoc support.
944
945 2013-05-11 Richard Stallman <rms@gnu.org>
946
947 * epa.el (epa-decrypt-file): Take output file name as argument
948 and read it using `interactive'.
949
950 2013-05-11 Leo Liu <sdl.web@gmail.com>
951
952 * progmodes/octave.el (octave-beginning-of-line)
953 (octave-end-of-line): Check before using up-list because it jumps
954 out of more syntactic contructs since moving to smie.
955 (octave-indent-comment): New function.
956 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
957 (octave-begin-keywords, octave-end-keywords)
958 (octave-reserved-words, octave-smie-bnf-table)
959 (octave-smie-rules): Add new keywords from Octave 3.6.4.
960
961 2013-05-11 Glenn Morris <rgm@gnu.org>
962
963 * faces.el (internal-face-x-get-resource):
964 * frame.el (ns-display-monitor-attributes-list):
965 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
966
967 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
968
969 * calc/calc-menu.el: Make it loadable in isolation.
970
971 * net/eudcb-bbdb.el: Make it loadable without bbdb.
972 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
973 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
974 (eudc-bbdb-query-internal): Require 'bbdb.
975
976 * lpr.el (lpr-headers-switches):
977 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
978
979 * progmodes/sql.el (sql-login-params): Fix and improve :type.
980
981 * emulation/edt-mapper.el: In batch mode, error rather than hang.
982
983 * term.el (term-set-escape-char): Make it idempotent.
984
985 2013-05-10 Leo Liu <sdl.web@gmail.com>
986
987 * progmodes/octave.el (inferior-octave-completion-table):
988 No longer a function and all uses changed. Use cache to speed up
989 completion due to bug#11906.
990 (octave-beginning-of-defun): Re-write to be more general.
991
992 2013-05-10 Glenn Morris <rgm@gnu.org>
993
994 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
995
996 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 * comint.el (comint-redirect-send-command-to-process): Use :around
999 rather than :override for comint-redirect-filter.
1000 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1001 Call it instead of comint-redirect-original-filter-function (which
1002 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1003
1004 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1005
1006 * frame.el (display-monitor-attributes-list): Add NS case.
1007 (ns-display-monitor-attributes-list): Declare.
1008
1009 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1010
1011 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1012
1013 2013-05-09 Glenn Morris <rgm@gnu.org>
1014
1015 * international/fontset.el (vertical-centering-font-regexp):
1016 Set standard-value.
1017
1018 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1019
1020 * bookmark.el (bookmark-search-delay):
1021 * cus-start.el (vertical-centering-font-regexp):
1022 * ps-mule.el (ps-mule-font-info-database-default):
1023 * ps-print.el (ps-default-fg, ps-default-bg):
1024 * type-break.el (type-break-good-break-interval):
1025 * whitespace.el (whitespace-indentation-regexp)
1026 (whitespace-space-after-tab-regexp):
1027 * emacs-lisp/testcover.el (testcover-1value-functions)
1028 (testcover-noreturn-functions, testcover-progn-functions)
1029 (testcover-prog1-functions):
1030 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1031 * eshell/em-glob.el (eshell-glob-translate-alist):
1032 * play/tetris.el (tetris-tty-colors):
1033 * progmodes/cpp.el (cpp-face-default-list):
1034 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1035 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1036 (idlwave-help-browser-generic-args):
1037 * progmodes/make-mode.el (makefile-special-targets-list):
1038 * progmodes/python.el (python-shell-virtualenv-path):
1039 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1040 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1041 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1042 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1043 * textmodes/reftex-vars.el (reftex-format-label-function):
1044 * textmodes/remember.el (remember-diary-file): Fix custom types.
1045
1046 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1047 Add :version.
1048
1049 2013-05-09 Leo Liu <sdl.web@gmail.com>
1050
1051 * progmodes/octave.el (inferior-octave-completion-at-point):
1052 Restore file completion. (Bug#14300)
1053 (inferior-octave-startup): Fix incorrect highlighting for the
1054 first prompt.
1055
1056 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * progmodes/ruby-mode.el: First cut at SMIE support.
1059 (ruby-use-smie): New var.
1060 (ruby-smie-grammar): New constant.
1061 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1062 (ruby-smie--forward-token, ruby-smie--backward-token)
1063 (ruby-smie-rules): New functions.
1064 (ruby-mode-variables): Setup SMIE if applicable.
1065
1066 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1067
1068 * simple.el (line-move-visual): Signal beginning/end of buffer
1069 only if vertical-motion moved less than it was requested. Avoids
1070 silly incorrect error messages when there are display strings with
1071 multiple newlines at EOL.
1072
1073 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1074
1075 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1076 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1077 (prolog-char-quote-workaround):
1078 * progmodes/cperl-mode.el (cperl-under-as-char):
1079 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1080 Mark as obsolete.
1081 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1082 their declaration.
1083 (vhdl-mode-syntax-table-init): Remove.
1084
1085 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1086 last change.
1087
1088 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1089 syntax for "_".
1090 (ld-script-font-lock-keywords):
1091 Change regexps to use things like \_< and \_>.
1092
1093 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1094 Change all regexps to use things like \_< and \_>.
1095
1096 * progmodes/autoconf.el (autoconf-definition-regexp)
1097 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1098 Handle a _ with symbol syntax.
1099 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1100
1101 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1102 Consolidate declaration.
1103 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1104 the declaration.
1105 (ada-create-syntax-table): Remove.
1106 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1107 already has the right syntax nowadays.
1108 (ada-goto-next-word): Don't change the syntax of "_".
1109
1110 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1111 with-wrapper-hook.
1112
1113 2013-05-08 Sam Steingold <sds@gnu.org>
1114
1115 * thingatpt.el (thing-at-point): Accept optional second argument
1116 NO-PROPERTIES to strip the text properties from the return value.
1117 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1118 to `thing-at-point' instead of stripping the properties ourselves.
1119 Also, when `thing-at-point' fails to find a url, prepend "http://"
1120 to the filename at point on the assumption that the user is
1121 pointing at something like gnu.org/gnu.
1122
1123 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1124
1125 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1126 * faces.el (crm-separator):
1127 Silence byte-compiler.
1128
1129 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1130 (tool-bar-map): Remove unneeded defvars.
1131
1132 2013-05-08 Leo Liu <sdl.web@gmail.com>
1133
1134 Re-work a fix for bug#10994 based on Le Wang's patch.
1135 * ido.el (ido-remove-consecutive-dups): New helper.
1136 (ido-completing-read): Use it.
1137 (ido-chop): Revert fix for bug#10994.
1138
1139 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1140
1141 * cus-edit.el (custom-save-variables):
1142 Pretty-print long values. (Bug#14187)
1143
1144 2013-05-08 Glenn Morris <rgm@gnu.org>
1145
1146 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1147 (m4-mode-syntax-table): Init in the defvar.
1148 (m4-mode-abbrev-table): Let define-derived-mode define it.
1149
1150 2013-05-08 Tom Tromey <tromey@redhat.com>
1151
1152 * progmodes/m4-mode.el (m4-mode-syntax-table):
1153 Do not treat "_" as word constituent. (Bug#14167)
1154
1155 2013-05-07 Glenn Morris <rgm@gnu.org>
1156
1157 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1158 Remove explicit eshell-isearch-cancel-map.
1159
1160 * progmodes/f90.el (f90-smart-end-names): New option.
1161 (f90-smart-end): Doc fix.
1162 (f90-end-block-optional-name): New constant.
1163 (f90-block-match): Respect f90-smart-end-names.
1164
1165 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1166
1167 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1168 about implicit semi-colons (bug#14218).
1169
1170 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1171
1172 * frame.el (display-monitor-attributes-list)
1173 (frame-monitor-attributes): New functions.
1174
1175 2013-05-06 Leo Liu <sdl.web@gmail.com>
1176
1177 * progmodes/octave.el (octave-syntax-propertize-function): Change
1178 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1179 (octave-font-lock-keywords): Use octave-operator-regexp.
1180 (octave-completion-at-point): Rename from
1181 octave-completion-at-point-function.
1182 (inferior-octave-directory-tracker): Robustify.
1183 (octave-text-functions): Remove and fix its uses. No such things
1184 any more.
1185
1186 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 * emacs-lisp/trace.el (trace--display-buffer): New function.
1189 (trace-make-advice): Use it.
1190
1191 2013-05-06 Juri Linkov <juri@jurta.org>
1192
1193 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1194 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1195 Doc fix.
1196 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1197 in the help string. (Bug#12985)
1198
1199 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1200
1201 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1202
1203 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * progmodes/perl-mode.el: Add support for here documents.
1206 (perl-syntax-propertize-function): Match here-doc markers.
1207 (perl-syntax-propertize-special-constructs): Find their end.
1208 (perl-imenu-generic-expression): Use [:alnum:].
1209
1210 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1211 (advice--add-function): Refresh the advice if already present
1212 (bug#14317).
1213
1214 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1215
1216 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1217
1218 2013-05-06 Glenn Morris <rgm@gnu.org>
1219
1220 * w32-fns.el (w32-charset-info-alist): Declare.
1221
1222 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1223 of its defcustom properties.
1224 (eshell-cmpl-initialize): No need to load pcomplete.
1225
1226 * generic-x.el: No need to require comint when compiling.
1227
1228 * net/eudc-export.el: Make it loadable without bbdb.
1229 (top-level): Use require rather than load-library.
1230 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1231 (eudc-batch-export-records-to-bbdb)
1232 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1233 Require bbdb.
1234
1235 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1238 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1239 some tweaks, instead.
1240
1241 2013-05-05 Leo Liu <sdl.web@gmail.com>
1242
1243 * progmodes/octave.el (octave-font-lock-keywords)
1244 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1245 (inferior-octave-send-list-and-digest): Improve error message.
1246 (octave-mode, inferior-octave-mode): Use setq-local.
1247 (octave-help): Set info-lookup-mode.
1248
1249 2013-05-05 Richard Stallman <rms@gnu.org>
1250
1251 * vc/compare-w.el (compare-windows-whitespace):
1252 Treat no-break space as whitespace.
1253
1254 * mail/rmailsum.el (rmail-summary-rmail-update):
1255 Detect empty summary and don't change selected message.
1256 (rmail-summary-goto-msg): Likewise.
1257
1258 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1259 Doc fixes, rename args.
1260
1261 2013-05-05 Alan Mackenzie <acm@muc.de>
1262
1263 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1264
1265 2013-05-05 Juri Linkov <juri@jurta.org>
1266
1267 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1268 to not add the length of the summary segment to the return value.
1269 (Bug#14125)
1270
1271 2013-05-05 Leo Liu <sdl.web@gmail.com>
1272
1273 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1274 (inferior-octave-output-filter): Remove.
1275 (octave-send-region, inferior-octave-startup): Fix callers.
1276 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1277 (octave-binary-file-extensions): New user variable.
1278 (octave-find-definition): Confirm if opening binary files.
1279 (octave-help-file): Use octave-find-definition to get the binary
1280 confirmation.
1281 (octave-help): Adjust for octave-help-file change.
1282
1283 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1286 Merge the two entries that handle function definitions.
1287 (pascal--syntax-propertize): New const.
1288 (pascal-mode): Use it. Use setq-local.
1289
1290 2013-05-04 Glenn Morris <rgm@gnu.org>
1291
1292 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1293 (diary-from-outlook): Respect diary-from-outlook-function.
1294
1295 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1296
1297 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1298 Move the declaration from C.
1299 (read-minibuffer, eval-minibuffer): Move from C.
1300 (completion-setup-function): Avoid minibuffer-completion-contents.
1301
1302 2013-05-03 Leo Liu <sdl.web@gmail.com>
1303
1304 * progmodes/octave.el (octave-font-lock-keywords): Do not
1305 dehighlight 'end' in comments or strings.
1306 (octave-completing-read, octave-goto-function-definition):
1307 New helpers.
1308 (octave-help-buffer): New user variable.
1309 (octave-help-file, octave-help-function): New button types.
1310 (octave-help): New command and bind it to C-h ;.
1311 (octave-find-definition): New command and bind it to M-.
1312 (user-error): Alias to error if not defined.
1313
1314 2013-05-02 Leo Liu <sdl.web@gmail.com>
1315
1316 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1317 for \. (bug#14332)
1318 (octave-font-lock-keywords): Include [ and {.
1319
1320 2013-05-02 Leo Liu <sdl.web@gmail.com>
1321
1322 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1323 (inferior-octave): Remove calling comint-mode and return the buffer.
1324 (inferior-octave-startup): Cosmetic changes.
1325
1326 2013-05-02 Leo Liu <sdl.web@gmail.com>
1327
1328 * progmodes/octave.el (octave-syntax-propertize-function):
1329 Include the case when ' is at line beginning. (Bug#14336)
1330
1331 2013-05-02 Glenn Morris <rgm@gnu.org>
1332
1333 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1334 * desktop.el (vc-dir-mode): Just autoload it here.
1335
1336 2013-05-02 Alan Mackenzie <acm@muc.de>
1337
1338 Eliminate variable c-standard-font-lock-fontify-region-function.
1339 * progmodes/cc-mode.el
1340 (c-standard-font-lock-fontify-region-function): Remove.
1341 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1342
1343 2013-05-01 Leo Liu <sdl.web@gmail.com>
1344
1345 * progmodes/octave.el: Compatible with older emacs-24 releases.
1346 (inferior-octave-has-built-in-variables): Remove. Built-in
1347 variables were removed from Octave in 2007.
1348 (inferior-octave-startup): Fix uses.
1349 (comint-line-beginning-position): Remove compatibility code for
1350 emacs 21.
1351
1352 2013-05-01 Juri Linkov <juri@jurta.org>
1353
1354 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1355
1356 2013-05-01 Juri Linkov <juri@jurta.org>
1357
1358 * comint.el (comint-previous-matching-input): Don't print message
1359 "History item: %d" when `isearch-mode' is active.
1360 (comint-history-isearch-message): Print message "History item: %d"
1361 when `comint-input-ring-index' is not empty and this function is
1362 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1363
1364 2013-05-01 Leo Liu <sdl.web@gmail.com>
1365
1366 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1367 definitions. Use completion-at-point to insert keywords.
1368 (octave-abbrev-start): Remove.
1369 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1370
1371 2013-04-30 Leo Liu <sdl.web@gmail.com>
1372
1373 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1374 change.
1375
1376 2013-04-30 Alan Mackenzie <acm@muc.de>
1377
1378 Handle arbitrarily long C++ member initialisation lists.
1379 * progmodes/cc-engine.el (c-back-over-member-initializers):
1380 new function.
1381 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1382 (most) member init lists.
1383
1384 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1385
1386 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1387 variable.
1388
1389 2013-04-30 Leo Liu <sdl.web@gmail.com>
1390
1391 * progmodes/octave.el (octave-variables): Remove. No builtin
1392 variables any more. All converted to functions.
1393 (octave-font-lock-keywords, octave-completion-at-point-function):
1394 Fix uses.
1395 (octave-font-lock-texinfo-comment): New user variable.
1396 (octave-texinfo-font-lock-keywords): New variable for texinfo
1397 comment block.
1398 (octave-function-comment-block): New face.
1399 (octave-font-lock-texinfo-comment): New function.
1400 (octave-mode): Font lock texinfo comment block.
1401
1402 2013-04-29 Leo Liu <sdl.web@gmail.com>
1403
1404 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1405 indexing expression.
1406 (octave-continuation-string): Do not use \.
1407 (inferior-octave-complete-impossible): Remove.
1408 (inferior-octave-completion-table)
1409 (inferior-octave-completion-at-point): Remove its uses.
1410 (inferior-octave-startup): completion_matches was introduced to
1411 Octave in 1996 so safe to assume it.
1412 (octave-function-file-comment): Improve to follow how Octave does it.
1413 (octave-update-function-file-comment): Tweak.
1414
1415 2013-04-29 Leo Liu <sdl.web@gmail.com>
1416
1417 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1418 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1419 (octave-function-file-comment): Fix typo.
1420 (octave-sync-function-file-names): Use read-char-choice.
1421
1422 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1423
1424 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1425 to t for the less important warnings.
1426
1427 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1428
1429 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1430
1431 2013-04-27 Glenn Morris <rgm@gnu.org>
1432
1433 * vc/log-view.el (log-view-current-entry):
1434 Treat "---" separator lines as part of the following rev. (Bug#14169)
1435
1436 2013-04-27 Juri Linkov <juri@jurta.org>
1437
1438 * subr.el (read-number): Doc fix about using it by interactive
1439 code letter `n'. (Bug#14254)
1440
1441 2013-04-27 Juri Linkov <juri@jurta.org>
1442
1443 * desktop.el (desktop-auto-save-timeout): New option.
1444 (desktop-file-checksum): New variable.
1445 (desktop-save): Add optional arg `auto-save' and don't auto-save
1446 if nothing changed.
1447 (desktop-auto-save-timer): New variable.
1448 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1449 (after-init-hook): Call `desktop-auto-save-set-timer'.
1450 Suggested by Reuben Thomas <rrt@sc3d.org> in
1451 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1452
1453 2013-04-27 Leo Liu <sdl.web@gmail.com>
1454
1455 * progmodes/octave.el (octave-function-file-p)
1456 (octave-skip-comment-forward, octave-function-file-comment)
1457 (octave-update-function-file-comment): New functions.
1458 (octave-mode-map): Bind C-c ; to
1459 octave-update-function-file-comment.
1460 (octave-mode-menu): Add octave-update-function-file-comment.
1461 (octave-mode, inferior-octave-mode): Fix doc-string.
1462 (octave-insert-defun): Conform to Octave's coding convention.
1463 (Bug#14285)
1464
1465 * files.el (basic-save-buffer): Don't let errors in
1466 before-save-hook prevent saving buffer.
1467
1468 2013-04-20 Roland Winkler <winkler@gnu.org>
1469
1470 * faces.el (read-face-name): Use completing-read if arg multiple
1471 is nil.
1472
1473 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1474
1475 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1476 displayed, move point to after the totals line.
1477 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1478 for the details.
1479
1480 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1481
1482 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1483 Add current dir to the load-path.
1484 (package-generate-autoloads): Don't rely on
1485 autoload-ensure-default-file.
1486
1487 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1488
1489 * textmodes/remember.el (remember-store-in-files): Document that
1490 the file name format is passed to `format-time-string'.
1491
1492 2013-04-26 Leo Liu <sdl.web@gmail.com>
1493
1494 * progmodes/octave.el (octave-sync-function-file-names): New function.
1495 (octave-mode): Use it in before-save-hook.
1496
1497 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1498
1499 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1500 (bug#14274).
1501
1502 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1503 \n and comment, even if it's not an implicit ; (bug#14218).
1504
1505 2013-04-26 Glenn Morris <rgm@gnu.org>
1506
1507 * subr.el (read-number): Once more use `read' rather than
1508 `string-to-number', to trap non-numeric input. (Bug#14254)
1509
1510 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1511
1512 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1513 Use `syntax-multiline' text property consistently instead of
1514 `font-lock-multiline'. (bug#14237).
1515
1516 2013-04-26 Glenn Morris <rgm@gnu.org>
1517
1518 * emacs-lisp/shadow.el (list-load-path-shadows):
1519 No longer necessary to check for duplicate simple.el, since
1520 2012-07-07 change to init_lread to not include installation lisp
1521 directories in load-path when running uninstalled. (Bug#14270)
1522
1523 2013-04-26 Leo Liu <sdl.web@gmail.com>
1524
1525 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1526 (octave-mode, inferior-octave-mode): Use setq-local.
1527 (octave-not-in-string-or-comment-p): Rename to
1528 octave-in-string-or-comment-p.
1529 (octave-in-comment-p, octave-in-string-p)
1530 (octave-in-string-or-comment-p): Replace defsubst with defun.
1531
1532 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1533
1534 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1535
1536 2013-04-25 Bastien Guerry <bzg@gnu.org>
1537
1538 * textmodes/remember.el (remember-data-directory)
1539 (remember-directory-file-name-format): Fix custom types.
1540
1541 2013-04-25 Leo Liu <sdl.web@gmail.com>
1542
1543 * progmodes/octave.el (octave-completion-at-point-function):
1544 Make use of inferior octave process.
1545 (octave-initialize-completions): Remove.
1546 (inferior-octave-completion-table): New function.
1547 (inferior-octave-completion-at-point): Use it.
1548 (octave-completion-alist): Remove.
1549
1550 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1551
1552 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1553 (opascal-mode-syntax-table): New var.
1554 (opascal-literal-kind, opascal-is-literal-end)
1555 (opascal-literal-token-at): Rewrite.
1556 (opascal--literal-start-re, opascal-font-lock-keywords)
1557 (opascal--syntax-propertize): New constants.
1558 (opascal-font-lock-defaults): Adjust.
1559 (opascal-mode): Use them. Set comment-<foo> variables as well.
1560 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1561 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1562 (delphi-other-face, opascal-other-face): Remove face variables.
1563 (opascal-save-state): Remove macro.
1564 (opascal-fontifying-progress-step): Remove constant.
1565 (opascal--ignore-changes): Remove var.
1566 (opascal-set-token-property, opascal-parse-next-literal)
1567 (opascal-is-stable-literal, opascal-complete-literal)
1568 (opascal-is-literal-start, opascal-face-of)
1569 (opascal-parse-region, opascal-parse-region-until-stable)
1570 (opascal-fontify-region, opascal-after-change)
1571 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1572 (opascal-debug-parse-region, opascal-debug-parse-window)
1573 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1574 (opascal-debug-fontify-buffer): Remove.
1575 (opascal-debug-mode-map): Adjust accordingly.
1576
1577 2013-04-25 Leo Liu <sdl.web@gmail.com>
1578
1579 Merge octave-mod.el and octave-inf.el into octave.el with some
1580 cleanups.
1581 * progmodes/octave.el: New file renamed from octave-mod.el.
1582 * progmodes/octave-inf.el: Merged into octave.el.
1583 * progmodes/octave-mod.el: Renamed to octave.el.
1584
1585 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1586
1587 * textmodes/reftex-vars.el
1588 (reftex-label-ignored-macros-and-environments): New defcustom.
1589
1590 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1591
1592 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1595 (smie-indent-keyword): Improve the check to ensure that the next
1596 comment is really on the same line.
1597 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1598
1599 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1600 semi-colons if the line is not otherwise empty (bug#14218).
1601
1602 2013-04-25 Glenn Morris <rgm@gnu.org>
1603
1604 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1605
1606 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * progmodes/opascal.el (opascal-set-token-property): Rename from
1609 opascal-set-text-properties and only set `token' (bug#14134).
1610 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1611 (opascal-literal-text-properties): Remove.
1612 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1613 Adjust callers.
1614
1615 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1616
1617 * textmodes/remember.el (remember-handler-functions): Add an
1618 option for a new handler `remember-store-in-files'.
1619 (remember-data-directory, remember-directory-file-name-format):
1620 New options.
1621 (remember-store-in-files): New function to store remember notes
1622 as separate files within a directory.
1623
1624 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1625
1626 * progmodes/compile.el (compilation-next-error-function):
1627 Pass "formats" to compilation-find-file (bug#11777).
1628
1629 2013-04-24 Glenn Morris <rgm@gnu.org>
1630
1631 * vc/vc-bzr.el (vc-bzr-print-log):
1632 * vc/vc-hg.el (vc-hg-print-log):
1633 * vc/vc-svn.el (vc-svn-print-log):
1634 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1635
1636 * vc/vc-bzr.el (vc-bzr-print-log):
1637 * vc/vc-cvs.el (vc-cvs-print-log):
1638 * vc/vc-git.el (vc-git-print-log):
1639 * vc/vc-hg.el (vc-hg-print-log):
1640 * vc/vc-mtn.el (vc-mtn-print-log):
1641 * vc/vc-rcs.el (vc-rcs-print-log):
1642 * vc/vc-sccs.el (vc-sccs-print-log):
1643 * vc/vc-svn.el (vc-svn-print-log):
1644 * vc/vc.el (vc-print-log-internal): Doc fixes.
1645
1646 2013-04-23 Glenn Morris <rgm@gnu.org>
1647
1648 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1649 Remove venerable code attempting to avoid substitute-command-keys.
1650
1651 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1652
1653 * textmodes/reftex-vars.el (reftex-label-regexps):
1654 Call `reftex-compile-variables' after changes to this variable.
1655
1656 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1657
1658 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1659 Use lexical-binding.
1660 (jit-lock-force-redisplay): Use markers, check buffer's continued
1661 existence and beware narrowed buffers.
1662 (jit-lock-fontify-now): Adjust call accordingly.
1663
1664 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1665
1666 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1667 to avoid misleading the user.
1668
1669 2013-04-22 Leo Liu <sdl.web@gmail.com>
1670
1671 * info-look.el: Prefer latex2e.info. (Bug#14240)
1672
1673 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1674
1675 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1676
1677 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1678 * net/tramp.el (tramp-call-process): ... here
1679 (tramp-set-completion-function, tramp-parse-putty):
1680 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1681 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1682 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1683 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1684 (tramp-call-local-coding-command): Use `tramp-call-process'
1685 instead of `tramp-compat-call-process'.
1686
1687 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1688 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1689 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1690 (tramp-find-inline-compress): Improve traces.
1691 (tramp-maybe-send-script): Check for Perl binary.
1692 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1693
1694 2013-04-22 Daiki Ueno <ueno@gnu.org>
1695
1696 * epg.el (epg-context-pinentry-mode): New function.
1697 (epg-context-set-pinentry-mode): New function.
1698 (epg--start): Pass --pinentry-mode option to gpg command.
1699
1700 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1701
1702 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1703 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1704 `completion-at-point'. (Bug#13774)
1705
1706 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1707 default key binding for `describe-distribution' has been moved to
1708 `C-h C-o'. (Bug#13970)
1709
1710 2013-04-21 Glenn Morris <rgm@gnu.org>
1711
1712 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1713 Add doc strings.
1714 (vc-print-log): Clarify interactive prompt.
1715
1716 2013-04-20 Glenn Morris <rgm@gnu.org>
1717
1718 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1719 No longer include timestamp etc information.
1720
1721 2013-04-20 Roland Winkler <winkler@gnu.org>
1722
1723 * faces.el (read-face-name): Bug fix, return just one face if arg
1724 multiple is nil. (Bug#14209)
1725
1726 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1727
1728 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1729 (remove-function): Autoload.
1730
1731 * comint.el (comint-redirect-original-filter-function): Remove.
1732 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1733 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1734 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1735 * progmodes/prolog.el (prolog-consult-compile):
1736 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1737 Use add/remove-function instead.
1738 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1739 (gud-tooltip-process-output, gud-tooltip-tips):
1740 Use add/remove-function instead.
1741 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1742 (scheme-interaction-mode, exit-scheme-interaction-mode):
1743 Use add/remove-function instead.
1744
1745 * vc/vc-dispatcher.el: Use lexical-binding.
1746 (vc--process-sentinel): Rename from vc-process-sentinel.
1747 Change last arg to be the code to run. Don't use vc-previous-sentinel
1748 and vc-sentinel-commands any more.
1749 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1750 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1751
1752 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1753
1754 * progmodes/sh-script.el (sh-imenu-generic-expression):
1755 Handle function names with a single character. (Bug#14111)
1756
1757 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1758
1759 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1760 for subroutines defined in an eval (bug#14182).
1761
1762 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1763
1764 * bookmark.el (bookmark-completing-read): Improve handling of empty
1765 string (bug#14176).
1766
1767 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1770
1771 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1772
1773 New faster Imenu implementation (bug#14058).
1774 * progmodes/python.el:
1775 (python-imenu-prev-index-position):
1776 (python-imenu-format-item-label-function)
1777 (python-imenu-format-parent-item-label-function)
1778 (python-imenu-format-parent-item-jump-label-function):
1779 New vars.
1780 (python-imenu-format-item-label)
1781 (python-imenu-format-parent-item-label)
1782 (python-imenu-format-parent-item-jump-label)
1783 (python-imenu--put-parent, python-imenu--build-tree)
1784 (python-imenu-create-index, python-imenu-create-flat-index)
1785 (python-util-popn): New functions.
1786 (python-mode): Set imenu-create-index-function to
1787 python-imenu-create-index.
1788
1789 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * winner.el (winner-active-region): Use region-active-p, activate-mark
1792 and deactivate-mark (bug#14225).
1793
1794 * simple.el (deactivate-mark): Don't inline it.
1795
1796 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1797
1798 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1799
1800 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1801
1802 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1803 file extensions from the archive-mode entry in order to prefer
1804 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1805
1806 2013-04-18 Leo Liu <sdl.web@gmail.com>
1807
1808 * bindings.el (help-event-list): Add ?\?.
1809
1810 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * subr.el (with-wrapper-hook): Declare obsolete.
1813 * simple.el (filter-buffer-substring-function): New hook.
1814 (filter-buffer-substring): Use it.
1815 (filter-buffer-substring-functions): Mark obsolete.
1816 * minibuffer.el (completion-in-region-function): New hook.
1817 (completion-in-region): Use it.
1818 (completion-in-region-functions): Mark obsolete.
1819 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1820 * abbrev.el (abbrev-expand-function): New hook.
1821 (expand-abbrev): Use it.
1822 (abbrev-expand-functions): Mark obsolete.
1823 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1824 and :filter-return.
1825
1826 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1827
1828 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1829 and do not care about match data.
1830
1831 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1834 completion tables when completing error conditions and
1835 `declare' arguments.
1836 (lisp-complete-symbol, field-complete): Mark as obsolete.
1837 (check-parens): Unmatched parens are user errors.
1838 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1839
1840 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1841
1842 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1843 command changed buffer (ie. `flyspell-pre-buffer' is not current
1844 buffer), which prevents making decisions based on invalid value of
1845 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1846 cause an error when `flyspell-pre-point' was nil after switching
1847 buffers.
1848 (flyspell-post-command-hook): No longer needs to change buffers when
1849 checking pre-word. While at it remove unnecessary progn.
1850
1851 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1852
1853 * textmodes/ispell.el (ispell-add-per-file-word-list):
1854 Fix `flyspell-correct-word-before-point' error when accepting
1855 words and `coment-padding' is an integer by using
1856 `comment-normalize-vars' (Bug #14214).
1857
1858 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1859
1860 New defun movement commands.
1861 * progmodes/python.el (python-nav--syntactically)
1862 (python-nav--forward-defun, python-nav-backward-defun)
1863 (python-nav-forward-defun): New functions.
1864
1865 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1866
1867 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1868 (python-syntax-context): Use named compiler-macro for backwards
1869 compatibility with Emacs 24.x.
1870
1871 2013-04-17 Leo Liu <sdl.web@gmail.com>
1872
1873 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1874 octave-hide-process-buffer.
1875
1876 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1879 (bug#14216).
1880
1881 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1882
1883 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1884 Fix adjustment of offset when receiving incomplete responses from GDB
1885 (bug#14129).
1886
1887 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1888
1889 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1890 python-mode-abbrev-table.
1891 (python-skeleton-define): Adjust accordingly.
1892 (python-mode-abbrev-table): New table that inherits from it so that
1893 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1894
1895 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1896 (abbrev-symbol): Use it.
1897 (abbrev--before-point): Use it since we already handle inheritance.
1898
1899 2013-04-16 Leo Liu <sdl.web@gmail.com>
1900
1901 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1902 binding to info-lookup-symbol.
1903
1904 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1905
1906 * minibuffer.el (completion--twq-all):
1907 * term/ns-win.el (ns-initialize-window-system):
1908 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1909
1910 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1911
1912 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1913 global bindings.
1914
1915 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1916
1917 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1918
1919 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1920 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1921 to nil.
1922 (ruby-end-of-defun): Remove the unused arg, change the docstring
1923 to reflect that this function is only used as the value of
1924 `end-of-defun-function'.
1925 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1926 to reflect an earlier change that beginning/end-of-defun functions
1927 jump between methods in a class definition, as well as top-level
1928 functions.
1929
1930 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1931
1932 * minibuffer.el (minibuffer-complete): Don't just scroll
1933 a *Completions* that's been iconified.
1934 (minibuffer-force-complete): Make sure repetitions do cycle when going
1935 through completion-in-region -> minibuffer-complete.
1936
1937 2013-04-15 Alan Mackenzie <acm@muc.de>
1938
1939 Correct the placement of c-cpp-delimiters when there're #s not at
1940 col 0.
1941
1942 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1943 place a submatch around the #.
1944 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1945 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1946 on the #, not BOL.
1947
1948 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1951 (advice--member-p): New arg `name'.
1952 (advice--add-function, advice-member-p): Use it (bug#14202).
1953
1954 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1955
1956 Reformulate java imenu-generic-expression.
1957 The old expression contained ill formed regexps.
1958
1959 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1960 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1961 (cc-imenu-java-method-arg-regexp): New defconsts.
1962 (cc-imenu-java-build-type-args-regex): New defun.
1963 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1964 handling of spaces in the regexp.
1965
1966 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1967
1968 * textmodes/ispell.el (ispell-command-loop): Remove
1969 flyspell highlight of a word when ispell accepts it (bug #14178).
1970
1971 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1972
1973 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1974 uses code from the previous `ange-ftp-run-real-handler'.
1975 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1976 only in case that function exist. This is needed for proper
1977 unloading of Tramp.
1978
1979 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1980
1981 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1982
1983 * textmodes/reftex.el (reftex-compile-variables): Use it.
1984
1985 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1986
1987 * files.el (normal-mode): Only use default major-mode if no other mode
1988 was specified.
1989
1990 * emacs-lisp/trace.el (trace-values): New function.
1991
1992 * files.el: Allow : in local variables (bug#14089).
1993 (hack-local-variable-regexp): New var.
1994 (hack-local-variables-prop-line, hack-local-variables): Use it.
1995
1996 2013-04-13 Roland Winkler <winkler@gnu.org>
1997
1998 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1999 data before it gets modified by bibtex-beginning-of-entry.
2000
2001 2013-04-13 Roland Winkler <winkler@gnu.org>
2002
2003 * textmodes/bibtex.el (bibtex-url): Doc fix.
2004
2005 2013-04-13 Roland Winkler <winkler@gnu.org>
2006
2007 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2008 does not visit a BibTeX file, exclude it from the list of buffers
2009 returned by bibtex-initialize.
2010
2011 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2012
2013 * window.el (split-window): Remove interactive form, since as a
2014 command this function is a special case of split-window-below.
2015 Correct doc string.
2016
2017 2013-04-12 Roland Winkler <winkler@gnu.org>
2018
2019 * faces.el (read-face-name): Do not override value of arg default.
2020 Allow single faces and strings as default values. Remove those
2021 elements from return value that are not faces.
2022 (describe-face): Simplify.
2023 (face-at-point): New optional args thing and multiple so that this
2024 function can provide the same functionality previously provided by
2025 read-face-name.
2026 (make-face-bold, make-face-unbold, make-face-italic)
2027 (make-face-unitalic, make-face-bold-italic, invert-face)
2028 (modify-face, read-face-and-attribute): Use face-at-point.
2029
2030 * cus-edit.el (customize-face, customize-face-other-window)
2031 * cus-theme.el (custom-theme-add-face)
2032 * face-remap.el (buffer-face-set)
2033 * facemenu.el (facemenu-set-face): Use face-at-point.
2034
2035 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2036
2037 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2038
2039 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2040
2041 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2042 off leading { and trailing } from field values.
2043
2044 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2045
2046 * emacs-lisp/timer.el (timer--check): New function.
2047 (timer--time, timer-set-function, timer-event-handler): Use it.
2048 (timer-set-idle-time): Simplify.
2049 (timer--activate): CSE.
2050 (timer-event-handler): Give more info in error message.
2051 (internal-timer-start-idle): New function, moved from C.
2052
2053 * mpc.el (mpc-proc): Add `restart' argument.
2054 (mpc-proc-cmd): Use it.
2055 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2056 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2057 less often.
2058
2059 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2060
2061 * progmodes/sh-script.el: Implement `sh-mode' own
2062 `add-log-current-defun-function' (bug#14112).
2063 (sh-current-defun-name): New function.
2064 (sh-mode): Use the function.
2065
2066 2013-04-09 Bastien Guerry <bzg@gnu.org>
2067
2068 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2069
2070 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2071
2072 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2073
2074 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2075 timer (bug#14156).
2076
2077 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2078
2079 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2080 declaration.
2081
2082 2013-04-07 Leo Liu <sdl.web@gmail.com>
2083
2084 * pcmpl-x.el: New file.
2085
2086 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2087
2088 Do not set x-display-name until X connection is established.
2089 This is needed to prevent from weird situation described at
2090 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2091 * frame.el (make-frame): Set x-display-name after call to
2092 window system initialization function, not before.
2093 * term/x-win.el (x-initialize-window-system): Add optional
2094 display argument and use it.
2095 * term/w32-win.el (w32-initialize-window-system):
2096 * term/ns-win.el (ns-initialize-window-system):
2097 * term/pc-win.el (msdos-initialize-window-system):
2098 Add compatible optional display argument.
2099
2100 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2101
2102 * files.el (normal-backup-enable-predicate): On MS-Windows and
2103 MS-DOS compare truenames of temporary-file-directory and of the
2104 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2105 don't fail comparison by compare-strings. Also, compare file
2106 names case-insensitively on MS-Windows and MS-DOS.
2107
2108 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2109
2110 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2111 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2112
2113 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2114
2115 * whitespace.el (whitespace-color-on, whitespace-color-off):
2116 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2117
2118 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2119
2120 * ispell.el (ispell-set-spellchecker-params):
2121 Really set `ispell-args' for all equivs.
2122
2123 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * ido.el (ido-completions): Use extra elements of ido-decorations
2126 (bug#14143).
2127 (ido-decorations): Update docstring.
2128
2129 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2130
2131 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2132 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2133 nil during initialization, in order not to miss changes since the
2134 file was opened. (Bug#14140)
2135
2136 2013-04-05 Leo Liu <sdl.web@gmail.com>
2137
2138 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2139
2140 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2141
2142 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2143
2144 2013-04-04 Glenn Morris <rgm@gnu.org>
2145
2146 * electric.el (electric-pair-inhibit-predicate): Add :version.
2147
2148 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2151 when a package is required several times (bug#14082).
2152
2153 2013-04-04 Roland Winkler <winkler@gnu.org>
2154
2155 * faces.el (read-face-name): Behave as promised by the docstring.
2156 Assume that arg default is a list of faces.
2157 (describe-face): Call read-face-name with list of default faces.
2158
2159 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2160
2161 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2162 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2163 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2164 the header.
2165 (bookmark-exit-hook-internal): Save even if list is empty.
2166
2167 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2168
2169 * emacs-lisp/package.el (package-pinned-packages): New var.
2170 (package--add-to-archive-contents): Obey it (bug#14118).
2171
2172 2013-04-03 Alan Mackenzie <acm@muc.de>
2173
2174 Handle `parse-partial-sexp' landing inside a comment opener
2175 (Bug#13244). Also adapt to the new values of element 7 of a parse
2176 state.
2177
2178 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2179 parameter `not-in-delimiter'. Handle being inside comment opener.
2180 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2181 character in case we're typing a '*' after a '/'.
2182 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2183 instead by passing the parameter to c-state-pp-to-literal.
2184
2185 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2186 for elt. 7 of a parse state.
2187
2188 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2189
2190 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2191 * international/latin1-disp.el, international/mule-util.el:
2192 * language/cyril-util.el, language/european.el, language/ind-util.el:
2193 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2194 * language/tibetan.el, language/viet-util.el:
2195 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2196
2197 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2200 (electric-pair-post-self-insert-function): Use it.
2201 (electric-pair-default-inhibit): New function, extracted from
2202 electric-pair-post-self-insert-function.
2203
2204 2013-03-31 Roland Winkler <winkler@gnu.org>
2205
2206 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2207
2208 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2209
2210 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2211
2212 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
2213
2214 Un-indent after "pass" and "return" statements (Bug#13888)
2215 * progmodes/python.el (python-indent-block-enders): New var.
2216 (python-indent-calculate-indentation): Use it.
2217
2218 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2219
2220 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2221 defun. Defining it as defalias could introduce too eager
2222 byte-compiler optimization. (Bug#14030)
2223
2224 2013-03-30 Chong Yidong <cyd@gnu.org>
2225
2226 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2227
2228 2013-03-30 Leo Liu <sdl.web@gmail.com>
2229
2230 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2231 (kmacro-execute-from-register): Pass the keyboard macro to
2232 kmacro-call-macro or repeating won't work correctly.
2233
2234 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2235
2236 * progmodes/subword.el: Back to using `forward-symbol'.
2237
2238 * subr.el (forward-whitespace, forward-symbol)
2239 (forward-same-syntax): Move from thingatpt.el.
2240
2241 2013-03-29 Leo Liu <sdl.web@gmail.com>
2242
2243 * kmacro.el (kmacro-to-register): New command.
2244 (kmacro-execute-from-register): New function.
2245 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2246
2247 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2248
2249 * mpc.el: Use defvar-local and setq-local.
2250 (mpc--proc-connect): Connection failures are not bugs.
2251 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2252 (mpc-volume-map): Bind to the up-events.
2253
2254 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2255
2256 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2257 instead of `forward-symbol'.
2258
2259 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2260
2261 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2262 (edebug--recursive-edit): Use it.
2263 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2264 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2265
2266 2013-03-28 Leo Liu <sdl.web@gmail.com>
2267
2268 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2269
2270 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2271
2272 * facemenu.el (list-colors-callback): New defvar.
2273 (list-colors-redisplay): New function.
2274 (list-colors-display): Install list-colors-redisplay as the
2275 revert-buffer-function. (Bug#14063)
2276
2277 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2278
2279 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2280 and suffixes don't overlap (bug#14061).
2281
2282 * case-table.el: Use lexical-binding.
2283 (case-table-get-table): New function.
2284 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2285
2286 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2287
2288 * progmodes/subword.el: Add `superword-mode' to do word motion
2289 over symbol_words (parallels and leverages `subword-mode' which
2290 does word motion inside MixedCaseWords).
2291
2292 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2293
2294 * eshell/em-unix.el: Move su and sudo to...
2295 * eshell/em-tramp.el: ...Eshell tramp module.
2296
2297 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2300 Change return value to be a sexp. Delay `get-buffer' to after
2301 restoring the desktop (bug#13951).
2302
2303 2013-03-26 Leo Liu <sdl.web@gmail.com>
2304
2305 * register.el: Move semantic tag handling back to
2306 cedet/semantic/senator.el. (Bug#14052)
2307
2308 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2309
2310 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2311 into the prompt either (bug#13963).
2312
2313 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2314
2315 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2316 part of "(error-foo)".
2317
2318 2013-03-24 Juri Linkov <juri@jurta.org>
2319
2320 * replace.el (list-matching-lines-prefix-face): New defcustom.
2321 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2322 `occur-engine' if `face-differs-from-default-p' returns t.
2323 (occur-engine): Add `,' inside backquote construct to evaluate
2324 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2325 Pass `prefix-face' to the functions `occur-context-lines' and
2326 `occur-engine-add-prefix'.
2327 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2328 `prefix-face' and propertize the prefix with `prefix-face'.
2329 (Bug#14017)
2330
2331 2013-03-24 Leo Liu <sdl.web@gmail.com>
2332
2333 * nxml/rng-valid.el (rng-validate-while-idle)
2334 (rng-validate-quick-while-idle): Guard against deleted buffer.
2335 (Bug#13999)
2336
2337 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2338 is the last entry in kill-buffer-hook.
2339
2340 * files.el (kill-buffer-hook): Doc fix.
2341
2342 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2343
2344 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2345 Make it safe-local.
2346
2347 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2348
2349 2013-03-23 Leo Liu <sdl.web@gmail.com>
2350
2351 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2352 Remove.
2353
2354 * nxml/rng-valid.el (rng-validate-mode)
2355 (rng-after-change-function, rng-do-some-validation):
2356 * nxml/rng-maint.el (rng-validate-buffer):
2357 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2358 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2359 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2360 (nxml-extend-after-change-region): Use with-silent-modifications.
2361
2362 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2363 timer-idle-list.
2364
2365 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2366 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2367 timer-idle-list. (Bug#13999)
2368
2369 2013-03-23 Juri Linkov <juri@jurta.org>
2370
2371 * info.el (info-index-match): New face.
2372 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2373 main pattern and add text properties with the new face to matches
2374 in index entries relative to the beginning of the index entry.
2375 (Bug#14015)
2376
2377 2013-03-21 Eric Ludlam <zappo@gnu.org>
2378
2379 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2380 Inhibit read only while inserting objects.
2381
2382 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2383
2384 * progmodes/cfengine.el: Update docs to mention
2385 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2386 symbol motion. Remove "_" from the word syntax.
2387
2388 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2389
2390 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2391 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2392
2393 2013-03-20 Juri Linkov <juri@jurta.org>
2394
2395 * info.el (Info-next-reference-or-link)
2396 (Info-prev-reference-or-link): New functions.
2397 (Info-next-reference, Info-prev-reference): Use them.
2398 (Info-try-follow-nearest-node): Handle footnote navigation.
2399 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2400
2401 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2402
2403 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2404 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2405
2406 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2407
2408 Suppress unnecessary non-ASCII chatter during build process.
2409 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2410 (batch-skkdic-convert): Suppress most of the chatter.
2411 It's not needed so much now that machines are faster,
2412 and its non-ASCII component was confusing; see Dmitry Gutov in
2413 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2414
2415 2013-03-20 Leo Liu <sdl.web@gmail.com>
2416
2417 * ido.el (ido-chop): Fix bug#10994.
2418
2419 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2420
2421 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2422 Remove vars.
2423 (whitespace-color-on, whitespace-color-off):
2424 Use `font-lock-fontify-buffer' (Bug#13817).
2425
2426 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2427
2428 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2429 remapping in mode-line.
2430 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2431
2432 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2433
2434 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2435 value for `whitespace-line' face (Bug#13875).
2436 (whitespace-font-lock-keywords): Change description.
2437 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2438 the constructed keywords instead.
2439 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2440
2441 2013-03-19 Leo Liu <sdl.web@gmail.com>
2442
2443 * progmodes/compile.el (compilation-display-error): New command.
2444 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2445 C-o. (Bug#13992)
2446
2447 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2448
2449 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2450
2451 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2452
2453 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2454
2455 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2456
2457 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2458
2459 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2460 * net/tramp-gvfs.el (top):
2461 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2462 (tramp-handle-shell-command): Use it.
2463 (tramp-dissect-file-name): Raise an error when hostname is a
2464 method name, and neither method nor user is specified.
2465
2466 * net/trampver.el: Update release number.
2467
2468 2013-03-18 Leo Liu <sdl.web@gmail.com>
2469
2470 Make sure eldoc can be turned off properly.
2471 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2472 eldoc-mode.
2473 (eldoc-display-message-p): Revert last change.
2474 (eldoc-display-message-no-interference-p)
2475 (eldoc-print-current-symbol-info): Tweak.
2476
2477 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2478
2479 * doc-view.el (doc-view-new-window-function): Check the new window
2480 overlay's display property instead the char property of the
2481 buffer's first char. Use `with-selected-window' instead of
2482 `save-window-excursion' with `select-window'.
2483 (doc-view-document->bitmap): Check the current doc-view overlay's
2484 display property instead the char property of the buffer's first char.
2485
2486 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2487
2488 Automate the build of ja-dic.el (Bug#13984).
2489 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2490 from the input, rather than assume that it's been done for us by the
2491 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2492 the current date into a ja-dic.el comment, as that complicates
2493 regression testing.
2494
2495 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2496
2497 * whitespace.el: Fix double evaluation.
2498 (whitespace-space, whitespace-hspace, whitespace-tab)
2499 (whitespace-newline, whitespace-trailing, whitespace-line)
2500 (whitespace-space-before-tab, whitespace-indentation)
2501 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2502 obsolete defvars.
2503 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2504 (whitespace-color-on): Use a single font-lock-add-keywords call.
2505 Fix double-evaluation of face variables.
2506
2507 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2508
2509 * net/tramp-adb.el (tramp-adb-parse-device-names):
2510 Use `start-process' instead of `call-process'. Otherwise, the
2511 function might be blocked under MS Windows. (Bug#13299)
2512
2513 2013-03-17 Leo Liu <sdl.web@gmail.com>
2514
2515 Extend eldoc to display info in the mode-line. (Bug#13978)
2516 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2517 (eldoc-mode-line-string): New variable.
2518 (eldoc-minibuffer-message): New function.
2519 (eldoc-message-function): New variable.
2520 (eldoc-message): Use it.
2521 (eldoc-display-message-p)
2522 (eldoc-display-message-no-interference-p):
2523 Support eldoc-post-insert-mode.
2524
2525 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2526 (eval-expression): Run it.
2527
2528 2013-03-17 Roland Winkler <winkler@gnu.org>
2529
2530 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2531 strings in the list of return values.
2532
2533 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2534
2535 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2536 radix before checking for HMS forms.
2537
2538 2013-03-16 Leo Liu <sdl.web@gmail.com>
2539
2540 * progmodes/scheme.el: Add indentation and font-locking for λ.
2541 (Bug#13975)
2542
2543 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2544
2545 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2546 token before point (bug#13942).
2547
2548 2013-03-16 Leo Liu <sdl.web@gmail.com>
2549
2550 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2551
2552 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2553
2554 * startup.el (command-line-normalize-file-name): Fix handling of
2555 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2556 <xfq.free@gmail.com> in
2557 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2558
2559 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2560
2561 Sync with Tramp 2.2.7.
2562
2563 * net/trampver.el: Update release number.
2564
2565 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2566
2567 * doc-view.el Fix bug#13887.
2568 (doc-view-insert-image): Don't modify overlay associated to
2569 non-live windows, and implement horizontal centering of image in
2570 case it's smaller than the window.
2571 (doc-view-new-window-function): Force redisplay of new windows on
2572 doc-view buffers.
2573
2574 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2575
2576 * saveplace.el (save-place-alist-to-file): Don't sort
2577 `save-place-alist', just pretty-print it (bug#13882).
2578
2579 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2580
2581 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2582 whether `default-file-name-coding-system' is bound. It isn't in
2583 XEmacs.
2584
2585 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2586
2587 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2588 backquotes for `obsolete' (bug#13929).
2589
2590 * international/mule.el (find-auto-coding): Include file name in
2591 obsolescence warning (bug#13922).
2592
2593 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2594
2595 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2596 for CFEngine 3-specific indentation.
2597 (cfengine3-indent-line): Use it. Fix up category regex.
2598 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2599
2600 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2601
2602 * type-break.el (type-break-file-name):
2603 * textmodes/remember.el (remember-data-file):
2604 * strokes.el (strokes-file):
2605 * shadowfile.el (shadow-initialize):
2606 * saveplace.el (save-place-file):
2607 * ps-bdf.el (bdf-cache-file):
2608 * progmodes/idlwave.el (idlwave-config-directory):
2609 * net/quickurl.el (quickurl-url-file):
2610 * international/kkc.el (kkc-init-file-name):
2611 * ido.el (ido-save-directory-list-file):
2612 * emulation/viper.el (viper-custom-file-name):
2613 * emulation/vip.el (vip-startup-file):
2614 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2615 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2616
2617 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2618
2619 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2620 * language/thai-word.el: Switch to UTF-8.
2621
2622 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2623
2624 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2625
2626 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2627
2628 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2629 Use with-current-buffer and don't move point.
2630 (net-utils-run-simple): Remove useless code.
2631 (net-utils-remove-ctl-m): Remove unused custom.
2632
2633 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2634
2635 * international/characters.el (glyphless-set-char-table-range): New fun.
2636 (update-glyphless-char-display): Use it (bug#13744).
2637
2638 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2639
2640 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2641 namespaces in the syntax, indent closer for hanging brace
2642 correctly, allow single-quote delimited 'strings', and make
2643 `cfengine3-mode' the default.
2644
2645 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2646
2647 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2648 Use lexical-binding. Fix up docstring according to conventions.
2649 (gdbmi-debug-mode): New var.
2650 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2651 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2652 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2653 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2654 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2655 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2656 (gdbmi-bnf-incomplete-record-result): New functions.
2657 (gdb-car<): Remove function.
2658 (gdbmi-record-list): Remove variable.
2659 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2660 (gdbmi-bnf-result-state-configs): New const.
2661 (gud-gdbmi-marker-filter): Rewrite.
2662 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2663 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2664 Add `token' argument.
2665 (gdb-done, gdb-error): New functions.
2666 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2667
2668 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2669
2670 * term/xterm.el (xterm--report-background-handler): Don't burp
2671 upon timeout.
2672 (xterm--version-handler): Extract from terminal-init-xterm.
2673 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2674 Allow multiple handlers.
2675 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2676
2677 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2678 (xterm--report-background-handler, xterm--query): New functions.
2679 (terminal-init-xterm): Use them.
2680
2681 2013-03-11 Michael R. Mauger <michael@mauger.com>
2682
2683 * progmodes/sql.el Version 3.2
2684 Please note that my address changed to <michael@mauger.com>;
2685 the <mmaug@yahoo.com> address remains active.
2686 (sql-connection-alist): Updates documentation to fix bug#13715.
2687 (sql-connect): Handle missing `sql-connection-alist' correctly.
2688 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2689 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2690 property.
2691 (sql-default-value): New function.
2692 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2693 values were not used.
2694 (sql-rename-buffer): Make sure alternate buffer name has no text
2695 properties.
2696 (sql-input-sender, sql-execute-feature): Fetch variable with
2697 `buffer-local-value' rather than `with-current-buffer'.
2698 (sql-*): Use #' function syntax consistently.
2699 (sql-*): Use message/error/user-error consistently.
2700
2701 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * xt-mouse.el (xterm-mouse-event-read): Remove.
2704 (xterm-mouse--read-event-sequence-1000)
2705 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2706
2707 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * term/xterm.el (xterm-function-map): Support format used with
2710 formatOtherKeys=1 (bug#13839).
2711
2712 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2713 (with-no-warnings): Use `declare'.
2714
2715 * whitespace.el (whitespace-enable-predicate): New variable.
2716 (whitespace-enable-predicate): Use it.
2717
2718 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2719 (comint-output-filter, comint-update-fence):
2720 Use with-silent-modifications.
2721
2722 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2723
2724 * replace.el (occur-read-regexp-defaults-function): New var.
2725 (occur-read-regexp-defaults): New defun.
2726 (occur-read-primary-args): Propagate above change (bug#13892).
2727
2728 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2731
2732 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2733
2734 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2735
2736 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2737 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2738 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2739 New defconst.
2740 (tramp-gvfs-file-name-handler-alist) [directory-files]
2741 [directory-files-and-attributes, file-exists-p, file-modes]:
2742 Use Tramp default handler.
2743 [file-acl, file-selinux-context, process-file, set-file-acl]:
2744 [set-file-modes, set-file-selinux-context, shell-command]:
2745 [start-file-process]: Remove handler.
2746 [verify-visited-file-modtime]: New handler.
2747 (tramp-gvfs-dbus-string-to-byte-array)
2748 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2749 calls of `dbus-string-to-byte-array' and
2750 `tramp-gvfs-dbus-byte-array-to-string'.
2751 (tramp-gvfs-handle-copy-file)
2752 (tramp-gvfs-handle-delete-directory)
2753 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2754 (tramp-gvfs-handle-file-directory-p)
2755 (tramp-gvfs-handle-file-executable-p)
2756 (tramp-gvfs-handle-file-name-all-completions)
2757 (tramp-gvfs-handle-file-readable-p)
2758 (tramp-gvfs-handle-file-writable-p)
2759 (tramp-gvfs-handle-insert-directory)
2760 (tramp-gvfs-handle-insert-file-contents)
2761 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2762 (tramp-gvfs-handle-set-visited-file-modtime)
2763 (tramp-gvfs-handle-write-region): Rewrite.
2764 (tramp-gvfs-handle-file-acl)
2765 (tramp-gvfs-handle-file-selinux-context)
2766 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2767 (tramp-gvfs-handle-set-file-modes)
2768 (tramp-gvfs-handle-set-file-selinux-context)
2769 (tramp-gvfs-handle-shell-command)
2770 (tramp-gvfs-handle-start-file-process)
2771 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2772 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2773 over the symlinks. Fix user handling.
2774 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2775 of the D-Bus signals.
2776 (tramp-gvfs-connection-mounted-p): Handle different names of the
2777 D-Bus methods.
2778 (tramp-gvfs-mount-spec-entry): New defun.
2779 (tramp-gvfs-mount-spec): Use it.
2780 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2781 there is a share name. Handle different names of the D-Bus
2782 signals and methods. Set connection properties needed for
2783 `tramp-check-cached-permissions'.
2784 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2785 Return t or nil.
2786
2787 * net/tramp.el (tramp-backtrace): Move up.
2788 (tramp-error): Dump a backtrace into the debug buffer when
2789 `tramp-verbose > 9.
2790 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2791 (tramp-file-mode-permissions, tramp-get-local-uid)
2792 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2793 tramp-sh.el.
2794
2795 * net/tramp-sh.el (tramp-file-mode-type-map)
2796 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2797 (tramp-file-mode-permissions, tramp-get-local-uid)
2798 (tramp-get-local-gid): Move to tramp.el.
2799
2800 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2801
2802 Separate mouse-1-click-follows-link from mouse-drag-region.
2803 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2804 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2805 (mouse-drag-line, mouse-drag-track):
2806 Remove mouse-1-click-follows-link code.
2807 (mouse--remap-link-click-p): Remove.
2808
2809 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2810
2811 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2812 (hi-lock-read-regexp-defaults): New defun.
2813 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2814 (hi-lock-face-phrase-buffer): Propagate above change.
2815 Update docstring (bug#13892).
2816
2817 * subr.el (find-tag-default-as-regexp): New defun.
2818 * replace.el (read-regexp): Propagate above change.
2819
2820 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2821
2822 * calc/calc-units.el (calc-convert-units): Fix the way that default
2823 new units are stored.
2824
2825 2013-03-07 Matthias Meulien <orontee@gmail.com>
2826
2827 * bookmark.el: Define a face to highlight bookmark names in
2828 bookmark menu buffers, where the default is a bold face similarly
2829 to buffer names in buffer menu buffers.
2830 (bookmark-menu-bookmark): New face to highlight bookmark names.
2831 (bookmark-insert-location): Remove duplicated text property to
2832 conform to buffer list (see `list-buffers').
2833 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2834 `bookmark-menu-bookmark' to bookmark names.
2835
2836 2013-03-07 Matthias Meulien <orontee@gmail.com>
2837 Karl Fogel <kfogel@red-bean.com>
2838
2839 * bookmark.el: Display the bookmark list header similarly to the
2840 buffer list header (see `list-buffers'), where the default is now
2841 an immovable/immutable header line.
2842 (bookmark-bmenu-use-header-line): New variable.
2843 (bookmark-bmenu-inline-header-height): New name for
2844 `bookmark-bmenu-header-height', to avoid confusion with the code
2845 for the new immovable header. All references changed.
2846 (bookmark-bmenu-set-header): New function.
2847 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2848 Conditionalize header construction accordingly.
2849 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2850 the inline header height.
2851 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2852 Conditionalize the skipping of the inline header height.
2853
2854 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2855
2856 * progmodes/js.el (js--multi-line-declaration-indentation):
2857 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2858
2859 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2860
2861 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2862 Only propertize regexp when not inside a string (Bug#13885).
2863
2864 2013-03-06 Alan Mackenzie <acm@muc.de>
2865
2866 Correct the position of point in some line-up functions.
2867 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2868 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2869 point at column 0 rather than at a random place in the line.
2870
2871 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2872
2873 * net/tramp-compat.el (tramp-compat-delete-directory):
2874 Implement TRASH argument.
2875
2876 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2877
2878 Keep pre-existing highlighting in completion candidates (Bug#13250).
2879 * minibuffer.el (completions-first-difference): State that the
2880 face is "added" in the docstring.
2881 (completions-common-part): Same. And don't inherit from default.
2882 (completion-hilit-commonality): Prepend 'completions-common-part
2883 and 'completion-first-difference faces to the 'face property,
2884 instead of replacing the value(s).
2885 (completion--insert-strings): Same with 'completions-annotations face.
2886 (completion-hilit-commonality): Use 'face instead of
2887 'font-lock-face, because it gets priority if the completion
2888 strings already have 'face set.
2889
2890 2013-03-04 Alan Mackenzie <acm@muc.de>
2891
2892 Replace `last-command-event' by `last-command-char' in XEmacs.
2893 * progmodes/cc-defs.el (c-last-command-char): New macro.
2894 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2895 (c-semi&comma-no-newlines-before-nonblanks)
2896 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2897 in place of `last-command-event'.
2898 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2899 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2900 (c-electric-paren, c-electric-continued-statement): Use the new
2901 macro in place of `last-command-event'.
2902
2903 2013-03-04 Glenn Morris <rgm@gnu.org>
2904
2905 * files.el (inhibit-local-variables-regexps):
2906 Add .diff and .patch. (Bug#13862)
2907
2908 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2909
2910 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2911 whether the "su" command is available on the device.
2912
2913 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2914
2915 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2916 (tramp-adb-handle-process-file): Remove superfluous setting.
2917 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2918 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2919 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2920
2921 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2924 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2925 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2926 Use dict-key rather than dict-name for the error message.
2927
2928 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2929
2930 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2931 when reverting (bug#13831).
2932
2933 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2934
2935 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2936 Always expand affix-file before storing to protect against changed
2937 `default-directory'.
2938 (ispell-print-if-debug): Make sure message is printed at the end
2939 of the debug buffer.
2940
2941 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2942
2943 * net/tramp.el (tramp-obsolete-methods): New defconst.
2944 (tramp-warned-obsolete-methods): New defvar.
2945 (tramp-find-method): Check for obsolete methods. Map them to a
2946 replacement method if appropriate.
2947
2948 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2949 Remove methods.
2950 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2951 "ssh2" and "plink1".
2952
2953 2013-02-28 Dale Sedivec <dale@codefu.org>
2954
2955 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2956 Return valid syntax-table property value when converting
2957 quotes within text from string syntax to punctuation syntax (bug#13844).
2958
2959 2013-02-28 Juri Linkov <juri@jurta.org>
2960
2961 * dired-aux.el (dired-diff): If file at point is a backup file,
2962 use its original as the default value, and reverse the order
2963 of arguments to the `diff' call. Doc fix. (Bug#13772)
2964
2965 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2966
2967 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2968 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2969
2970 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2971
2972 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2973
2974 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2975 Ask hunspell about available and default dictionaries.
2976 (ispell-parse-hunspell-affix-file): Extract relevant info from
2977 hunspell affix file.
2978 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2979 `ispell-dictionary-alist' entry for given dictionary after info
2980 provided by `ispell-parse-hunspell-affix-file'.
2981 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2982 of parsed hunspell dicts and associated affix files.
2983 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2984 of parsed hunspell dicts and associated parameters.
2985 (ispell-set-spellchecker-params):
2986 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2987 previously done.
2988 (ispell-start-process):
2989 Call `ispell-hunspell-fill-dictionary-entry' for current
2990 dictionary if it is not initialized.
2991
2992 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2993
2994 * imenu.el: Comment nitpicks.
2995
2996 2013-02-28 Sam Steingold <sds@gnu.org>
2997
2998 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2999 See <http://stackoverflow.com/questions/14720205>.
3000
3001 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3002
3003 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3004 (net-utils-mode): Use it.
3005 (net-utils--revert-cmd): New var.
3006 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3007 (traceroute): Use net-utils-run-simple.
3008
3009 2013-02-28 Glenn Morris <rgm@gnu.org>
3010
3011 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3012
3013 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3014
3015 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3016 (doc-view-fallback-mode): Remove overlays here.
3017 (doc-view-toggle-display): Instead of here. Don't throw away
3018 image-mode-winprops-alist.
3019 (doc-view-goto-page): Don't mess with hscroll.
3020
3021 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3022
3023 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3024 &optional (bug#13819).
3025
3026 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3027
3028 * net/tramp-adb.el (tramp-adb-parse-device-names)
3029 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3030
3031 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3032
3033 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3034 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3035 defined. POSIX environments fall back to the "C" locale then and
3036 emit a warning, which shall be suppressed.
3037
3038 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3040 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3041 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3042
3043 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3044
3045 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3046
3047 2013-02-25 Juri Linkov <juri@jurta.org>
3048
3049 * replace.el (read-regexp): Let-bind `default' to the first
3050 element of `defaults' if it's a list, otherwise it should be
3051 a string or nil. Let-bind `suggestions' to `defaults' if it's
3052 a list, otherwise make a list with the string value. Doc fix.
3053 (Bug#13805)
3054
3055 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3056
3057 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3058 that match "\`\.#", to avoid compiling lock files, even if they
3059 are readable (as they are on MS-Windows).
3060
3061 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * files.el (basic-save-buffer): Remove redundant directory-creation.
3064
3065 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3066
3067 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3068 Add option to force `pi' to remain symbolic.
3069 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3070 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3071 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3072 derivatives, when necessary.
3073
3074 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3075
3076 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3077 (ps-mode-octal-region): Use string-make-unibyte.
3078
3079 2013-02-23 Glenn Morris <rgm@gnu.org>
3080
3081 * emulation/viper-cmd.el (viper-submit-report):
3082 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3083 * progmodes/vera-mode.el (vera-mode-help-address):
3084 * textmodes/artist.el (artist-maintainer-address):
3085 * textmodes/reftex.el (reftex-report-bug):
3086 * vc/ediff-util.el (ediff-submit-report):
3087 Add bug-gnu-emacs to bug report address.
3088
3089 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3090 Remove bug report entries.
3091 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3092
3093 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3094 (byte-compile-file, byte-compile-from-buffer):
3095 Use separate input/output buffers for each level of recursive
3096 byte-compile-file calls. (Bug#13787)
3097
3098 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3099
3100 * net/tramp.el (tramp-methods): Fix docstring.
3101 (tramp-ssh-controlmaster-options): Rename it from
3102 `tramp-ssh-controlmaster-template'. Return a string.
3103 (tramp-default-method): Adapt check for
3104 `tramp-ssh-controlmaster-options'.
3105
3106 * net/tramp-sh.el (tramp-methods):
3107 Replace `tramp-ssh-controlmaster-template' by "%c".
3108 (tramp-do-copy-or-rename-file-out-of-band)
3109 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3110 that it is applied for the first hop only.
3111
3112 2013-02-22 Juri Linkov <juri@jurta.org>
3113
3114 * isearch.el (isearch-lazy-highlight-new-loop):
3115 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3116 to `isearch-other-end' if it is not nil. (Bug#13402)
3117
3118 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3119 to `match-beg'.
3120
3121 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3122 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3123 and `isearch-error' to nil.
3124
3125 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3126
3127 * progmodes/python.el (python-info-current-defun):
3128 Enhance match-data cluttering prevention.
3129
3130 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3131
3132 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3133
3134 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3135 Handle multibyte file names.
3136
3137 2013-02-22 Glenn Morris <rgm@gnu.org>
3138
3139 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3140 (sgml-transformation-function): Give it a :set function.
3141 (sgml-tag): Doc fix.
3142
3143 * cmuscheme.el (scheme-buffer):
3144 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3145 * progmodes/tcl.el (inferior-tcl-buffer):
3146 * textmodes/tex-mode.el (tex-command): Doc fixes.
3147
3148 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3149
3150 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3151
3152 2013-02-21 Bastien Guerry <bzg@gnu.org>
3153
3154 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3155
3156 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3157
3158 * progmodes/python.el (python-info-current-defun):
3159 Enhance match-data cluttering prevention.
3160
3161 2013-02-21 Glenn Morris <rgm@gnu.org>
3162
3163 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3164 loaded while outline-regexp is let bound. (Bug#9584)
3165
3166 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3167
3168 * progmodes/python.el (python-info-current-defun): Fix failed
3169 defun name retrieval because of unwanted match-data cluttering.
3170
3171 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3172
3173 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3174 defconst. Apply independent check for ControlPersist.
3175
3176 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3177 temporarily, via "env".
3178
3179 2013-02-21 Glenn Morris <rgm@gnu.org>
3180
3181 * info.el (Info-enable-edit): Remove.
3182 (Info-edit): Disable it rather than using Info-enable.
3183 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3184 (Info-cease-edit): Make editing of Info files obsolete.
3185
3186 * informat.el (Info-tagify):
3187 Handle buffers not visiting files. (Bug#13763)
3188
3189 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3190
3191 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3192
3193 2013-02-21 Glenn Morris <rgm@gnu.org>
3194
3195 * files.el (basic-save-buffer): Move check for existing parent
3196 directory after hooks. (Bug#13773)
3197
3198 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3199
3200 * simple.el (command-execute): Move from C. Add obsolete check.
3201 (extended-command-history): Move from C.
3202
3203 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
3204
3205 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3206 (jka-compr-mode-alist-additions): Handle .txz suffix for
3207 XZ-compressed tar archives (bug#13770).
3208
3209 2013-02-20 Bastien Guerry <bzg@gnu.org>
3210
3211 * outline.el (outline-regexp, outline-heading-end-regexp):
3212 Make variables, not options (bug#13731).
3213
3214 2013-02-20 Glenn Morris <rgm@gnu.org>
3215
3216 * image.el (image-current-frame): Change from variable to function.
3217 (image-show-frame): Rename from image-nth-frame. Update callers.
3218 * image-mode.el (image-multi-frame): New variable.
3219 (image-mode-map, image-mode, image-goto-frame):
3220 Use image-multi-frame rather than image-current-frame.
3221 (image-mode, image-goto-frame): Use image-current-frame as
3222 function rather than as variable.
3223
3224 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3225 * emacs-lisp/cl-macs.el (cl--make-type-test)
3226 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3227
3228 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3229
3230 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3231 (tramp-get-file-property, tramp-set-file-property)
3232 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3233 (tramp-flush-file-property, tramp-flush-directory-property):
3234 Rename argument to KEY.
3235 (tramp-flush-connection-property): Simplify a little bit.
3236 (tramp-connection-property-p): New defun.
3237 (top): Reapply saved values only if there isn't a corresponding
3238 entry in `tramp-connection-properties'.
3239
3240 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3241
3242 * progmodes/python.el (python-indent-context):
3243 Fix python-info-line-ends-backslash-p call.
3244 (python-info-line-ends-backslash-p)
3245 (python-info-beginning-of-backslash): Respect line-number argument.
3246 (python-info-current-line-comment-p):
3247 Fix behavior when not at beginning-of-line.
3248 (python-util-position): Remove function.
3249 (python-util-goto-line): New function.
3250
3251 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3252
3253 * eshell/em-unix.el (eshell/su): Require tramp.
3254 (eshell/sudo): Require tramp. Remove now unnecessary check.
3255
3256 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3257 `tramp-current-connection' in order to avoid an error when several
3258 commands are invoked in a short time in eshell and friends.
3259
3260 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3261
3262 Cleanup some of EIEIO's namespace.
3263 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3264 Use it to define all the class-* and object-* field accessors (renamed
3265 to eieio--class-* and eieio--object-*). Update all uses.
3266 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3267 class-num-slots and object-num-slots.
3268 (eieio--check-type): New macro.
3269 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3270 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3271 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3272 (object-assoc-list-safe): Use it.
3273 (eieio-defclass): Tighten regexp.
3274 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3275 Remove unreachable code.
3276 (object-class-fast): Declare obsolete.
3277 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3278 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3279 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3280 Rename from class-name, object-name, object-set-name-string,
3281 object-class, object-class-name, class-parents, class-children,
3282 class-precedence-list, class-parent; with obsolete alias.
3283 (class-of, class-direct-superclasses, class-direct-subclasses):
3284 Declare obsolete.
3285 (eieio-defmethod): Use `memq'; remove unreachable code.
3286 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3287 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3288 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3289
3290 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3291
3292 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3293 commentary.
3294
3295 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3296
3297 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3298 Use font-lock-keyword-face for macros and special forms (bug#8345).
3299
3300 2013-02-17 Didier Verna <didier@didierverna.net>
3301
3302 * net/network-stream.el (network-stream-open-starttls):
3303 Check that response to the starttls-command is non-nil. (Bug#13706)
3304
3305 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3306
3307 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3308 Don't assume all identifier chars have syntax word.
3309 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3310 Remove bar-not-symbol. Adjust callers.
3311 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3312
3313 2013-02-17 Leo Liu <sdl.web@gmail.com>
3314
3315 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3316
3317 2013-02-17 Glenn Morris <rgm@gnu.org>
3318
3319 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3320
3321 * image-mode.el (image-mode-map): Add image-dired menu entry.
3322
3323 * image-dired.el (tumme): Make this alias obsolete.
3324
3325 2013-02-16 Glenn Morris <rgm@gnu.org>
3326
3327 * image.el (image-animated-types): Remove.
3328 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3329 (image-animated-p): Make obsolete alias.
3330 (image-animate, image-nth-frame, image-animate-timeout):
3331 Use image-multi-frame-p.
3332 (image-animate-timeout): If no delay, use image-default-frame-delay.
3333 * image-mode.el (image-mode, image-toggle-animation):
3334 Use image-multi-frame-p. (Bug#763, bug#10739)
3335 (image-mode): Adjust startup message for a multi-frame image.
3336
3337 * image-mode.el (image-mode-map): Give it a menu.
3338
3339 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3340
3341 * net/tramp-cache.el (tramp-connection-properties): New customer
3342 option.
3343 (tramp-get-connection-property): Use it.
3344
3345 * net/tramp-compat.el (top): Require 'trampver.
3346
3347 * net/tramp-sh.el (tramp-remote-process-environment):
3348 Set tramp-autoload cookie.
3349
3350 2013-02-16 Kevin Ryde <user42@zip.com.au>
3351
3352 * info-look.el (info-lookup-select-mode): If major-mode has no
3353 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3354
3355 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3356
3357 * replace.el (read-regexp): Tighten the regexp that matches tag.
3358 When tag is retrieved with `find-tag-default', use regexp that
3359 matches tag at point. Also update docstring (Bug#13687).
3360
3361 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3362
3363 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3364 add watch for the file, not its parent directory, since w32notify
3365 sets up the watch for the directory internally. (Bug#13725)
3366
3367 2013-02-16 Glenn Morris <rgm@gnu.org>
3368
3369 * image.el (image-default-frame-delay): New variable.
3370 (image-animated-p): Use image-default-frame-delay.
3371 (image-minimum-frame-delay): New constant.
3372 (image-animate-timeout): Use image-minimum-frame-delay.
3373
3374 * image.el (image-nth-frame): New, split from image-animate-timeout.
3375 (image-animate-timeout): Use image-nth-frame.
3376 * image-mode.el (image-goto-frame, image-next-frame)
3377 (image-previous-frame): New commands.
3378 (image-mode-map): Add new frame commands.
3379
3380 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3381
3382 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3383 If col-desc already has help-echo, use it. (Bug#13563)
3384
3385 2013-02-16 Glenn Morris <rgm@gnu.org>
3386
3387 * image.el (image-current-frame): New variable.
3388 (image-animate-timeout): Set image-current-frame.
3389 * image-mode.el (image-mode): For animated images,
3390 display a frame counter via mode-line-process.
3391
3392 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3393
3394 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3397
3398 2013-02-15 Alan Mackenzie <acm@muc.de>
3399
3400 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3401 global minor mode has been enabled, call the minor mode function
3402 for a new buffer once only, after the major mode hook, whilst
3403 allowing that hook explicitly to disable the minor mode.
3404 (MODE-disable-in-buffer): New (generated) function.
3405 (disable-MODE): New (generated) buffer local variable.
3406
3407 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3408
3409 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3410 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3411 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3412 `ido-next-match' and `ido-prev-match' resply.
3413 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3414 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3415 `icomplete-backward-completions' (Bug#13708).
3416
3417 2013-02-15 Glenn Morris <rgm@gnu.org>
3418
3419 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3420
3421 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3422
3423 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3424 (goto-address-fontify-region): Use them instead of narrowing, so
3425 syntax-ppss has access to the whole buffer.
3426
3427 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3428
3429 * progmodes/python.el: Explain how to restore "cc-mode"-like
3430 forward-sexp movement in header documentation (Bug#13642).
3431 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3432 comments and strings (GH bug 114).
3433
3434 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3435
3436 * progmodes/python.el (python-info-current-defun): Fix current
3437 defun detection (Bug#13618).
3438
3439 2013-02-15 Chong Yidong <cyd@gnu.org>
3440
3441 * xml.el (xml-parse-string): Fix typo in handling of bad character
3442 references.
3443
3444 2013-02-15 Glenn Morris <rgm@gnu.org>
3445
3446 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3447
3448 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3449
3450 * net/tramp.el (tramp-debug-message):
3451 Add `tramp-condition-case-unless-debug'.
3452 (tramp-debug-on-error): New defvar.
3453 (tramp-condition-case-unless-debug): New defun.
3454 (tramp-file-name-handler): Use it.
3455
3456 2013-02-14 Juri Linkov <juri@jurta.org>
3457
3458 * info.el (Info-isearch-filter): Treat non-nil values of
3459 `search-invisible' including its default value `open'
3460 like the value `t' to match hidden text. (Bug#13402)
3461
3462 2013-02-14 Glenn Morris <rgm@gnu.org>
3463
3464 * help-fns.el (find-lisp-object-file-name): Give special treatment
3465 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3466
3467 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3468
3469 * net/quickurl.el (quickurl-save-urls):
3470 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3471
3472 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3473
3474 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3475 depth for unfinished percent literal. Not using it in the caller.
3476 (ruby-move-to-block): Jump over multiline literals of all types,
3477 ignoring code-looking contents inside them.
3478 (ruby-add-log-current-method): Improve performance at the expense
3479 of accuracy. `ruby-block-contains-point' is relatively slow, so
3480 only use it for method and singleton class blocks.
3481
3482 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3483
3484 Use ControlMaster where applicable. (Bug#13677)
3485
3486 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3487 replacing `tramp-detect-ssh-controlmaster'.
3488 (tramp-default-method): Use it.
3489
3490 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3491 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3492 arguments.
3493 [scpc, rsyncc]: Remove methods.
3494 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3495 and "ssh2_old".
3496 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3497 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3498
3499 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * emacs-lisp/package.el (package--initialized): Move before first use.
3502
3503 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3504
3505 * icomplete.el (icomplete-hide-common-prefix): New user option.
3506 (icomplete-first-match): New face.
3507 (icomplete-completions): Correct handling of "complete but not
3508 unique" (Bug#12638).
3509
3510 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3511
3512 * descr-text.el (describe-char): Display the script (bug#13698).
3513
3514 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3515
3516 * tmm.el: Use lexical-binding and current-active-maps.
3517 (tmm-menubar): Use map-keymap and pcase.
3518 (tmm--completion-table): New function.
3519 (tmm-prompt): Use it to fix the menu order.
3520 (tmm-get-keybind): Use current-active-maps.
3521
3522 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3523
3524 Add dired-hide-details-mode. (Bug#6799)
3525
3526 * locate.el (locate-mode): Set parent mode property to dired-mode.
3527
3528 * find-dired.el (find-dired): Call dired-insert-set-properties on
3529 initial information line. Set process mark on end of buffer.
3530 (find-dired-sentinel):
3531 Call dired-insert-set-properties on summary.
3532
3533 * dired.el (dired-hide-details-hide-symlink-targets)
3534 (dired-hide-details-hide-information-lines): New options.
3535 (dired-insert-directory):
3536 Set properties after final treatment of output.
3537 (dired-insert-set-properties):
3538 Set dired-hide-details-* properties.
3539 (dired-mode-map): Bind dired-hide-details-mode.
3540 (dired-mode): Set buffer-invisibility-spec to a list.
3541 (dired-next-line): Skip hidden lines.
3542 (dired-previous-line): Use dired-next-line.
3543 (dired-hide-details-mode): New minor mode.
3544 (dired-hide-details-update-invisibility-spec): New function.
3545
3546 2013-02-13 Glenn Morris <rgm@gnu.org>
3547
3548 * play/yow.el: Move to obsolete/. (Bug#9384)
3549
3550 2013-02-13 Juri Linkov <juri@jurta.org>
3551
3552 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3553 to select `ediff-control-frame' and set input focus correctly on Xfce.
3554 (Bug#12218)
3555
3556 2013-02-13 Juri Linkov <juri@jurta.org>
3557
3558 * image-mode.el (image-mode-map):
3559 * doc-view.el (doc-view-mode-map):
3560 * vc/ediff-util.el (ediff-setup-keymap):
3561 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3562
3563 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3564
3565 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3566 performance. Instead of recalculating indentation fully for each
3567 line, sum up indentation depth based only on visited lines.
3568 (ruby-parse-partial): Increase the depth after "do" even when END
3569 is right after it.
3570 (ruby-parse-partial): When END is in the middle of a percent
3571 literal, increase the depth if the delimiter chars belong to the
3572 paren syntax class.
3573
3574 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3575
3576 * play/fortune.el (fortune-compile): Also make the compiled file
3577 if it does not exist at all, not just if it is old. (Bug#5338)
3578
3579 2013-02-13 Glenn Morris <rgm@gnu.org>
3580
3581 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3582
3583 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3584
3585 * lisp/emacs-lisp/package.el (package-menu-execute):
3586 Add optional noquery argument. (Bug#13625)
3587
3588 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3589
3590 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3591 if DIR exists and PARENTS is non-nil.
3592
3593 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3594
3595 * progmodes/js.el (js--multi-line-declaration-indentation):
3596 Silence byte-compiler warning.
3597
3598 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3599
3600 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3601
3602 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3603 only if it doesn't exist.
3604
3605 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3606 Set process marker.
3607
3608 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3609
3610 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3611 UserInstallation when calling soffice to work around LibreOffice
3612 bug 37531.
3613
3614 2013-02-12 Glenn Morris <rgm@gnu.org>
3615
3616 * files.el (basic-save-buffer):
3617 Offer to create a non-existing directory. (Bug#3016)
3618
3619 * calc/calc-graph.el (calc-graph-show-dumb):
3620 * calendar/calendar.el (calendar-mode-map):
3621 * cus-edit.el (custom-mode-map):
3622 * ehelp.el (electric-help-map):
3623 * emulation/vip.el (vip-mode-map):
3624 * epa.el (epa-key-list-mode-map):
3625 * info.el (Info-mode-map):
3626 * mail/rmail.el (rmail-mode-map):
3627 * mail/rmailsum.el (rmail-summary-mode-map):
3628 * man.el (Man-mode-map):
3629 * net/newst-plainview.el (newsticker-mode-map):
3630 * progmodes/cpp.el (cpp-edit-mode-map):
3631 * progmodes/grep.el (grep-mode-map):
3632 * progmodes/idlw-help.el (idlwave-help-mode-map):
3633 * simple.el (special-mode-map):
3634 * startup.el (splash-screen-keymap):
3635 * view.el (view-mode-map):
3636 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3637
3638 2013-02-11 Elias Pipping <pipping@lavabit.com>
3639
3640 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3641 (bug#13679).
3642
3643 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3646
3647 2013-02-11 Glenn Morris <rgm@gnu.org>
3648
3649 * vc/diff.el (diff-use-labels): New variable.
3650 (diff-no-select): Use --label rather than -L, and first
3651 check that it is supported. (Bug#11067)
3652
3653 * files.el (enable-dir-local-variables): New variable.
3654 (hack-dir-local-variables): Respect enable-dir-local-variables.
3655 * tutorial.el (help-with-tutorial):
3656 Ignore directory-local variables. (Bug#11127)
3657
3658 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3659 (vc-svn-global-switches): ... to here. (Bug#13513)
3660
3661 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3662
3663 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3664 Handle "foo (bar, default: xxx): " prompts.
3665
3666 2013-02-10 Chong Yidong <cyd@gnu.org>
3667
3668 * files.el (basic-save-buffer-1): Do not set
3669 buffer-file-coding-system-explicit (Bug#4533).
3670
3671 * mail/emacsbug.el (report-emacs-bug): Change binding of
3672 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3673
3674 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3675
3676 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3677 * calc/calc-units.el (calc-convert-units): Use new variable.
3678
3679 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3680
3681 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3682
3683 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3684 buffer-file-type.
3685
3686 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3687 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3688 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3689 coding-system-for-write instead.
3690
3691 * jka-compr.el (jka-compr-write-region): Don't bind
3692 buffer-file-type.
3693
3694 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3695 buffer-file-type.
3696
3697 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3698 (insert-file-contents-literally): Remove reference to
3699 file-name-buffer-file-type-alist.
3700
3701 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3702 make-obsolete.
3703 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3704 (find-buffer-file-type-coding-system): Remove references to
3705 find-buffer-file-type-match, find-buffer-file-type, and
3706 buffer-file-type.
3707 Don't put find-buffer-file-type-coding-system into
3708 file-coding-system-alist.
3709 (find-file-binary, find-file-text): Bind coding-system-for-read
3710 instead of file-name-buffer-file-type-alist.
3711
3712 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3713
3714 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3715 converter (Bug#13622).
3716 (doc-view-unoconv-program): Make obsolete alias.
3717 (doc-view-odf->pdf-converter-program): New variable.
3718 (doc-view-odf->pdf-converter-function): New variable.
3719 (doc-view-mode-p): Use it.
3720 (doc-view-odf->pdf-converter-unoconv):
3721 Rename from `doc-view-odf->pdf-converter-unoconv'.
3722 (doc-view-odf->pdf-converter-soffice): New function.
3723 (doc-view-convert-current-doc):
3724 Use `doc-view-odf->pdf-converter-function'.
3725
3726 2013-02-09 Chong Yidong <cyd@gnu.org>
3727
3728 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3729 view-echo-area-messages (Bug#13340).
3730
3731 * help.el (view-echo-area-messages): Use display-buffer.
3732
3733 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3734 (Bug#13561).
3735
3736 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3737
3738 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3739 Eval body right away, now that we do eager macroexpansion (bug#13605).
3740
3741 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3742 (fundamental-mode): Use run-mode-hooks.
3743
3744 * eshell/esh-proc.el (eshell/kill): Fix last change.
3745 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3746
3747 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3748
3749 * eshell/esh-proc.el (eshell/kill): Rewrite.
3750
3751 * eshell/em-ls.el (show-almost-all): Declare.
3752 (eshell-do-ls): Add support for -A argument.
3753
3754 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3755
3756 * icomplete.el (icomplete-forward-completions)
3757 (icomplete-backward-completions): Handle corner case (bug#13602).
3758
3759 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3760
3761 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3762 be nil. Handle this. (Bug#13636)
3763
3764 2013-02-07 Richard Stallman <rms@gnu.org>
3765
3766 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3767 `save-buffer-coding-system'.
3768
3769 2013-02-07 Alan Mackenzie <acm@muc.de>
3770
3771 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3772 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3773 (c-parse-state-get-strategy): Don't return 'BOD any more.
3774 (c-append-lower-brace-pair-to-state-cache):
3775 Extra parameter HERE instead of narrowing.
3776 Widen to top of buffer before searching backwards for a brace pair.
3777 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3778 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3779 Narrow to parameter HERE, in place of being called narrowed.
3780 (c-remove-stale-state-cache): Extra parameter HERE in place of
3781 narrowing. Check there's an open brace in the cache before
3782 searching for its match.
3783 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3784 (c-parse-state-1): Don't narrow here for 'forward strategy,
3785 instead passing extra parameter HERE to several functions.
3786 Remove 'BOD strategy.
3787
3788 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3789
3790 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3791 used to install the package.
3792
3793 2013-02-06 Glenn Morris <rgm@gnu.org>
3794
3795 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3796 if we can't get user input. (Bug#6567)
3797
3798 * startup.el (command-line): If simple.el is missing,
3799 test and warn about for some possible causes.
3800
3801 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3802
3803 * cus-start.el (all): Add ns-use-native-fullscreen.
3804
3805 2013-02-05 Glenn Morris <rgm@gnu.org>
3806
3807 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3808
3809 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3810 Fix directory creation in fallback case.
3811
3812 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3813
3814 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3815 (vc-update-change-log): Use dolist.
3816
3817 2013-02-04 Chong Yidong <cyd@gnu.org>
3818
3819 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3820 code from ffap.el.
3821 (thing-at-point-beginning-of-url-regexp): New var.
3822 (thing-at-point-uri-schemes): Update list of URI schemes.
3823 (thing-at-point-url-regexp): Variable deleted.
3824 (thing-at-point-markedup-url-regexp): Disallow newlines.
3825 (thing-at-point-newsgroup-regexp)
3826 (thing-at-point-newsgroup-heads)
3827 (thing-at-point-default-mail-uri-scheme): New variables.
3828 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3829 method to find the possible bounds of the URI at point.
3830 New optional argument to find ill-formed URIs.
3831 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3832 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3833 the scheme-adding heuristics from ffap-url-at-point.
3834 (thing-at-point--bounds-of-well-formed-url): New function.
3835 Do parens matching to decide whether to include parens in the URI
3836 (Bug#9153).
3837
3838 * ffap.el: Require thingatpt.
3839 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3840 All URI-valid characters are now recognized (Bug#5673).
3841 (ffap-string-at-point): Use use-region-p.
3842 (ffap-url-regexp): Extra character is handled by thing-at-point.
3843 (ffap-string-at-point-mode-alist): Allow parentheses.
3844 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3845 Convert to aliases; code moved to thingatpt.el.
3846 (ffap-gnus-hook): Use setq-local.
3847
3848 2013-02-04 Glenn Morris <rgm@gnu.org>
3849
3850 * emacs-lisp/ert.el (ert--explain-format-atom):
3851 Don't try to print non-characters as characters. (Bug#13543)
3852
3853 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3854
3855 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3856 (tramp-backtrace): New defun.
3857 (tramp-handle-insert-file-contents): Use `visit' when inserting
3858 the local copy.
3859
3860 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3861 Use `remote-file-name-inhibit-cache'.
3862
3863 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3866 (bug#13614).
3867
3868 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3869 current-load-list (bug#13366).
3870
3871 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3872
3873 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3874 Identify g++ template instantiation trace. (Bug#12287)
3875 (compilation-mode-hook, compilation-start-hook)
3876 (compilation-window-height): Simplify docstrings. (Bug#13379)
3877
3878 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * mouse.el (mouse-drag-track): Always deactivate the mark before
3881 running the final event's command since that command is in charge of
3882 activating the mark if needed (bug#13523).
3883
3884 2013-02-02 Juri Linkov <juri@jurta.org>
3885
3886 * replace.el (perform-replace): Move let-bindings of isearch-*
3887 variables deeper to the loop that searches for the next match.
3888 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3889 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3890 (Bug#13579)
3891
3892 * isearch.el (isearch-search-fun-default): Check for null
3893 first element of isearch-cmds as a precaution when it's used
3894 with inactive isearch.
3895
3896 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3897
3898 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3899 error when buffer in question is narrowed so position 1 is out of
3900 visible part.
3901
3902 2013-02-02 Glenn Morris <rgm@gnu.org>
3903
3904 * textmodes/remember.el (remember-clipboard): Doc fix.
3905
3906 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3909 properties (bug#13179).
3910
3911 2013-02-02 Juri Linkov <juri@jurta.org>
3912
3913 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3914 instead of hard-coded default face `match'. (Bug#9438)
3915
3916 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3917
3918 * vc/vc-arch.el (vc-arch-registered):
3919 * vc/vc-bzr.el (vc-bzr-registered):
3920 * vc/vc-cvs.el (vc-cvs-registered):
3921 * vc/vc-git.el (vc-git-registered):
3922 * vc/vc-hg.el (vc-hg-registered):
3923 * vc/vc-mtn.el (vc-mtn-registered):
3924 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3925 (Bug#13139)
3926
3927 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3928 prefix argument. (Bug#11656)
3929
3930 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3931
3932 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3933
3934 2013-02-01 Glenn Morris <rgm@gnu.org>
3935
3936 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3937 if the backend is known not to support it.
3938
3939 * imenu.el (imenu-default-create-index-function):
3940 Tweak infinite loop test to check for forward motion as well as none.
3941
3942 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3943
3944 * net/soap-client.el (soap-invoke): Encode the string for
3945 `url-request-data' as UTF-8.
3946 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3947
3948 2013-02-01 Glenn Morris <rgm@gnu.org>
3949
3950 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3951
3952 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3953
3954 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3955
3956 * net/tramp.el (tramp-tramp-file-p): Comment check for
3957 `string-as-unibyte'. The function does not exist on XEmacs, and
3958 likely we need another approach.
3959
3960 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3961 `tramp-gw-*' variables are bound.
3962
3963 2013-01-31 Glenn Morris <rgm@gnu.org>
3964
3965 * files.el (basic-save-buffer-2): Choose coding system for
3966 writing the file before backing it up, to reduce delay between
3967 backing up and writing the new version. (Bug#13522)
3968
3969 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3970
3971 * simple.el (cycle-spacing): New command.
3972 (just-one-space): Use it.
3973
3974 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3977 (opascal-newline-always-indents): Remove custom.
3978 (opascal-tab, opascal-newline): Remove commands.
3979 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3980 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3981 (opascal-save-match-data): Remove, use save-match-data instead.
3982 (opascal-save-state): Use with-silent-modifications.
3983
3984 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3985 (bug#13585).
3986
3987 2013-01-30 Juri Linkov <juri@jurta.org>
3988
3989 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3990 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3991 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3992
3993 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3994
3995 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3996 column if we're just deleting the backslashes.
3997 (makefile-fill-paragraph): Use eolp.
3998
3999 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4000
4001 * autorevert.el (auto-revert-use-notify): Fix docstring.
4002
4003 2013-01-30 Leo Liu <sdl.web@gmail.com>
4004
4005 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4006
4007 2013-01-30 Glenn Morris <rgm@gnu.org>
4008
4009 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4010 unread-command-events twice in some cases. This tries to implement
4011 the 2012-07-26 changes in a different way. (Bug#13560)
4012
4013 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4014
4015 * progmodes/python.el
4016 (python-pdbtrack-comint-output-filter-function): Enhancements on
4017 stacktrace detection. (thanks @gnovak)
4018
4019 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4020
4021 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4022 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4023 Use defvar-local.
4024 (jit-lock-register): Use setq-local.
4025
4026 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4027
4028 * calc-units.el (math-default-units-table): Remove initial value.
4029 (calc-convert-units): Treat expressions where all the units cancel as
4030 if they didn't have units.
4031
4032 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4033
4034 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4035 (tramp-completion-reread-directory-timeout): Fix type.
4036 (tramp-connection-min-time-diff): New defcustom.
4037
4038 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4039
4040 2013-01-30 Glenn Morris <rgm@gnu.org>
4041
4042 * imenu.el (imenu-default-create-index-function):
4043 Put back a version of the infinite loop test removed 2013-01-23.
4044
4045 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4046
4047 * progmodes/python.el (python-shell-parse-command):
4048 Find python-shell-interpreter with modified environment.
4049
4050 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4053
4054 2013-01-29 Alan Mackenzie <acm@muc.de>
4055
4056 Amend to fontify /regexp/s in actions correctly.
4057 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4058 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4059 are no longer included.
4060 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4061 What used to be these variables without "-line" in the name.
4062 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4063 (c-awk-non-arith-op-bra-re): Now also matches {.
4064 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4065 "return", and "case".
4066 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4067 by /.
4068 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4069 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4070
4071 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4072
4073 * autorevert.el (auto-revert-use-notify):
4074 Use `custom-initialize-default' for initialization. (Bug#13583)
4075
4076 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4077
4078 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4079 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4080 in `tramp-file-name-handler'.
4081 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4082 compatibility.
4083 (tramp-compute-multi-hops): Check, whether
4084 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4085
4086 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4089 (bug#13297).
4090
4091 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4092
4093 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4094 checks made superfluous by the \_< operator.
4095 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4096 temporarily) broken indentation.
4097 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4098 Highlight nested constants, too. \_< broke that.
4099
4100 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4101
4102 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4103 instead of "\\b".
4104
4105 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4106
4107 * autorevert.el (auto-revert-handler): Notifications which result
4108 from a saved file shall not be taken into account. (Bug#13557)
4109
4110 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4111
4112 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4113 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4114 (lisp-mode): Pass t for it. (Bug#13556)
4115
4116 2013-01-25 Alan Mackenzie <acm@muc.de>
4117
4118 AWK Mode: Fix indentation bug at top level. Bug #12274.
4119
4120 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4121 just before CASE 5D.
4122
4123 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4124
4125 * net/socks.el (socks-nslookup-host): Use string-to-number.
4126
4127 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4128
4129 * autorevert.el (auto-revert-remote-files)
4130 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4131 (auto-revert-notify-enabled, auto-revert-use-notify)
4132 (auto-revert-notify-watch-descriptor-hash-list)
4133 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4134 (auto-revert-notify-event-descriptor)
4135 (auto-revert-notify-event-action)
4136 (auto-revert-notify-event-file-name): Doc fix.
4137 (global-auto-revert-mode): Reorder checks.
4138 (auto-revert-notify-rm-watch): Respect changed values of
4139 `auto-revert-notify-watch-descriptor-hash-list'.
4140 (auto-revert-notify-add-watch): Check for
4141 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4142 `inotify-add-watch'. Watch `default-directory' instead of
4143 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4144 has a changed meaning now. (Bug#13540)
4145 (auto-revert-notify-handler): Change implementation wrt events
4146 returning from a directory.
4147 (auto-revert-handler): Reorder implementation for checks of remote
4148 files.
4149 (auto-revert-buffers): Fix parentheses error.
4150
4151 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4152
4153 * progmodes/python.el: Enhancements to header documentation about
4154 skeletons. (Bug#5716)
4155
4156 * imenu.el (imenu-default-create-index-function): Remove useless
4157 infinite loop check. (Bug#13438)
4158
4159 2013-01-25 Alan Mackenzie <acm@muc.de>
4160
4161 Fix a bug in the state cache mechanism. Refactor this a bit.
4162
4163 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4164 `cache-pos' element from the return value.
4165 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4166 buffer to enable proper searching from beyond HERE. Amend the
4167 test for detecting the sought brace pair. Amend the value written
4168 to the "brace desert cache" when the brace isn't found.
4169 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4170 and several other variables analogously.
4171 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4172 parameter to a locally calculated variable.
4173 (c-parse-state-1): Change the calling conventions to the two
4174 defuns involving `cache-pos'.
4175
4176 2013-01-25 Chong Yidong <cyd@gnu.org>
4177
4178 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4179
4180 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4181
4182 * paren.el (show-paren-function): Make sure to set 'priority and
4183 'face only if the overlay does exist.
4184
4185 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4186
4187 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4188
4189 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4190 basic attributes.
4191 (tramp-sh-handle-set-file-acl): Improve error checking.
4192
4193 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4194
4195 * doc-view.el (doc-view-display): Force mode line update until all
4196 document is converted. Suggested by Stefan Monnier (Bug#13164).
4197
4198 2013-01-23 Bastien Guerry <bzg@gnu.org>
4199
4200 * paren.el (show-paren-function): Make sure an overlay exists
4201 before trying to delete it. Also use `pos' as a position only
4202 when it is an integer.
4203
4204 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4205
4206 * play/gametree.el (gametree-break-line-here): Use point-marker.
4207
4208 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4209
4210 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4211 Mark descriptive parts with `display' property.
4212
4213 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4214
4215 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4216 New variable to map standard dict names to hunspell ones.
4217 (ispell-set-spellchecker-params): Make sure specific dict names
4218 are used for standard dicts with hunspell.
4219
4220 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4221
4222 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4223 chars for note (%N) and url (%U).
4224 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4225
4226 2013-01-21 Juri Linkov <juri@jurta.org>
4227
4228 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4229 in addition to existing separate binding `meta f10' in `global-map'.
4230 (Bug#13484)
4231
4232 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4233
4234 Improve XEmacs compatibility.
4235
4236 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4237
4238 * net/tramp-adb.el (top): Require `time-date'.
4239 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4240 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4241 Use `tramp-file-name-handler'.
4242 (tramp-adb-maybe-open-connection):
4243 Use `tramp-compat-set-process-query-on-exit-flag'.
4244
4245 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4246 Use `tramp-compat-funcall'.
4247
4248 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4249 `tramp-compat-funcall'.
4250
4251 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
4252
4253 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4254 reimplementation using "adb shell command ..." instead of running
4255 remote shell interactively.
4256
4257 2013-01-20 Glenn Morris <rgm@gnu.org>
4258
4259 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4260 Add native profiler menu entries.
4261
4262 * profiler.el (profiler-running-p): New function.
4263 (profiler-cpu-profile): Use profiler-running-p.
4264 (profiler-report-mode-map): Add some more menu entries.
4265
4266 2013-01-19 Glenn Morris <rgm@gnu.org>
4267
4268 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4269 fixes 2012-12-07 change. (Bug#13499)
4270
4271 2013-01-19 Leo Liu <sdl.web@gmail.com>
4272
4273 * dired.el (dired-get-marked-files): Prune erroneous values due to
4274 last change. (Bug#13152)
4275
4276 2013-01-19 Glenn Morris <rgm@gnu.org>
4277
4278 * progmodes/etags.el (tags-table-check-computed-list):
4279 Preserve point in tags buffer. (Bug#13412)
4280
4281 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4282
4283 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4284 Chong Yidong <cyd@gnu.org>
4285
4286 * image-mode.el (image-next-file, image-previous-file):
4287 New commands (Bug#8453).
4288 (image-mode-map): Bind them to n and p.
4289 (image-mode--images-in-directory): New helper function.
4290
4291 2013-01-19 Chong Yidong <cyd@gnu.org>
4292
4293 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4294 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4295 save and restore the old window configuration.
4296
4297 2013-01-18 Leo Liu <sdl.web@gmail.com>
4298
4299 * progmodes/js.el: Tweak autoload cookie for alias.
4300
4301 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4302
4303 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4304 buffer local, again. This was lost with the fix on 2013-01-12.
4305
4306 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4307
4308 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4309 order to support several eshell buffers in parallel.
4310
4311 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4312
4313 * autorevert.el (auto-revert-use-notify): In the :set function, do
4314 not modify `kill-buffer-hook'.
4315 (auto-revert-notify-rm-watch):
4316 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4317 (auto-revert-notify-add-watch): Do not call
4318 `auto-revert-notify-rm-watch', but add it to a buffer local
4319 `kill-buffer-hook'.
4320
4321 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4322
4323 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4324 call to `eval' rather than a backquoted lambda.
4325
4326 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4329 to return an explicit nil.
4330 (advice--remove-function): Change accordingly.
4331
4332 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4333 the use of nadvice.el.
4334
4335 * progmodes/which-func.el (which-function): Silence imenu errors
4336 (bug#13433).
4337
4338 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4339
4340 * progmodes/sql.el (sql-imenu-generic-expression):
4341 (sql-mode-font-lock-object-name): Match schema qualified names.
4342 (sql-connect): Use string keys.
4343 (sql-product-interactive): Wait for interpreter prompt.
4344 (sql-comint-oracle): Set process coding based on NLS_LANG.
4345
4346 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4347
4348 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4349 (sql-interactive-remove-continuation-prompt):
4350 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4351
4352 2013-01-14 Leo Liu <sdl.web@gmail.com>
4353
4354 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4355 (Bug#13420)
4356
4357 2013-01-14 Glenn Morris <rgm@gnu.org>
4358
4359 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4360 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4361
4362 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4363
4364 * progmodes/python.el (python-nav-end-of-statement):
4365 Fix cornercase when handling multiline strings.
4366
4367 2013-01-13 Richard Stallman <rms@gnu.org>
4368
4369 * mail/sendmail.el (mail-position-on-field): Add doc string.
4370
4371 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4372 Get current message boundaries and pass them to
4373 message-forward-make-body-mime. Minor style changes.
4374
4375 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4376
4377 * cus-start.el (all): Avoid warnings about
4378 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4379
4380 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4381
4382 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4383
4384 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4387 (jit-lock--debug-fontifying): New var.
4388 (jit-lock--debug-fontify): New function.
4389 * subr.el (condition-case-unless-debug): Don't prevent catching the
4390 error, just let the debbugger run.
4391 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4392 timer code and don't drop errors silently.
4393
4394 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4395
4396 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4397 `permanent-local' property.
4398 (auto-revert-notify-handler): Use `file-equal-p'.
4399
4400 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4401
4402 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4403 file notification by ACTION. For filtering by file name, compare
4404 only the non-directory part of the file name.
4405
4406 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4407
4408 * autorevert.el: Use cl-lib instead of cl.
4409
4410 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4411 (vc-bzr-checkin): Use it.
4412 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4413 will preserve match-data.
4414
4415 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4416
4417 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4418 (js--declaration-keyword-re): New var.
4419 (js--multi-line-declaration-indentation): New function.
4420 (js--proper-indentation): Use it.
4421
4422 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4423
4424 * calc/calc.el (calc-highlight-selections-with-faces)
4425 (calc-dispatch):
4426 * comint.el (comint-history-isearch-message):
4427 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4428 * ffap.el (ffap-string-at-point-region, ffap-next)
4429 (ffap-string-at-point, ffap-string-around)
4430 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4431 (ffap-literally):
4432 * font-lock.el (font-lock-keywords-alist)
4433 (font-lock-removed-keywords-alist):
4434 * help-mode.el (help-xref-symbol-regexp):
4435 * info.el (Info-find-emacs-command-nodes):
4436 * international/mule.el (add-to-coding-system-list):
4437 * isearch.el (isearch-message-function, isearch-fail-pos):
4438 * misearch.el (multi-isearch-next-buffer-function):
4439 * newcomment.el (comment-box):
4440 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4441 (pr-setting-database):
4442 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4443 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4444 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4445 (pike-font-lock-keywords-3):
4446 * progmodes/compile.el (compile):
4447 * progmodes/etags.el (tags-table-files)
4448 (tags-table-files-function, tags-included-tables-function):
4449 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4450 (gdb-restore-windows):
4451 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4452 (ps-n-up-filling-database):
4453 * server.el (server-buffer, server-log):
4454 * simple.el (newline, delete-backward-char, delete-forward-char)
4455 (minibuffer-history-isearch-message, kill-line, track-eol)
4456 (temporary-goal-column):
4457 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4458 (flyspell-default-deplacement-commands):
4459 * textmodes/ispell.el (ispell-accept-output):
4460 * textmodes/sgml-mode.el (html-tag-help):
4461 * vc/compare-w.el (compare-ignore-whitespace)
4462 (compare-ignore-case, compare-windows-dehighlight):
4463 * vc/diff.el (diff):
4464 * whitespace.el (whitespace-point)
4465 (whitespace-font-lock-refontify, whitespace-bob-marker)
4466 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4467
4468 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4469
4470 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4471 (auto-revert-notify-rm-watch): Ignore errors.
4472 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4473 inotify, and '(size last-write-time) for w32notify.
4474 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4475 watch fails - this is a fallback to the file modification check.
4476 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4477 (auto-revert-notify-event-action)
4478 (auto-revert-notify-event-file-name): New defuns.
4479 (auto-revert-notify-handler): Use them. Implement first
4480 plausibility checks.
4481 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4482
4483 2013-01-11 Julien Danjou <julien@danjou.info>
4484
4485 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4486 max are almost equal. Also return the correct value for V which is
4487 already between 0 and 1.
4488
4489 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4490
4491 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4492
4493 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4494
4495 * autorevert.el (auto-revert-notify-rm-watch)
4496 (auto-revert-notify-add-watch): Fix typos in w32notify function
4497 names.
4498
4499 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4500
4501 * autorevert.el (auto-revert-notify-enabled): Move up.
4502 (auto-revert-use-notify): New defcustom.
4503 (auto-revert-mode, global-auto-revert-mode)
4504 (auto-revert-notify-add-watch, auto-revert-handler)
4505 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4506 `auto-revert-notify-enabled'.
4507
4508 2013-01-10 Elias Pipping <pipping@exherbo.org>
4509
4510 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4511 * doc-view.el (doc-view-document->bitmap):
4512 Use doc-view-single-page-converter-function instead of
4513 single-page-converter arg; adjust callers.
4514
4515 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4516
4517 * progmodes/which-func.el (which-function): Understand Semantic's use
4518 of overlays in imenu--index-alist.
4519
4520 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4521
4522 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4523 (Man-man-k-use-anchor): New var.
4524 (Man-parse-man-k): New function.
4525 (Man-completion-table): Use it.
4526 (man): Flush the completion cache between uses.
4527
4528 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4529
4530 * autorevert.el: Add file watch support.
4531 (auto-revert-notify-enabled): New defconst.
4532 (auto-revert-notify-watch-descriptor-hash-list)
4533 (auto-revert-notify-watch-descriptor)
4534 (auto-revert-notify-modified-p): New defvars.
4535 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4536 (auto-revert-notify-handler): New defuns.
4537 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4538 when mode is disabled.
4539 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4540 (auto-revert-buffers): Add file watches for active buffers.
4541
4542 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4543
4544 * cus-start.el (toplevel): Only allow float values for
4545 scroll-up-aggressively and scroll-down-aggressively.
4546 Allow any number for line-spacing.
4547
4548 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4551 (doc-view-pdf->png-converter-function): Use mupdf if available.
4552 (doc-view-djvu->png-converter-function)
4553 (doc-view-ps->png-converter-function): Remove.
4554 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4555 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4556 (doc-view-already-converted-p): Adjust accordingly.
4557 (doc-view-mode-p): Simplify.
4558 (doc-view-enlarge): Use setq-local.
4559 (doc-view-pdf->png-converter-ghostscript)
4560 (doc-view-djvu->png-converter-ddjvu)
4561 (doc-view-pdf->png-converter-mupdf): Rework to call
4562 doc-view-start-process directly.
4563 (doc-view-pdf/ps->png): Simplify accordingly.
4564 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4565 (doc-view-document->bitmap): Rename from doc-view-document->png.
4566 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4567 (doc-view-set-slice-from-bounding-box): Fix completion table.
4568 (doc-view-mode): Use add-hook for after-revert-hook.
4569
4570 2013-01-10 Glenn Morris <rgm@gnu.org>
4571
4572 * emacs-lisp/authors.el (authors-ignored-files)
4573 (authors-valid-file-names, authors-renamed-files-alist):
4574 Add some more entries.
4575
4576 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4577
4578 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4579 `t' pseudo-window entry.
4580
4581 2013-01-10 Alan Mackenzie <acm@muc.de>
4582
4583 Fix bugs in the c-parse-state mechanism. Reuse some markers
4584 instead of continually generating new ones.
4585
4586 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4587 (c-state-old-cpp-end-marker): New variables.
4588 (c-append-lower-brace-pair-to-state-cache): Start a backward
4589 search for "}" definitively outside CPP constructs.
4590 (c-remove-stale-state-cache): Inform the caller of a need to
4591 search back for a brace pair in certain circumstances.
4592 (c-state-maybe-marker): New macro.
4593 (c-parse-state): Reuse markers when appropriate.
4594
4595 2013-01-10 Glenn Morris <rgm@gnu.org>
4596
4597 * simple.el (execute-extended-command): Doc fix.
4598 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4599
4600 2013-01-10 Chong Yidong <cyd@gnu.org>
4601
4602 * faces.el (read-face-name): Doc fix.
4603
4604 2013-01-10 Roland Winkler <winkler@gnu.org>
4605
4606 * emacs-lisp/crm.el: Allow any regexp for separators.
4607 (crm-default-separator): All spaces around the default comma separator.
4608 (crm--completion-command): New macro.
4609 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4610 (crm-complete-and-exit): Handle non-single-char separators.
4611
4612 2013-01-09 Elias Pipping <pipping@lavabit.com>
4613
4614 * doc-view.el: Add support for DjVu (bug#13164).
4615 (doc-view-djvu->png-converter-function): New config var.
4616 (doc-view-single-page-converter-function, doc-view--image-type)
4617 (doc-view--image-file-extension): New vars.
4618 (doc-view-mode): Initialize them.
4619 (doc-view-goto-page): Use them.
4620 (doc-view-mode-p): Add support for ddjvu.
4621 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4622 (doc-view-set-up-single-converter): New funs.
4623 (doc-view-pdf/ps->png): Extend for djvu.
4624 (doc-view-document->png): Rename from doc-view-pdf->png.
4625 (doc-view-convert-current-doc): Handle djvu.
4626 (doc-view-insert-image, doc-view-display)
4627 (doc-view-already-converted-p): Don't hardcode png.
4628 (doc-view-set-doc-type): Recognize djvu docs.
4629
4630 2013-01-09 Elias Pipping <pipping@lavabit.com>
4631
4632 * doc-view.el: Add support for mupdf converter (bug#13164).
4633 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4634 (doc-view-ps->png-converter-function): New config vars.
4635 (doc-view-pdf->png-converter-ghostscript)
4636 (doc-view-ps->png-converter-ghostscript)
4637 (doc-view-pdf->png-converter-mupdf): New functions.
4638 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4639
4640 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4641
4642 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4643 first in session cache: When `tramp-own-remote-path' is in
4644 `tramp-remote-path', the remote path is only set in the session
4645 cache.
4646
4647 2013-01-09 Glenn Morris <rgm@gnu.org>
4648
4649 * emacs-lisp/trace.el (trace-function-foreground)
4650 (trace-function-background): Doc fix.
4651
4652 2013-01-09 Juri Linkov <juri@jurta.org>
4653
4654 * international/mule-cmds.el (read-char-by-name): Move let-binding
4655 of completion-ignore-case around completing-read to fix regression
4656 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4657 `string-match-p' using the nil value of `case-fold-search' and
4658 `completion-ignore-case' in `completion-pcm--all-completions'.
4659 (Bug#12615).
4660
4661 2013-01-09 Glenn Morris <rgm@gnu.org>
4662
4663 * progmodes/compile.el (compilation-parse-errors):
4664 Fix typo. (Bug#13369)
4665
4666 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4667
4668 * comint.el (comint-send-input): Check size of buffer before
4669 waiting for process output, in case already accepted. (Bug#13290)
4670
4671 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4672
4673 Spelling fixes.
4674 * net/tramp-adb.el (tramp-adb-get-toolbox):
4675 Fix misspelling of 'unknown'.
4676
4677 2013-01-08 Juri Linkov <juri@jurta.org>
4678
4679 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4680 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4681 Use underline style wave on terminals that support it. (Bug#13000)
4682
4683 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4686 the predicate returns nil.
4687
4688 * simple.el: Use lexical-binding.
4689 (primitive-undo): Use pcase.
4690 (minibuffer-history-isearch-push-state): Use a closure.
4691
4692 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4693
4694 * simple.el (primitive-undo): Move from undo.c.
4695
4696 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4699 (cvs-mode-remove-handled): Use it (bug#13380).
4700
4701 * emacs-lisp/nadvice.el (advice--tweak): New function.
4702 (advice--remove-function, advice--subst-main): Use it.
4703
4704 * emacs-lisp/advice.el: Update commentary.
4705
4706 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4707
4708 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4709 Remove spurious entry.
4710
4711 2013-01-08 Glenn Morris <rgm@gnu.org>
4712
4713 * net/tramp.el (tramp-default-host-alist): Add :version.
4714
4715 2013-01-08 Juri Linkov <juri@jurta.org>
4716
4717 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4718 single completion. (Bug#12456)
4719 (info--manual-names): Expand node completions into an explicit list
4720 before appending it to another list. Filter out internal buffers
4721 with the leading space in the buffer name. (Bug#10771)
4722
4723 2013-01-08 Juri Linkov <juri@jurta.org>
4724
4725 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4726 that defaults to the Top node.
4727 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4728 the short format (FILENAME) goes to the Top node.
4729 (Info-build-node-completions): Rename arg `file' to `filename'.
4730 (Bug#13365)
4731
4732 2013-01-07 Bastien Guerry <bzg@gnu.org>
4733
4734 * menu-bar.el (menu-bar-search-documentation-menu):
4735 Use `apropos-user-option' and fix the help message.
4736
4737 2013-01-07 Bastien Guerry <bzg@gnu.org>
4738
4739 * apropos.el (apropos-do-all): Update docstring.
4740 (apropos-user-option-button): New face.
4741 (apropos-user-option): Rename from `apropos-variable' and update
4742 docstring.
4743 (apropos-variable): Rewrite, now show all variables by default.
4744 (apropos-print): Mention "User option" instead of "Variable" when
4745 printing doc for user options. (Bug#13276)
4746
4747 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4748
4749 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4750 Handle filename correctly, when parsing "source -> target" symlink
4751 output.
4752 (tramp-adb-handle-set-file-times): New defun.
4753
4754 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4755
4756 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4757 advice list when the interactive-spec of ad-Advice-* changes.
4758
4759 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4760
4761 * wid-edit.el (widget-default-get): Work for inlined elements.
4762 (Bug#12670)
4763
4764 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4765
4766 * net/tramp.el (tramp-default-host-alist): New defcustom.
4767 (tramp-find-host): Use it.
4768 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4769 `eshell-directory-change-hook'.
4770
4771 * net/tramp-adb.el (top): Add adb specific entry in
4772 `tramp-default-host-alist'.
4773 (tramp-adb-file-name-host): Remove function.
4774 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4775 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4776
4777 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4778
4779 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4780
4781 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4782
4783 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4784
4785 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4786 consist of more than one digit.
4787 (tramp-adb-file-name-handler-alist):
4788 Use `tramp-handle-file-exists-p' consistently.
4789 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4790 (tramp-adb-handle-file-exists-p): Remove function.
4791 (tramp-adb-file-name-host): New defun.
4792 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4793 Use it.
4794 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4795
4796 2013-01-06 Chong Yidong <cyd@gnu.org>
4797
4798 * vc/vc.el (vc-next-action): Detect buffer modifications
4799 conflicting with locking VCS operation (Bug#11490).
4800
4801 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4802
4803 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4804
4805 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4806 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4807
4808 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4809
4810 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4811 parsing of ls output using regular expression (handle filenames
4812 with spaces). Use virtual device number.
4813 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4814 cleanup).
4815
4816 2013-01-04 Daiki Ueno <ueno@gnu.org>
4817
4818 * epg.el: Silence byte-compiler warnings.
4819 (epg--start): Use delete-char instead of delete-backward-char.
4820 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4821
4822 2013-01-04 Daiki Ueno <ueno@gnu.org>
4823
4824 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4825 Suggested by Eli Zaretskii <eliz@gnu.org>.
4826
4827 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4828
4829 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4830 non-negative integers. Otherwise, the default values are used.
4831 (tramp-convert-file-attributes): Convert uid and gid to integers.
4832
4833 2013-01-04 Glenn Morris <rgm@gnu.org>
4834
4835 * term.el (term-handle-colors-array): Ensure face attributes
4836 are fully specified, not nil. (Bug#13337)
4837
4838 * term.el (term-default-fg-color, term-default-bg-color):
4839 Fix custom type.
4840
4841 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4842 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4843 rather than 'jka-compr being loaded. (Bug#13338)
4844
4845 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4846
4847 * icomplete.el (icomplete-completions):
4848 Honor icomplete-prospects-height once more following
4849 2012-11-29 changes. (Bug#13224)
4850
4851 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4852
4853 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4854 of called-interactively-p as well (bug#13237).
4855
4856 * view.el (view--enable, view--disable): Rename from view-mode-enable
4857 and view-mode-disable and assume it's called from view-mode.
4858 (view-mode-enable, view-mode-disable): Redefine as obsolete
4859 compatibility layer above view-mode.
4860 (view-mode-enter): Call `view-mode'.
4861
4862 * files.el (after-find-file): Call `view-mode'.
4863
4864 * doc-view.el (doc-view-scale-internally): New var.
4865 (doc-view-enlarge, doc-view-insert-image): Obey it.
4866
4867 2013-01-03 Daiki Ueno <ueno@gnu.org>
4868
4869 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4870 exist. (Bug#13344)
4871
4872 2013-01-03 Glenn Morris <rgm@gnu.org>
4873
4874 * mail/rmail.el (rmail-set-header-1): Ignore case.
4875 Handle multi-line headers. (Bug#13330)
4876
4877 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4878 Handle paragraph starting at beginning of buffer.
4879
4880 * subr.el (eval-after-load): Don't purecopy the form, so that it
4881 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4882
4883 * emacs-lisp/byte-run.el (defun): Place cl declarations
4884 after any interactive spec. (Bug#13265)
4885
4886 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4887
4888 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4889 defun. Don't check for DECL if DOCSTRING isn't a string.
4890 (defun): Likewise.
4891
4892 2013-01-02 Glenn Morris <rgm@gnu.org>
4893
4894 * eshell/em-cmpl.el (eshell-pcomplete):
4895 More thoroughly imitate pcomplete. (Bug#13293)
4896
4897 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4898 Return nil for empty path elements. (Bug#13296)
4899
4900 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4901
4902 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4903 order to improve efficiency (Based on Daniel Colascione's
4904 <dancol@dancol.org> patch). (Bug#13182)
4905
4906 2013-01-02 Glenn Morris <rgm@gnu.org>
4907
4908 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4909
4910 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4911
4912 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4913 neither DOCSTRING nor DECL was given. (Bug#13316)
4914
4915 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4916
4917 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4918 `error' call.
4919 (tramp-do-copy-or-rename-file): Ignore errors when calling
4920 `set-file-extended-attributes'.
4921
4922 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4923 Add handler for `file-acl'.
4924 (tramp-smb-handle-file-acl): New defun.
4925
4926 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4927
4928 * calc/README: Mention ISO 8601 week-numbering dates.
4929
4930 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4931
4932 * view.el (view-mode-enable): New argument run-view-mode-hook.
4933 Run view-mode-hook only when it's non-nil (Bug#13315).
4934 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4935 argument t.
4936
4937 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4938
4939 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4940 (No device connected, invalid device name). (Bug #13299)
4941
4942 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4943
4944 * window.el (window-resizable--p): Rename to window-resizable-p.
4945 (window-resize-no-error): New function.
4946
4947 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4948 broken in fix from 2012-12-28.
4949
4950 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * subr.el (special-form-p): Don't signal errors on undef aliases.
4953
4954 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4955
4956 * calc/calc-forms.el (math-parse-date): Try using
4957 `math-parse-iso-date' when it looks like it might be needed.
4958 Allow times of 24:00.
4959 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4960 of 24:00.
4961
4962 2012-12-30 Glenn Morris <rgm@gnu.org>
4963
4964 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4965 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4966 (rmail-summary-displayed, rmail-summary): Declare.
4967 (mairix-rmail-display): Just require rmail.
4968
4969 2012-12-30 Chong Yidong <cyd@gnu.org>
4970
4971 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4972 check for the tarball contents.
4973
4974 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4975
4976 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4977 tarfile content listings (Bug#13136).
4978
4979 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4980
4981 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4982 Insert the undecoded text of the message being forwarded. (Bug#9521)
4983
4984 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4985
4986 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4987 integers, if they are real numbers. (Bug#13282)
4988
4989 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4990 Return `t' on success.
4991
4992 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4993 Add handler for `set-file-selinux-context'.
4994
4995 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4996
4997 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4998 (tramp-sh-handle-set-file-acl): Return `t' on success.
4999
5000 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5001
5002 * files.el (backup-buffer-copy, basic-save-buffer-2):
5003 If set-file-extended-attributes fails, fall back on set-file-modes
5004 instead of signaling an error. (Bug#13298)
5005 (basic-save-buffer): Likewise.
5006
5007 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5008
5009 * progmodes/python.el: Support other commands triggering
5010 python-indent-line so indentation cycling continues to work.
5011 (python-indent-trigger-commands): New defcustom.
5012 (python-indent-line): Use it.
5013
5014 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5015
5016 * progmodes/python.el (python-shell-send-region): Add blank lines
5017 for non sent code so backtraces remain correct.
5018
5019 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5020
5021 * progmodes/python.el: Remove cl dependency.
5022 (python-syntax-count-quotes): Replace incf call.
5023 (python-fill-string): Replace setf call.
5024
5025 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5026
5027 * info.el (info-other-window): New arg, for consistency with info.
5028
5029 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5030
5031 * mail/rmail.el (rmail-maybe-display-summary):
5032 Rewrite (Bug#13066).
5033
5034 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5035
5036 * epg.el (epg--start): Modify process-environment locally.
5037
5038 2012-12-28 Daiki Ueno <ueno@gnu.org>
5039
5040 * epg.el: Support pinentry-curses.
5041 Suggested by Werner Koch in
5042 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5043 (epg-agent-file, epg-agent-mtime): New variable.
5044 (epg--start): Record the modified time of gpg-agent socket file,
5045 to restore Emacs frame after pinentry-curses termination.
5046 (epg-wait-for-completion): Restore Emacs frame here.
5047
5048 2012-12-27 Juri Linkov <juri@jurta.org>
5049
5050 * info.el (Info-file-completions): New variable.
5051 (Info-read-node-name-1): Complete node names in the Info file
5052 when a file name is given. Call `Info-build-node-completions'
5053 with a file name.
5054 (Info-build-node-completions): Add new arg `file'. When it is
5055 non-nil, visit it in a temporary buffer and cache its completions in
5056 `Info-current-file-completions'. Move most of the function body to
5057 `Info-build-node-completions-1'.
5058 (Info-build-node-completions-1): New function with the body from
5059 `Info-build-node-completions'. (Bug#12456)
5060
5061 2012-12-27 Juri Linkov <juri@jurta.org>
5062
5063 * frame.el (frame-maximization-style): Remove user option.
5064 (cycle-frame-maximized): Remove function.
5065 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5066 (toggle-frame-fullscreen): New command bound to <f11> instead of
5067 `toggle-frame-maximized'.
5068 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5069
5070 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5071
5072 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5073
5074 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5075 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5076 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5077 for `file-accessible-directory-p'. (Bug#13275)
5078
5079 2012-12-27 Sam Steingold <sds@gnu.org>
5080
5081 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5082 continuations, see <http://stackoverflow.com/questions/3582436>.
5083
5084 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5085
5086 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5087 "module" and "def" to have indentation before them.
5088 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5089
5090 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5091
5092 2012-12-27 Alan Mackenzie <acm@muc.de>
5093
5094 Speed up fontification where there's large brace blocks.
5095 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5096 to a call of c-beginning-of-decl-1.
5097
5098 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5099
5100 * comint.el (comint-adjust-window-point): New function.
5101 (comint-postoutput-scroll-to-bottom):
5102 Call comint-adjust-window-point (Bug#13248).
5103
5104 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5105
5106 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5107 Rakefile regexp.
5108 (auto-mode-alist): Associate .gemspec files with ruby-mode
5109 (https://bugs.ruby-lang.org/issues/5453).
5110
5111 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
5112
5113 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5114 Suppress coloring, if possible (required for BusyBox based systems like
5115 CyanogenMod).
5116 (tramp-adb-handle-file-attributes)
5117 (tramp-adb-handle-insert-directory)
5118 (tramp-adb-handle-file-name-all-completions): Use it.
5119 (tramp-adb-get-toolbox): New defun. Check for remote shell
5120 implementation (BusyBox or Toolbox).
5121
5122 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5123
5124 * startup.el (initial-buffer-choice): Allow function as value
5125 (Bug#13251).
5126 (command-line-1): Handle case where initial-buffer-choice
5127 specifies a function.
5128 * server.el (server-execute): Handle case where
5129 initial-buffer-choice specifies a function.
5130
5131 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5132
5133 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5134 its own function.
5135 (smtpmail-try-auth-methods): Forget the user name/password if the
5136 login is unsuccessful (bug#12424).
5137
5138 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5139
5140 * notifications.el (notifications-notify): Protect body with
5141 `with-demoted-errors'.
5142
5143 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5144 Check properties of remote device. Restart connection, if there is a
5145 change.
5146
5147 2012-12-21 Chong Yidong <cyd@gnu.org>
5148
5149 * sort.el (sort-subr): Doc fix (Bug#13056).
5150
5151 2012-12-21 Bastien Guerry <bzg@gnu.org>
5152
5153 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5154
5155 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5156
5157 * simple.el (process-file): Overwrite stderr file, if exists.
5158
5159 2012-12-21 Daiki Ueno <ueno@gnu.org>
5160
5161 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5162 (epg-error): Set `error-message' property.
5163
5164 2012-12-21 Chong Yidong <cyd@gnu.org>
5165
5166 * international/mule-cmds.el (read-char-by-name): Signal an error
5167 if the user does not supply a valid character (Bug#13177).
5168
5169 * simple.el (transpose-subr-1): Preserve marker positions by
5170 changing the insertion sequence (Bug#13122).
5171
5172 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5173
5174 * simple.el (kill-region): Deactivate mark even for empty regions
5175 (Bug#13169).
5176
5177 2012-12-21 Chong Yidong <cyd@gnu.org>
5178
5179 * help-fns.el (describe-variable): Make sure we get the right
5180 buffer name (Bug#13105). Suggested by Kelly Dean.
5181
5182 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5183
5184 * comint.el (comint-redirect-previous-input-string): New variable.
5185 (comint-redirect-setup, comint-redirect-cleanup)
5186 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5187 (comint-redirect-preoutput-filter): Fix verbose message.
5188
5189 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5190
5191 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5192 is too long for Tramp. See discussion in
5193 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5194
5195 * progmodes/compile.el (compilation-start): Remove line escape
5196 template.
5197
5198 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5199
5200 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5201 Adjust comment.
5202
5203 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5204
5205 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5206 following non-comment text (bug#13207).
5207 (lm-header-multiline): Continuation lines need to be indented more than
5208 the first line.
5209 (lm-homepage): New function.
5210 (lm-with-file): Don't be confused if narrowing is in effect.
5211
5212 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5213
5214 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5215 very beginning of a hunk (e.g. killing the first line).
5216
5217 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5218
5219 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5220 and text properties from returned ACL string.
5221 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5222 for "setfacl" command.
5223
5224 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5225
5226 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5227 `tramp-cleanup-this-connection', when the process has died.
5228 (Bug#13151)
5229
5230 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5233
5234 2012-12-17 Kevin Ryde <user42@zip.com.au>
5235
5236 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5237
5238 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5239
5240 Add support for preserving ACL entries of files.
5241
5242 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5243 `set-file-acl' handlers.
5244
5245 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5246 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5247
5248 * net/tramp-compat.el (tramp-compat-copy-file):
5249 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5250
5251 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5252 Add `file-acl' and `set-file-acl' handlers.
5253 (tramp-gvfs-handle-copy-file):
5254 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5255 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5256 New defuns.
5257
5258 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5259 Add `file-acl' and `set-file-acl' handlers.
5260 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5261 (tramp-sh-handle-set-file-acl): New defuns.
5262 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5263 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5264
5265 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5266 Add `file-acl' and `set-file-acl' handlers.
5267 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5268
5269 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5270
5271 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5272 use pop-to-buffer with NORECORD argument t. As buffer name, use
5273 *Metahelp* with a leading space (Bug#13190).
5274
5275 2012-12-16 Romain Francoise <romain@orebokech.com>
5276
5277 * files.el (file-extended-attributes)
5278 (set-file-extended-attributes): New functions.
5279 (backup-buffer): Use them to handle both SELinux context and ACL
5280 entries.
5281 (backup-buffer-copy): Work with an alist of extended attributes,
5282 rather than an SELinux context.
5283 (basic-save-buffer-2): Ditto.
5284
5285 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5286
5287 * battery.el (battery-bsd-apm): New function.
5288
5289 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5290
5291 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5292 standard date formats.
5293
5294 2012-12-15 Juri Linkov <juri@jurta.org>
5295
5296 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5297 `isearch-insert-char-by-name'.
5298 (with-isearch-suspended): New defmacro with body mostly from
5299 `isearch-edit-string' except the part that sets
5300 `isearch-new-string' and `isearch-new-message'.
5301 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5302 body that sets `isearch-new-string' and `isearch-new-message'.
5303 (isearch-insert-char-by-name): New command.
5304 * international/mule-cmds.el (read-char-by-name): Let-bind
5305 `enable-recursive-minibuffers' to t.
5306 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5307
5308 2012-12-15 Juri Linkov <juri@jurta.org>
5309
5310 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5311 (Bug#13175)
5312
5313 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5314
5315 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5316 the prompt. (Bug#13045)
5317
5318 2012-12-14 Glenn Morris <rgm@gnu.org>
5319
5320 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5321 Try to include filename in non-bytecomp warning. (Bug#13132)
5322
5323 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5324
5325 Fix permissions bugs with setgid directories etc. (Bug#13125)
5326 * files.el (backup-buffer): Don't rely on 9th output of
5327 file-attributes, as it's now a placeholder. Instead, use the new
5328 optional arg of file-ownership-preserved-p.
5329 (file-ownership-preserved-p): New optional arg GROUP.
5330 Fix mishandling of setuid directories that would cause this
5331 function to return t when it should have returned nil.
5332 Document what happens if the file does not exist, and when
5333 it's not known whether the ownership will be preserved.
5334 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5335 Likewise.
5336 (tramp-get-local-gid): Use group-gid for integer, as that's
5337 faster and more reliable.
5338
5339 2012-12-14 Julien Danjou <julien@danjou.info>
5340
5341 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5342 Update keywords list, data type and PL/pgSQL.
5343
5344 2012-12-14 Dave Abrahams <dave@boostpro.com>
5345
5346 * vc/ediff-util.el (ediff-buffer-type): New function.
5347 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5348 rather than taking it as as argument.
5349 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5350
5351 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5352
5353 * json.el: Add pretty-print option (bug#12634).
5354 (json-encoding-separator, json-encoding-default-indentation)
5355 (json--encoding-current-indentation, json-encoding-pretty-print)
5356 (json-encoding-lisp-style-closings): New vars.
5357 (json--with-indentation): New macro.
5358 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5359 (json-encode-array): Use it to obey json-encoding-pretty-print.
5360 (json-pretty-print-buffer, json-pretty-print): New commands.
5361
5362 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5363
5364 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5365 Extract `ruby-syntax-propertize-expansions'.
5366 (ruby-syntax-propertize-expansions): Only change syntax on
5367 certain string delimiters, to punctuation. This way the common
5368 functions like forward-word and thing-at-point still work.
5369 (ruby-match-expression-expansion): Improve readability.
5370 (ruby-block-contains-point): New function.
5371 (ruby-add-log-current-method): Handle several edge cases.
5372
5373 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5374
5375 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5376 unload-feature finishes even when aborting an ongoing edebug session.
5377 Also, do not worry about edebug-mode, unload-feature takes care of it.
5378
5379 2012-12-13 Andreas Schwab <schwab@suse.de>
5380
5381 * net/tls.el (tls-program): Update customize type.
5382
5383 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5384
5385 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5386 (edebug-setup-hook, cl-read-load-hooks): Use it.
5387 (edebug-unload-function): New function. (Bug#13163)
5388
5389 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5390
5391 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5392 Otherwise, there could be errors in autoloading. (Bug#13151)
5393
5394 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5395
5396 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5397 sequences.
5398
5399 2012-12-13 Alan Mackenzie <acm@muc.de>
5400
5401 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5402 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5403 around `forward-comment' not recognizing ^M as whitespace.
5404
5405 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5406
5407 * progmodes/python.el (python-skeleton-class)
5408 (python-skeleton-def): Do not add space after defun name.
5409
5410 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5413 (cl--symbol-function): Remove (now that funbound is like nil).
5414
5415 2012-12-12 Glenn Morris <rgm@gnu.org>
5416
5417 * button.el (button--area-button-p): Fix typo.
5418
5419 2012-12-12 Sam Steingold <sds@gnu.org>
5420
5421 * frame.el (frame-maximization-style): New user option.
5422 (toggle-frame-maximized): Toggle frame maximization according to
5423 `frame-maximization-style', bound to <f11>.
5424 (cycle-frame-maximized): Cycle between all maximization styles and
5425 non-maximized frame, bound to shift-<f11>.
5426
5427 2012-12-12 David Cadé <codename68@gmail.com>
5428
5429 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5430
5431 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5432
5433 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5434 (eieio-override-prin1): Don't quote kewords and booleans.
5435 (object-write) <eieio-default-superclass>: Don't put closing parens
5436 on new line, avoid needless empty lines, align values that are objects
5437 with the slot keyword (instead of beginning on the same line).
5438 (eieio-list-prin1): Align value with slot keyword; increase
5439 eieio-print-depth before printing members of the list.
5440
5441 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5442
5443 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5444 a display text-property.
5445 (report-emacs-bug-hook): Don't bother deleting it any more.
5446
5447 * hilit-chg.el (highlight-save-buffer-state): Delete.
5448 Use with-silent-modifications instead.
5449 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5450
5451 * button.el: Handle buttons in display text-properties.
5452 (button--area-button-p, button--area-button-string):
5453 Use (STRING . STRING-POS) representation instead of just STRING.
5454
5455 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5456
5457 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5458 subdirectory be skipped.
5459
5460 2012-12-11 Glenn Morris <rgm@gnu.org>
5461
5462 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5463
5464 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5465 Treat preprocessor lines embedded in continuations like comments.
5466 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5467
5468 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5469
5470 * calc/calc.el (calc-standard-date-formats): Add more date
5471 formats.
5472 * calc/calc-forms.el (math-parse-iso-date): New function.
5473 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5474 (math-parse-iso-date-validate): Add extra error checking.
5475 (calc-date-notation): Add ability to access new date formats.
5476
5477 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5480 font-lock as well as when there's no text-property.
5481
5482 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5483
5484 * hi-lock.el: Refine the choice of default face.
5485 (hi-lock-keyword->face): New function. Use it wherever we used
5486 cadadadr instead.
5487 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5488 (hi-lock--last-face): Remove var.
5489 (hi-lock--unused-faces): New var to replace it.
5490 (hi-lock-read-face-name): Use/maintain it.
5491 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5492 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5493 if it has another face.
5494
5495 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5496
5497 * subr.el (w32notify-handle-event): New function.
5498 (inotify-handle-event): Doc fix.
5499
5500 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5501
5502 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5503
5504 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5505
5506 * simple.el (just-one-space): Doc fix.
5507
5508 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5509
5510 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5511
5512 2012-12-10 Le Wang <l26wang@gmail.com>
5513
5514 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5515 narrowed buffer (bug#12361).
5516
5517 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5518
5519 * vc/vc-hooks.el (vc-state): Doc fix.
5520
5521 2012-12-10 Glenn Morris <rgm@gnu.org>
5522
5523 * mail/rmail.el (rmail-maybe-display-summary):
5524 Preserve buffer, in case select-window changes it. (Bug#13066)
5525
5526 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5529 cl-load-hook where they belong.
5530
5531 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5534
5535 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5536
5537 Parallelize byte compilation on MS-Windows.
5538 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5539 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5540 (WINS_BASIC): Define as concatenation of the above.
5541 (compile): Subdivide into 4 separate and independent jobs that can
5542 be run in parallel.
5543 (compile0-CMD, compile0-SH): New targets for compiling
5544 COMPILE_FIRST files, which are prerequisites for the rest of the
5545 byte-compilation.
5546 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5547 New targets for parallel compilation with cmd.exe.
5548 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5549 compiling under a Unixy shell.
5550
5551 2012-12-09 Chong Yidong <cyd@gnu.org>
5552
5553 * simple.el (set-mark-default-inactive): Delete this
5554 accidentally-introduced option.
5555 (set-mark-command, exchange-point-and-mark): Remove calls.
5556
5557 2012-12-09 Glenn Morris <rgm@gnu.org>
5558
5559 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5560 Respect a defcustom's :set function, if appropriate. (Bug#109)
5561 (eval-defun): Doc fix.
5562
5563 2012-12-08 Juri Linkov <juri@jurta.org>
5564
5565 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5566 (Info-fontify-node, Info-bookmark-make-record): Remove the
5567 file extension from Info-current-file (Bug#13016).
5568
5569 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5570
5571 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5572 point, still provide some default.
5573 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5574 names, since we don't use it right now. Actually return the list.
5575 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5576
5577 2012-12-07 Chong Yidong <cyd@gnu.org>
5578
5579 * novice.el (disabled-command-function): Remove a spurious help
5580 xref (Bug#13043). Suggested by Kelly Dean.
5581
5582 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5583 syntax is specified (Bug#13025).
5584
5585 * info.el (Info-set-mode-line): Remove the file extension from
5586 Info-current-file if there is one (Bug#13016).
5587
5588 2012-12-07 Glenn Morris <rgm@gnu.org>
5589
5590 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5591 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5592 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5593 and rmail-mime-decoded. (Bug#9841)
5594
5595 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5596 (batch-unrmail, unrmail): Doc fixes.
5597 (unrmail): Respect unrmail-mbox-format.
5598 * mail/rmail.el (rmail-mbox-format): New option.
5599 (rmail-show-message-1): Respect rmail-mbox-format.
5600
5601 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5604
5605 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5606
5607 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5608 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5609 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5610 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5611 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5612 (cl-progv): Don't rely on dynamic scoping to find the body.
5613 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5614 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5615 (cl-declaim): Use backquotes.
5616 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5617 Use "cl--" prefix for the object's tag.
5618
5619 * ses.el: Use advice-add/remove.
5620 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5621 (copy-region-as-kill, yank): Use advice-add.
5622 (ses-unload-function): Use advice-remove.
5623
5624 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5625
5626 * button.el: Make them work in header-lines (bug#12817).
5627 (button-map): Add bindings for header-line and mode-line use.
5628 (button-get, button-put, button-label): `button' may now be a string.
5629 (button-activate): Don't make it a defsubst.
5630 (button--area-button-p, button--area-button-string): New functions.
5631 (make-text-button): Fix the return value when `beg' was a string.
5632 (push-button): Handle the mode-line case.
5633
5634 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5637 (sql-signum): Remove. Use `cl-signum' instead.
5638 (sql-read-passwd): Remove; use read-passwd instread.
5639 (sql-get-login-ext): Use read-string.
5640 (sql-get-login): Use dolist and pcase.
5641 (sql--completion-table): Rename from sql-try-completion.
5642 Use complete-with-action.
5643 (sql-mode): Don't change abbrev-all-caps globally.
5644 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5645 (sql-postgres-completion-object): Initialize vars in their `let'.
5646 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5647 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5648 (sql-comint-interbase): Use a single append, without setq.
5649 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5650
5651 * hi-lock.el: Rework the default face and the serialize regexp code.
5652 (hi-lock--auto-select-face-defaults): Remove.
5653 (hi-lock-string-serialize-serial): Remove.
5654 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5655 make weak.
5656 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5657 equal string.
5658 (hi-lock-set-pattern): Adjust accordingly.
5659 (hi-lock--regexps-at-point): Simplify accordingly.
5660 (hi-lock--auto-select-face-defaults): Remove.
5661 (hi-lock--last-face): New var to replace it.
5662 (hi-lock-read-face-name): Rewrite (bug#11095).
5663 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5664
5665 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5666
5667 * net/tramp.el (tramp-replace-environment-variables):
5668 Hide compiler warning.
5669 (tramp-file-name-for-operation): Remove `executable-find',
5670 `start-process', `call-process' and `call-process-region'.
5671
5672 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5673
5674 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5675 compatibility.
5676
5677 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5678
5679 2012-12-06 Chong Yidong <cyd@gnu.org>
5680
5681 * ffap.el (ffap-replace-file-component): Fix typo.
5682
5683 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5686 fix open-paren-like token test (bug#12785).
5687
5688 2012-12-06 Glenn Morris <rgm@gnu.org>
5689
5690 * mail/rmailsum.el (rmail-new-summary): Tweak for
5691 rmail-maybe-display-summary changing buffer. (Bug#13066)
5692
5693 2012-12-06 Juri Linkov <juri@jurta.org>
5694
5695 * info.el (Info-fontify-node): Don't hide the last newline.
5696 (Bug#12272)
5697
5698 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5699
5700 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5701 so as to enable message-read-from-minibuffer to expand mail aliases.
5702
5703 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5704
5705 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5706 the `intangible' property.
5707 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5708
5709 2012-12-05 Deniz Dogan <deniz@dogan.se>
5710
5711 * net/rcirc.el (rcirc-urls): Update documentation.
5712 (rcirc-condition-filter): New function.
5713 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5714 and exclude consecutive duplicate URLs (Bug#6082).
5715
5716 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5717
5718 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5719 Check return code of copy command.
5720
5721 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5722 Use group `tramp'. Add version.
5723
5724 2012-12-05 Chong Yidong <cyd@gnu.org>
5725
5726 * ffap.el (ffap-url-regexp): Don't require matching at front of
5727 string (Bug#4952).
5728 (ffap-url-p): If only a substring matches, return that.
5729 (ffap-url-at-point): Use the return value of ffap-url-p.
5730 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5731 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5732 (ffap-guess-file-name-at-point): Likewise.
5733 (ffap-replace-file-component): Fix typo.
5734
5735 * info.el (info-display-manual): Add existing Info buffers, whose
5736 files may not be in Info-directory-list, to the completion.
5737 (info--manual-names): New helper function.
5738
5739 2012-12-05 Glenn Morris <rgm@gnu.org>
5740
5741 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5742 New functions, for detecting and resolving conflicts. (Bug#10709)
5743
5744 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5745
5746 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5747 (hi-lock-auto-select-face-defaults): New buffer local variable.
5748 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5749 (hi-lock-unface-buffer): Prompt user with useful defaults.
5750 With prefix arg, unhighlight all hi-lock patterns in buffer.
5751
5752 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5753
5754 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5755
5756 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5757
5758 * Makefile.in (TRAMP_SRC):
5759 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5760
5761 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5762
5763 * net/tramp-adb.el: New package.
5764
5765 2012-12-04 Chong Yidong <cyd@gnu.org>
5766
5767 * terminal.el: Move to obsolete/.
5768
5769 * longlines.el: Move to obsolete/.
5770
5771 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5772 Remove code referring to longlines mode.
5773
5774 2012-12-03 Juri Linkov <juri@jurta.org>
5775
5776 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5777
5778 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5779
5780 * textmodes/ispell.el (ispell-init-process)
5781 (ispell-start-process, ispell-internal-change-dictionary):
5782 Make sure personal dictionary name is expanded after initial
5783 `default-directory' value. Use expanded strings for
5784 keep/restart checks and for value (Bug#13019).
5785
5786 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5787
5788 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5789
5790 2012-12-03 Leo Liu <sdl.web@gmail.com>
5791
5792 * files.el (dir-locals-read-from-file): Check file non-empty
5793 before reading. (Bug#13038)
5794
5795 2012-12-03 Glenn Morris <rgm@gnu.org>
5796
5797 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5798 Remove any version extension before checking filename. (Bug#13006)
5799 (jka-compr-compression-info-list): Belated :version bump.
5800
5801 2012-12-03 Chong Yidong <cyd@gnu.org>
5802
5803 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5804
5805 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5806 (buffer-menu): Doc fix (Bug#12294).
5807
5808 2012-12-03 Roland Winkler <winkler@gnu.org>
5809
5810 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5811 of diary-show-all-entries in the diary buffer (Bug#12994).
5812
5813 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5814
5815 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5816 "<STDIN>". This is binary safe.
5817
5818 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5819
5820 * calc/calc-forms.el (math-absolute-from-iso-dt)
5821 (math-date-to-iso-dt, math-parse-iso-date-validate)
5822 (math-iso-dt-to-date): New functions.
5823 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5824 (math-fd-isoweekday): New variables.
5825 (calc-date-notation, math-parse-standard-date, math-format-date)
5826 (math-format-date-part): Add support for more formatting codes.
5827
5828 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5829
5830 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5831 current buffer's file name when called interactively (Bug#12488).
5832
5833 2012-12-02 Juri Linkov <juri@jurta.org>
5834
5835 * info.el (info-display-manual): Don't clobber an existing Info
5836 buffer (Bug#10770). Add completion (Bug#10771).
5837
5838 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5839
5840 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5841 before using it for comparison (Bug#5297).
5842
5843 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5844
5845 * textmodes/css-mode.el (css-current-defun-name): New function.
5846 (css-mode): Use it.
5847
5848 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5849 (html-mode): Use it.
5850
5851 2012-12-01 Chong Yidong <cyd@gnu.org>
5852
5853 Modularize add-log-current-defun (Bug#2224).
5854 Suggested by Jari Aalto.
5855
5856 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5857 (add-log-current-defun): Move mode-specific code to other files.
5858 (add-log-lisp-like-modes, add-log-c-like-modes)
5859 (add-log-tex-like-modes): Variables deleted.
5860
5861 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5862 (lisp-mode-variables): Use it.
5863
5864 * progmodes/cc-mode.el (c-common-init):
5865 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5866 add-log-current-defun-function.
5867
5868 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5869 (m4-mode): Use it.
5870
5871 * progmodes/perl-mode.el (perl-current-defun-name): New.
5872 (perl-mode): Use it.
5873
5874 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5875 Use lisp-current-defun-name.
5876
5877 * textmodes/tex-mode.el (tex-current-defun-name): New.
5878 (tex-common-initialization): Use it.
5879
5880 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5881 (texinfo-mode): Use it.
5882
5883 2012-12-01 Chong Yidong <cyd@gnu.org>
5884
5885 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5886 * progmodes/autoconf.el (autoconf-mode):
5887 * progmodes/js.el (js-mode):
5888 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5889 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5890 * progmodes/perl-mode.el (perl-mode):
5891 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5892 * textmodes/css-mode.el (css-mode):
5893 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5894 (sgml-tags-invisible, sgml-guess-indent):
5895 * textmodes/tex-mode.el (tex-common-initialization)
5896 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5897 (doctex-mode, plain-tex-mode, latex-mode):
5898 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5899
5900 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5901
5902 * vc/vc-hg.el (vc-hg-next-revision):
5903 Ensure use of default "tip" output format. (Bug#6968)
5904
5905 2012-12-01 Kim F. Storm <storm@cua.dk>
5906
5907 * startup.el (fancy-startup-tail): Add a clickable link
5908 (Bug#2176).
5909
5910 2012-12-01 Chong Yidong <cyd@gnu.org>
5911
5912 * startup.el (fancy-startup-tail): Improve the message about
5913 auto-save files (Bug#2176).
5914
5915 * files.el (recover-session): Improve the descriptive message, and
5916 use substitute-command-keys.
5917
5918 2012-12-01 Glenn Morris <rgm@gnu.org>
5919
5920 * ido.el (ido-file-internal):
5921 Handle other-window, other-frame for dired. (Bug#13036)
5922
5923 2012-11-30 Glenn Morris <rgm@gnu.org>
5924
5925 * icomplete.el (icomplete-separator): Fix :version.
5926
5927 2012-11-30 Chong Yidong <cyd@gnu.org>
5928
5929 * shell.el (shell): For C-u M-x shell, use an inactive shell
5930 buffer as the default (Bug#1975).
5931 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5932 (shell-mode): Use them to reapply ansi colorization if Shell mode
5933 is re-enabled.
5934
5935 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5936
5937 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5938
5939 2012-11-30 Samuel Bronson <naesten@gmail.com>
5940
5941 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5942 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5943
5944 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5945
5946 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5947 by move-to-column (Bug#3234).
5948
5949 2012-11-30 Chong Yidong <cyd@gnu.org>
5950
5951 * longlines.el (longlines-wrap-line, longlines-encode-region):
5952 Preserve text properties (Bug#1425).
5953
5954 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5955
5956 * vc/vc.el (vc-register): Allow registering a file which is
5957 already registered with a different backend (Bug#10589).
5958
5959 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5960 Stefan Monnier <monnier@iro.umontreal.ca>
5961
5962 * icomplete.el: Change separator; add ido-style commands.
5963 (icomplete-show-key-bindings): Remove custom var.
5964 (icomplete-get-keys): Remove function.
5965 (icomplete-forward-completions, icomplete-backward-completions):
5966 New commands.
5967 (icomplete-minibuffer-map): New var.
5968 (icomplete-minibuffer-setup): Use it.
5969 (icomplete-exhibit): Don't delay if the list of completions is known.
5970 (icomplete-separator): New custom.
5971 (icomplete-completions): Use it.
5972 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5973 (minibuffer-force-complete-and-exit): New command.
5974 (minibuffer--complete-and-exit): New function extracted from
5975 minibuffer-complete-and-exit.
5976 (minibuffer-complete-and-exit): Use it.
5977
5978 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5979 error message when the file doesn't exist (bug#12974).
5980
5981 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5982
5983 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5984
5985 2012-11-29 Glenn Morris <rgm@gnu.org>
5986
5987 * files.el (hack-dir-local-variables): Warn if try to set
5988 coding via dir-locals, since it doesn't work. (Bug#7169)
5989
5990 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5991 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5992 Set buffer-local value of desktop-save-buffer.
5993 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5994 New functions.
5995 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5996 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5997
5998 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5999 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6000 Doc fix.
6001 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6002 Doc fixes.
6003
6004 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6005
6006 * calc/calc-forms.el (calc-date-notation): Fix regexp
6007 used to find time codes. Fix symbol for seconds.
6008
6009 2012-11-27 Glenn Morris <rgm@gnu.org>
6010
6011 * emacs-lisp/derived.el (derived-mode-make-docstring):
6012 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6013
6014 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6015
6016 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6017 lexically scoped variables (bug#13005).
6018
6019 2012-11-27 Glenn Morris <rgm@gnu.org>
6020
6021 * vc/vc-hooks.el (vc-mistrust-permissions):
6022 Default to t, to avoid data-loss. (Bug#11490)
6023
6024 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6025
6026 * progmodes/python.el (python-indent-guess-indent-offset):
6027 If indentation is guessed make python-indent-offset buffer-local.
6028
6029 Fix Imenu regression.
6030 * progmodes/python.el (python-nav-beginning-of-defun):
6031 Fix forward movement when statement(s) separates point from defun.
6032 (python-imenu-prev-index-position): New function.
6033
6034 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6035
6036 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6037
6038 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6039 Don't set buffer-file-type. Return nil. (Bug#12989)
6040
6041 2012-11-27 Glenn Morris <rgm@gnu.org>
6042
6043 * hippie-exp.el (hippie-expand-try-functions-list):
6044 Re-autoload it. (Bug#12982)
6045
6046 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6047
6048 * descr-text.el (describe-char-padded-string):
6049 Call internal-char-font only on GUI frames. (Bug#11964)
6050
6051 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6052
6053 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6054 and obsoletion message.
6055
6056 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6057
6058 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6059 the constructs to keep outside of the `cl-block' (bug#12977).
6060
6061 2012-11-27 Chong Yidong <cyd@gnu.org>
6062
6063 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6064 keep reading until we get the up-event anyway, in order to process
6065 the up-event for mouse-1-click-follows-link (Bug#12971).
6066
6067 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6070 base function is not yet defined (bug#12965).
6071 (ad-activate-advised-definition): Use ad-compile-function.
6072 (ad-activate): Use cond.
6073
6074 2012-11-25 Leo Liu <sdl.web@gmail.com>
6075
6076 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6077 (Bug#12979)
6078
6079 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6080
6081 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6082 reftex-section-info-function in order to be compatible with
6083 Texinfo integration.
6084
6085 * textmodes/reftex.el (reftex-section-pre-regexp)
6086 (reftex-section-post-regexp, reftex-section-info-function):
6087 New variable.
6088 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6089 reftex-section-post-regexp, and reftex-section-info-function in order
6090 to be compatible with Texinfo integration.
6091
6092 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6093 use reftex-section-pre-regexp variable in order to be compatible with
6094 Texinfo integration.
6095
6096 2012-11-25 Chong Yidong <cyd@gnu.org>
6097
6098 * faces.el: Make face-spec-set more analogous to setq.
6099 (face-spec-set): Change the third arg to specify whether this
6100 function is being called via defface, customize, or a third party.
6101 Set the appropriate symbol properties. Clear the override spec if
6102 setting via Custom. Initialize face if necessary. (Bug#4988)
6103 (face-spec-recalc): Allow theme faces to completely replace the
6104 defface spec, in the same way as custom faces (Bug#8454).
6105
6106 * cus-face.el (custom-declare-face): Move face initialization to
6107 face-spec-set.
6108 (custom-theme-set-faces): Don't initialize the face name here, as
6109 that is now done in face-spec-set.
6110
6111 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6112 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6113 Simplify by using the new arg to face-spec-set.
6114
6115 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6116 reset face-override-spec too, and use custom-declare-face.
6117
6118 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6119
6120 * term/ns-win.el (ns-initialize-window-system): Move creation of
6121 fontsets here (Bug#11964).
6122
6123 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6124
6125 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6126 cell renaming.
6127
6128 2012-11-24 Chong Yidong <cyd@gnu.org>
6129
6130 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6131 obsolete.
6132
6133 * custom.el (custom-theme-set-variables): Use a topological sort
6134 for ordering by custom dependencies (Bug#12952).
6135 (custom--sort-vars, custom--sort-vars-1): New functions.
6136
6137 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6140 lexical-binding (bug#12938).
6141
6142 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6143
6144 * image-mode.el (image-transform-check-size): Use assertions only
6145 for images of type imagemagick.
6146
6147 Otherwise no error, image-transform-fit-to-{width,height} is
6148 silently ignored, as before. Doc fix.
6149
6150 2012-11-24 Chong Yidong <cyd@gnu.org>
6151
6152 * faces.el (color-defined-p): Doc fix (Bug#12853).
6153
6154 2012-11-24 Juri Linkov <juri@jurta.org>
6155
6156 * dired.el (dired-mark): Add optional arg `interactive'.
6157 Check for `use-region-p' if `interactive' is non-nil.
6158 (dired-unmark, dired-flag-file-deletion): Add optional arg
6159 `interactive'. Call `dired-mark' with the arg `interactive'.
6160 (Bug#10624)
6161
6162 * wdired.el: Revert 2012-10-17 change partly and replace it with
6163 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6164 (wdired-finish-edit): Add marks for new file names to
6165 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6166 after `revert-buffer'.
6167 (wdired-do-renames): Remove calls to `dired-remove-file',
6168 `dired-add-file', `dired-add-entry'. (Bug#11795)
6169
6170 2012-11-24 Alan Mackenzie <acm@muc.de>
6171
6172 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6173
6174 Fix bugs in the state cache. Enhance a debugging mechanism.
6175 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6176 "brace at column zero" strategy for C++.
6177 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6178 (c-parse-state-point): New variable.
6179 (c-record-parse-state-state): Record old parse state with
6180 `copy-tree'. Record previous value of point.
6181 (c-debug-parse-state-double-cons): New debugging function.
6182 (c-debug-parse-state): Call the above new function.
6183 (c-toggle-parse-state-debug): Output a confirmatory message.
6184
6185 * progmodes/cc-mode.el (c-before-change, c-after-change):
6186 Call c-invalidate-state-cache from `c-before-change' instead of
6187 `c-after-change'.
6188
6189 2012-11-23 Chong Yidong <cyd@gnu.org>
6190
6191 * find-cmd.el (find-constituents): Add executable, ipath,
6192 readable, samefile, writable, daystart, regextype (Bug#12856).
6193
6194 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6197
6198 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6199
6200 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6201 definition. This fixes a bootstrap failure.
6202 (calc-gregorian-switch): In menu, put dates before regions.
6203 This is easier to follow, lines up better in the menu, and lets us
6204 coalesce regions that switch at the same time. Give country
6205 names, not "Vatican", as that's better for non-expert users.
6206 Use names that are stable between the date of switch and now, e.g.,
6207 Bohemia and Moravia (which existed then and now) and not
6208 Czechoslovakia (which didn't exist then and doesn't exist now).
6209 What is now the U.S. mostly did not switch at the same time as
6210 Britain, so omit the U.S. Correct spelling of "Britain".
6211 Catholic Switzerland was too much of a mess, so omit it.
6212
6213 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6214
6215 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6216 after the variable is changed.
6217
6218 2012-11-21 Daniel Colascione <dancol@dancol.org>
6219
6220 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6221 in SQL declarations for font-lock.
6222 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6223
6224 2012-11-21 Glenn Morris <rgm@gnu.org>
6225
6226 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6227 (face-italic-p): Add optional argument "inherit".
6228
6229 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6230 Remove -p suffix from names, for consistency with other set-face-*.
6231 (set-face-inverse-video): Fix interactive spec.
6232 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6233 * textmodes/table.el (table--update-cell-face):
6234 Use set-face-inverse-video rather than now obsolete alias.
6235
6236 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6237
6238 * simple.el (line-move): Don't call line-move-partial if
6239 scroll-conservatively is in effect. (Bug#12927)
6240
6241 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6244 Fallback on completion-at-point rather than
6245 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6246 (eshell-cmpl-initialize): Setup completion-at-point.
6247
6248 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6249
6250 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6251
6252 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6253
6254 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6255 are remote, check out-of-band property for both.
6256
6257 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6260 code rewrite.
6261
6262 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6263
6264 More minor time fixes.
6265 * calendar/time-date.el: Commentary fix.
6266 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6267 too much other code depends on (0 0) time stamps.
6268 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6269 Add a couple of FIXME comments.
6270
6271 Minor cleanup for times as lists of four integers.
6272 * files.el (dir-locals-directory-cache):
6273 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6274 Doc fixes.
6275 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6276 * ps-bdf.el (bdf-file-newer-than-time):
6277 Process four-integers time stamps, not two. Doc fixes.
6278
6279 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6280
6281 * uniquify.el (uniquify-managed): Use defvar-local.
6282 (rename-buffer, create-file-buffer): Advise with advice-add.
6283 (uniquify-unload-function): Unadvise accordingly.
6284
6285 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6286 (trace-buffer): Don't purecopy.
6287 (trace-entry-message, trace-exit-message): Add `context' arg.
6288 (trace--timer): New var.
6289 (trace-make-advice): Adjust for use in nadvice.
6290 Add `context' argument. Delay `display-buffer' via a timer.
6291 (trace-function-internal): Use advice-add.
6292 (trace--read-args): New function.
6293 (trace-function-foreground, trace-function-background): Use it.
6294 (trace-function): Rename to trace-function-foreground and redefine as
6295 an alias to that new name.
6296 (untrace-function, untrace-all): Adjust to the use of nadvice.
6297
6298 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6299
6300 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6301
6302 * subr.el (called-interactively-p-functions): New var.
6303 (internal--called-interactively-p--get-frame): New macro.
6304 (called-interactively-p, interactive-p): Rewrite in Lisp.
6305 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6306 (called-interactively-p-functions): Use it.
6307 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6308 (called-interactively-p-functions): Use it.
6309 * allout.el (allout-called-interactively-p): Don't assume
6310 called-interactively-p is a subr.
6311
6312 2012-11-20 Glenn Morris <rgm@gnu.org>
6313
6314 * profiler.el (profiler-report-mode-map): Add a menu.
6315 No need to bind `q' because we derive from special-mode.
6316 (profiler-report-find-entry): Handle calls from the menu-bar.
6317
6318 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6319
6320 * emacs-lisp/byte-run.el (defun-declarations-alist):
6321 Allow a compiler-macro to be a lambda expression.
6322
6323 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6324 eval-when-compile.
6325 (python-syntax-context): Add compiler-macro.
6326 (python-font-lock-keywords): Simplify with De Morgan.
6327
6328 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6329
6330 * files.el (load-file): Require match in minibuffer selection, as was
6331 the case in Emacs-20 before we changed the spec to allow .elc files
6332 (bug#12935).
6333
6334 * json.el: Don't require cl since we don't use it.
6335 * color.el: Don't require cl.
6336 (color-complement): `caddr' -> `nth 2'.
6337
6338 * calendar/time-date.el (time-to-seconds): De-obsolete.
6339
6340 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6341
6342 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6343 year numbers.
6344 (math-date-to-julian-dt): Adjust the initial approximation for the
6345 year to deal with the new definition of the DATE.
6346
6347 2012-11-19 Daniel Colascione <dancol@dancol.org>
6348
6349 * term/w32-win.el (cygwin-convert-path-from-windows):
6350 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6351
6352 2012-11-18 Chong Yidong <cyd@gnu.org>
6353
6354 * filecache.el (file-cache--read-list): New function.
6355 (file-cache-add-directory-list, file-cache-add-file-list)
6356 (file-cache-delete-file-list, file-cache-delete-directory-list):
6357 Use it to read a list of files or directories (Bug#12846).
6358 (file-cache-add-file, file-cache-add-directory)
6359 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6360 (file-cache-delete-directory): Print an message.
6361
6362 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6363
6364 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6365 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6366
6367 2012-11-18 Glenn Morris <rgm@gnu.org>
6368
6369 * image.el (insert-image, insert-sliced-image): Doc fix.
6370
6371 2012-11-18 Chong Yidong <cyd@gnu.org>
6372
6373 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6374 (Bug#12810).
6375
6376 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6377
6378 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6379 response when the target file is in a subdirectory (Bug#12757).
6380
6381 2012-11-18 Chong Yidong <cyd@gnu.org>
6382
6383 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6384
6385 2012-11-18 Glenn Morris <rgm@gnu.org>
6386
6387 * emacs-lisp/cl-lib.el (face-underline-p):
6388 Use set-face-underline rather than the alias set-face-underline-p.
6389
6390 * window.el (with-temp-buffer-window): Doc fix.
6391 * subr.el (with-output-to-temp-buffer):
6392 Add doc xref to with-temp-buffer-window.
6393
6394 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6395
6396 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6397 * calc/calc.el (math-format-date-cache): Declare.
6398
6399 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6400
6401 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6402 It also uses January 1, 1 AD as its day number 1.
6403 * calc/calc-forms.el (math-julian-date-beginning)
6404 (math-julian-date-beginning-int): Implement this.
6405
6406 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6407
6408 * descr-text.el (quail-find-key):
6409 * dired.el (desktop-file-name):
6410 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6411 * generic-x.el (comint-mode, comint-exec):
6412 * image-dired.el (widget-forward):
6413 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6414 (speedbar-change-expand-button-char)
6415 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6416 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6417 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6418 (widget-field-action, widget-value-set):
6419 * speedbar.el (imenu--make-index-alist):
6420 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6421 (ring-length, ring-insert):
6422 * vcursor.el (compare-windows-skip-whitespace):
6423 * woman.el (dired-get-filename):
6424 Declare functions.
6425
6426 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6427
6428 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6429
6430 * calc/calc.el (calc-gregorian-switch): New variable.
6431
6432 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6433 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6434 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6435 (math-leap-year-p): Add option to distinguish between Julian
6436 and Gregorian calendars.
6437 (math-day-number): Use `math-day-in-year' to do the computations.
6438 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6439 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6440 to do the computations.
6441 (math-date-to-dt): Use `math-date-to-julian-dt' and
6442 `math-date-to-gregorian-dt' to do the computations.
6443 (calcFunc-weekday, math-format-date-part): Use the new version of
6444 the DATE to determine the weekday.
6445 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6446 when necessary.
6447
6448 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6449
6450 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6451 Cygwin; otherwise use 'file:'. (Bug#12914)
6452 (cygwin-convert-path-from-windows): Declare, to avoid
6453 byte-compiler warnings.
6454
6455 2012-11-17 Andreas Politz <politza@fh-trier.de>
6456
6457 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6458 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6459 prefix and negative numeric prefix args (Bug#12795).
6460
6461 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6462
6463 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6464 Don't signal an error with a score that is too low to add to the
6465 list of top scores. (Bug#12779)
6466
6467 2012-11-17 Chong Yidong <cyd@gnu.org>
6468
6469 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6470
6471 * filecache.el (file-cache-add-file): Handle relative file name in
6472 the argument (Bug#12694).
6473
6474 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6475
6476 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6477
6478 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6479
6480 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6481
6482 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6483
6484 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6485
6486 * window.el (enlarge-window, shrink-window): Don't mention return
6487 value in doc-string (Bug#12896).
6488 (window--display-buffer): Don't resize frames - it won't work
6489 with all window managers and defeat pop-up-frame-alist.
6490 (display-buffer-alist): In doc-string explain that CONDITION can
6491 be a function and which arguments are passed to it (Bug#12854).
6492 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6493 expressions (Bug#12854).
6494 (display-buffer): Pass ACTION argument to
6495 display-buffer-assq-regexp.
6496
6497 2012-11-16 Glenn Morris <rgm@gnu.org>
6498
6499 * window.el (fit-frame-to-buffer-bottom-margin)
6500 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6501
6502 * faces.el (face-underline-p): Use face-attribute-specified-or.
6503
6504 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6505
6506 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6507
6508 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6511
6512 2012-11-16 Glenn Morris <rgm@gnu.org>
6513
6514 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6515 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6516
6517 * faces.el (face-underline-p): Doc fix. Handle :underline being
6518 things other than `t' (a string, a list).
6519 (face-inverse-video-p): Doc fix.
6520 (set-face-underline): Rename it back from set-face-underline-p.
6521 Doc fix. Allow interactive input of values other than t.
6522 (read-face-attribute): Apply formatting to :underline,
6523 since like :box and :stipple it can take list values.
6524
6525 * term.el (ansi-term): Don't let C-x escape-char binding
6526 clobber the more standard C-c binding. (Bug#12842)
6527
6528 * subr.el (set-temporary-overlay-map): Doc fix.
6529
6530 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6531
6532 * window.el (record-window-buffer)
6533 (display-buffer-record-window): When copying the markers to
6534 window-point preserve window-point-insertion-type. (Bug#12588)
6535
6536 2012-11-16 Glenn Morris <rgm@gnu.org>
6537
6538 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6539 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6540 Use new names for hooks rather than obsolete aliases.
6541
6542 2012-11-15 Daniel Colascione <dancol@dancol.org>
6543
6544 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6545 prefix instead of "file:" so that when FILE-NAME begins with "//",
6546 as it does when the target file is on a network share, url-handler
6547 isn't confused.
6548
6549 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6550
6551 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6552 a preactivated advice from an old advice.el; they're not compatible!
6553
6554 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6555
6556 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6557 Fix string-spec case.
6558
6559 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6560
6561 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6562
6563 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6564 (advice--buffer-local-function-sample): New var.
6565 (advice--set-buffer-local, advice--buffer-local): New functions.
6566 (add-function, remove-function): Use them.
6567
6568 2012-11-15 Drew Adams <drew.adams@oracle.com>
6569
6570 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6571
6572 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6573
6574 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6575 potential binding of print-gensym to t, and prettify (back)quotes in
6576 case they appear in args's default values (bug#12884).
6577
6578 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6579
6580 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6581 (advice-eval-interactive-spec): New function.
6582 (advice--make-interactive-form): Support around advice (bug#12844).
6583
6584 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6585
6586 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6587 more strict. Add docstring.
6588 (ruby-expression-expansion-re): Extract from
6589 `ruby-match-expression-expansion'.
6590 (ruby-syntax-propertize-function): After everything else, search
6591 for expansions in string literals, mark their insides as
6592 whitespace syntax and save match data for font-lock.
6593 (ruby-font-lock-keywords): Use the 2nd group from expression
6594 expansion matches.
6595 (ruby-match-expression-expansion): Use the match data saved to the
6596 text property in ruby-syntax-propertize-function.
6597
6598 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6601 (bug#12879).
6602
6603 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6604
6605 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6606 start/end keyword a bit harder. Works with different values of N.
6607 Add more comments.
6608 (ruby-end-of-block): Update accordingly.
6609
6610 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6611
6612 * woman.el (woman-file-name): Don't mess with unread-command-events
6613 (bug#12861).
6614
6615 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6616 Remove out of date self-require hack.
6617 (ad-do-advised-functions): Use simple `dolist'.
6618 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6619 (ad-advice-definition): Redefine as functions.
6620 (ad-advice-classes): Move before first use.
6621 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6622 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6623 (ad--defalias-fset): Remove functions.
6624 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6625 (ad-get-orig-definition): Rewrite.
6626 (ad-make-advised-definition-docstring): Change base docstring.
6627 (ad-real-orig-definition): Rewrite.
6628 (ad-map-arglists): Change name of called function.
6629 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6630 (ad-make-advised-definition): Simplify.
6631 (ad-assemble-advised-definition): Tweak for new calling context.
6632 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6633 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6634 function and call ad-activate if needed.
6635 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6636 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6637 (ad-compile-function): Compile ad-Advice-*.
6638 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6639 (ad-start-advice, ad-stop-advice): Remove.
6640
6641 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6642
6643 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6644 period before class method names, not after. Remove handling of
6645 one impossible case. Add comments.
6646
6647 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6648
6649 * emacs-lisp/advice.el: Remove support for freezing.
6650 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6651 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6652 Remove support for `freeze'.
6653
6654 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6655 override the default.
6656 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6657 cl--dotimes/dolist.
6658 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6659 `cl' is loaded.
6660
6661 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6662 from add-advice.
6663 (advice--strip-macro): New function.
6664 (advice--defalias-fset): Use them to handle macros.
6665 (advice-add): Use them.
6666 (advice-member-p): Correctly handle macros.
6667
6668 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6669
6670 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6671 Never font-lock the beginning of singleton class as heredoc.
6672
6673 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6674
6675 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6676
6677 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6678
6679 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6680 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6681 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6682
6683 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6684
6685 Fix end-of-defun misbehavior.
6686 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6687 python-beginning-of-defun-function. Handle nested defuns
6688 correctly.
6689 (python-nav-end-of-defun): Rename from
6690 python-end-of-defun-function. Ensure forward movement.
6691 (python-info-current-defun): Reimplement to work as intended
6692 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6693 parent defuns as soon as possible.
6694
6695 2012-11-13 Glenn Morris <rgm@gnu.org>
6696
6697 * progmodes/flymake.el (flymake-error-bitmap)
6698 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6699 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6700
6701 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6702
6703 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6704 backward, always stop at indentation. Reverts the change from
6705 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6706
6707 2012-11-13 Glenn Morris <rgm@gnu.org>
6708
6709 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6710 Add ibuffer-filter-by-derived-mode.
6711
6712 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6713 the same name shadowing each other.
6714
6715 * window.el (with-temp-buffer-window): Doc tweak.
6716
6717 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6718
6719 * help.el (temp-buffer-max-height):
6720 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6721 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6722
6723 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * emacs-lisp/nadvice.el: New package.
6726 * subr.el (special-form-p): New function.
6727 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6728 (elp-all-instrumented-list): Remove var.
6729 (elp-not-profilable): Remove elp-wrapper.
6730 (elp-profilable-p): Use autoloadp and special-form-p.
6731 (elp--advice-name): New const.
6732 (elp-instrument-function): Use advice-add.
6733 (elp--instrumented-p): New predicate.
6734 (elp-restore-function): Use advice-remove.
6735 (elp-restore-all, elp-reset-all): Use mapatoms.
6736 (elp-set-master): Use elp--instrumented-p.
6737 (elp--make-wrapper): Rename from elp-wrapper, return a function
6738 suitable for advice-add. Use cl-inf.
6739 (elp-results): Use mapatoms+elp--instrumented-p.
6740 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6741 (debug-function-list): Remove var.
6742 (debug): Rename arg, and then let-bind it explicitly inside.
6743 (debugger-setup-buffer): Rename arg.
6744 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6745 (debugger-frame-number): Adjust to new debug-on-entry setup.
6746 (debug--implement-debug-on-entry): Rename from
6747 implement-debug-on-entry, add argument.
6748 (debugger-special-form-p): Remove, use special-form-p instead.
6749 (debug-on-entry): Use advice-add.
6750 (debug--function-list): New function.
6751 (cancel-debug-on-entry): Use it, along with advice-remove.
6752 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6753 (debugger-list-functions): Use debug--function-list instead of
6754 debug-function-list.
6755 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6756 (ad-special-form-p): Remove, use special-form-p instead.
6757 (ad-set-advice-info): Use add-function and remove-function.
6758 (ad--defalias-fset): Adjust accordingly.
6759
6760 2012-11-10 Glenn Morris <rgm@gnu.org>
6761
6762 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6763 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6764 (report-emacs-bug-create-existing-bugs-buffer)
6765 (report-emacs-bug-parse-query-results)
6766 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6767
6768 * term.el (term-default-fg-color, term-default-bg-color):
6769 Make obsolete, rather than just saying "deprecated" in the doc.
6770
6771 * term.el (term): Rename from `term-face'.
6772 (term-current-face, ansi-term-color-vector)
6773 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6774 Update all users.
6775
6776 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6777
6778 * server.el (server-create-window-system-frame): Handle Nextstep
6779 specially (Bug#12780).
6780
6781 2012-11-10 Glenn Morris <rgm@gnu.org>
6782
6783 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6784 Unautoload, and make obsolete. (Bug#7449)
6785
6786 2012-11-10 Chong Yidong <cyd@gnu.org>
6787
6788 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6789 rename from diff-remove-trailing-whitespace (Bug#12831).
6790
6791 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6794 miscompilation of trace.el.
6795
6796 2012-11-10 Glenn Morris <rgm@gnu.org>
6797
6798 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6799
6800 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6801
6802 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6803 (bug#12812).
6804
6805 2012-11-10 Chong Yidong <cyd@gnu.org>
6806
6807 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6808 a defcustom with an appropriate :set function.
6809 (minibuffer-default--in-prompt-regexps): New function.
6810
6811 2012-11-10 Glenn Morris <rgm@gnu.org>
6812
6813 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6814 (define-modify-macro): Doc fixes.
6815
6816 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6817 (gv-define-simple-setter): Update doc of `fix-return'.
6818
6819 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6822 twice when `fix-return' is set (bug#12813).
6823
6824 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6825 gv-define-simple-setter (bug#12812).
6826
6827 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6828 (bug#12756).
6829
6830 2012-11-10 Glenn Morris <rgm@gnu.org>
6831
6832 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6833
6834 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6835 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6836 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6837 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6838
6839 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6840
6841 2012-11-10 Leo Liu <sdl.web@gmail.com>
6842
6843 * ido.el (ido-set-matches-1): Improve flex matching performance by
6844 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6845
6846 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6847
6848 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6849 (ad--defalias-fset): New function.
6850 (ad-safe-fset): Remove.
6851 (ad-make-freeze-definition): Use cl-letf*.
6852
6853 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6854
6855 * subr.el (dolist): Don't bind VAR in RESULT.
6856
6857 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6858 (fset, documentation): Don't save real def since we don't advise.
6859 (ad-do-advised-functions): Remove problematic `result-form'.
6860 (ad-safe-fset): `ad-real-fset' => `fset'.
6861 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6862 uses CL's dolist internally.
6863 (ad-arglist): Remove unused arg `name'.
6864 (ad-docstring, ad-make-advised-docstring):
6865 `ad-real-documentation' => `documentation'.
6866 (warning-suppress-types): Declare.
6867 (ad-set-arguments): Simple CSE.
6868 (ad-recover-normality): Sanity check.
6869
6870 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6871 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6872
6873 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6874
6875 * ses.el: symbol to coordinate mapping is made by symbol property
6876 `ses-cell'. This means that the same mapping is done for all SES
6877 sheets. That is good enough for cells with standard A1 names, but
6878 not for named cell. So a hash map is added for the latter.
6879 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6880 (ses-sym-rowcol): Use hashmap for named cell.
6881 (ses-is-cell-sym-p): New defun.
6882 (ses-decode-cell-symbol): New defun.
6883 (ses-create-cell-variable): Add cell to hashmap when name is not
6884 A1-like.
6885 (ses-rename-cell): Check that cell new name is not already in
6886 spreadsheet with the use of ses-is-cell-sym-p
6887 (ses-rename-cell): Use hash map for named cells, but accept also
6888 renaming back to A1-like.
6889
6890 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6891
6892 * emacs-lisp/advice.el: Use new dynamic docstrings.
6893 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6894 Use dynamic-docstring-function instead of ad-advice-info.
6895 (ad--make-advised-docstring): New function extracted from
6896 ad-make-advised-docstring.
6897 (ad-make-advised-docstring): Use it.
6898 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6899 from sql-help.
6900 (sql-help): Use it with dynamic-docstring-function.
6901
6902 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6903
6904 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * files.el (hack-one-local-variable--obsolete): New function.
6907 (hack-one-local-variable): Use it for obsolete settings.
6908
6909 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6910 the new name.
6911
6912 * progmodes/js.el (js--filling-paragraph): New var.
6913 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6914 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6915 less sneaky.
6916
6917 2012-11-08 Julien Danjou <julien@danjou.info>
6918
6919 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6920 `auto-mode-alist' (Bug#12835).
6921
6922 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6923
6924 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6925 (perl--prettify-symbols-alist): New const.
6926 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6927 New functions.
6928 (perl-font-lock-keywords-2): Use them.
6929 (perl-electric-noindent-p): New function.
6930 (perl-mode): Use it to set up electric-indent-mode.
6931 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6932 (perl-mode-map): Remove bindings for them.
6933 (perl-imenu-generic-expression, perl-outline-level):
6934 Match functions&packages in column>0.
6935
6936 * env.el (env--substitute-vars-regexp): New const.
6937 (substitute-env-vars): Use it. Add `only-defined' arg.
6938 * net/tramp.el (tramp-replace-environment-variables): Use it.
6939
6940 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6941 Byte-compile *before* eval in eval-and-compile.
6942 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6943 (byte-compile-file-form-autoload): Don't hide actual definition.
6944 (byte-compile-maybe-guarded): Accept `functionp' as well.
6945
6946 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6947
6948 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6949
6950 * notifications.el (notifications-get-server-information-method):
6951 New defconst.
6952 (notifications-get-capabilities): Fix docstring.
6953 (notifications-get-server-information): New defun.
6954
6955 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6956
6957 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6958 readability.
6959
6960 * textmodes/ispell.el: Experimental support for support debugging.
6961 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6962 buffer for ispell.
6963 (ispell-print-if-debug): New function to print stuff to
6964 `ispell-debug-buffer' if debugging is enabled.
6965 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6966 show some debugging info.
6967 (ispell-buffer-with-debug): New function that creates a debugging
6968 buffer and calls `ispell-buffer' with debugging enabled.
6969
6970 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6971 comment in autoconf mode. (Bug#12768)
6972
6973 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6974
6975 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6976 frame-first-window, frame-root-window, frame-selected-window,
6977 minibuffer-selected-window, minibuffer-window,
6978 window-absolute-pixel-edges, window-at, window-body-height,
6979 window-body-width, window-display-table, window-combination-limit,
6980 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6981 window-inside-edges, window-inside-pixel-edges, window-left-child,
6982 window-left-column, window-margins, window-next-buffers,
6983 window-next-sibling, window-new-normal, window-new-total,
6984 window-normal-size, window-parameter, window-parameters, window-parent,
6985 window-pixel-edges, window-point, window-prev-buffers,
6986 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6987 window-start, window-text-height, window-top-child, window-top-line,
6988 window-total-height, window-total-width and window-use-time to the list
6989 of functions without side-effects.
6990 (toplevel): Add window-valid-p to the list of error-free functions
6991 without side-effects.
6992
6993 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6994
6995 * textmodes/ispell.el (ispell-program-name):
6996 Update spellchecker parameters when customized.
6997
6998 2012-11-04 Glenn Morris <rgm@gnu.org>
6999
7000 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7001
7002 2012-11-04 Chong Yidong <cyd@gnu.org>
7003
7004 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7005 same-window-* variables.
7006
7007 2012-11-04 Juri Linkov <juri@jurta.org>
7008
7009 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7010 (isearch-describe-key, isearch-describe-mode): Use a display
7011 action instead of binding same-window-* variables (Bug#10040).
7012
7013 2012-11-03 Glenn Morris <rgm@gnu.org>
7014
7015 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7016 Rename handler properties back from cl-- to cl-. (Bug#12788)
7017
7018 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7019
7020 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7021
7022 * term/pc-win.el: Don't load term/internal from here.
7023
7024 * loadup.el: Load term/internal from here.
7025
7026 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7027
7028 * progmodes/python.el (inferior-python-mode): Fix hang in
7029 jit-lock (Bug#12645).
7030
7031 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7032
7033 * window.el (switch-to-visible-buffer)
7034 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7035
7036 2012-11-03 Glenn Morris <rgm@gnu.org>
7037
7038 * emacs-lisp/cl-lib.el (cl--random-time):
7039 Rename from cl-random-time. (Bug#12773)
7040 (cl--gensym-counter, cl--random-state): Update callers.
7041 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7042
7043 2012-11-03 Chong Yidong <cyd@gnu.org>
7044
7045 * cus-start.el: Make cursor-type customizable (Bug#11633).
7046
7047 2012-11-02 Glenn Morris <rgm@gnu.org>
7048
7049 * filecache.el: No need to load find-lisp when compiling.
7050 (find-lisp-find-files): Autoload it.
7051 (file-cache-add-directory-recursively): Don't require find-lisp.
7052
7053 * image.el (image-type-from-file-name): Trivial simplification.
7054
7055 * emacs-lisp/bytecomp.el (byte-compile-eval):
7056 Decouple "noruntime" and "cl-functions" warnings.
7057
7058 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7059
7060 * play/gomoku.el (gomoku-display-statistics): Update mode line
7061 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7062
7063 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7064
7065 * window.el (quit-restore-window): If the window has been
7066 created on an existing frame and ended up as the sole window on
7067 that frame, do not delete it (Bug#12764).
7068
7069 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7072 Rename from sh--inside-arithmetic-expression, handle more cases
7073 (bug#11263).
7074
7075 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7076 (sh-font-lock-open-heredoc): Use it (bug#12770).
7077
7078 2012-10-30 Glenn Morris <rgm@gnu.org>
7079
7080 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7081
7082 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7083
7084 2012-10-29 Chong Yidong <cyd@gnu.org>
7085
7086 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7087 function key is stored in a keyboard macro (Bug#4894).
7088
7089 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7090
7091 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7094 header comments".
7095 (diff-unified->context, diff-context->unified)
7096 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7097
7098 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7099
7100 * files.el (find-alternate-file): Only ask one question (bug#12487).
7101
7102 2012-10-29 Chong Yidong <cyd@gnu.org>
7103
7104 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7105 Suggested by Dan Nicolaescu (Bug#6326).
7106
7107 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7108
7109 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7110
7111 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7112
7113 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7114
7115 * face-remap.el (face-remap-add-relative): Handle the case where a
7116 face-remapping-alist entry is a cons cell (Bug#12762).
7117
7118 2012-10-29 Kevin Ryde <user42@zip.com.au>
7119
7120 * woman.el (woman-parse-numeric-value): Handle picas correctly
7121 (Bug#12639).
7122
7123 2012-10-29 Glenn Morris <rgm@gnu.org>
7124
7125 * emacs-lisp/cl.el (defsetf): Doc fix.
7126
7127 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7130 syntax to the matching opener, if any (bug#12547).
7131 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7132 matching open as a "case-(".
7133 (sh-smie-rc-grammar): Add a corresponding rule for it.
7134
7135 2012-10-28 Daniel Hackney <dan@haxney.org>
7136
7137 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7138 "PKGNAME-autoloads.el" in case we created it.
7139
7140 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7141
7142 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7143 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7144 (completion--twq-all): Disable too-strict assertions.
7145
7146 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7147
7148 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7149
7150 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7151 text to match the real keybindings.
7152
7153 2012-10-27 Juri Linkov <juri@jurta.org>
7154
7155 * wdired.el (wdired-keep-marker-rename): New defcustom.
7156 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7157 (Bug#11795)
7158
7159 * dired.el (dired-keep-marker-rename): Add reference to
7160 `wdired-keep-marker-rename' in the docstring.
7161 Add default character value ?R to display initially in
7162 Customization UI instead of ?@.
7163
7164 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7165
7166 * window.el (display-buffer): In doc-string describe
7167 window-height and window-width alist entries.
7168
7169 * time.el (display-time-world): Restore fit-window-to-buffer
7170 behavior.
7171
7172 2012-10-27 Chong Yidong <cyd@gnu.org>
7173
7174 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7175
7176 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7177
7178 * minibuffer.el (completion-category-overrides): New completion
7179 category `bookmark' (bug#11131).
7180
7181 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7182
7183 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7184 Silence bogus compiler warnings for ad-do-it.
7185
7186 * bookmark.el (bookmark-completing-read): Set the completion category
7187 to `bookmark' (bug#11131).
7188
7189 2012-10-26 Bastien <bzg@altern.org>
7190 Stefan Monnier <monnier@iro.umontreal.ca>
7191
7192 * face-remap.el: Use lexical-binding.
7193 (text-scale-adjust): Improve docstring. Use itself for the temporary
7194 overlay-map bindings, so as to repeat the "Use..." message each time.
7195
7196 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7197
7198 * emacs-lisp/macroexp.el (macroexp--expand-all):
7199 Obey byte-compile-warning-enabled-p (bug#12486).
7200
7201 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7202 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7203
7204 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7205
7206 * mouse.el (mouse-drag-line): Move last form into preceding when
7207 clause (Bug#12731).
7208
7209 * help.el (resize-temp-buffer-window): Fix doc-string.
7210
7211 2012-10-25 David Engster <deng@randomsample.de>
7212
7213 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7214 Remove. This feature is already integrated in imenu.
7215
7216 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7217 always loaded. Require `speedbar' unconditionally.
7218
7219 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7222
7223 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7224
7225 * net/ldap.el (ldap-search-internal): The official ldif format starts
7226 with a "version: 1" header (bug#12724).
7227
7228 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7229 (bug#12721).
7230
7231 2012-10-25 Glenn Morris <rgm@gnu.org>
7232
7233 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7234
7235 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7236
7237 * minibuffer.el (minibuffer-force-complete): Use one more marker
7238 for the temporary-overlay-map command (bug#12619).
7239
7240 2012-10-24 Chong Yidong <cyd@gnu.org>
7241
7242 * time.el (display-time-world-mode): Derive from special-mode.
7243 (display-time-world): Use display-buffer (Bug#12708).
7244 (display-time-world-mode-map): Variable deleted.
7245 (display-time-world-display): Wrap the final delete-char inside
7246 inhibit-read-only.
7247
7248 2012-10-24 Chong Yidong <cyd@gnu.org>
7249
7250 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7251 Doc fix.
7252
7253 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7254
7255 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7256
7257 * minibuffer.el (completion--all-sorted-completions-location): New var.
7258 (completion--cache-all-sorted-completions)
7259 (completion--flush-all-sorted-completions): Use it.
7260 (completion-in-region, completion-in-region--postch)
7261 (completion-at-point, completion-help-at-point): Use markers in
7262 completion-in-region--data (bug#12619).
7263
7264 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * progmodes/compile.el (compilation-start): Try to handle common
7267 quoting of `cd' argument (bug#12640).
7268
7269 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7270 (bug#12671).
7271
7272 2012-10-23 Glenn Morris <rgm@gnu.org>
7273
7274 * progmodes/gud.el (gud-menu-map):
7275 Check gdb-active-process is bound. (Bug#12358)
7276
7277 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * repeat.el (repeat): Set real-this-command (bug#12232).
7280
7281 * htmlfontify.el (hfy-post-html-hook):
7282 * filesets.el (filesets-cache-fill-content-hook):
7283 * arc-mode.el (archive-extract-hook):
7284 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7285 * net/rcirc.el (rcirc-sentinel-functions)
7286 (rcirc-receive-message-functions, rcirc-activity-functions)
7287 (rcirc-print-functions):
7288 * net/dbus.el (dbus-event-error-functions):
7289 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7290 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7291 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7292 * term/sun.el (sun-raw-prefix-hooks):
7293 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7294
7295 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7296
7297 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7298 Set `tramp-chunksize' to 1. This improves the performance.
7299 (tramp-smb-wait-for-output): Add timeout to
7300 `tramp-accept-process-output' calls.
7301
7302 2012-10-23 Chong Yidong <cyd@gnu.org>
7303
7304 * faces.el (font-list-limit): Define as an obsolete variable.
7305
7306 * startup.el (command-line):
7307 * cus-start.el: Don't refer to font-list-limit.
7308
7309 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7310
7311 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7312
7313 * subr.el (internal-temp-output-buffer-show): Rename from
7314 temp-output-buffer-show, since previously compiled files expect this name.
7315
7316 2012-10-23 Glenn Morris <rgm@gnu.org>
7317
7318 * image.el (image-type-from-file-name): If multiple types match,
7319 return the first one that is supported. (Bug#9045)
7320
7321 2012-10-22 Glenn Morris <rgm@gnu.org>
7322
7323 * image.el (imagemagick-enabled-types): Doc fix.
7324
7325 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7326
7327 * progmodes/which-func.el (which-func-current): The hash-table may have
7328 an explicit nil (bug#12338).
7329
7330 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7331
7332 * electric.el (electric-pair-delete-selection-self-insert-function):
7333 Rename to electric-pair-will-use-region, return a boolean.
7334 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7335
7336 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7337 (delete-selection-pre-hook): Use use-region-p.
7338 (delete-selection-self-insert-function): Remove.
7339 (self-insert-command): Obey self-insert-uses-region-functions.
7340 (self-insert-iso): Revert to previous setting, since we don't actually
7341 know what that command does.
7342 (delete-selection-self-insert-hooks): Remove.
7343
7344 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7345
7346 * delsel.el (delete-selection-helper): New function, extracted from
7347 delete-selection-pre-hook.
7348 (delete-selection-pre-hook): Use it.
7349 (delete-selection-self-insert-function): New function.
7350 (delete-selection-self-insert-hooks): New hook.
7351 (self-insert-command, self-insert-iso): Use it.
7352 * electric.el (electric-pair-syntax): New function, extracted from
7353 electric-pair-post-self-insert-function.
7354 (electric-pair-post-self-insert-function): Use it.
7355 (electric-pair-delete-selection-self-insert-function): New function.
7356 (electric-pair-mode): Require delsel and setup
7357 delete-selection-self-insert-hooks (bug#11520).
7358
7359 2012-10-20 Chong Yidong <cyd@gnu.org>
7360
7361 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7362 no changes to show (Bug#12586).
7363
7364 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7365 list explicitly (Bug#12571).
7366
7367 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7368
7369 * progmodes/flymake.el (flymake-create-temp-inplace):
7370 Use file-truename.
7371
7372 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7373
7374 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7375
7376 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7377
7378 * calc/calc-units.el (math-extract-units): Properly extract powers
7379 of units.
7380
7381 2012-10-20 Daniel Colascione <dancol@dancol.org>
7382
7383 * frame.el (make-frame): Set x-display-name as we used to in order
7384 to unbreak creating an X11 frame from an Emacs daemon started
7385 without a display.
7386
7387 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7388
7389 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7390 the same completion-field (bug#12221).
7391
7392 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7393
7394 * emacs-lisp/debug.el (debug): Record height of debugger window
7395 also when debugger will be back (Bug#8789).
7396
7397 2012-10-18 Chong Yidong <cyd@gnu.org>
7398
7399 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7400 Convert to defcustom.
7401 (gdb-get-source-file): Don't bind pop-up-windows.
7402
7403 * progmodes/gud.el (gud-display-line): Don't specially re-use
7404 other frames for the gdb-mi case (Bug#12648).
7405
7406 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7407
7408 * emacs-lisp/advice.el: Clean up commentary a bit.
7409 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7410 (byte-code-function-p): Never redefine.
7411
7412 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7413
7414 2012-10-18 Glenn Morris <rgm@gnu.org>
7415
7416 * dired.el (dired-sort-toggle): Some ls implementations only allow
7417 a single option string. (Bug#12666)
7418
7419 * minibuffer.el (completion-cycle-threshold): Doc fix.
7420
7421 2012-10-17 Kenichi Handa <handa@gnu.org>
7422
7423 * international/mule.el (set-keyboard-coding-system):
7424 Recover input meta mode when the new coding system doesn not use 8-bit.
7425 Supply TERMINAL arg to set-input-meta-mode.
7426
7427 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7428
7429 * wdired.el (wdired-old-marks): New variable.
7430 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7431 (wdired-do-renames): Move point with renamed file and don't lose
7432 mark status (Bug#11795).
7433
7434 2012-10-16 Juri Linkov <juri@jurta.org>
7435
7436 * replace.el (query-replace-help): Mention multi-buffer replacement
7437 keys in the Help message. (Bug#12655)
7438
7439 2012-10-15 Chong Yidong <cyd@gnu.org>
7440
7441 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7442
7443 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7444
7445 * window.el (display-buffer): Doc fix.
7446
7447 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7448 Adjust the msft regexp to the output of Studio 2010, and move msft
7449 before edg-1. See the discussion on emacs-devel,
7450 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7451 for the details.
7452
7453 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7456 (oset): Move uses of object-class-fast macro after its definition.
7457
7458 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7459
7460 2012-10-13 Chong Yidong <cyd@gnu.org>
7461
7462 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7463 enabled, re-enable it (Bug#11963).
7464
7465 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7466
7467 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7468 non-nil, restore window configuration (Bug#12623).
7469
7470 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7471
7472 * help-fns.el (describe-variable, describe-function-1):
7473 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7474
7475 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7476
7477 2012-10-12 Glenn Morris <rgm@gnu.org>
7478
7479 * mail/rmailsum.el (rmail-header-summary):
7480 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7481
7482 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7483
7484 * progmodes/python.el (python-mode-map):
7485 Replace subtitute-key-definition with proper command remapping.
7486 (python-nav--up-list): Fix behavior for blocks on the same level.
7487
7488 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7491
7492 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7493 changes to the format of load-history.
7494
7495 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7496 completion-ignore-case in case that var is buffer-local (bug#12615).
7497
7498 2012-10-11 Kenichi Handa <handa@gnu.org>
7499
7500 * international/eucjp-ms.el: Re-generated.
7501
7502 2012-10-10 Kenichi Handa <handa@gnu.org>
7503
7504 * select.el (xselect--encode-string): If a coding is specified for
7505 selection, and that is compatible with COMPOUND_TEXT, use it.
7506
7507 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7508
7509 * window.el (switch-to-buffer-preserve-window-point): New option.
7510 (switch-to-buffer):
7511 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7512
7513 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7516 Don't document nil as a useful value (bug#12583).
7517
7518 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7519
7520 * net/tramp.el (tramp-debug-message):
7521 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7522 (with-tramp-progress-reporter): Rename from
7523 `tramp-with-progress-reporter'.
7524 (with-tramp-file-property, with-tramp-connection-property):
7525 Move from tramp-cache.el, rename from `with-file-property' and
7526 `with-connection-property', respectively.
7527
7528 * net/tramp-cache.el: Remove `with-file-property' and
7529 `with-connection-property'.
7530
7531 * net/tramp.el:
7532 * net/tramp-gvfs.el:
7533 * net/tramp-sh.el:
7534 * net/tramp-smb.el: Adapt callees.
7535
7536 * net/trampver.el: Update release number.
7537
7538 2012-10-09 Glenn Morris <rgm@gnu.org>
7539
7540 * w32-fns.el (set-message-beep):
7541 * term/w32-win.el (set-message-beep): Update declarations.
7542
7543 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7546 (mode-line-widen, mode-line-input-method-map)
7547 (mode-line-coding-system-map, mode-line-remote)
7548 (mode-line-unbury-buffer, mode-line-bury-buffer)
7549 (mode-line-next-buffer, mode-line-previous-buffer):
7550 Replace save-selected-window+select-window => with-selected-window.
7551
7552 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7553 * progmodes/cc-vars.el (bq-process): Remove, unused.
7554
7555 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7556
7557 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7558
7559 Implemented `backward-up-list'-like navigation.
7560 * progmodes/python.el (python-nav-up-list)
7561 (python-nav-backward-up-list): New functions.
7562 (python-mode-map): Define substitute key for backward-up-list to
7563 python-nav-backward-up-list.
7564
7565 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7566
7567 * progmodes/python.el (python-fill-paragraph): Rename from
7568 python-fill-paragraph-function. Fixed fill-paragraph for
7569 decorators (Bug#12605).
7570
7571 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7572
7573 * progmodes/python.el (python-shell-output-filter): Handle extra
7574 carriage return in OSX (Bug#12409).
7575
7576 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7577
7578 Fix shell handling of unbalanced quotes and parens in output.
7579 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7580 (python-syntax-propertize-function): Use it.
7581 (python-shell-output-syntax-table): New var.
7582 (inferior-python-mode): Prevent unbalanced parens/quotes from
7583 previous output mess with current input context.
7584
7585 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7586
7587 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7588 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7589
7590 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7591
7592 * ffap.el (ffap-replace-file-component): Support Tramp file name
7593 syntax, not only ange-ftp's one.
7594
7595 2012-10-08 Glenn Morris <rgm@gnu.org>
7596
7597 * cus-start.el (message-log-max): Set :version.
7598
7599 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7600
7601 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7602
7603 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7604 the minibuffer window (Bug#10851).
7605
7606 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7607
7608 Enhancements on forward-sexp movement.
7609 * progmodes/python.el (python-nav-beginning-of-statement)
7610 (python-nav-end-of-statement): Return point-marker.
7611 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7612 (python-info-current-symbol)
7613 (python-info-statement-starts-block-p): Rename from
7614 python-info-beginning-of-block-p.
7615 (python-info-statement-ends-block-p): Rename from
7616 python-info-end-of-block-p.
7617 (python-info-beginning-of-statement-p)
7618 (python-info-end-of-statement-p)
7619 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7620 New functions.
7621
7622 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7623
7624 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7625 frame-selected-windows.
7626
7627 2012-10-08 Daniel Colascione <dancol@dancol.org>
7628
7629 * battery.el (battery-status-function): Check for
7630 w32-battery-status itself, not system-time windows-nt.
7631
7632 * frame.el: Require cl-lib.
7633 (display-format-alist): New variable mapping frame types to
7634 functions that initialize them.
7635 (window-system-for-display): New function: interprets
7636 display-format-alist.
7637 (make-frame-on-display): Remove existing display-selection logic
7638 and just forward to make-frame, which will now DTRT.
7639 (make-frame): Restructure to use window-system-for-display to
7640 figure out how to create a frame on a given display.
7641 (display-mouse-p): Look for frame-type w32, not a particular
7642 system-type.
7643
7644 * loadup.el: Load w32 lisp code when we have the w32 feature.
7645
7646 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7647 system-type windows-nt.
7648
7649 * server.el (server-create-window-system-frame): Look for window
7650 type.
7651 (server-proces-filter): Only force a window system when windows-nt
7652 _and_ w32. Explain why.
7653
7654 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7655 of window systems we configure for the mode.
7656
7657 * startup.el (command-line): Mark window system is initialized
7658 after we've done it.
7659
7660 * common-win.el (x-select-text): Look for w32, not windows-nt.
7661
7662 * ns-win.el: Require cl-lib. Add ourselves to
7663 display-format-alist.
7664 (ns-initialize-window-system): Assert we're not initialized twice.
7665
7666 * w32-win.el: Enable lexical binding; require cl-lib; add
7667 ourselves to display-format-alist.
7668 (w32-handle-dropped-file): Convert incoming dropped files from
7669 Windows paths to Cygwin ones before passing them on to the rest of
7670 Emacs.
7671 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7672 (w32-initialize-window-system): Assert we're not initialized twice.
7673
7674 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7675 (x-initialize-window-system): Assert we're not initialized twice.
7676
7677 * w32-common-fns.el: New File.
7678 (w32-version, w32-using-nt, w32-get-clipboard-data)
7679 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7680 (w32-charset-info-alist, x-last-selected, text)
7681 (x-get-selection-value, x-selection-value): Move here.
7682
7683 * w32-fns.el: Require w32-common-fns.
7684 (w32-version, w32-using-nt, w32-get-clipboard-data)
7685 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7686 (w32-charset-info-alist, x-last-selected, text)
7687 (x-get-selection-value, x-selection-value): Move to
7688 w32-common-fns.
7689
7690 * w32-vars.el:
7691 (w32-allow-system-shell, w32-system-shells): Define only in
7692 non-cygwin case.
7693
7694 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7695
7696 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7697 (read-passwd): Remove a few more potential sources of leaks.
7698
7699 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7700
7701 * progmodes/python.el (inferior-python-mode)
7702 (python-shell-make-comint): Fix initialization of local
7703 variables copied from parent buffer.
7704
7705 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7706
7707 * term/ns-win.el (ns-read-file-name): Update declaration to match
7708 nsfns.m.
7709 (ns-respond-to-change-font): Change fontsize separately so we are sure
7710 it is set when font is acted upon.
7711
7712 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7713
7714 Enhancements to indentation.
7715 * progmodes/python.el (python-indent-context): Give priority to
7716 inside-string context. Make comments indentation markers.
7717 (python-indent-region): Do not mess with strings, unless it's the
7718 enclosing set of quotes.
7719
7720 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * window.el (internal--before-save-selected-window)
7723 (internal--after-save-selected-window): New functions extracted from
7724 save-selected-window. Make sure we return the `alist' we construct.
7725 (save-selected-window): Use them.
7726
7727 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7728 Use with-selected-window.
7729
7730 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7731 forms that define macros (bug#12593).
7732
7733 2012-10-07 Kenichi Handa <handa@gnu.org>
7734
7735 * international/mule-conf.el (compound-text-with-extensions):
7736 Add :mime-charset property as x-ctext.
7737
7738 2012-10-07 Stefan Merten <smerten@oekonux.de>
7739
7740 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7741 (rst-indent-literal-normal, rst-indent-literal-minimized)
7742 (rst-indent-comment): Correct :version tag.
7743 (rst-official-cvs-rev): Correct version string.
7744
7745 2012-10-07 Glenn Morris <rgm@gnu.org>
7746
7747 * mail/rmailmm.el (rmail-mime-process-multipart):
7748 Do not confuse a multipart message with an epilogue
7749 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7750
7751 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7752
7753 Fix shell output retrieval and comint-prompt-regexp init.
7754 * progmodes/python.el (inferior-python-mode):
7755 (python-shell-make-comint): Fix initialization of
7756 comint-prompt-regexp from copied file local variables.
7757 (python-shell-fetched-lines): Remove var.
7758 (python-shell-output-filter-in-progress): Rename from
7759 python-shell-fetch-lines-in-progress.
7760 (python-shell-output-filter-buffer): Rename from
7761 python-shell-fetch-lines-string.
7762 (python-shell-fetch-lines-filter): Delete function.
7763 (python-shell-output-filter): New function.
7764 (python-shell-send-string-no-output): Use them.
7765
7766 2012-10-07 Glenn Morris <rgm@gnu.org>
7767
7768 * hi-lock.el (hi-lock-process-phrase):
7769 Try to make it less fragile. (Bug#7161)
7770
7771 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7772
7773 2012-10-06 Glenn Morris <rgm@gnu.org>
7774
7775 * ehelp.el (electric-help-mode): Use help-mode rather than
7776 non-existent mode `help'.
7777 (electric-help-map): Use button-buffer-map. (Bug#10917)
7778
7779 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7780 (reftex-create-bibtex-footer): Fix custom types.
7781
7782 * progmodes/sh-script.el (sh-indent-after-continuation):
7783 Add explicit :group.
7784
7785 * textmodes/rst.el (rst-preferred-decorations)
7786 (rst-shift-basic-offset): Clarify obsolescence versions.
7787
7788 * profiler.el (profiler): Add missing group :version tag.
7789 * avoid.el (mouse-avoidance-banish-position):
7790 * proced.el (proced-renice-command):
7791 * calc/calc.el (calc-ensure-consistent-units):
7792 * calendar/icalendar.el (icalendar-import-format-uid):
7793 * net/tramp.el (tramp-save-ad-hoc-proxies):
7794 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7795 * progmodes/flymake.el (flymake-error-bitmap)
7796 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7797 * progmodes/sh-script.el (sh-indent-after-continuation):
7798 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7799 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7800 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7801 (vhdl-array-index-record-field-in-sensitivity-list)
7802 (vhdl-indent-comment-like-next-code-line):
7803 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7804 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7805 (reftex-cite-key-separator, reftex-create-bibtex-header)
7806 (reftex-create-bibtex-footer):
7807 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7808 (rst-indent-literal-normal, rst-indent-literal-minimized)
7809 (rst-indent-comment): Add missing custom :version tags.
7810
7811 * calendar/timeclock.el (timeclock-modeline-display):
7812 Add missing obsolete alias for renamed user option.
7813
7814 * strokes.el (strokes-modeline-string):
7815 * emulation/crisp.el (crisp-mode-modeline-string):
7816 * eshell/esh-mode.el (eshell-status-in-modeline):
7817 Aliases to defcustoms must come before the defcustom.
7818
7819 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7820 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7821 (cal-tex-cursor-week-monday): Doc fixes.
7822 (cal-tex-cursor-week2-summary): Doc fix.
7823 Rename from cal-tex-cursor-week-at-a-glance.
7824
7825 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7826 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7827
7828 * calendar/calendar.el (calendar-mode-map):
7829 Add cal-tex-cursor-week2-summary.
7830
7831 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7833 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7834
7835 * subr.el (read-passwd-map): New var.
7836 (read-passwd): Use `read-string' again.
7837 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7838
7839 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7840
7841 * register.el (append-to-register, prepend-to-register):
7842 Deactivate mark, as does `copy-to-register' (bug#12389).
7843
7844 2012-10-06 Chong Yidong <cyd@gnu.org>
7845
7846 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7847
7848 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7849
7850 * international/characters.el: Fix simple mistake ((car chars) ->
7851 elt), delete duplicated code.
7852
7853 2012-10-06 Glenn Morris <rgm@gnu.org>
7854
7855 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7856
7857 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7858
7859 * color.el (color-hsl-to-rgb): Fix incorrect results for
7860 small and large hue values. (Bug#12559)
7861
7862 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7863
7864 Enhancements to docstring formatting when filling paragraphs.
7865 * progmodes/python.el (python-fill-docstring-style): Rename from
7866 python-fill-string-style. Added new style.
7867 (python-fill-string): Use new style. Better checks for
7868 docstrings.
7869
7870 2012-10-05 Glenn Morris <rgm@gnu.org>
7871
7872 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7873
7874 * color.el (color-name-to-rgb, color-rgb-to-hex)
7875 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7876 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7877 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7878 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7879
7880 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7881
7882 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7883
7884 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7885 to get the correct size across symlinks.
7886
7887 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7888
7889 2012-10-04 Juri Linkov <juri@jurta.org>
7890
7891 * replace.el (query-replace-interactive): Declare obsolete.
7892 (query-replace-read-from): Add the last incremental search string
7893 to the list of default values accessible via M-n.
7894 (map-query-replace-regexp): Use `read-regexp'.
7895 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7896 (map-query-replace-regexp, replace-string, replace-regexp):
7897 Fix docstrings to replace mentions of `query-replace-interactive'
7898 with alternatives. (Bug#12526)
7899
7900 2012-10-04 Juri Linkov <juri@jurta.org>
7901
7902 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7903 (dired-pop-to-buffer): Declare obsolete.
7904 (dired-mark-pop-up): Doc fix.
7905
7906 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7907
7908 Allow user to set docstring style for fill-paragraph.
7909 * progmodes/python.el
7910 (python-fill-comment-function, python-fill-string-function)
7911 (python-fill-decorator-function, python-fill-paren-function):
7912 Remove :safe for defcustoms.
7913 (python-fill-string-style): New defcustom
7914 (python-fill-paragraph-function): Enhance context detection.
7915 (python-fill-string): Honor python-fill-string-style settings.
7916
7917 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7918
7919 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7920 after setting its buffer (Bug#10805).
7921
7922 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7923
7924 Fix cornercase for string syntax.
7925 * progmodes/python.el (python-syntax-propertize-function):
7926 Simplify and enhance the regexp for unescaped quotes. Now it also
7927 matches quotes in weird situations like the single quote in
7928 "something\"'".
7929 (python-syntax-stringify): Simplify num-quotes detecting code.
7930
7931 2012-10-03 Glenn Morris <rgm@gnu.org>
7932
7933 * help-macro.el (three-step-help):
7934 Revert 2012-09-29 change. (Bug#12567)
7935
7936 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7937
7938 * menu-bar.el (kill-this-buffer): Don't do anything when
7939 `menu-frame' is not alive or visible (Bug#8184).
7940
7941 * emacs-lisp/debug.el (debug): When quitting the debugger window
7942 restore current buffer (Bug#12502).
7943
7944 2012-10-02 Chong Yidong <cyd@gnu.org>
7945
7946 * progmodes/hideif.el (hif-lookup, hif-defined):
7947 Handle semantic-c-takeover-hideif.
7948
7949 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7950
7951 Change sampling interval units from ms to ns.
7952 * profiler.el (profiler-sampling-interval): Change units
7953 from ms to ns, multiplying the default by 1000000 so that
7954 it remains 1 ms.
7955 (profiler-report-cpu-line-format): Give enough room for
7956 the maximum counters on 64-bit hosts.
7957 (profiler-report-render-calltree-1): Call them "CPU samples",
7958 not "Time (ms)", since they are not milliseconds now (and
7959 never really were).
7960
7961 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7962
7963 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7964 Fix querying BBDB for entries without a last name (Bug#11580).
7965
7966 2012-10-02 Chong Yidong <cyd@gnu.org>
7967
7968 * emacs-lisp/eieio.el: Restore Version header.
7969
7970 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7971
7972 * vc/diff-mode.el (diff--auto-refine-data): New var.
7973 (diff-hunk): Use it to delay refinement.
7974 (diff-mode): Remove overlays when we turn off font-lock.
7975
7976 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7977 (table-initialize-table-fixed-width-mode)
7978 (table-set-table-fixed-width-mode): Remove functions.
7979 (table-command-list): Move initialization into declaration.
7980 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7981 (table-with-cache-buffer): Use `declare'.
7982 (table-span-cell): Simplify via CSE.
7983 (table-fixed-width-mode): Use define-minor-mode.
7984 (table-call-interactively, table-funcall, table-apply): Remove.
7985 (table-function): New function, to replace them.
7986
7987 * bookmark.el (bookmark-search-pattern): Remove var.
7988 (bookmark-read-search-input): Remove function.
7989 (bookmark-bmenu-search): Reimplement using a minibuffer.
7990
7991 * faces.el (modeline): Remove obsolete face name.
7992
7993 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7994 and give a non-nil default value.
7995 (add-change-log-entry): Simplify accordingly.
7996
7997 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7998
7999 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8000 (vc-git-log-edit-toggle-amend): New function.
8001 (vc-git-log-edit-toggle-signoff): New function.
8002 (vc-git-log-edit-mode): New major mode.
8003 (vc-git-log-edit-mode-map): Keymap for it.
8004 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8005
8006 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8007 header names.
8008 (log-edit-toggle-header): New function.
8009 (log-edit-extract-headers): Accept function values in HEADERS alist.
8010
8011 2012-10-01 David Engster <deng@randomsample.de>
8012
8013 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8014 from symbol property and change message to be more consistent with
8015 Emacs proper.
8016 (eieio-describe-generic): Add filename for each implementation.
8017 Fix indices for generic and normal methods.
8018 (eieio-method-def, eieio-class-def): New buttons.
8019 (eieio-help-find-method-definition)
8020 (eieio-help-find-class-definition): New functions.
8021 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8022 class, constructor and method definitions.
8023
8024 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8025 information in symbol property.
8026 (scoped-class): Remove.
8027 (eieio-slot-name-index, call-next-method): Check if it is bound.
8028
8029 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8030
8031 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8032 (eieio-custom-mode): New major mode.
8033 (eieio-customize-object): Use it.
8034
8035 2012-10-01 Eric Ludlam <zappo@gnu.org>
8036
8037 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8038 specifying the expected class, and whether subclassing is allowed.
8039 (eieio-persistent-convert-list-to-object):
8040 (eieio-persistent-validate/fix-slot-value)
8041 (eieio-persistent-slot-type-is-class-p): New functions.
8042 (eieio-named::slot-missing): Doc fix.
8043
8044 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8045 Stop using unused publd variable.
8046
8047 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8048 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8049 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8050 (eieio-speedbar-handle-click): Do not specify a class for the
8051 method. Fixes method invocation order problems with EDE.
8052
8053 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8054
8055 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8056 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8057
8058 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8059
8060 * bookmark.el (bookmark-version-control): Give tags in the
8061 :type choices (Bug#12309), and improve doc string.
8062 (bookmark-write-file): Bind `print-circle' to `t' to allow
8063 circular custom bookmark types. (Bug#12503)
8064
8065 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8066
8067 Revert the FOLLOW-SYMLINKS change for file-attributes.
8068 * files.el (remote-file-name-inhibit-cache, after-find-file):
8069 * time.el (display-time-file-nonempty-p): Undo last change.
8070
8071 * profiler.el (profiler-sampling-interval): Change default back to 1.
8072 See Stefan Monnier in
8073 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8074
8075 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8076
8077 Shell output catching a la gud-gdb.
8078 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8079 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8080 New Vars.
8081 (python-shell-fetch-lines-filter): New function.
8082 (python-shell-send-string-no-output): Use them.
8083
8084 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8085
8086 * profiler.el (profiler-sampling-interval): Rename from
8087 profiler-sample-interval.
8088 (profiler-sampling-interval): Default to 10.
8089 (profiler-find-profile): New command (was profiler-find-log).
8090 (profiler-find-profile-other-window): New command.
8091 (profiler-find-profile-other-frame): New command.
8092 (profiler-profile): Introduce API-level data structure.
8093
8094 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8095
8096 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8097 * files.el (remote-file-name-inhibit-cache):
8098 * time.el (display-time-file-nonempty-p): Use it.
8099 * files.el (after-find-file): Don't chase links before calling
8100 file-exists-p, as file-exists-p already does the right thing.
8101
8102 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8103
8104 Merge from standalone RefTeX repository.
8105
8106 The following ChangeLog entries are shortened versions of the
8107 original ones with file paths adapted. A not so strongly edited
8108 version of the original ChangeLog can be found in the commit log.
8109
8110 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8111 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8112 Correctly handle new value type returned by `reftex-citation'.
8113
8114 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8115 that entries with whitespace at various places are found.
8116 Doc fix. Include entries that are cross-referenced from cited entries.
8117 Include @String definitions in the resulting bib file. Add header
8118 and footer defined in `reftex-create-bibtex-header' and
8119 `reftex-create-bibtex-footer'.
8120 (reftex-do-citation): Make it possible again to insert
8121 non-existent entries. Save match data when asking for optional
8122 arguments. Return all keys, not just the first one.
8123 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8124 all citations in the same line.
8125 (reftex-parse-bibtex-entry): Accept additional optional argument
8126 `raw' and keep quotes or braces if it is non-nil. Match fields
8127 containing hyphens besides word constituents.
8128 (reftex-get-string-refs): New function.
8129 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8130 and ask if it should be reread in case it did.
8131 (reftex-pop-to-bibtex-entry)
8132 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8133 entries with spaces or tabs in front of arguments.
8134 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8135 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8136 Match entries containing numbers and symbol constituents.
8137 (reftex-do-citation, reftex-figure-out-cite-format):
8138 Use `reftex-cite-key-separator'.
8139
8140 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8141 (reftex-mouse-view-crossref): Explain why point is set.
8142
8143 * textmodes/reftex-global.el: Whitespace changes.
8144
8145 * textmodes/reftex-index.el: Move provide statement to end of
8146 file.
8147 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8148 (reftex-index-visit-phrases-buffer): Set marker when visiting
8149 buffer. This allows for returning from the phrases file to the
8150 file one was just editing instead of the file where the last
8151 phrases was added from.
8152 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8153 punctuation syntax as it usually is not used as string quote in
8154 TeX-related modes and may occur unmatched. The change also
8155 prevents fontification of quoted content.
8156 (reftex-index-phrases-mode): Use it.
8157
8158 * textmodes/reftex-parse.el (reftex-parse-from-file):
8159 Move backward one char if a `\' was matched after a section macro.
8160 (reftex-parse-from-file): Use beginning of match instead of end as
8161 bound.
8162
8163 * textmodes/reftex-ref.el: Adapt creation of
8164 `reftex-<package>-<macro>' functions to new structure of
8165 `reftex-ref-style-alist'.
8166 (reftex-reference): Use `reftex-ref-style-list' function.
8167 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8168 reference macro if `reftex-ref-macro-prompt' is non-nil.
8169 (reftex-reference): Pass refstyle to `reftex-format-special'.
8170 Determine reference macro by looking at
8171 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8172 Use only one special format function.
8173 (reftex-varioref-vref, reftex-fancyref-fref)
8174 (reftex-fancyref-Fref): Remove definitions. The functions are now
8175 generated from `reftex-ref-style-alist'.
8176 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8177 Remove.
8178 (reftex-format-special): New function.
8179
8180 * textmodes/reftex-sel.el
8181 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8182 of `reftex-ref-style-alist'. Remove code for testing macro type.
8183 (reftex-select-toggle-varioref)
8184 (reftex-select-toggle-fancyref): Remove.
8185 (reftex-select-cycle-ref-style-internal)
8186 (reftex-select-cycle-ref-style-forward)
8187 (reftex-select-cycle-ref-style-backward): New functions.
8188 (reftex-select-label-map): Use `v' and `V' for general cycling
8189 through reference styles. Add `p' for switching between number
8190 and page reference types.
8191
8192 * textmodes/reftex-toc.el (reftex-re-enlarge):
8193 Call `enlarge-window' only if there is something to do because in Emacs
8194 the horizontal version throws an error even if the parameter is 0.
8195
8196 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8197 (reftex-plug-into-AUCTeX): Doc fix.
8198 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8199 string. Adapt to new name.
8200 (reftex-ref-style-alist): Change structure so that it is not
8201 possible to use multiple different package names within a style.
8202 Remove the symbols for symbols for macro type distinction.
8203 Add characters for macro selection.
8204 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8205 (reftex-create-bibtex-footer): New variables.
8206 (reftex-format-ref-function): Mention third argument of special
8207 format function.
8208 (reftex-ref-style-alist, reftex-ref-style-default-list):
8209 New variables.
8210 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8211 to new implementation. Mark as obsolete. Add compatibility code
8212 for honoring the variable values in case they are set.
8213 (reftex-cite-format-builtin, reftex-bibliography-commands):
8214 Add support for ConTeXt.
8215 (reftex-format-ref-function, reftex-format-cite-function):
8216 Fix custom type.
8217 (reftex-cite-key-separator): New variable.
8218
8219 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8220 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8221 `reftex-syntax-table' because parens have to retain their paren
8222 syntax in order for parsing of BibTeX entries like @book(...) to
8223 work.
8224 (reftex-in-comment): Do not error out if `comment-start-skip' is
8225 not set. Deal correctly with escaped comment characters.
8226 (reftex-tie-multifile-symbols): Add doc string.
8227 Initialize `reftex-ref-style-list'.
8228 (reftex-untie-multifile-symbols): Add doc string.
8229 (reftex-add-index-macros): Doc fix.
8230 (reftex-ref-style-activate, reftex-ref-style-toggle)
8231 (reftex-ref-style-list): New functions.
8232 (reftex-mode-menu): Use them. Adapt to new structure of
8233 `reftex-ref-style-alist'.
8234 (reftex-select-with-char): Kill the RefTeX Select buffer when
8235 done.
8236 (reftex-remove-if): New function.
8237 (reftex-erase-all-selection-and-index-buffers)
8238 (reftex-mode-menu): Reference styles are now computed from
8239 `reftex-ref-style-alist'. Fix typo.
8240 (reftex-report-bug): New function.
8241 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8242 algorithms with O(n log n). Introduce optional argument SORT (not
8243 yet used).
8244
8245 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8246
8247 Enhancements for triple-quote string syntax.
8248 * progmodes/python.el (python-syntax-propertize-function):
8249 Match both quote cases in one regexp.
8250 (python-syntax-stringify): Handle matches properly.
8251
8252 2012-09-30 Juri Linkov <juri@jurta.org>
8253
8254 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8255 to nil around the call to `insert' to prevent
8256 directory time modification by lock_file. (Bug#2295)
8257 * tar-mode.el (tar-summarize-buffer): Idem.
8258
8259 2012-09-30 Juri Linkov <juri@jurta.org>
8260
8261 * facemenu.el (list-colors-sort): Add option "Luminance".
8262 (list-colors-sort-key): Implement it.
8263
8264 * vc/diff-mode.el (diff-refine-removed):
8265 * vc/ediff-init.el (ediff-fine-diff-A):
8266 * vc/smerge-mode.el (smerge-refined-removed):
8267 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8268
8269 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8270
8271 * term/ns-win.el (x-file-dialog): New function.
8272
8273 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8274
8275 * ido.el (ido-max-directory-size): Default to nil; the current
8276 default is small for POSIX systems, and impractical on Windows 7
8277 now that lstat returns directory sizes for NTFS.
8278
8279 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8280
8281 In buffer display functions handle window-height/window-width
8282 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8283 * window.el (window--display-buffer): New argument ALIST.
8284 Obey window-height and window-width alist entries.
8285 (window--try-to-split-window): New argument ALIST.
8286 Bind window-combination-limit to t when the window's size shall be
8287 changed and window-combination-limit equals `window-size'.
8288 (display-buffer-in-atom-window)
8289 (display-buffer-in-major-side-window)
8290 (display-buffer-in-side-window, display-buffer-same-window)
8291 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8292 (display-buffer-pop-up-window, display-buffer-below-selected)
8293 (display-buffer-at-bottom, display-buffer-in-previous-window)
8294 (display-buffer-use-some-window): Adjust all callers of
8295 window--display-buffer and window--try-to-split-window.
8296 (fit-frame-to-buffer): New option.
8297 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8298 is non-nil.
8299 (display-buffer-in-major-side-window): Evaluate window-height /
8300 window-width alist entries.
8301
8302 * help.el (temp-buffer-resize-frames)
8303 (temp-buffer-resize-regexps): Remove options.
8304 (temp-buffer-resize-mode): Adjust doc-string.
8305 (resize-temp-buffer-window): Don't consult
8306 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8307 temp-buffer-resize-frames.
8308
8309 * dired.el (dired-mark-pop-up):
8310 Call display-buffer-below-selected with a fit-window-to-buffer alist
8311 entry.
8312
8313 2012-09-30 Chong Yidong <cyd@gnu.org>
8314
8315 * server.el (server-host): Document the security implications.
8316 (server-auth-key): Doc fix.
8317
8318 * startup.el (initial-buffer-choice): Doc fix.
8319
8320 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8321
8322 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8323 restriction change.
8324
8325 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8326
8327 * help-fns.el (help-fns--obsolete): Fix last change.
8328
8329 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8330
8331 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8332 (minor-mode-map-alist): Remove redundant code.
8333
8334 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8335 visited in a buffer.
8336 (cvs-insert-visited-file): New function.
8337 (find-file-hook): Use it.
8338
8339 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8340
8341 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8342 chose face.
8343 (log-edit-empty-buffer-p): Don't require a space after a header.
8344
8345 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8346
8347 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8348
8349 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8350 a proper minor-mode.
8351
8352 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8353
8354 2012-09-29 Glenn Morris <rgm@gnu.org>
8355
8356 * winner.el (winner-mode): Remove variable (let define-minor-mode
8357 handle it).
8358 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8359 Doc fixes.
8360 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8361 (winner-mode): Use define-minor-mode.
8362
8363 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8364 the full definition in loaddefs, rather than duplicating it.
8365
8366 * help-macro.el (three-step-help): No need to autoload defcustom.
8367
8368 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8369 (inferior-lisp-program, inferior-lisp-load-command)
8370 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8371 No need to autoload defcustoms.
8372
8373 * hippie-exp.el (hippie-expand-try-functions-list)
8374 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8375 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8376 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8377 (hippie-expand-only-buffers): No need to autoload defcustoms.
8378 * progmodes/vhdl-mode.el (vhdl-line-expand):
8379 Explicitly load hippie-exp, so it does not get autoloaded
8380 while hippie-expand-try-functions-list is let-bound.
8381
8382 2012-09-28 Glenn Morris <rgm@gnu.org>
8383
8384 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8385
8386 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8387 Only "cl.el" counts as cl these days.
8388
8389 2012-09-28 Juri Linkov <juri@jurta.org>
8390
8391 Display archive errors in the echo area instead of inserting
8392 to the file buffer.
8393
8394 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8395 to STDERR-TEST that can be a regexp matching a successful output.
8396 Create a temporary file and redirect stderr to it. Search for
8397 STDERR-TEST in the stderr output and display it in the echo area
8398 if no match is found.
8399 (archive-extract-by-file): New function like
8400 `archive-extract-by-stdout' but extracting archives to files
8401 and looking for successful matches in stdout. Function body is
8402 mostly copied from `archive-rar-extract'.
8403 (archive-rar-extract): Use `archive-extract-by-file'.
8404 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8405
8406 2012-09-28 Leo Liu <sdl.web@gmail.com>
8407
8408 * pcomplete.el (pcomplete-show-completions):
8409 Use minibuffer-message to make pcomplete usable in minibuffer.
8410
8411 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8412
8413 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8414
8415 * type-break.el: Use lexical-binding.
8416 (type-break-mode): Use define-minor-mode.
8417
8418 * emacs-lisp/pcase.el (pcase--mark-used): New.
8419 (pcase--u1): Use it (bug#12512).
8420
8421 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8422 in load-history with the right file name.
8423
8424 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8425
8426 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8427 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8428 (doc-view-get-bounding-box): Make bounding box slicing work for
8429 ODF and DVI documents.
8430
8431 2012-09-28 Glenn Morris <rgm@gnu.org>
8432
8433 * type-break.el (type-break-mode, type-break-interval)
8434 (type-break-good-rest-interval, type-break-keystroke-threshold):
8435 No need to autoload.
8436 (type-break-good-rest-interval, type-break-keystroke-threshold):
8437 Add :set-after.
8438
8439 2012-09-28 Chong Yidong <cyd@gnu.org>
8440
8441 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8442 Add :version tag.
8443
8444 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8445
8446 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8447
8448 2012-09-27 Glenn Morris <rgm@gnu.org>
8449
8450 * faces.el (x-display-name): Declare (for without-x builds).
8451
8452 * linum.el (linum-format): Don't autoload it. Improve :type.
8453
8454 * progmodes/tcl.el: Don't require outline when compiling.
8455 (outline-regexp, outline-level): Declare.
8456 * textmodes/sgml-mode.el: Don't require outline when compiling.
8457 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8458
8459 * term.el (term-ansi-reset):
8460 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8461
8462 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8463 files for RCS and SCCS. (Bug#9781)
8464
8465 2012-09-27 Chong Yidong <cyd@gnu.org>
8466
8467 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8468 change; value should be t.
8469
8470 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8471
8472 * image-mode.el: Use lexical-binding.
8473 (image-mode-winprops): Use t to stand for the window of
8474 a buffer that's not displayed.
8475 * doc-view.el (doc-view-new-window-function): Handle the new
8476 t in winprops.
8477 (doc-view-enlarge): Make it a real nop if the size is not changed.
8478 (doc-view-display): Handle the case where the buffer is not (yet?)
8479 displayed in any window.
8480 (doc-view-saved-settings): New var.
8481 (doc-view-mode): Use it.
8482 (doc-view-fallback-mode): Set it.
8483
8484 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8485 Set lexical-binding.
8486 (minibuffer-eldef-shorten-default): New var.
8487 (minibuffer-default-in-prompt-regexps): Use it for new default.
8488 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8489
8490 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8491
8492 * international/uni-bidi.el:
8493 * international/uni-category.el:
8494 * international/uni-name.el:
8495 * international/uni-numeric.el: Regenerate.
8496
8497 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8498 Stefan Monnier <monnier@iro.umontreal.ca>
8499
8500 * profiler.el: New file.
8501
8502 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8505 (testcover-reinstrument): Simplify with CSE.
8506
8507 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8508
8509 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8510
8511 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8512
8513 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8514 (verilog-auto-input, verilog-auto-insert-lisp)
8515 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8516 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8517 (verilog-auto-unused, verilog-auto-wire)
8518 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8519 newline. Reported by Andrew Jones.
8520 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8521 Reported by Brad Dobbie.
8522 (verilog-batch-delete-trailing-whitespace):
8523 Create verilog-batch-delete-trailing-whitespace.
8524 Reported by Brad Dobbie.
8525 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8526 parameters from another module. Reported by Dan Katz.
8527 (verilog-auto, verilog-auto-assign-modport)
8528 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8529 AUTOINOUTMODPORT for UVM interface module shell generation.
8530 Reported by Brad Dobbie.
8531 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8532 standard behavior.
8533 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8534 Reported by Matt Martin.
8535
8536 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8537
8538 * window.el (window--resize-child-windows): When resizing child
8539 windows proportionally, process them in reverse order to
8540 preserve the "when splitting a window the new one gets the odd
8541 line" behavior.
8542 (window--resize-root-window-vertically): When resizing the
8543 minibuffer window try to affect only windows at the bottom of the
8544 frame. (Bug#12419)
8545
8546 2012-09-25 Chong Yidong <cyd@gnu.org>
8547
8548 * subr.el (declare): Doc fix.
8549
8550 * help-fns.el (help-fns--obsolete): Handle macros properly.
8551
8552 2012-09-25 Chong Yidong <cyd@gnu.org>
8553
8554 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8555 this function obsolete.
8556
8557 * calendar/cal-x.el (calendar-two-frame-setup)
8558 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8559 * calendar/calendar.el (american-calendar, european-calendar)
8560 (calendar-for-loop):
8561 * comint.el (comint-dynamic-simple-complete)
8562 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8563 * desktop.el (desktop-load-default):
8564 * dired-x.el (dired-omit-here-always)
8565 (dired-hack-local-variables, dired-default-directory):
8566 * emacs-lisp/derived.el (derived-mode-class):
8567 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8568 * emacs-lock.el (toggle-emacs-lock):
8569 * epa.el (epa-display-verify-result):
8570 * epg.el (epg-sign-keys, epg-start-sign-keys)
8571 (epg-passphrase-callback-function):
8572 * eshell/esh-util.el (eshell-for):
8573 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8574 (eshell-add-to-window-buffer-names):
8575 * files.el (locate-file-completion):
8576 * imenu.el (imenu-example--create-c-index)
8577 (imenu-example--create-lisp-index)
8578 (imenu-example--lisp-extract-index-name)
8579 (imenu-example--name-and-position):
8580 * international/mule-cmds.el (princ-list):
8581 * international/mule-diag.el (decode-codepage-char):
8582 * international/mule-util.el (detect-coding-with-priority):
8583 * iswitchb.el (iswitchb-read-buffer):
8584 * mail/mailalias.el (mail-complete):
8585 * mail/sendmail.el (mail-sent-via):
8586 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8587 (mouse-major-mode-menu):
8588 * password-cache.el (password-read-and-add):
8589 * pcomplete.el (pcomplete-parse-comint-arguments):
8590 * progmodes/sh-script.el (sh-maybe-here-document):
8591 * replace.el (query-replace-regexp-eval):
8592 * savehist.el (savehist-load):
8593 * simple.el (choose-completion-delete-max-match):
8594 * term.el (term-dynamic-simple-complete):
8595 * vc/ediff-init.el (ediff-check-version):
8596 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8597 * vc/vc.el (vc-diff-switches-list):
8598 * view.el (view-return-to-alist-update): Likewise.
8599
8600 * subr.el (eval-next-after-load, makehash, insert-string)
8601 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8602 mark obsolete.
8603 (mode-line-inverse-video): Variable deleted.
8604
8605 * international/mule-util.el (string-to-sequence): Remove.
8606
8607 * calendar/calendar.el (calendar-version):
8608 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8609 (icalendar-convert-diary-to-ical):
8610 * cus-edit.el (custom-mode):
8611 * ansi-color.el (ansi-color-unfontify-region):
8612 * international/latin1-disp.el (latin1-char-displayable-p):
8613 * progmodes/cwarn.el (turn-on-cwarn-mode):
8614 * progmodes/which-func.el (which-func-update-1):
8615 Use define-obsolete-function-alias.
8616
8617 * net/newst-backend.el (newsticker-cache-filename):
8618 * net/newst-treeview.el (newsticker-groups-filename):
8619 Fix incorrect obsolescence declaration.
8620
8621 * allout.el (allout-passphrase-hint-string): Likewise.
8622 (allout-init): Use a declare form to mark obsolete.
8623
8624 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8625 this applies to functions.
8626
8627 * iswitchb.el (iswitchb-read-buffer): Move code of
8628 iswitchb-define-mode-map here, and delete that obsolete function.
8629
8630 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8631 font-lock-reference-face.
8632
8633 2012-09-25 Glenn Morris <rgm@gnu.org>
8634
8635 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8636 Doc fixes.
8637
8638 * eshell/em-term.el (eshell-term-name):
8639 Default to term-term-name. (Bug#12485)
8640
8641 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8642
8643 * progmodes/python.el (python-shell-send-buffer): Better handling
8644 of "if __name__ == '__main__':" conditionals when sending the buffer.
8645
8646 2012-09-24 Glenn Morris <rgm@gnu.org>
8647
8648 * eshell/esh-cmd.el (eshell-find-alias-function):
8649 Tighten up file-name regexp. (Bug#12499)
8650
8651 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8652
8653 Enhancements for triple-quote string syntax.
8654 * progmodes/python.el (python-quote-syntax): Remove.
8655 (python-syntax-propertize-function): New value.
8656 (python-syntax-count-quotes, python-syntax-stringify):
8657 New functions.
8658
8659 2012-09-24 Chong Yidong <cyd@gnu.org>
8660
8661 * mail/supercite.el (sc-version): Remove obsolete function.
8662 (sc-describe): Don't mark as obsolete, since it is bound.
8663 (sc-submit-bug-report): Remove.
8664
8665 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8666 (cvs-commit-buffer-require-final-newline): Remove.
8667 (log-edit-require-final-newline)
8668 (log-edit-changelog-full-paragraphs): Default to t.
8669
8670 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8671 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8672 * vc/vc.el (vc-checkout-carefully): Likewise.
8673
8674 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8675 (emerge-version): Remove.
8676
8677 * progmodes/compile.el (compile-internal): Remove.
8678 (compilation-parse-errors-function): Fix typo.
8679
8680 * international/mule.el (set-char-table-default): Remove.
8681 (set-coding-priority, make-coding-system, generic-char-p)
8682 (charset-list, charset-bytes, charset-id): Use declare to mark
8683 functions as obsolete.
8684
8685 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8686 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8687 * vc/vc-hooks.el (vc-default-registered): Don't use
8688 vc-master-templates.
8689
8690 * font-lock.el (font-lock-reference-face):
8691 Use define-obsolete-variable-alias.
8692
8693 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8694 * calendar/calendar.el (calendar-font-lock-keywords):
8695 * calendar/diary-lib.el (diary-font-lock-keywords)
8696 (diary-fancy-font-lock-keywords):
8697 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8698 * textmodes/reftex-index.el (reftex-insert-index):
8699 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8700 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8701 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8702 * progmodes/prolog.el (prolog-font-lock-keywords):
8703 * progmodes/idlwave.el (idlwave-idl-keywords):
8704 * progmodes/ada-mode.el (ada-font-lock-keywords):
8705 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8706
8707 2012-09-24 Glenn Morris <rgm@gnu.org>
8708
8709 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8710
8711 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8712
8713 * progmodes/python.el (python-indent-line): More consistent cursor
8714 movement behavior.
8715
8716 2012-09-23 Stefan Merten <smerten@oekonux.de>
8717
8718 * textmodes/rst.el: Fix compiler warning.
8719
8720 2012-09-23 Roland Winkler <winkler@gnu.org>
8721
8722 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8723 Transcribe also LaTeX hyphenation.
8724 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8725 bibtex-reformat-previous-options.
8726
8727 2012-09-23 Roland Winkler <winkler@gnu.org>
8728
8729 * proced.el (proced-renice-command): New variable.
8730 (proced-marked-processes): New function.
8731 (proced-with-processes-buffer): New macro.
8732 (proced-send-signal): Use them.
8733 (proced-renice): New command bound to r.
8734
8735 2012-09-23 Roland Winkler <winkler@gnu.org>
8736
8737 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8738 ibuffer-saved-filter-groups has one element, shortcut the call of
8739 completing-read. (Bug#12331)
8740
8741 2012-09-23 Chong Yidong <cyd@gnu.org>
8742
8743 * bindings.el (mode-line-toggle-read-only):
8744 * bs.el (bs-toggle-readonly):
8745 * buff-menu.el (Buffer-menu-toggle-read-only):
8746 * dired.el (dired-toggle-read-only):
8747 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8748
8749 2012-09-23 Chong Yidong <cyd@gnu.org>
8750
8751 * image.el (image-type-available-p): Adapt to init-image-library
8752 argument changes.
8753
8754 2012-09-22 Juri Linkov <juri@jurta.org>
8755
8756 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8757 `dired-toggle-read-only'. (Bug#12462)
8758
8759 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8760
8761 * subr.el (temp-output-buffer-show): New function.
8762 (with-output-to-temp-buffer): Call temp-output-buffer-show
8763 instead of internal-temp-output-buffer-show.
8764
8765 2012-09-22 Chong Yidong <cyd@gnu.org>
8766
8767 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8768 (Bug#12462).
8769
8770 * repeat.el (repeat): Doc fix (Bug#12348).
8771
8772 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8773 (Bug#10909).
8774
8775 * simple.el (shell-command-on-region): Doc fix.
8776 (read-only-mode): Doc fix.
8777
8778 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8779
8780 * emacs-lisp/timer.el (run-with-idle-timer)
8781 (timer-activate-when-idle): Warn against reinvoking an idle timer
8782 from within its own timer action. (Bug#12447)
8783
8784 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8785
8786 * cus-start.el (window-combination-limit): Add new optional
8787 values.
8788 * window.el (temp-buffer-window-show)
8789 (window--try-to-split-window): Handle new values of
8790 window-combination-limit (Bug#1806).
8791 (split-window): Test window-combination-limit for t instead of
8792 non-nil.
8793 (display-buffer-at-bottom): New buffer display action function.
8794 * help.el (temp-buffer-resize-regexps): New option.
8795 (temp-buffer-resize-mode): Rewrite doc-string.
8796 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8797 Don't resize reused window. Suggested by Glenn Morris.
8798
8799 2012-09-22 Stefan Merten <smerten@oekonux.de>
8800
8801 * textmodes/rst.el: Revamp section title faces.
8802 (rst-official-version)
8803 (rst-package-emacs-version-alist): Sync with official version
8804 V1.4.0.
8805 (rst-faces-defaults, rst-set-level-default)
8806 (rst-level-face-max, rst-level-face-base-color)
8807 (rst-level-face-base-light, rst-level-face-format-light)
8808 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8809 (rst-adornment-faces-alist): Match new setup.
8810 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8811 (rst-level-5, rst-level-6): New faces.
8812
8813 2012-09-22 Chong Yidong <cyd@gnu.org>
8814
8815 * simple.el (undo): Handle indirect buffers (Bug#8207).
8816
8817 2012-09-21 Leo Liu <sdl.web@gmail.com>
8818
8819 IDO: Disable match re-ordering for buffer switching.
8820 * ido.el (ido-buffer-disable-smart-matches): New variable.
8821 (ido-set-matches-1): Use it. (Bug#2042)
8822
8823 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8824
8825 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8826 Fix 2011-05-17 change. (Bug#12418)
8827
8828 2012-09-21 Leo Liu <sdl.web@gmail.com>
8829
8830 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8831
8832 2012-09-21 Glenn Morris <rgm@gnu.org>
8833
8834 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8835 Be more robust about locating simple.el.
8836
8837 2012-09-21 Glenn Morris <rgm@gnu.org>
8838
8839 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8840
8841 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8842
8843 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8844
8845 2012-09-20 Juri Linkov <juri@jurta.org>
8846
8847 * replace.el (query-replace-read-from): Use `read-regexp' instead
8848 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8849 (occur-read-primary-args): Use `read-regexp' instead of
8850 `read-string'.
8851 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8852 `read-from-minibuffer'.
8853 * isearch.el (isearch-occur): Use `read-regexp' instead of
8854 `read-string'.
8855 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8856 `read-from-minibuffer'.
8857 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8858 of `read-string'. (Bug#7567)
8859
8860 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8861 and allow accepting a list of strings prepended to a list of
8862 standard default values. Doc fix. (Bug#12321)
8863
8864 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8865
8866 * replace.el (read-regexp): Don't add ": " when PROMPT already
8867 ends with a colon and space. (Bug#12321)
8868
8869 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8870
8871 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8872 error.
8873
8874 2012-09-20 Stefan Merten <smerten@oekonux.de>
8875
8876 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8877 Fixes feature request bug#11711.
8878 (rst-mode): Create `imenu-create-index-function'.
8879 (rst-get-stripped-line): Delete after refactoring.
8880 (rst-section-tree, rst-section-tree-rec)
8881 (rst-section-tree-point): Refactor and document properly.
8882 (rst-imenu-find-adornments-for-position)
8883 (rst-imenu-convert-cell, rst-imenu-create-index):
8884 New function.
8885
8886 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8887
8888 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8889 (macroexp--expand-all): Use it.
8890 (macroexp--funcall-and-return): Remove by folding it into its sole
8891 caller (macroexp--warn-and-return).
8892 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8893 Use macroexp--obsolete-warning.
8894
8895 * calc/calc.el: Fix last change by removing the whole chunk, since it
8896 was only needed back when Calc was not bundled.
8897
8898 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8899
8900 * emacs-lisp/debug.el (debug): Restore assignment to
8901 debugger-old-buffer removed on 2012-09-08.
8902
8903 2012-09-20 Juri Linkov <juri@jurta.org>
8904
8905 * dired-aux.el (dired-diff): Remove (require 'diff) since
8906 `diff-latest-backup-file' is now autoloaded.
8907
8908 2012-09-20 Chong Yidong <cyd@gnu.org>
8909
8910 * vc/diff.el (diff-latest-backup-file): Autoload.
8911
8912 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8913
8914 * calc/calc.el: Remove redundant autoload shape check.
8915 (sel-mode): Don't defvar.
8916 (calc-get-stack-element): Add `sel-mode' arg instead.
8917 (calc-top, calc-top-list): Pass it this additional argument.
8918 * calc/calc-store.el (calc-store-map):
8919 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8920 (calc-map-equation, calc-outer-product, calc-inner-product):
8921 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8922
8923 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8924
8925 2012-09-19 Juri Linkov <juri@jurta.org>
8926
8927 * dired-aux.el (dired-diff): Add (require 'diff) because
8928 `diff-latest-backup-file' is not autoloaded.
8929 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8930 of `dired-get-filename' to t to not report error when there is
8931 no default file on the current line.
8932
8933 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8934
8935 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8936 macroexp--eval-if-compile.
8937 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8938 (macroexp--expand-all): Use them (bug#12371).
8939
8940 * doc-view.el (doc-view-guess-paper-size)
8941 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8942
8943 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8944
8945 New feature: set optimal slice from BoundingBox information.
8946 * doc-view.el (doc-view-mode-map): Add keybinding.
8947 (doc-view-menu): Add menu entry.
8948 (doc-view-set-slice): Adapt docstring.
8949 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8950 (doc-view-scale-bounding-box)
8951 (doc-view-set-slice-from-bounding-box): New functions.
8952 (doc-view-paper-sizes): New defvar.
8953
8954 2012-09-19 Glenn Morris <rgm@gnu.org>
8955
8956 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8957 (byte-compile-log-warning): Autoload. (Bug#12371)
8958
8959 * calendar/calendar.el (calendar-american-month-header)
8960 (calendar-european-month-header, calendar-iso-month-header)
8961 (calendar-month-header): New options.
8962 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8963 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8964
8965 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8966
8967 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8968
8969 2012-09-18 Juri Linkov <juri@jurta.org>
8970
8971 * dired-aux.el (dired-diff): Restore original functionality of
8972 getting the default value, but keep new feature of using the
8973 latest existing backup file (`diff-latest-backup-file').
8974
8975 2012-09-18 Juri Linkov <juri@jurta.org>
8976
8977 * dired.el (dired-mark): If the region is active in Transient Mark
8978 mode, mark all files in the active region. Doc fix.
8979 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8980 Doc fix. (Bug#10624)
8981
8982 2012-09-18 Juri Linkov <juri@jurta.org>
8983
8984 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8985 attributes for M-n are pulled from the file at point.
8986 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8987 Suggested by Drew Adams. (Bug#10624)
8988
8989 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8990
8991 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8992 whitespace after "end".
8993 (ruby-do-end-to-brace): Collapse block to one line if it fits
8994 within fill-column.
8995
8996 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8997
8998 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8999 value.
9000 (debug): Don't remove debugger window when debugger is expected
9001 to be back.
9002
9003 2012-09-18 Chong Yidong <cyd@gnu.org>
9004
9005 * custom.el (defface): Doc fix.
9006
9007 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9008
9009 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9010
9011 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9012 to initialize query-on-exit; then test that instead (bug#12288).
9013
9014 2012-09-17 Stefan Merten <smerten@oekonux.de>
9015
9016 * textmodes/rst.el: Add support for `testcover'.
9017 (rst-defcustom-testcover, rst-testcover-add-compose)
9018 (rst-testcover-add-1value): New functions.
9019 (rst-portable-mark-active-p): Replace by `use-region-p'.
9020 (rst-update-section, rst-classify-adornment)
9021 (rst-find-title-line): Mark `1value' forms.
9022 (rst-classify-adornment): Remove superfluous form.
9023 (rst-update-section, rst-get-adornments-around)
9024 (rst-adornment-complete-p, rst-get-next-adornment)
9025 (rst-adjust, rst-promote-region)
9026 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9027 (rst-find-pfx-in-region, rst-section-tree-rec)
9028 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9029 (rst-toc-node, rst-toc, rst-forward-section)
9030 (rst-iterate-leftmost-paragraphs)
9031 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9032 (rst-bullet-list-region)
9033 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9034 (rst-compile-find-conf, rst-compile)
9035 (rst-repeat-last-character): Fix style.
9036
9037 2012-09-17 Chong Yidong <cyd@gnu.org>
9038
9039 * comint.el (comint--complete-file-name-data): Don't add a space
9040 if the status is `sole'; that adds a gratuitous space in the
9041 completion-cycling case (Bug#12092).
9042
9043 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9044
9045 2012-09-17 Richard Stallman <rms@gnu.org>
9046
9047 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9048 only in the mime-shown mode, not in raw mode.
9049 (rmail-mime): Toggle off mime by displaying the message without
9050 mime processing. (Bug#12305)
9051
9052 * mail/rmail.el (rmail-retry-failure):
9053 Turn off mime processing first. (Bug#12037)
9054
9055 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9056
9057 2012-09-17 Chong Yidong <cyd@gnu.org>
9058
9059 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9060 (shell-dynamic-complete-functions): Convert to defcustom.
9061 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9062
9063 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9064 * comint.el (comint-prompt-read-only):
9065 * custom.el (defcustom):
9066 * hi-lock.el (hi-lock-mode):
9067 * ibuffer.el (ibuffer-formats):
9068 * ielm.el (ielm-prompt-read-only):
9069 * novice.el (disable-command):
9070 * saveplace.el (toggle-save-place):
9071 * speedbar.el (speedbar-supported-extension-expressions):
9072 * startup.el (auto-save-list-file-prefix, init-file-user)
9073 (after-init-hook, inhibit-startup-echo-area-message):
9074 * strokes.el (strokes-help):
9075 * time-stamp.el (time-stamp):
9076 * calendar/calendar.el (calendar, diary-file):
9077 * calendar/diary-lib.el (diary-mail-entries, diary)
9078 (diary-list-entries-hook):
9079 * calendar/holidays.el (holidays, calendar-holidays):
9080 * calendar/lunar.el (lunar-phases):
9081 * calendar/solar.el (sunrise-sunset):
9082 * emulation/edt.el (edt-load-keys):
9083 * emulation/viper.el (viper-mode):
9084 * eshell/em-alias.el (eshell-command-aliases-list):
9085 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9086 * international/ogonek.el (ogonek-information):
9087 * net/tramp-cmds.el (tramp-bug):
9088 * net/quickurl.el (quickurl-reread-hook-postfix):
9089 * play/decipher.el (decipher-font-lock-keywords):
9090 * progmodes/cc-styles.el (c-set-style):
9091 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9092 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9093 * progmodes/octave-mod.el (octave-mode):
9094 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9095 * progmodes/verilog-mode.el (verilog-read-defines):
9096 * textmodes/two-column.el (2C-mode): Likewise.
9097
9098 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9099
9100 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9101 that holds many addresses.
9102
9103 2012-09-16 Chong Yidong <cyd@gnu.org>
9104
9105 * align.el (align-areas): Call the indication function with
9106 positions instead of markers for arguments (Bug#12343).
9107
9108 * files.el (parse-colon-path): Use split-string (Bug#12351).
9109
9110 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9111 (display-buffer-function): Mark as obsolete.
9112
9113 * progmodes/compile.el (compilation-parse-errors): Accept list
9114 values similar to font-lock-keywords (Bug#12136).
9115 Suggested by Oleksandr Manzyuk.
9116 (compilation-error-regexp-alist): Doc fix.
9117
9118 2012-09-15 Glenn Morris <rgm@gnu.org>
9119
9120 * version.el (emacs-bzr-version-bzr): New function.
9121 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9122
9123 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9124 checkouts, check the parent dirstate matches the branch.
9125 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9126 empty string.
9127
9128 * version.el (emacs-bzr-version): Doc fix.
9129 (emacs-bzr-version-dirstate): New function.
9130 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9131 is local try and check that it matches the branch. If not, just
9132 use dirstate information. (Bug#12441)
9133
9134 2012-09-14 Juri Linkov <juri@jurta.org>
9135
9136 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9137 (Bug#12399)
9138
9139 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9142
9143 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9144 Remove obsolete byte-compiler hack that tried to silence some warnings.
9145 (edebug-submit-bug-report): Remove.
9146 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9147 Remove aliases, use the un-prefixed name instead.
9148 (edebug-pop-to-buffer): Consider other frames.
9149 (edebug-original-read):: Make it more obvious that it's always defined.
9150 (edebug--make-form-data-entry, edebug--form-data-name)
9151 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9152 single-dashed name, and implement with cl-defstruct.
9153 (edebug-set-form-data-entry): Use the standard accessors.
9154 (edebug-make-top-form-data-entry): Use push.
9155 (edebug-no-match): Drop useless `funcall'.
9156 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9157 to functions.
9158 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9159 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9160 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9161 (easy-menu-define, with-custom-print): Remove redundant specs.
9162 (edebug-outside-overriding-local-map)
9163 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9164 (edebug--display): Bind unread-command-events directly to nil rather
9165 than binding it to unread-command-events and later setting it to nil.
9166 (edebug--display): Kill edebug-eval-buffer here...
9167 (edebug--recursive-edit): ...rather than here.
9168 Bind standard-output and standard-input.
9169 (edebug-eval): Check cl-macroexpand-all is fboundp.
9170 (edebug-temp-display-freq-count): Fix last change.
9171
9172 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9173 * subr.el (noreturn, 1value): Add `debug' spec.
9174 * emacs-lisp/advice.el: Require cl-lib.
9175 (ad-copy-tree): Remove, use copy-tree instead.
9176 (ad-dolist): Remove use dolist or cl-dolist instead.
9177 (ad-do-return): Remove, use cl-return instead.
9178 (defadvice): Add `debug' spec.
9179
9180 2012-09-13 Juri Linkov <juri@jurta.org>
9181
9182 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9183 (Bug#12399)
9184
9185 2012-09-13 Glenn Morris <rgm@gnu.org>
9186
9187 * calc/calc.el (math-compose-expr):
9188 * calc/calc-ext.el (math-compose-expr):
9189 * progmodes/cc-defs.el (cl-macroexpand-all):
9190 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9191 (cl-macroexpand-all): Update declarations.
9192
9193 * vc/vc.el: No need to require ediff.
9194 (ediff-load-version-control): Declare.
9195 (ediff-vc-internal): Fix declaration.
9196 (vc-version-ediff): Require ediff.
9197
9198 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9199
9200 Use a more backwards-compatible timer format (Bug#12430).
9201 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9202 being right after USECS, as that better supports old code that
9203 inadvisedly looked directly at the timer vector.
9204
9205 2012-09-13 Kenichi Handa <handa@gnu.org>
9206
9207 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9208 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9209 `coding-priority' property of these language environment.
9210
9211 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9212
9213 Fix glitches caused by addition of psec to timers (Bug#12430).
9214 * image.el (image-animate-timer):
9215 * time.el (display-time-world-timer):
9216 Use timer--function and timer--args rather than raw access to
9217 timer vector.
9218
9219 2012-09-13 Glenn Morris <rgm@gnu.org>
9220
9221 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9222 If not compiling a file, try using load-file-name.
9223
9224 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9225
9226 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9227 Fix last change.
9228 (edebug-update-eval-list): Use `push'.
9229
9230 * emacs-lisp/edebug.el: Use lexical-binding.
9231 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9232 Mark unused args with underscore.
9233 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9234 (edebug-form-data): Use defvar-local.
9235 (edebug-make-before-and-after-form, edebug-make-after-form):
9236 Use backquote.
9237 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9238 Not dynamically scoped any more.
9239 (edebug--enter-trace): Add arguments `function' and `args'.
9240 Rename from edebug-enter-trace.
9241 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9242 (edebug--update-coverage): Add `after-index' and `value' args.
9243 Rename from edebug-update-coverage.
9244 (edebug-slow-after): Call it accordingly.
9245 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9246 edebug-recursive-edit.
9247 (edebug--display): Call it accordingly. Add args `value',
9248 `offset-index', and `arg-mode'. Rename from edebug-display.
9249 (edebug-debugger, edebug): Call it accordingly.
9250 (edebug-eval-display-list): Use dolist.
9251
9252 2012-09-12 Juri Linkov <juri@jurta.org>
9253
9254 * info.el (Info-search): Don't check for isearch-mode and
9255 isearch-regexp before let-binding search-spaces-regexp to
9256 Info-search-whitespace-regexp.
9257 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9258 search-whitespace-regexp if isearch-lax-whitespace or
9259 isearch-regexp-lax-whitespace is non-nil.
9260 (Info-mode): Don't set local variable search-whitespace-regexp.
9261 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9262
9263 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9264
9265 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9266 (debugger-env-macro): Remove support for unread-command-char.
9267
9268 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9269 the temporary map re-appearing on emulation-mode-map-alists.
9270
9271 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9272 since 22.1.
9273
9274 * ehelp.el (with-electric-help): Accept functions in
9275 electric-help-form-to-execute.
9276 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9277 And replace unread-command-char -> unread-command-events.
9278
9279 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9280
9281 Sync with Tramp 2.2.6.
9282
9283 * net/tramp.el (tramp-accept-process-output): Don't use
9284 JUST-THIS-ONE in the XEmacs case.
9285
9286 * net/trampver.el: Update release number.
9287
9288 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9289
9290 * emacs-lisp/debug.el (debugger-previous-window-height):
9291 New variable.
9292 (debug): When debugger-jumping-flag is non-nil try to restore
9293 height of debugger window. (Bug#8789)
9294
9295 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9298 overriding-local-map and pre/post-command-hook here.
9299 (edebug-recursive-edit): Do it here instead (bug#12345).
9300 (edebug-outside-unread-command-char): Remove all uses of
9301 unread-command-char.
9302
9303 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9304 inhibit-debugger is bound instead.
9305
9306 2012-09-11 Bastien Guerry <bzg@gnu.org>
9307
9308 * subr.el (set-temporary-overlay-map): Add a docstring.
9309 (Bug#12346)
9310
9311 2012-09-11 Bastien Guerry <bzg@gnu.org>
9312
9313 * minibuffer.el (completion-table-subvert): Fix docstring.
9314 (Bug#12347)
9315
9316 2012-09-11 Bastien Guerry <bzg@gnu.org>
9317
9318 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9319
9320 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9321
9322 * progmodes/sql.el: Version 3.1
9323 (sql-db2-escape-newlines): New variable.
9324 (sql-escape-newlines-filter): Use it.
9325
9326 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9327
9328 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9329
9330 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9331
9332 * vc/diff-mode.el (diff-mode-menu):
9333 Bind diff-remove-trailing-whitespace.
9334
9335 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9336
9337 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9338 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9339 (emacs-lisp-byte-code-mode): New functions.
9340 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9341 (eval-defun-2): Remove bogus interactive spec.
9342 (lisp-indent-line): Remove redundant whole-exp code, now done in
9343 indent-according-to-mode.
9344 (save-match-data): Remove redundant indent data.
9345
9346 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9347 Use `declare'.
9348
9349 2012-09-09 Juri Linkov <juri@jurta.org>
9350
9351 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9352 (replace-lax-whitespace, query-replace-regexp)
9353 (query-replace-regexp-eval, replace-regexp): Doc fix.
9354 (perform-replace, replace-highlight): Let-bind
9355 isearch-lax-whitespace to replace-lax-whitespace and
9356 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9357
9358 * isearch.el (isearch-query-replace): Let-bind
9359 replace-lax-whitespace to isearch-lax-whitespace and
9360 replace-regexp-lax-whitespace to
9361 isearch-regexp-lax-whitespace. (Bug#10885)
9362
9363 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9364
9365 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9366
9367 2012-09-09 Alan Mackenzie <acm@muc.de>
9368
9369 * progmodes/cc-engine.el (c-state-cache-init):
9370 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9371 (c-record-parse-state-state):
9372 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9373
9374 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9375
9376 * register.el (register-separator): Rename from
9377 separator-register. All uses changed. Doc fix.
9378 (register): Fix version.
9379
9380 2012-09-09 Chong Yidong <cyd@gnu.org>
9381
9382 * replace.el (query-replace-map): Bind four new symbols for
9383 requesting window scrolling.
9384
9385 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9386 query-replace-map (Bug#8948).
9387
9388 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9389
9390 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9391 since they are now in query-replace-map.
9392
9393 * window.el (scroll-other-window-down): Make the arg optional.
9394
9395 2012-09-09 Chong Yidong <cyd@gnu.org>
9396
9397 * files.el (hack-local-variables-confirm): Use quit-window to kill
9398 the *Local Variables* buffer.
9399
9400 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9401
9402 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9403 not just expect to be at its beginning. Adjust callees.
9404 Succeed when do-end block has no space before the pipe character.
9405 (ruby-brace-to-do-end): When the original block is one-liner,
9406 convert to multiline. Reindent the result.
9407
9408 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9409
9410 * register.el (register): New group.
9411 (separator-register): New user option.
9412 (increment-register): Route it to `append-to-register', if
9413 register contains text. Implication is that `C-x r +' can now be
9414 used for appending to a text register (bug#12217).
9415 (append-to-register, prepend-to-register): Add separator based on
9416 `separator-register'.
9417
9418 2012-09-08 Alan Mackenzie <acm@muc.de>
9419
9420 AWK Mode: make auto-newline work when there's "==" in the pattern.
9421 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9422 correctly.
9423 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9424 Test more rigorously for "=" token.
9425
9426 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9427
9428 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9429 Only fail when reached LIMIT.
9430
9431 2012-09-08 Chong Yidong <cyd@gnu.org>
9432
9433 * dired.el (dired-mode-map): Don't bind M-=.
9434
9435 * dired-aux.el (dired-diff): Use backup file as default.
9436
9437 2012-09-08 Drew Adams <drew.adams@oracle.com>
9438
9439 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9440
9441 2012-09-08 Chong Yidong <cyd@gnu.org>
9442
9443 * subr.el (syntax-after, syntax-class): Doc fix.
9444
9445 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9446
9447 * window.el (display-buffer-in-previous-window): New buffer
9448 display action function.
9449
9450 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9451 (debugger-previous-window): New variable.
9452 (debug): Rewrite using display-buffer-in-previous-window,
9453 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9454
9455 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9456
9457 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9458
9459 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9460
9461 * progmodes/python.el (python-shell-send-string):
9462 When default-directory is remote, create temp file on remote
9463 filesystem.
9464 (python-shell-send-file): When file is remote, pass local view of
9465 file paths to remote Python interpreter. (Bug#12340)
9466
9467 2012-09-07 Chong Yidong <cyd@gnu.org>
9468
9469 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9470
9471 * files.el (after-find-file): Don't fail on a read-only buffer if
9472 require-final-newline is `visit' or `visit-save' (Bug#11156).
9473
9474 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9475
9476 * userlock.el (ask-user-about-supersession-threat):
9477 Use read-char-choice (Bug#12093).
9478
9479 2012-09-07 Chong Yidong <cyd@gnu.org>
9480
9481 * subr.el (buffer-narrowed-p): New function.
9482
9483 * ses.el (ses-widen):
9484 * simple.el (count-words--buffer-message):
9485 * net/browse-url.el (browse-url-of-buffer): Use it.
9486
9487 * simple.el (count-words-region): Don't signal an error if there
9488 is a non-nil prefix arg and the mark is not set.
9489
9490 * help.el (describe-key-briefly): Allow the message to be seen
9491 when invoked from the minibuffer (Bug#7014).
9492
9493 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9494
9495 * progmodes/ruby-mode.el (ruby-end-of-defun)
9496 (ruby-beginning-of-defun): Simplify, allow indentation before
9497 block beginning and end keywords.
9498 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9499 (ruby-end-of-defun): Expect that the point is at the beginning of
9500 the defun.
9501
9502 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9503
9504 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9505 (bug#12367).
9506 (cl--make-usage-args): Strip _ from argument names.
9507
9508 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9509
9510 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9511 obsolete alias speedbar-key-map.
9512 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9513 (vhdl-index-menu-init): Don't use obsolete variable
9514 font-lock-maximum-size.
9515
9516 2012-09-06 Chong Yidong <cyd@gnu.org>
9517
9518 * frame.el (window-system-version): Mark as obsolete.
9519
9520 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9521 of obsolete variable speedbar-key-map.
9522
9523 2012-09-06 Juri Linkov <juri@jurta.org>
9524
9525 * replace.el (replace-lax-whitespace): New defcustom.
9526 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9527 (replace-string, replace-regexp): Mention it in docstrings.
9528 (perform-replace, replace-highlight): Let-bind
9529 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9530 to the values of replace-lax-whitespace and regexp-flag.
9531 Don't let-bind search-whitespace-regexp. (Bug#10885)
9532
9533 * isearch.el (isearch-query-replace): Let-bind
9534 replace-lax-whitespace instead of let-binding
9535 replace-search-function and replace-re-search-function.
9536 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9537 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9538 (isearch-toggle-symbol): Set isearch-regexp to nil
9539 in isearch-word mode (like in isearch-toggle-word).
9540
9541 2012-09-06 Juri Linkov <juri@jurta.org>
9542
9543 * replace.el (replace-search-function)
9544 (replace-re-search-function): Set default values to nil.
9545 (perform-replace): Let-bind isearch-related variables based on
9546 replace-related values, call `isearch-search-fun' and let-bind
9547 the result to `search-function'. Remove code that sets
9548 `search-function' and `search-string' separately for
9549 `delimited-flag'.
9550 (replace-highlight): Add new argument `delimited-flag' and
9551 rename other arguments to the names used in `perform-replace'.
9552 Let-bind `isearch-word' to the argument `delimited-flag'.
9553 (Bug#10885, bug#10887)
9554
9555 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9556
9557 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9558 ruby-beginning-of-indent, simplify, allow all keywords to have
9559 indentation before them.
9560 (ruby-beginning-of-indent): Adjust for above. Search until the
9561 found point is not inside a string or comment.
9562 (ruby-font-lock-keywords): Allow symbols to start with "@"
9563 character, give them higher priority than variables.
9564 (ruby-syntax-propertize-function)
9565 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9566 matchers. Expression expansions are not comments when inside a
9567 string, and there comment syntax status is irrelevant.
9568 (ruby-match-expression-expansion): New function. Check that
9569 expression expansion is inside a string, and it's not escaped.
9570 (ruby-font-lock-keywords): Use it.
9571
9572 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9573
9574 * help.el (temp-buffer-max-height): New default value.
9575 (temp-buffer-resize-frames): New option.
9576 (resize-temp-buffer-window): Optionally resize frame.
9577
9578 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9579 (fit-frame-to-buffer): New function.
9580
9581 2012-09-05 Glenn Morris <rgm@gnu.org>
9582
9583 * emulation/cua-rect.el (cua--init-rectangles):
9584 * textmodes/picture.el (picture-mode-map):
9585 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9586 like forward-char and backward-char. (Bug#12317)
9587
9588 2012-09-05 Leo Liu <sdl.web@gmail.com>
9589
9590 * progmodes/flymake.el (flymake-warning-re): New variable.
9591 (flymake-parse-line): Use it.
9592
9593 2012-09-05 Glenn Morris <rgm@gnu.org>
9594
9595 * calendar/holidays.el (holiday-christian-holidays):
9596 Rename an entry. (Bug#12289)
9597
9598 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9599
9600 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9601 (bug#12222).
9602
9603 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9604
9605 * loadup.el: Load macroexp. Remove hack.
9606 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9607 (macroexp--expand-all): Use it to get better warnings.
9608 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9609 (internal-macroexpand-for-load): New functions.
9610 (macroexp--pending-eager-loads): New var.
9611 (emacs-startup-hook): New hack to replace one in loadup.el.
9612 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9613 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9614 (cl-psetf): Simplify.
9615 (cl-defstruct): Add indent rule.
9616
9617 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9618
9619 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9620 over `user-mail-address' for the SMTP MAIL FROM envelope.
9621 (smtpmail-via-smtp): Ditto.
9622
9623 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9624
9625 * progmodes/ruby-mode.el: Clean up keybindings.
9626 (ruby-mode-map): Don't bind ruby-electric-brace,
9627 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9628 backward-kill-word, reindent-then-newline-and-indent.
9629 (ruby-mark-defun): Remove.
9630 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9631 (ruby-mode): Set local beginning-of-defun-function and
9632 end-of-defun-function values.
9633
9634 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9635
9636 * window.el (temp-buffer-window-setup-hook)
9637 (temp-buffer-window-show-hook): New hooks.
9638 (temp-buffer-window-setup, temp-buffer-window-show)
9639 (with-temp-buffer-window): New functions.
9640 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9641 (special-display-popup-frame): Make sure the window used shows BUFFER.
9642
9643 * help.el (temp-buffer-resize-mode): Fix doc-string.
9644 (resize-temp-buffer-window): New optional argument WINDOW.
9645
9646 * files.el (recover-file, save-buffers-kill-emacs):
9647 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9648
9649 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9650
9651 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9652 remote definition of `default-directory', ensure we can connect.
9653
9654 2012-09-02 Juri Linkov <juri@jurta.org>
9655
9656 Toggle whitespace matching mode with M-s SPC.
9657 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9658
9659 * isearch.el (search-whitespace-regexp): Doc fix.
9660 Remove cons cell customization.
9661 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9662 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9663 New variables.
9664 (isearch-forward, isearch-forward-regexp): Doc fix.
9665 (isearch-toggle-lax-whitespace): New command.
9666 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9667 (re-search-forward-lax-whitespace)
9668 (re-search-backward-lax-whitespace): New functions.
9669 (isearch-whitespace-regexp): Remove function.
9670 (isearch-query-replace): Let-bind replace-search-function and
9671 replace-re-search-function.
9672 (isearch-occur): Let-bind search-spaces-regexp according to the
9673 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9674 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9675 condition for C-q SPC.
9676 (isearch-search-fun-default): Use new functions mentioned above.
9677 (isearch-search-forward, isearch-search-backward): Remove functions.
9678 (isearch-search): Don't let-bind search-spaces-regexp.
9679 (isearch-lazy-highlight-space-regexp): Remove variable.
9680 (isearch-lazy-highlight-lax-whitespace)
9681 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9682 (isearch-lazy-highlight-new-loop): Use them.
9683 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9684
9685 2012-09-02 Chong Yidong <cyd@gnu.org>
9686
9687 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9688
9689 2012-09-02 Glenn Morris <rgm@gnu.org>
9690
9691 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9692
9693 2012-09-01 Glenn Morris <rgm@gnu.org>
9694
9695 * term.el: Tidy up menu definitions.
9696 (term-mode-map): Use easymenu for In/Out, Complete menus.
9697 (term-pager-break-map): Initialize in the defvar.
9698 (term-terminal-menu, term-signals-menu): Define with easymenu.
9699 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9700 (term-pager-menu): New, extracted from term-process-pager.
9701 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9702 (term-update-mode-line): Propertize line/char and page items.
9703 (term-process-pager): Move keymap initialization elsewhere.
9704
9705 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9706
9707 * window.el (switch-to-prev-buffer): Handle additional values of
9708 BURY-OR-KILL argument. Don't switch in minibuffer window.
9709 (switch-to-next-buffer): Don't switch in minibuffer window.
9710 (quit-restore-window): New function based on quit-window.
9711 Handle additional values of former KILL argument.
9712 (quit-window): Call quit-restore-window with appropriate
9713 interpretation of KILL argument.
9714 (display-buffer-below-selected): New buffer display action
9715 function.
9716
9717 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * minibuffer.el (completion-at-point-functions): Complete docstring
9720 (bug#12254).
9721
9722 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9723
9724 Better seed support for (random).
9725 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9726 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9727 * play/mpuz.el, play/tetris.el, play/zone.el:
9728 * calc/calc-comb.el (math-init-random-base):
9729 * play/blackbox.el (bb-init-board):
9730 * play/life.el (life):
9731 * server.el (server-use-tcp):
9732 * type-break.el (type-break):
9733 Remove unnecessary call to (random t).
9734 * net/sasl.el (sasl-unique-id-function):
9735 Change (random t) to (random), now that the latter is more random.
9736 * play/life.el (life-initialized): Remove no-longer-needed var.
9737
9738 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9739
9740 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9741 Consider frame's buffer predicate when choosing the buffer.
9742 (Bug#12081)
9743
9744 2012-08-30 Richard Stallman <rms@gnu.org>
9745
9746 * simple.el (special-mode-map): Delete binding for `z'.
9747
9748 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9749
9750 * progmodes/compile.el (compilation-always-kill): Doc fix.
9751
9752 2012-08-30 Chong Yidong <cyd@gnu.org>
9753
9754 * window.el (display-buffer-reuse-frames): Make the obsolescence
9755 message more informative.
9756
9757 2012-08-30 Glenn Morris <rgm@gnu.org>
9758
9759 * paren.el (show-paren-delay):
9760 Add a :set function. Doc fix. (Bug#12297)
9761
9762 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9763
9764 * progmodes/compile.el (compilation-always-kill): New var.
9765 (compilation-start): Use it.
9766
9767 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9770 * files.el (read-only-mode): Move to simple.el.
9771
9772 * files.el (read-only-mode): New minor mode.
9773 (toggle-read-only): Use it and mark obsolete.
9774 (find-file--read-only):
9775 * vc/vc.el (vc-next-action, vc-checkout):
9776 * vc/vc-cvs.el (vc-cvs-checkout):
9777 * obsolete/vc-mcvs.el (vc-mcvs-update):
9778 * ffap.el (ffap--toggle-read-only): Update callers.
9779
9780 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9781
9782 * eshell/esh-ext.el (eshell-external-command): Do not examine
9783 remote shell scripts.
9784 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9785
9786 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9787 "/usr/local/sbin".
9788
9789 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9790
9791 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9792
9793 2012-08-28 Leo Liu <sdl.web@gmail.com>
9794
9795 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9796 completion-at-point. (Bug#12220)
9797
9798 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9799
9800 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9801
9802 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9803
9804 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9805 be buffer-local; add delete-trailing-whitespace (bug#12259).
9806
9807 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9808
9809 * progmodes/hideif.el (hif-compress-define-list):
9810 Fix typo. (Bug#11951)
9811
9812 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9813
9814 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9815 buffer local setting.
9816
9817 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9818 rcirc-encode-coding-system.
9819
9820 2012-08-28 Leo Liu <sdl.web@gmail.com>
9821
9822 * net/rcirc.el (rcirc-split-message): New function.
9823 (rcirc-send-message): Use it. (Bug#12051)
9824
9825 2012-08-28 Juri Linkov <juri@jurta.org>
9826
9827 * info.el (Info-fontify-node): Hide empty lines at the end of
9828 the node. (Bug#12272)
9829
9830 2012-08-27 Drew Adams <drew.adams@oracle.com>
9831
9832 * dired.el (dired-pop-to-buffer): Make window start at beginning
9833 of buffer (Bug#12281).
9834
9835 2012-08-26 Chong Yidong <cyd@gnu.org>
9836
9837 * window.el (special-display-regexps, special-display-frame-alist)
9838 (special-display-buffer-names, special-display-function)
9839 (display-buffer-reuse-frames): Mark as obsolete.
9840
9841 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9842
9843 * help.el (help-print-return-message): Don't treat
9844 display-buffer-reuse-frames specially.
9845
9846 2012-08-26 Chong Yidong <cyd@gnu.org>
9847
9848 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9849 New variable, replacing gdb-frame-parameters.
9850 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9851 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9852 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9853 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9854 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9855 the functions directly with gdb-display-buffer-other-frame-action.
9856 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9857 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9858 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9859 (gdb-display-registers-buffer): Define directly.
9860 (def-gdb-display-buffer): Macro deleted.
9861 (gdb-display-buffer): Remove second and third args, callers don't
9862 use them. Defer to the default display-buffer behavior, apart
9863 from making windows dedicated.
9864 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9865
9866 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9867
9868 * window.el (display-buffer-pop-up-frame): Handle a
9869 pop-up-frame-parameters alist entry.
9870 (display-buffer): Document it.
9871
9872 2012-08-26 Chong Yidong <cyd@gnu.org>
9873
9874 * isearch.el (search-whitespace-regexp): Make string and nil
9875 values apply to both ordinary and regexp search. Allow a cons
9876 cell value to distinguish between the two.
9877 (isearch-whitespace-regexp, isearch-search-forward)
9878 (isearch-search-backward): New functions.
9879 (isearch-occur, isearch-search-fun-default, isearch-search)
9880 (isearch-lazy-highlight-new-loop): Use them.
9881 (isearch-forward, isearch-forward-regexp): Doc fix.
9882
9883 2012-08-26 Chong Yidong <cyd@gnu.org>
9884
9885 * faces.el (help-argument-name): Always inherit from italic
9886 (Bug#12213).
9887
9888 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9889
9890 * window.el (window--even-window-heights): Even heights when
9891 WINDOW and the selected window form a vertical combination.
9892 (display-buffer-use-some-window): Provide that window used gets
9893 sized back by quit-window. (Bug#11880) and (Bug#12091)
9894
9895 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9896
9897 Fix file time stamp problem with bzr and CVS (Bug#12001).
9898 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9899 in the file's time stamp, since the version control system loses
9900 that information.
9901
9902 2012-08-22 Juri Linkov <juri@jurta.org>
9903
9904 * info.el (Info-fontify-node): Hide the suffix of the
9905 Info file name in the header line. (Bug#12187)
9906
9907 2012-08-22 Glenn Morris <rgm@gnu.org>
9908
9909 * calendar/cal-tex.el (cal-tex-weekly-common):
9910 Restore leading blank page.
9911
9912 2012-08-22 Le Wang <l26wang@gmail.com>
9913
9914 * misc.el (forward-to-word, backward-to-word): Activate or extend
9915 the region under `shift-select-mode'. (Bug#12231)
9916
9917 2012-08-22 Bastien Guerry <bzg@gnu.org>
9918
9919 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9920 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9921 gives details on why the space is never needed.
9922
9923 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9924
9925 * window.el (walk-window-tree, window-with-parameter):
9926 New optional argument MINIBUF to control whether these functions
9927 should run on the minibuffer window.
9928 (window-at-side-list): Don't operate on minibuffer window.
9929 (window-in-direction): Simplify and rewrite doc-string.
9930 (window--size-ignore): Rename to window--size-ignore-p.
9931 Update callers.
9932 (display-buffer-in-atom-window, window--major-non-side-window)
9933 (window--major-side-window, display-buffer-in-major-side-window)
9934 (delete-side-window, display-buffer-in-side-window):
9935 New functions.
9936 (window--side-check, window-deletable-p, delete-window)
9937 (delete-other-windows, split-window): Handle side windows and
9938 atomic windows appropriately.
9939 (window--display-buffer): Call display-buffer-record-window also
9940 when the window buffer did not change.
9941
9942 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9943
9944 * help-fns.el (help-fns--key-bindings):
9945 Abbreviate non-symbol remap targets. (Bug#12174)
9946
9947 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9948
9949 * dired.el (dired-mark-remembered): Don't clobber point.
9950 (Bug#11795)
9951
9952 2012-08-22 Glenn Morris <rgm@gnu.org>
9953
9954 * progmodes/bug-reference.el (bug-reference): New custom group.
9955 (bug-reference-bug-regexp): Make it a defcustom.
9956
9957 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9958
9959 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9960 (js-paren-indent-offset, js-square-indent-offset)
9961 (js-curly-indent-offset): Add :safe (Bug#12257).
9962
9963 2012-08-22 Edward O'Connor <hober0@gmail.com>
9964
9965 * json.el (json-key-format): Add error properties.
9966 (json-encode-key): New function.
9967 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9968 Use json-encode-key.
9969
9970 2012-08-22 Glenn Morris <rgm@gnu.org>
9971
9972 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9973 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9974 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9975 Update for above change.
9976
9977 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9978
9979 * cus-face.el (custom-face-attributes): Fix customize type for the
9980 :underline attribute. (Bug#11805)
9981
9982 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9983
9984 * window.el (window-point-1, set-window-point-1): Remove.
9985 (window-in-direction, record-window-buffer)
9986 (set-window-buffer-start-and-point, split-window-below)
9987 (window--state-get-1, display-buffer-record-window):
9988 Replace calls to window-point-1 and set-window-point-1 by calls to
9989 window-point and set-window-point respectively.
9990
9991 2012-08-21 Glenn Morris <rgm@gnu.org>
9992
9993 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9994 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9995 Use it.
9996
9997 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9998 (cal-tex-shortday): New function.
9999 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10000 (cal-tex-cursor-filofax-daily): Use the above.
10001
10002 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10003 New functions.
10004 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10005 (cal-tex-cursor-filofax-week): Use them.
10006
10007 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10008 New constants.
10009 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10010 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10011
10012 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10013 (cal-tex-end-document): Don't rely on buffer name.
10014
10015 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10016 Use cal-tex-vspace.
10017 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10018 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10019 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10020 Use cal-tex-arg.
10021
10022 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10023 (cal-tex-cursor-week, cal-tex-cursor-week2)
10024 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10025 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10026 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10027 (cal-tex-insert-preamble, cal-tex-b-document)
10028 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10029 Improve cal-tex-cmd usage.
10030
10031 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10032 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10033 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10034 (cal-tex-weekly-paper): New function.
10035 (cal-tex-cursor-week, cal-tex-cursor-week2)
10036 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10037 (cal-tex-cursor-day): Use it.
10038
10039 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10040 (cal-tex-cursor-filofax-week): Remove leading blank page.
10041
10042 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10043 Add autoload cookie. For now at least, don't use color, since
10044 no other cal-tex function does.
10045
10046 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10047 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10048 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10049
10050 2012-08-21 Juri Linkov <juri@jurta.org>
10051
10052 * info.el (Info-file-attributes): New variable.
10053 (info-insert-file-contents): Add file attributes to
10054 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10055 `Info-toc-nodes' when previous modtime of the Info file is less
10056 than new modtime.
10057 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10058 of info.el. (Bug#12230)
10059
10060 2012-08-20 Glenn Morris <rgm@gnu.org>
10061
10062 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10063 * calendar/holidays.el (calendar-holiday-list):
10064 Report errors with display-warning rather than beep'n'sleep.
10065
10066 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10067
10068 * net/tramp.el (tramp-accept-process-output): Accept only output
10069 from PROC. Otherwise, process filters and sentinels might be
10070 confused. (Bug#12145)
10071
10072 2012-08-20 Chong Yidong <cyd@gnu.org>
10073
10074 * descr-text.el (describe-text-properties-1): Use overlays-in to
10075 report on empty overlays (Bug#3322).
10076
10077 2012-08-20 Glenn Morris <rgm@gnu.org>
10078
10079 * mail/rmailout.el (rmail-output-read-file-name):
10080 Trap and report errors in rmail-output-file-alist elements.
10081
10082 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10083 since most non-font-lock faces are not also variables).
10084
10085 2012-08-20 Edward Reingold <reingold@iit.edu>
10086
10087 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10088 New function. (Bug12160)
10089
10090 2012-08-19 Glenn Morris <rgm@gnu.org>
10091
10092 * mail/rmailout.el (rmail-output-read-file-name):
10093 Fix previous change (when the alist is nil or does not match).
10094
10095 2012-08-19 Chong Yidong <cyd@gnu.org>
10096
10097 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10098 (Bug#12228).
10099
10100 2012-08-18 Chong Yidong <cyd@gnu.org>
10101
10102 * simple.el (yank-handled-properties): New defcustom.
10103 (yank-excluded-properties): Add font-lock-face and category.
10104 (yank): Doc fix.
10105
10106 * subr.el (remove-yank-excluded-properties):
10107 Obey yank-handled-properties. The special handling of font-lock-face
10108 and category is now done this way, instead of being hard-coded.
10109 (insert-for-yank-1): Remove font-lock-face handling.
10110 (yank-handle-font-lock-face-property)
10111 (yank-handle-category-property): New function.
10112
10113 2012-08-17 Glenn Morris <rgm@gnu.org>
10114
10115 * mail/rmailout.el (rmail-output-read-file-name):
10116 Check rmail-output-file-alist against the full message body
10117 in the correct rmail buffer. (Bug#12214)
10118
10119 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10120
10121 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10122 Eliminate superfluous prompt. (Bug#12203)
10123
10124 2012-08-17 Chong Yidong <cyd@gnu.org>
10125
10126 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10127 font spec, set the font directly (Bug#3228).
10128
10129 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10130
10131 * window.el (delete-window): Fix last fix.
10132
10133 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10134
10135 * window.el (window-valid-p): Move to window.c.
10136 (window-child, window-child-count, window-last-child)
10137 (window-normalize-window, window-combined-p)
10138 (window-combinations, window-atom-root, window-min-size)
10139 (window-sizable, window-sizable-p, window-size-fixed-p)
10140 (window-min-delta, window-max-delta, window--resizable)
10141 (window--resizable-p, window-resizable, window-total-size)
10142 (window-full-height-p, window-full-width-p, window-body-size)
10143 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10144 (minimize-window, window-deletable-p, delete-window)
10145 (delete-other-windows, set-window-buffer-start-and-point)
10146 (next-buffer, previous-buffer, split-window, balance-windows-2)
10147 (set-window-text-height, window-buffer-height)
10148 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10149 (truncated-partial-width-window-p): Minor code adjustments.
10150 In doc-strings state whether the argument window has to denote a
10151 live, valid or any window.
10152
10153 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10154
10155 * progmodes/subword.el (subword-forward-function)
10156 (subword-backward-function, subword-forward-regexp)
10157 (subword-backward-regexp): New variables.
10158 (subword-forward, subword-forward-internal, subword-backward-internal):
10159 Use new variables, eg so that different "word" definitions
10160 can be easily used. (Bug#11411)
10161
10162 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10163
10164 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10165 for composite selectors.
10166 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10167 operation just because we can't find a previous revision.
10168
10169 2012-08-15 Chong Yidong <cyd@gnu.org>
10170
10171 * frame.el (set-frame-font): Accept font objects.
10172
10173 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10174
10175 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10176
10177 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10178
10179 * man.el (Man-overstrike-face, Man-underline-face)
10180 (Man-reverse-face): Remove variables.
10181 (Man-overstrike, Man-underline, Man-reverse): New faces.
10182 (Man-fontify-manpage): Use them instead of the variables.
10183 (Man-cleanup-manpage): Comment change.
10184 (Man-ansi-color-map): New variable.
10185 (Man-fontify-manpage): Use it.
10186 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10187
10188 Implement ANSI SGR parameters 22-27 (bug#12146).
10189 * ansi-color.el (ansi-colors): Doc fix.
10190 (ansi-color-context, ansi-color-context-region): Doc fix.
10191 (ansi-color--find-face): New function.
10192 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10193 Rename the local variable `face' to `codes' since it is now a list of
10194 ansi codes. Doc fix.
10195 (ansi-color-get-face): Remove.
10196 (ansi-color-parse-sequence): New function, derived from
10197 ansi-color-get-face.
10198 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10199 codes 22-27.
10200
10201 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10202
10203 * subr.el (read-passwd): Allow use from a minibuffer.
10204
10205 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10206
10207 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10208 inside comments and strings as identifiers.
10209
10210 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10211 expression to evaluate. This allows to evaluate expressions with
10212 embedded whitespace.
10213 (gud-tooltip-tips): Add a blank before the newline in the
10214 message-box text, for the benefit of message-box emulation on
10215 MS-Windows.
10216
10217 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10218 messages from GDB, pop them up in a tooltip to give feedback to
10219 user.
10220 (gdb-tooltip-print-1): Quote the expression to evaluate.
10221 This allows to evaluate expressions with embedded whitespace.
10222 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10223 if the TTY name is nil or empty (which happens when communicating
10224 with the inferior via pipes, e.g. on MS-Windows).
10225 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10226 don't send that to the GUD buffer.
10227
10228 2012-08-14 Glenn Morris <rgm@gnu.org>
10229
10230 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10231 Optimize away setq-default with no args, as for setq. (Bug#12195)
10232
10233 2012-08-14 Chong Yidong <cyd@gnu.org>
10234
10235 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10236
10237 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10238 (Bug#12085).
10239
10240 2012-08-14 Glenn Morris <rgm@gnu.org>
10241
10242 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10243
10244 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10245
10246 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10247 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10248 Use cached shell name.
10249
10250 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10251
10252 * progmodes/python.el (python-shell-send-string):
10253 (python-shell-send-setup-code): Do not use `format' with `message'.
10254
10255 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10256
10257 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10258 (ruby-percent-literal-beg-re): New constant.
10259 (ruby-syntax-general-delimiters-goto-beg): Rename to
10260 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10261 (ruby-syntax-propertize-general-delimiters): Rename to
10262 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10263 popular term. Adjust comments everywhere.
10264 (ruby-syntax-propertize-percent-literal): Only propertize when not
10265 inside a simple string or comment. When the literal is unclosed,
10266 leave the text after it unpropertized.
10267 (ruby-syntax-methods-before-regexp): New constant.
10268 (ruby-syntax-propertize-function): Use it to recognize regexps.
10269 Don't look at the text after regexp, just use the whitelist.
10270
10271 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10272
10273 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10274 non-nil always load the compiled file if it exists. (Bug#12197)
10275
10276 2012-08-14 Chong Yidong <cyd@gnu.org>
10277
10278 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10279 (hi-lock-set-pattern): When deciding whether to use font lock or
10280 overlays, look at font-lock-mode instead of font-lock-fontified
10281 (Bug#12168).
10282 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10283 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10284
10285 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10286
10287 * subr.el (internal--after-with-selected-window): Fix typo
10288 (Bug#12193).
10289
10290 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10291
10292 Use `completion-table-dynamic' for completion functions.
10293 * progmodes/python.el
10294 (python-shell-completion--do-completion-at-point)
10295 (python-shell-completion--get-completions):
10296 Remove functions.
10297 (python-shell-completion-complete-at-point): New function.
10298 (python-completion-complete-at-point): Use it.
10299
10300 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10301
10302 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10303 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10304
10305 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10306
10307 * subr.el (function-get): Refine `autoload' arg so it can also
10308 autoload functions for gv.el (bug#12191).
10309 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10310 autoloads macros.
10311
10312 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10313 Prefer pcase-let over destructuring-bind.
10314 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10315 Also, remove whitespace as we go, rather than after accumulating the
10316 various places.
10317
10318 * subr.el (internal--before-with-selected-window)
10319 (internal--after-with-selected-window): Fix typo seleted->selected.
10320 (with-selected-window): Adjust callers.
10321 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10322
10323 2012-08-13 Bastien Guerry <bzg@gnu.org>
10324
10325 * window.el (special-display-popup-frame): Minor docstring
10326 enhancement. (Bug#12172)
10327
10328 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10329
10330 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10331 type 1-6.
10332 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10333 extended headers.
10334
10335 * files.el (hack-local-variables-filter): Remove useless eval.
10336
10337 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10338
10339 * subr.el (with-selected-window): Fix last change.
10340
10341 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10342
10343 * subr.el (internal--before-with-seleted-window)
10344 (internal--after-with-seleted-window): New functions.
10345 (with-selected-window): Use them, to replace dependency on
10346 tty-top-frame.
10347
10348 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10349
10350 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10351 binding for `newline'.
10352 (ruby-move-to-block): When moving backward, stop at block opening,
10353 not indentation.
10354 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10355 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10356 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10357 `ruby-toggle-block'.
10358
10359 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10360
10361 * ibuffer.el (ibuffer-do-toggle-read-only):
10362 * dired.el (dired-toggle-read-only):
10363 * buff-menu.el (Buffer-menu-toggle-read-only):
10364 * bindings.el (mode-line-toggle-read-only):
10365 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10366
10367 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10368
10369 * descr-text.el (describe-char): Put the overlays over the
10370 "displayed as" character.
10371
10372 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10373
10374 * calc/calc-units.el (math-default-units-table): Give an
10375 initial value.
10376 (math-put-default-units): Add options to put composite units and
10377 unit systems in the default units table.
10378 (calc-convert-units): Send composite units to
10379 `math-put-default-units' when appropriate.
10380
10381 2012-08-11 Glenn Morris <rgm@gnu.org>
10382
10383 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10384
10385 * tutorial.el (help-with-tutorial):
10386 * emacs-lisp/copyright.el (copyright-update-directory):
10387 * emacs-lisp/autoload.el (autoload-find-generated-file)
10388 (autoload-find-file): Disable local eval: (for insurance).
10389
10390 * files.el (hack-local-variables-filter): If an eval: form is not
10391 known to be safe, and enable-local-variables is :safe, then ignore
10392 the form totally, as is done for non-eval forms. (Bug#12155)
10393 This is CVE-2012-3479.
10394
10395 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10396
10397 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10398 (rx-form): Simplify.
10399
10400 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10401
10402 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10403 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10404 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10405 (ruby-syntax-propertize-function): Adjust for changes in
10406 `ruby-syntax-propertize-heredoc'.
10407
10408 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10409
10410 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10411 binding (use `M-;' instead).
10412 (ruby-singleton-class-p): New function.
10413 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10414
10415 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10418
10419 2012-08-10 Chong Yidong <cyd@gnu.org>
10420
10421 * progmodes/python.el (python-shell-get-process-name): Don't mess
10422 with same-window-buffer-names.
10423
10424 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10425 (eshell-remove-from-window-buffer-names): Make obsolete.
10426 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10427 (eshell): Just use pop-to-buffer-same-window instead.
10428
10429 2012-08-10 Chong Yidong <cyd@gnu.org>
10430
10431 * bindings.el: Bind M-= back to count-words-region.
10432
10433 * simple.el (count-words-region): Accept a prefix arg for acting
10434 on the entire buffer.
10435 (count-words--buffer-message): New helper function.
10436
10437 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10440 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10441 (event-start, event-end): Use posn-at-point to return a more
10442 informative posn.
10443 (posnp): New function.
10444 * mouse.el (popup-menu-normalize-position): Use it.
10445
10446 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10447
10448 * mouse.el (popup-menu-normalize-position): New function.
10449 (popup-menu): Use `popup-menu-normalize-position' to normalize
10450 the form for POSITION argument.
10451
10452 * term/x-win.el (x-menu-bar-open):
10453 Use the value returend from (posn-at-point) as position
10454 passed to `popup-menu'.
10455
10456 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10457
10458 * calc/calccomp.el (math-compose-expr): Add extra argument
10459 indicating that parentheses should be put around products in
10460 denominators. Give multiplication precedence over division during
10461 composition.
10462
10463 2012-08-09 Chong Yidong <cyd@gnu.org>
10464
10465 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10466 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10467 (Man-untabify-command, manual-program): Convert to defcustom
10468 (Bug#10429).
10469
10470 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10471
10472 * descr-text.el (describe-char): Don't insert extra newlines
10473 (Bug#10127).
10474
10475 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10476 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10477
10478 * align.el (align-region): Delete temporary markers (Bug#10047).
10479 Plus some code cleanups.
10480
10481 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10482
10483 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10484 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10485 (python-shell-internal-last-output): Use make-local-variable
10486 instead of make-variable-buffer-local.
10487
10488 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10489
10490 * progmodes/python.el: Enhancements to forward-sexp.
10491 (python-nav-forward-sexp): Rename from
10492 python-nav-forward-sexp-function.
10493 (python-nav--forward-sexp, python-nav--backward-sexp):
10494 New functions.
10495
10496 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10497
10498 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10499 modes and simplification modes.
10500
10501 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10502
10503 * delsel.el (delete-selection-pre-hook): Don't propagate the
10504 file-supersession signals (bug#12161).
10505
10506 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10507
10508 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10509 (cl-map-extents): Add compatibility aliases (bug#12135).
10510
10511 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10512
10513 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10514 tests by `ignore-error'.
10515 (tramp-find-shell): Open also a new shell, when cache is already
10516 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10517
10518 2012-08-08 Juri Linkov <juri@jurta.org>
10519
10520 * bookmark.el: Add `defaults' property to the bookmark record.
10521 (bookmark-current-buffer): Doc fix.
10522 (bookmark-make-record): Add `defaults' property with default values
10523 to the bookmark record.
10524 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10525 with `bookmark-insert-current-bookmark'.
10526 (bookmark-set): Get `defaults' property from the bookmark record
10527 and use it in `read-from-minibuffer'.
10528 (bookmark-insert-current-bookmark): Remove function.
10529
10530 * info.el (Info-bookmark-make-record): Add `defaults' property
10531 with values of canonical Info node name, the current Info file
10532 name and the current Info node name. (Bug#12107)
10533
10534 2012-08-08 Juri Linkov <juri@jurta.org>
10535
10536 * files.el (basic-save-buffer): Use `buffer-name' as the default
10537 of `read-file-name' when buffer is not visiting a file (bug#12128).
10538
10539 2012-08-08 Juri Linkov <juri@jurta.org>
10540
10541 * info.el (Info-isearch-search): Doc fix.
10542 (Info-search): Change search-failed message from "initial node" to
10543 "end of node" (bug#12078).
10544 (Info-isearch-search): Change `isearch-string-state' to
10545 `isearch--state-string'.
10546
10547 2012-08-08 Glenn Morris <rgm@gnu.org>
10548
10549 * language/persian.el: Remove file.
10550 * language/misc-lang.el: Move unique part of persian.el here.
10551 * loadup.el: Remove language/persian.
10552
10553 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10554
10555 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10556
10557 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10558
10559 * progmodes/python.el: Fix defsubst warning.
10560 (python-syntax-context) Rename from python-info-ppss-context.
10561 (python-syntax-context-type): Rename from
10562 python-info-ppss-context-type.
10563 (python-syntax-comment-or-string-p): Rename from
10564 python-info-ppss-comment-or-string-p.
10565
10566 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10567
10568 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10569
10570 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10571
10572 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10573 a defcustom that is quoted with backquote.
10574
10575 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10576 Fix handling of interactive spec when the body uses return.
10577 (math-do-arg-check, math-define-function-body): Use backquote forms.
10578 * calc/calc-ext.el (math-defcache): Likewise.
10579 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10580 * allout.el (allout-new-exposure): Likewise.
10581 * calc/calcalg2.el (math-tracing-integral): Likewise.
10582 * info.el (Info-last-menu-item): Likewise.
10583 * emulation/vip.el (vip-loop): Likewise.
10584 * textmodes/artist.el (artist-funcall): Likewise.
10585 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10586 Construct menu-item directly.
10587
10588 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10589 Don't declare.
10590
10591 2012-08-07 Chong Yidong <cyd@gnu.org>
10592
10593 * simple.el (deactivate-mark): Preserve text properties when
10594 saving the primary selection (Bug#8384).
10595
10596 2012-08-07 Kevin Ryde <user42@zip.com.au>
10597
10598 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10599 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10600 and continue processing (Bug#12110).
10601
10602 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10605 syntax-propertize-function (bug#10095).
10606
10607 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10608
10609 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10610 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10611 describe-function-1.
10612 (describe-function-1): Use them. Move compiler macro after sig.
10613 (help-fns--compiler-macro): Use function-get. Assume we're already in
10614 standard-output. Adjust layout to new call order.
10615
10616 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10617 re-binding a symbol that has a symbol-macro (bug#12119).
10618
10619 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10620
10621 * language/persian.el: New file. (Bug#11812)
10622 * loadup.el: Add language/persian.el.
10623
10624 2012-08-06 Chong Yidong <cyd@gnu.org>
10625
10626 * window.el (window--maybe-raise-frame): New function.
10627 (window--display-buffer): Split off from here.
10628 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10629 (display-buffer-pop-up-window, display-buffer-use-some-window):
10630 Obey an inhibit-switch-frame action alist entry.
10631 (display-buffer): Update doc.
10632
10633 * replace.el (occur-after-change-function): Avoid losing focus by
10634 using the inhibit-switch-frame display parameter (Bug#12139).
10635
10636 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10637
10638 Make internal shell process buffer names start with space.
10639 * progmodes/python.el (python-shell-make-comint): Add optional
10640 argument INTERNAL.
10641 (run-python-internal): Use it.
10642 (python-shell-internal-get-or-create-process): Check for new
10643 internal buffer names.
10644
10645 2012-08-06 Glenn Morris <rgm@gnu.org>
10646
10647 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10648 Do less getting and setting of environment variables.
10649
10650 2012-08-05 Chong Yidong <cyd@gnu.org>
10651
10652 * proced.el (proced): Add substitution string to docstring to
10653 trigger autoloading of the proced library on C-h f (Bug#1768).
10654
10655 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10656 Don't show defvars which have no second argument (Bug#8638).
10657
10658 * imenu.el (imenu-generic-expression): Move documentation here
10659 from imenu--generic-function.
10660 (imenu--generic-function): Refer to imenu-generic-expression.
10661
10662 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10663
10664 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10665 indentation declaration.
10666 (viper-loop): Add indentation declaration (Bug#7025).
10667
10668 2012-08-05 Chong Yidong <cyd@gnu.org>
10669
10670 * help-fns.el (describe-variable): Add hyperlink for
10671 directory-local variables files. Improve buffer-local and
10672 permanent-local reporting; suggested by MON KEY (Bug#6644).
10673
10674 * help-mode.el (help-dir-local-var-def): New button type.
10675
10676 * files.el (kill-buffer-hook): Provide a defvar.
10677
10678 2012-08-05 Glenn Morris <rgm@gnu.org>
10679
10680 * eshell/esh-ext.el (eshell/addpath):
10681 Also update eshell-path-env. (Bug#12013)
10682
10683 2012-08-05 Chong Yidong <cyd@gnu.org>
10684
10685 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10686
10687 * fringe.el (fringe-styles): Add docstring.
10688 (fringe--check-mode): New function.
10689 (set-fringe-mode, set-fringe-style): Use it.
10690 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10691
10692 * files.el (set-auto-mode): Fix invalid setq call.
10693
10694 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10695
10696 * isearch.el: Misc simplification; use defstruct.
10697 (isearch-mode-map): Dense maps now work like sparse ones.
10698 (isearch--state): New defstruct.
10699 (isearch-string-state, isearch-message-state, isearch-point-state)
10700 (isearch-success-state, isearch-forward-state)
10701 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10702 (isearch-wrapped-state, isearch-barrier-state)
10703 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10704 replaced by defstruct's accessors.
10705 (isearch--set-state): Rename from isearch-top-state and change
10706 calling convention.
10707 (isearch-push-state): Use new isearch--get-state.
10708 (isearch-toggle-word): Disable regexp when enabling word.
10709 (isearch-message-prefix): Remove unused arg _c-q-hack.
10710 (isearch-message-suffix): Remove unused arg _ellipsis.
10711
10712 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10713
10714 * simple.el (list-processes--refresh): For a server use :host or
10715 :local as the address.
10716 (list-processes): Doc fix.
10717
10718 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10719
10720 * lisp/mpc.el: Support password in host argument.
10721 (mpc--proc-connect): Parse and use new password element.
10722 Set mpc-proc variable instead of returning process.
10723 (mpc-proc): Adjust accordingly.
10724
10725 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10726
10727 * whitespace.el (whitespace-display-mappings): Use Unicode
10728 codepoints, instead of emacs-mule codepoints. See
10729 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10730 for the details.
10731
10732 * files.el (file-truename): Don't skip symlink-chasing part on
10733 windows-nt. Incorporate the resolution of 8+3 short aliases on
10734 Windows into the loop that recursively chases symlinks.
10735 Compare directory and its parent case-insensitively on MS-Windows and
10736 MS-DOS.
10737
10738 2012-08-03 Chong Yidong <cyd@gnu.org>
10739
10740 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10741
10742 * sort.el (sort-regexp-fields): Doc fix.
10743
10744 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10745
10746 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10747 labels regex position point at the expected place.
10748
10749 2012-08-03 MON KEY <monkey@sandpframing.com>
10750
10751 * net/imap.el (imap-interactive-login, imap-authenticate)
10752 (imap-mailbox-lsub, imap-mailbox-list)
10753 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10754 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10755 (imap-parse-response): Doc fix.
10756
10757 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10758
10759 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10760 if sexp scanning does not move point (Bug#5734).
10761
10762 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10763
10764 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10765 Add listings, minted, and ctable packages.
10766 (reftex-label-alist-builtin): Move listings, minted, and ctable
10767 entries before LaTeX.
10768 (reftex-label-alist): Docfix.
10769
10770 2012-08-02 Bastien Guerry <bzg@gnu.org>
10771
10772 * replace.el (occur): Fix docstring (bug#12122).
10773
10774 2012-08-02 Glenn Morris <rgm@gnu.org>
10775
10776 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10777
10778 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10779
10780 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10781 * international/mule-cmds.el: Create
10782 inactivate-current-input-method-function as an obsolete alias for
10783 deactivate-current-input-method-function. See Katsumi Yamaoka in
10784 <http://bugs.gnu.org/10150#46>.
10785
10786 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10787
10788 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10789 of nested `if's.
10790
10791 2012-08-01 Glenn Morris <rgm@gnu.org>
10792
10793 * progmodes/autoconf.el (autoconf-definition-regexp):
10794 Add AH_TEMPLATE, adjust submatch numbering.
10795 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10796 (autoconf-current-defun-function): Update for above change.
10797 (autoconf-current-defun-function): First skip to end of current word.
10798
10799 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10800
10801 * calendar/cal-html.el (cal-html-insert-agenda-days):
10802 Fix typo. (Bug#12018)
10803
10804 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10805
10806 Shell processes: enhancements to startup and CEDET compatibility.
10807 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10808 (python-shell-make-comint): accept-process-output at startup.
10809 (run-python-internal): Set inferior-python-mode-hook to nil.
10810 (python-shell-internal-get-or-create-process): call sit-for.
10811 (python-preoutput-result): Add obsolete alias.
10812 (python-shell-internal-send-string): Use it.
10813 (python-shell-send-setup-code): Remove call to
10814 accept-process-output.
10815
10816 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10817
10818 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10819 (Bug#12108)
10820
10821 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10822
10823 * calc-mode.el (calc-basic-simplification-mode): Rename from
10824 `calc-limited-simplification-mode'.
10825 (calc-alg-simplification-mode): New function.
10826 (calc-set-simplify-mode): Adjust message.
10827
10828 * calc.el (calc-set-mode-line): Adjust mode line display for
10829 basic simplification mode.
10830
10831 * calc-help.el (calc-m-prefix-help): Update help message.
10832
10833 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10834 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10835
10836 2012-07-31 Bastien Guerry <bzg@gnu.org>
10837
10838 * man.el (man): Fix comment. (bug#12101)
10839
10840 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10841
10842 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10843 Don't return a non-nil value when no suitable buffer was found.
10844
10845 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10846
10847 * progmodes/python.el (run-python-internal): Disable font lock for
10848 internal shells.
10849
10850 2012-07-30 Stefan Merten <smerten@oekonux.de>
10851
10852 * textmodes/rst.el: Silence `checkdoc-ispell'.
10853 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10854 (rst-official-version, rst-official-cvs-rev)
10855 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10856 (rst-mode-map): New key binding.
10857
10858 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10859
10860 Update .PHONY listings in makefiles.
10861 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10862 autoloads, update-subdirs, updates, bzr-update, update-authors,
10863 compile-onefile, compile-calc, backup-compiled-files,
10864 compile-after-backup, compile-one-process, mh-autoloads,
10865 bootstrap-clean, distclean, maintainer-clean.
10866
10867 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10868
10869 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10870 (calc-set-mode-line): Don't display "AlgSimp ".
10871
10872 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10873 (calc-lim-simplify-mode): New function.
10874 (calc-set-simplify-mode): Default to 'alg.
10875 (calc-default-simplify-mode): Make algebraic simplifications
10876 the default.
10877
10878 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10879 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10880
10881 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10882 indicate new simplification modes.
10883
10884 * calc/README: Mention new default simplification mode.
10885
10886 * calc/calc.el (math-normalize-error): New variable.
10887 (math-normalize): Set `math-normalize-error' to t
10888 when there's an error.
10889
10890 * calc/calc-alg.el (math-simplify): Don't simplify when
10891 `math-normalize' returns an error.
10892
10893 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10894
10895 * international/mule-cmds.el (set-locale-environment): Revert last
10896 change, since display-graphic-p returns nil when this function is
10897 called during startup. Instead...
10898
10899 * term/w32console.el (terminal-init-w32console): ...setup the
10900 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10901
10902 2012-07-29 Juri Linkov <juri@jurta.org>
10903
10904 * simple.el (goto-line): Don't display default line number in the
10905 prompt because it should be displayed by `read-number' (bug#9952).
10906 Add the current line number to the defaults of `goto-line' to
10907 allow its easier modification by users with `M-n' (bug#9201).
10908
10909 * subr.el (read-number): Support multiple default values like in
10910 other minibuffer reading functions. Replace `read' with
10911 `string-to-number' for consistency with `number-to-string'.
10912
10913 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10914
10915 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10916 * emulation/viper-init.el (viper-deactivate-input-method-action):
10917 Rename from viper-inactivate-input-method-action.
10918 (viper-deactivate-input-method):
10919 Rename from viper-inactivate-input-method.
10920 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10921 * international/mule-cmds.el (deactivate-input-method):
10922 Rename from inactivate-input-method.
10923 Also run input-method-deactivate-hook.
10924 (deactivate-current-input-method-function):
10925 Rename from inactivate-current-input-method-function.
10926 (input-method-deactivate-hook): New hook.
10927 (input-method-inactivate-hook): Mark obsolete.
10928 (inactivate-input-method): Mark obsolete.
10929
10930 * international/quail.el (quail-activate):
10931 Also run quail-deactivate-hook.
10932 (quail-deactivate): Rename from quail-inactivate.
10933 * international/robin.el (robin-activate):
10934 Also run robin-deactivate-hook.
10935 (robin-deactivate): Rename from robin-inactivate.
10936
10937 2012-07-29 Chong Yidong <cyd@gnu.org>
10938
10939 * simple.el (indicate-copied-region): New function.
10940 (kill-ring-save): Split off from here.
10941
10942 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10943 (kill-rectangle): Set deactivate-mark to t on read-only error.
10944
10945 * register.el (copy-to-register, copy-rectangle-to-register):
10946 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10947 (append-to-register, prepend-to-register): Call indicate-copied-region.
10948
10949 2012-07-29 Juri Linkov <juri@jurta.org>
10950
10951 * simple.el (async-shell-command-buffer): New defcustom.
10952 (shell-command): Use it. (Bug#4719)
10953
10954 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10955
10956 * international/mule-cmds.el (set-locale-environment): In a
10957 console session on MS-Windows, set up keyboard and terminal
10958 encoding from the OEM codepage, not the ANSI codepage.
10959 (Bug#12055)
10960
10961 2012-07-28 Chong Yidong <cyd@gnu.org>
10962
10963 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10964 gdb-get-location.
10965
10966 2012-07-28 Leo Liu <sdl.web@gmail.com>
10967
10968 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10969 the alist (bug#12029).
10970
10971 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10972
10973 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10974 (compile-always, compile-first)
10975 ($(lisp)/calendar/cal-loaddefs.el)
10976 ($(lisp)/calendar/diary-loaddefs.el)
10977 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10978 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10979 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10980 instead of on update-subdirs.
10981 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10982
10983 2012-07-28 Chong Yidong <cyd@gnu.org>
10984
10985 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10986 directory if vc-deduce-backend returns nil (Bug#7350).
10987
10988 * simple.el (delete-trailing-lines): New option.
10989 (delete-trailing-whitespace): Obey it (Bug#11879).
10990
10991 2012-07-28 David Engster <deng@randomsample.de>
10992
10993 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10994 Explanation of new 'symbol-qnames feature in doc-strings.
10995 (xml-maybe-do-ns): Return expanded names as plain symbols if
10996 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10997 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10998
10999 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11000
11001 Consistent completion in inferior python with emacs -nw.
11002 * progmodes/python.el (inferior-python-mode): replace "<tab>"
11003 binding in inferior-python-mode-map with "\t".
11004 (python-shell-completion-complete-at-point)
11005 (python-completion-complete-at-point): Remove interactive spec.
11006
11007 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11008
11009 * calc/calccomp.el (math-compose-expr): Undo previous change.
11010
11011 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11012
11013 * progmodes/python.el (python-mode-map): Add keybinding for
11014 run-python.
11015 (python-shell-make-comint): Fix pop-to-buffer call.
11016 (run-python): Autoload. New arg SHOW.
11017 (python-shell-get-or-create-process): Do not pop python process
11018 buffer.
11019
11020 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11021
11022 * notifications.el (notifications-on-action-signal)
11023 (notifications-on-closed-signal): Use also the bus address for the map.
11024 (notifications-notify, notifications-close-notification)
11025 (notifications-get-capabilities): Add optional argument BUS.
11026
11027 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11028
11029 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11030 Add support for the lstlisting and minted environments, and for the
11031 ctable macro.
11032 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11033 labels written in keyvals syntax.
11034
11035 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11036
11037 * calc/calccomp.el (math-compose-expr): Use parentheses when
11038 there is a product in the denominator of a fraction.
11039
11040 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11041
11042 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11043 ($(lisp)/calendar/diary-loaddefs.el)
11044 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11045 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11046 Fixes failures in parallel bootstrap because subdirs.el is being
11047 rewritten while the autoload files are built at the same time,
11048 which needs to load subdirs.el.
11049
11050 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11051
11052 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11053 (mouse-drag-line): Don't exit tracking when a switch-frame or
11054 switch-window event occurs (Bug#12006).
11055
11056 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11057
11058 * mouse.el (popup-menu): Fix last change.
11059
11060 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 Autoload from Lisp with more care. Follow aliases when looking for
11063 function properties.
11064 * subr.el (autoloadp): New function.
11065 (symbol-file): Use it.
11066 (function-get): New function.
11067 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11068 autoload-do-load.
11069 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11070 (lisp-indent-function):
11071 * emacs-lisp/gv.el (gv-get):
11072 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11073 * emacs-lisp/byte-opt.el (byte-optimize-form):
11074 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11075 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11076 Use function-get.
11077 * emacs-lisp/cl.el: Don't propagate function properties any more.
11078
11079 * speedbar.el (speedbar-add-localized-speedbar-support):
11080 * emacs-lisp/disass.el (disassemble-internal):
11081 * desktop.el (desktop-load-file):
11082 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11083 (describe-function-1):
11084 * emacs-lisp/find-func.el (find-function-noselect):
11085 * emacs-lisp/elp.el (elp-instrument-function):
11086 * emacs-lisp/advice.el (ad-has-proper-definition):
11087 * apropos.el (apropos-safe-documentation, apropos-macrop):
11088 * emacs-lisp/debug.el (debug-on-entry):
11089 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11090 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11091 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11092
11093 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11094
11095 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11096 function, not an obsolete variable (Bug#12046).
11097
11098 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11099
11100 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11101
11102 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11103
11104 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11105 window only if it is still live (Bug#12034).
11106
11107 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11108
11109 * subr.el (redirect-frame-focus): Add advertised calling
11110 convention (Bug#12030).
11111
11112 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11113
11114 Prefer typical American spelling for "acknowledgment".
11115 * vc/add-log.el (change-log-acknowledgment): Rename from
11116 change-log-acknowledgement, with an alias for the old name.
11117
11118 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11119
11120 * calc-alg.el (math-simplify-divide): Don't cross multiply
11121 in an equation when the lhs is a variable.
11122
11123 2012-07-24 Julien Danjou <julien@danjou.info>
11124
11125 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11126 Remove, unused.
11127
11128 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11129
11130 * startup.el (command-line): Don't display an empty user name in
11131 the error message about non-existent home directory, when
11132 init-file-user was set to an empty string. See
11133 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11134 for the details and context.
11135
11136 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11137
11138 * ses.el (ses-cell-formula-aset): New macro.
11139 (ses-cell-references-aset): New macro.
11140 (ses-cell-p): New function.
11141 (ses-rename-cell): Do no longer rely on complex operations like
11142 ses-cell-set-formula or ses-set-cell to change the cell and handle
11143 the undo at the same time, but rather use lower level new macros
11144 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11145 the undo directly. Refresh the mode line.
11146
11147 2012-07-21 Leo Liu <sdl.web@gmail.com>
11148
11149 * progmodes/cc-cmds.el (c-defun-name):
11150 Use match-string-no-properties instead for consistency.
11151
11152 2012-07-20 Leo Liu <sdl.web@gmail.com>
11153
11154 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11155 (Bug#7879)
11156
11157 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11158
11159 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11160
11161 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11162 * progmodes/bug-reference.el, misearch.el: Provide themselves
11163 (bug#11915).
11164
11165 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11166 of narrowed buffer (bug#11966).
11167
11168 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11169
11170 * ses.el (ses-rename-cell): Set new name also in reference list of
11171 cells of which the renamed cell depends.
11172
11173 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11174
11175 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11176 to check whether menu-bar is shown or not. If not shown,
11177 show the menu-bar as a popup menu instead of using tmm.
11178 * mouse.el (popup-menu): Accept `point' as `position' argument.
11179
11180 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11181
11182 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11183 up inside string symbol literal (bug#11923).
11184
11185 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11186
11187 * startup.el (fancy-startup-text): Read the whole tutorial, not
11188 just its first 256 bytes. Prevents gibberish in display of the
11189 tutorial title.
11190
11191 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11192
11193 Drop idle buffer compaction due to an absence of the
11194 proved efficiency.
11195 * compact.el: Remove.
11196
11197 2012-07-19 Sam Steingold <sds@gnu.org>
11198
11199 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11200 vc-bzr-pull & vc-bzr-merge-branch.
11201 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11202 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11203 for consistency with compilation-error-regexp-alist.
11204 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11205 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11206 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11207 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11208
11209 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11210
11211 * emacs-lisp/chart.el: Use lexical-binding.
11212 (chart-emacs-storage): Don't hardcode the list of entries.
11213
11214 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11215
11216 Next round of tweaks caused by Fgarbage_collect changes.
11217 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11218
11219 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11220
11221 Compact buffers when idle.
11222 * compact.el: New file.
11223
11224 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11225
11226 * subr.el (eventp): Presume that if it looks vaguely like an event,
11227 it's an event (bug#10190).
11228
11229 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11230
11231 Enhancements to ppss related code (thanks Stefan).
11232 * progmodes/python.el (python-indent-context)
11233 (python-indent-calculate-indentation, python-indent-dedent-line)
11234 (python-indent-electric-colon, python-nav-forward-block)
11235 (python-mode-abbrev-table)
11236 (python-info-assignment-continuation-line-p): Simplify checks
11237 for ppss context.
11238 (python-info-continuation-line-p): Cleanup.
11239 (python-info-ppss-context): Do not catch 'quote.
11240 (python-info-ppss-context-type)
11241 (python-info-ppss-comment-or-string-p): Simplify.
11242
11243 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11244
11245 * progmodes/python.el: Enhancements to eldoc support.
11246 (python-info-current-symbol): New function.
11247 (python-eldoc-at-point): Use python-info-current-symbol.
11248 (python-info-current-defun): Fix cornercase on first defun scan.
11249 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11250 and signal error when no inferior python process is available.
11251
11252 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11253
11254 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11255 assume it's always t.
11256 (vc-git-registered): Remove caching, the function is only called
11257 once.
11258 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11259
11260 2012-07-18 Chong Yidong <cyd@gnu.org>
11261
11262 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11263
11264 * simple.el (count-words): Report on narrowing (Bug#9959).
11265
11266 * bindings.el: Bind M-= to count-words.
11267
11268 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11269
11270 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11271
11272 * progmodes/sh-script.el (sh-imenu-generic-expression):
11273 Capture a function with `function' keyword and without parentheses
11274 like "function FOO" (bug#11856).
11275
11276 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11277
11278 * window.el (split-window-sensibly): Make WINDOW argument
11279 optional.
11280
11281 2012-07-18 Chong Yidong <cyd@gnu.org>
11282
11283 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11284
11285 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11286 and make C-x 8 RET exit isearch (Bug#11439).
11287
11288 * international/iso-transl.el: Move isearch-mode-map key
11289 definitions to isearch.el.
11290
11291 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11292
11293 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11294 (eieio-defclass): Use gv-define-setter when possible.
11295
11296 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11297
11298 Reflect recent changes in Fgarbage_collect.
11299 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11300 reflect new format of data returned by Fgarbage_collect.
11301
11302 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11303
11304 New utility functions + python-info-ppss-context fix (Bug#11910).
11305 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11306 (python-info-ppss-comment-or-string-p): New functions.
11307 (python-info-ppss-context): Small fix for string check.
11308
11309 2012-07-17 Juri Linkov <juri@jurta.org>
11310
11311 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11312 (dired-do-async-shell-command): Don't add `*' at the end of the
11313 command (Bug#11815).
11314 (dired-do-shell-command): Doc fix.
11315 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11316 Join the individual commands using either "&" or ";" as the
11317 separator depending on the values of these trailing characters.
11318 At the end re-add the trailing "&". (Bug#10598)
11319
11320 * simple.el (async-shell-command): Sync the interactive spec with
11321 `shell-command'. Doc fix.
11322 (shell-command): Doc fix.
11323
11324 2012-07-17 Juri Linkov <juri@jurta.org>
11325
11326 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11327
11328 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11329
11330 Final renames and doc fixes for movement commands (bug#11899).
11331 * progmodes/python.el (python-nav-beginning-of-statement):
11332 Rename from python-nav-statement-start.
11333 (python-nav-end-of-statement): Rename from
11334 python-nav-statement-end.
11335 (python-nav-beginning-of-block): Rename from
11336 python-nav-block-start.
11337 (python-nav-end-of-block): Rename from python-nav-block-end.
11338
11339 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11340
11341 * progmodes/python.el (python-shell-send-string-no-output):
11342 Allow accept-process-output to quit, keeping shell process ready for
11343 future interactions (Bug#11868).
11344
11345 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11346
11347 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11348
11349 * emacs-lisp/elint.el (elint-find-args-in-code):
11350 Use help-function-arglist, so as to handle lexical byte-code.
11351
11352 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11353 change (bug#11826).
11354
11355 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11356
11357 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11358 Avoid spuriously marking the buffer as modified because of c-is-sws.
11359
11360 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11361 as not-a-comment (bug#11946).
11362
11363 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11364 for uninterned vars.
11365
11366 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11367 Use read-event since we don't really want to read chars but bytes.
11368
11369 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11370 $$..$$ but also $..$ using regexps (bug#11953).
11371 Use tex-verbatim for \url and \path.
11372 (tex-font-lock-keywords): Define as defconst like the others.
11373 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11374
11375 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11376
11377 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11378 alias for insert-char.
11379
11380 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11381
11382 * progmodes/python.el: Simplified imenu implementation.
11383 (python-nav-jump-to-defun): Remove command.
11384 (python-mode-map): Use `imenu' instead.
11385 (python-nav-list-defun-positions-cache)
11386 (python-imenu-include-defun-type, python-imenu-make-tree)
11387 (python-imenu-subtree-root-label, python-imenu-index-alist):
11388 Remove vars.
11389 (python-nav-list-defun-positions, python-nav-read-defun)
11390 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11391 (python-imenu-make-tree, python-imenu-create-index):
11392 Remove functions.
11393 (python-mode): Update to interact with imenu by setting
11394 `imenu-extract-index-name-function' only.
11395
11396 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11397
11398 * progmodes/python.el: Enhancements to navigation commands.
11399 (python-nav-backward-sentence)
11400 (python-nav-forward-sentence): Remove.
11401 (python-nav-backward-statement, python-nav-forward-statement)
11402 (python-nav-statement-start, python-nav-statement-end)
11403 (python-nav-backward-block, python-nav-forward-block)
11404 (python-nav-block-start, python-nav-block-end)
11405 (python-nav-forward-sexp-function)
11406 (python-info-current-line-comment-p)
11407 (python-info-current-line-empty-p): New functions.
11408 (python-indent-context): Use `python-nav-statement-start'.
11409
11410 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11411
11412 * eshell/em-ls.el (eshell/ls): Use `apply'.
11413
11414 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11415 multi-hops, instead of Tramp internals.
11416
11417 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11418
11419 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11420 when F1 and F2 are located on different hosts.
11421
11422 2012-07-14 Chong Yidong <cyd@gnu.org>
11423
11424 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11425 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11426 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11427 (xterm-mouse--read-event-sequence-1000)
11428 (xterm-mouse--read-event-sequence-1006): New functions. For old
11429 mouse protocol, handle M-mouse-X events correctly.
11430 (xterm-mouse-event): New arg specifying mouse protocol.
11431 (turn-on-xterm-mouse-tracking-on-terminal)
11432 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11433 sequence to toggle extended coordinates on newer XTerms.
11434 This appears to be harmless on terminals which do not support this.
11435
11436 2012-07-14 Leo Liu <sdl.web@gmail.com>
11437
11438 Add fringe bitmap indicators for flymake. (Bug#11253)
11439 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11440 (flymake-make-overlay): New arg BITMAP.
11441 (flymake-error-bitmap, flymake-warning-bitmap)
11442 (flymake-fringe-indicator-position): New user variables.
11443
11444 * fringe.el: New bitmap exclamation-mark.
11445
11446 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11447
11448 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11449 also (Bug#7879).
11450
11451 2012-07-14 Chong Yidong <cyd@gnu.org>
11452
11453 * electric.el (electric-pair-post-self-insert-function): Fix pair
11454 insertion in empty-region case (Bug#11520).
11455
11456 2012-07-14 Chong Yidong <cyd@gnu.org>
11457
11458 * bindings.el: Consolidate ctl-x-r-map bindings.
11459 Bind copy-rectangle-as-kill to C-x r w.
11460
11461 * rect.el, register.el: Move bindings to bindings.el.
11462
11463 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11464
11465 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11466
11467 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11468
11469 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11470
11471 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11472
11473 * bindings.el (top): Use `mapc' instead of `mapcar'.
11474
11475 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11476
11477 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11478
11479 * progmodes/sql.el (sql-comint): Suppress the check for program on
11480 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11481 (Bug#11908)
11482
11483 2012-07-13 Chong Yidong <cyd@gnu.org>
11484
11485 * bindings.el: Assign a non-nil permanent-local property to
11486 per-buffer variables which lack a default value (Bug#11930).
11487
11488 * help-fns.el (describe-variable): In the "automatically becomes
11489 local" notice, take note of permanent-local variables.
11490
11491 2012-07-13 Chong Yidong <cyd@gnu.org>
11492
11493 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11494 to allow printing the message when called from Lisp.
11495
11496 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11497 Remove toggle-read-only.
11498
11499 * bs.el (bs-toggle-readonly):
11500 * buff-menu.el (Buffer-menu-toggle-read-only):
11501 Remove with-no-warnings around toggle-read-only.
11502
11503 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11504 Remove with-no-warnings around toggle-read-only.
11505 (ffap-read-only, ffap-read-only-other-window)
11506 (ffap-read-only-other-frame): Callers changed.
11507
11508 * help-mode.el: Don't require view package.
11509 (help-mode-finish): Set buffer-read-only instead of calling
11510 toggle-read-only.
11511
11512 * bindings.el (mode-line-toggle-read-only):
11513 * dired.el (dired-toggle-read-only):
11514 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11515 with non-nil second arg.
11516
11517 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11518 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11519 directly.
11520
11521 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11522
11523 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11524 not incf.
11525
11526 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11527
11528 More CL cleanups and reduction of use of cl.el.
11529 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11530 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11531 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11532 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11533 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11534 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11535 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11536 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11537 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11538 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11539 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11540 * eshell/em-cmpl.el, eshell/em-banner.el:
11541 * calendar/parse-time.el: Use cl-lib.
11542 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11543 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11544 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11545 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11546 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11547 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11548 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11549 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11550 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11551 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11552 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11553 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11554 `lambda' rather than with `quote'.
11555 (eshell-do-opt): Adjust accordingly.
11556 (eshell-process-option): Simplify.
11557 * eshell/esh-var.el:
11558 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11559 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11560 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11561 to `pcase--dontcare'.
11562 * emacs-lisp/cl.el (labels): Mark obsolete.
11563 (cl--letf, letf): Move to cl-lib.
11564 (cl--letf*, letf*): Remove.
11565 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11566 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11567 (cl-progv): Rewrite.
11568 (cl--letf, cl-letf): Move from cl.el.
11569 (cl-letf*): New macro.
11570 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11571
11572 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11573
11574 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11575
11576 2012-07-11 Chong Yidong <cyd@gnu.org>
11577
11578 * vc/log-edit.el (log-edit-vc-backend): New variable.
11579 (log-edit): Doc fix.
11580
11581 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11582 argument of log-edit to set up all local variables.
11583 (vc-start-logentry): New optional arg specifying VC backend.
11584
11585 * vc/vc.el (vc-checkin): Use it.
11586 (vc-deduce-fileset): Handle Log Edit buffers.
11587 (vc-diff): Make first argument optional too.
11588
11589 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11590
11591 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11592
11593 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11594 command, just in case. The function is not needed anymore.
11595 (eshell-external-command): Do not call `eshell-remote-command'.
11596
11597 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11598
11599 Reduce use of (require 'cl).
11600 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11601 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11602 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11603 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11604 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11605 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11606 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11607 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11608 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11609 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11610 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11611 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11612 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11613 (byte-compile-unfold-bcf, byte-compile-check-variable):
11614 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11615 (byte-compile-nilconstp):
11616 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11617 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11618
11619 * emacs-lisp/gv.el (cond): Make it a valid place.
11620 (if): Simplify slightly.
11621
11622 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11623 (pcase--self-quoting-p): New function.
11624 (pcase--u1): Use it.
11625
11626 2012-07-10 Glenn Morris <rgm@gnu.org>
11627
11628 * emacs-lisp/authors.el (authors-fixed-entries):
11629 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11630
11631 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11632
11633 Rename configure.in to configure.ac (Bug#11603).
11634 * emacs-lisp/authors.el (authors-canonical-file-name):
11635 * progmodes/autoconf.el (autoconf-mode):
11636 Prefer configure.ac to configure.in.
11637
11638 2012-07-08 Chong Yidong <cyd@gnu.org>
11639
11640 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11641 Implement the mouse-1-click-follows-link handling properly.
11642
11643 * info.el (Info-link-keymap): Use follow-link mechanism for
11644 header-line links (Bug#374).
11645
11646 * simple.el (deactivate-mark): Do not set the primary selection
11647 if another program has acquired it (Bug#11772).
11648
11649 2012-07-07 Kevin Ryde <user42@zip.com.au>
11650
11651 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11652 (woman-decode-region): Replace escaped-escapes without destroying
11653 bold or underline (Bug#11552).
11654 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11655
11656 2012-07-07 Chong Yidong <cyd@gnu.org>
11657
11658 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11659 (interprogram-cut-function, interprogram-paste-function):
11660 Mention that we typically mean the clipboard.
11661
11662 2012-07-06 Glenn Morris <rgm@gnu.org>
11663
11664 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11665
11666 * files.el (toggle-read-only): Restrict message to interactive use.
11667
11668 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11669
11670 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11671
11672 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11673
11674 2012-07-06 Glenn Morris <rgm@gnu.org>
11675
11676 * Makefile.in (compile-one-process): Rename from "recompile".
11677
11678 * Makefile.in (bzr-update): "compile" is the same as "recompile
11679 autoloads", but parallelizable, so use that instead.
11680
11681 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11682
11683 * window.el (quit-window): Always restore window height when
11684 it's saved in quit-restore parameter (Bug#11810).
11685
11686 2012-07-06 Glenn Morris <rgm@gnu.org>
11687
11688 * simple.el (kill-whole-line): Doc tweak.
11689
11690 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11691
11692 * files.el (file-relative-name): Compare file names
11693 case-insensitively if on MS-Windows or MS-DOS, or if
11694 read-file-name-completion-ignore-case is non-nil. Don't use
11695 case-fold-search for this purpose. (Bug#11827)
11696
11697 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11698
11699 * calendar/cal-dst.el (calendar-current-time-zone):
11700 Return calendar-current-time-zone-cache if non-nil.
11701
11702 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11703 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11704
11705 * calendar/cal-dst.el (calendar-current-time-zone):
11706 Return calendar-current-time-zone-cache if non-nil.
11707
11708 2012-07-06 Glenn Morris <rgm@gnu.org>
11709
11710 * Makefile.in (cvs-update): Remove old alias.
11711
11712 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11713
11714 Sync with Tramp 2.2.6-pre.
11715
11716 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11717 compatible declaration.
11718
11719 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11720 Protect `list-load-path-shadows' call.
11721
11722 * net/tramp-compat.el (top): Require packages, which aren't
11723 autoloaded anymore for XEmacs. Protect call of
11724 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11725 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11726 it hurts at least for SXEmacs.
11727 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11728 standard-value for `temporary-file-directory'.
11729
11730 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11731 Redirect stderr to /dev/null.
11732 (tramp-sh-handle-write-region): uid and gid can be floats.
11733 Reported by Russell Sim <russell.sim@gmail.com>.
11734 (tramp-sh-handle-vc-registered): Hide errors.
11735 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11736 and `start-file-process'.
11737 (tramp-maybe-open-connection): Check also whether `non-essential'
11738 is bound.
11739
11740 2012-07-04 Chong Yidong <cyd@gnu.org>
11741
11742 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11743 (xml-parse-tag): Likewise, and avoid changing entity tables.
11744 (xml-syntax-table): Define from scratch, making sure not to give
11745 x2000 and other Unicode spaces whitespace syntax, since those are
11746 not spaces in XML.
11747 (xml-parse-fragment): Delete unused function.
11748 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11749 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11750 (xml-entity-ref, xml-pe-reference-re)
11751 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11752 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11753 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11754 (xml-entity-value-re): Use syntax references in regexps where
11755 possible; no need to define inside a let-binding.
11756 (xml-parse-dtd): Use xml-pe-reference-re.
11757 (xml-entity-or-char-ref-re): New defconst.
11758 (xml-parse-string, xml-substitute-special): Use it.
11759
11760 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11761
11762 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11763 (find-file--read-only): New function.
11764 (find-file-read-only, find-file-read-only-other-window)
11765 (find-file-read-only-other-frame): Use it.
11766 (insert-file-contents-literally): Don't `fset'.
11767 (get-free-disk-space): Use locate-dominating-file.
11768
11769 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11770 function is already compiled.
11771
11772 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11773
11774 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11775
11776 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11777 files on the same host.
11778
11779 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11780
11781 * help-fns.el (describe-function-1): Only call
11782 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11783
11784 2012-07-03 Chong Yidong <cyd@gnu.org>
11785
11786 * xml.el: Protect parser against XML bombs.
11787 (xml-entity-expansion-limit): New variable.
11788 (xml-parse-string, xml-substitute-special): Use it.
11789 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11790
11791 2012-07-03 Glenn Morris <rgm@gnu.org>
11792
11793 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11794 Allow linking to specific messages in debbugs reports (eg 123#5).
11795
11796 2012-07-02 Chong Yidong <cyd@gnu.org>
11797
11798 * xml.el: Fix entity and character reference expansion, allowing
11799 them to expand into markup as per XML spec.
11800 (xml-default-ns): New variable.
11801 (xml-entity-alist): Use XML spec definitions for lt and amp.
11802 (xml-parse-region): Make first two arguments optional.
11803 Discard text properties.
11804 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11805 All callers changed.
11806 (xml-parse-tag): Call xml-parse-tag-1. For backward
11807 compatibility, this function should not modify buffer contents.
11808 (xml-parse-tag-1): Fix opening-tag regexp.
11809 (xml-parse-string): Rewrite, handling entity and character
11810 references properly.
11811 (xml--entity-replacement-text): Signal an error if a parameter
11812 entity is undefined.
11813
11814 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11815
11816 * comint.el (comint-output-filter): Filter out repeated prompts.
11817
11818 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11819 and file-name-absolute-p.
11820 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11821 internal calls.
11822
11823 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11824
11825 Spelling fixes.
11826 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11827 Rename from byte-compile--refiy-function. All uses changed.
11828
11829 2012-07-01 Chong Yidong <cyd@gnu.org>
11830
11831 * xml.el (xml--parse-buffer): New function. Move most of
11832 xml-parse-region here.
11833 (xml-parse-region): Copy region into a temporary buffer, since
11834 parameter entity substitution requires changing buffer contents.
11835 Use xml--parse-buffer.
11836 (xml-parse-file): Use xml--parse-buffer.
11837 (xml-parse-dtd): Make parameter entity substitution work right.
11838 Use proper regexps for ELEMENT declarations (Bug#7172).
11839
11840 2012-06-30 Glenn Morris <rgm@gnu.org>
11841
11842 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11843
11844 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11845 Remove outdated and unnecessary dbus declarations.
11846
11847 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11848
11849 * emacs-lisp/timer.el (timer-until): Subtract results of
11850 float-time, instead of taking float-time of the result of
11851 time-subtract, since float-time signals an error for negative time
11852 arguments.
11853
11854 2012-06-30 Chong Yidong <cyd@gnu.org>
11855
11856 * xml.el (xml-*-re): Convert defvars into defconsts, and
11857 eval-and-compile them so eval-and-compile works on derivatives.
11858 (xml--entity-replacement-text): Use eval-and-comple.
11859
11860 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11861
11862 * vc/vc-git.el (vc-git-registered): Use cache property
11863 `git-registered'.
11864 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11865 `vc-git-working-revision' in order to benefit from the cache.
11866 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11867
11868 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11869
11870 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11871 removed (likely outside Emacs). (Bug#11757)
11872
11873 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11874
11875 * emacs-lisp/cl-lib.el: Require macroexp.
11876
11877 2012-06-30 Chong Yidong <cyd@gnu.org>
11878
11879 * xml.el: Implement XML parameter entities.
11880 (xml-parameter-entity-alist): New variable.
11881 (xml-parse-region, xml-parse-fragment): Preserve previous values
11882 of xml-entity-alist and xml-parameter-entity-alist, so that
11883 repeated calls on different documents do not change them.
11884 (xml-parse-tag): Fix doctype regexp.
11885 (xml--entity-replacement-text): New function.
11886 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11887 properly requires url retrieval which is unimplemented.
11888 (xml-escape-string): Doc fix.
11889
11890 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11891
11892 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11893
11894 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11895
11896 * fringe.el (fringe-mode): Doc fix.
11897
11898 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11899
11900 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11901 is non-nil.
11902 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11903 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11904
11905 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11906
11907 * calendar/cal-dst.el (calendar-current-time-zone):
11908 Return calendar-current-time-zone-cache if non-nil.
11909
11910 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11911
11912 * progmodes/which-func.el (which-func-format):
11913 Add mouse-face. (Bug#11698)
11914
11915 2012-06-29 Leo Liu <sdl.web@gmail.com>
11916
11917 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11918
11919 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * minibuffer.el (minibuffer-confirm-exit-commands):
11922 Add completion-at-point (bug#11725).
11923
11924 2012-06-29 Glenn Morris <rgm@gnu.org>
11925
11926 * progmodes/f90.el (f90-font-lock-keywords-2):
11927 Add some preprocessor elements. (Bug#10499)
11928
11929 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11930
11931 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11932 Use syntax-propertize (bug#11739).
11933
11934 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11935
11936 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11937
11938 2012-06-28 Julien Danjou <julien@danjou.info>
11939
11940 * term.el (term-handle-colors-array): Use a set of new faces to
11941 color the terminal. Also uses :inverse-video property.
11942 (term-default-fg-color): Set to nil by default, deprecate in favor
11943 of `term-face'.
11944 (term-default-bg-color): Set to nil by default, deprecate in favor
11945 of `term-face'.
11946 (term-current-face): Use `term-face' by default.
11947 (term-bold-attribute): Variable deleted.
11948
11949 2012-06-28 Glenn Morris <rgm@gnu.org>
11950
11951 * simple.el (completion-list-mode-finish):
11952 Don't use toggle-read-only. (Since completion-list-mode has
11953 a special mode-class, it wasn't doing anything extra anyway.)
11954
11955 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11956
11957 Make inlining of other-mode interpreted functions work (bug#11799).
11958 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11959 (byte-compile): Use it to fix compilation of lexical-binding closures.
11960 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11961 function, if needed.
11962
11963 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11964
11965 * help-mode.el (help-make-xrefs): Don't just withstand
11966 cyclic-variable-indirection but any error in documentation-property.
11967
11968 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11969 memory use.
11970 * bindings.el (bindings--define-key): New function.
11971 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11972 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11973 * bindings.el: Use it to purecopy define-key bindings.
11974
11975 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11976
11977 * emacs-lisp/cl.el (flet): Mark obsolete.
11978 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11979 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11980 * progmodes/js.el (js-c-fill-paragraph):
11981 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11982 (ebrowse-switch-member-buffer-to-derived-class):
11983 * play/5x5.el (5x5-solver): Use cl-flet.
11984
11985 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11986 (cl--symbol-function): New macro.
11987 (cl--letf, cl--letf*): Use it.
11988
11989 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11990 Strip "toggle-" if any.
11991
11992 2012-06-27 Glenn Morris <rgm@gnu.org>
11993
11994 * info.el (Info-default-directory-list): Move here from paths.el.
11995 * paths.el: Remove file, which is now empty.
11996 * loadup.el: No longer load "paths".
11997
11998 * custom.el (custom-initialize-delay): Doc fix.
11999
12000 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12001 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12002 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12003 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12004 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12005 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12006 * eshell/eshell.el (eshell-defgroup): Remove alias.
12007
12008 2012-06-27 Chong Yidong <cyd@gnu.org>
12009
12010 * help.el (help-enable-auto-load): New variable.
12011
12012 * help-fns.el (help-fns--autoloaded-p): New function.
12013 (describe-function-1): Refer to a function as "autoloaded" if it
12014 was autoloaded at any time in the past. Perform autoloading if
12015 help-enable-auto-load is non-nil.
12016
12017 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12018
12019 * makefile.w32-in (compile, compile-always): Depend on
12020 update-subdirs, not on subdirs.el. Otherwise, several different
12021 sub-targets of 'bootstrap' running in parallel could
12022 simultaneously write to subdirs.el, producing a garbled file.
12023
12024 2012-06-26 Sam Steingold <sds@gnu.org>
12025
12026 * files.el (file-name-base): New convenience function.
12027 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12028 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12029 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12030 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12031 * textmodes/ispell.el, textmodes/reftex-ref.el:
12032 * textmodes/tex-mode.el: Use it.
12033 Did not touch cedet and org because they are maintained elsewhere.
12034
12035 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12036
12037 * calendar/calendar.el (calendar-exit): Don't try to delete or
12038 iconify last frame. See:
12039 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12040
12041 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12042
12043 * server.el (server-process-filter): Remember dir in the
12044 process's `server-client-directory' properties.
12045
12046 2012-06-24 Chong Yidong <cyd@gnu.org>
12047
12048 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12049 non-tag text.
12050
12051 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12052
12053 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12054
12055 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12056
12057 * help-fns.el (describe-variable): Don't croak when doc is not found.
12058 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12059 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12060 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12061 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12062 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12063 ((lambda ..) ..).
12064 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12065
12066 2012-06-23 Chong Yidong <cyd@gnu.org>
12067
12068 * info.el (Info-mouse-follow-link): Accept symbol values of
12069 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12070 (Info-fontify-node): Use Info-link-keymap for all navigation
12071 buttons, with link-args property to perform the desired action.
12072 (Info-link-keymap): Doc fix.
12073 (Info-next-link-keymap, Info-prev-link-keymap)
12074 (Info-up-link-keymap): Delete now-unused keymaps.
12075
12076 2012-06-23 Chong Yidong <cyd@gnu.org>
12077
12078 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12079
12080 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12081 system abbrevs.
12082
12083 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12084
12085 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12086
12087 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12088 (bug#11719).
12089
12090 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12091 the requote function doesn't work properly (bug#11714).
12092
12093 2012-06-23 Glenn Morris <rgm@gnu.org>
12094
12095 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12096
12097 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12098
12099 Further GV/CL cleanups.
12100 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12101 gv-expander.
12102 (gv--defun-declaration): New function.
12103 (defun-declarations-alist): Use it.
12104 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12105 (gv-place): Autoload.
12106 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12107 original definition of dotimes and dolist.
12108 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12109 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12110 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12111 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12112 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12113 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12114 to the function's definition.
12115 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12116 * window.el:
12117 * files.el:
12118 * faces.el:
12119 * env.el: Don't use CL.
12120
12121 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12122
12123 Support higher-resolution time stamps (Bug#9000).
12124
12125 * calendar/time-date.el (with-decoded-time-value): New arg
12126 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12127 (encode-time-value): New optional arg PICO. New type 3.
12128 (time-to-seconds) [!float-time]: Support the new picoseconds
12129 component if it's used.
12130 (seconds-to-time, time-subtract, time-add):
12131 Support ps-resolution time stamps as well.
12132
12133 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12134 (timerp): Timer vectors now have length 9, not 8.
12135 (timer--time): Support new-style (4-part) time stamps.
12136 (timer-next-integral-multiple-of-time): Time stamps now have
12137 picosecond resolution, so take a bit more care about rounding.
12138 (timer-relative-time, timer-inc-time): New optional arg psecs.
12139 (timer-set-time-with-usecs): Set psecs to 0.
12140 (timer--activate): Check psecs component, too.
12141
12142 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12143
12144 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12145
12146 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12147 Move the non-essential binding to the post/pre-command-hook where it is
12148 more obviously correct.
12149
12150 * subr.el (read-passwd): Don't use a history at all.
12151 * savehist.el (savehist-save): Remove password saved accidentally
12152 because of the above bug.
12153
12154 2012-06-22 Bastien Guerry <bzg@gnu.org>
12155
12156 * files.el (toggle-read-only): Display a message telling whether
12157 the buffer is read-only or not (bug#11726).
12158
12159 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12160
12161 * emacs-lisp/gv.el: New file.
12162 * subr.el (push, pop): Extend to generalized variables.
12163 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12164 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12165 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12166 gv-define-simple-setter, and gv-define-expander.
12167 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12168 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12169 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12170 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12171 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12172 gv-letplace.
12173 (cl-defstruct): Don't define setf-method any more.
12174 * emacs-lisp/cl.el (flet): Don't autoload.
12175 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12176 (define-setf-expander, defsetf, define-modify-macro)
12177 (cl-struct-setf-expander): Move from cl-lib.el.
12178 * emacs-lisp/syntax.el:
12179 * emacs-lisp/ewoc.el:
12180 * emacs-lisp/smie.el:
12181 * emacs-lisp/cconv.el:
12182 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12183 (timer--time): Use gv-define-simple-setter.
12184 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12185 to avoid coding-system problems in subr.el. Adjust all users.
12186 (macroexp--maxsize, macroexp-small-p): New functions.
12187 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12188 * scroll-bar.el (scroll-bar-mode):
12189 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12190 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12191 * winner.el (winner-configuration, winner-make-point-alist)
12192 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12193 * files.el (locate-file-completion-table): Avoid list*.
12194
12195 2012-06-22 Chong Yidong <cyd@gnu.org>
12196
12197 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12198 (dired-create-files): Doc fix (Bug#11329).
12199 (dired-do-copy): Doc fix (Bug#11334).
12200 (dired-mark-read-string): Doc fix (Bug#11553).
12201
12202 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12203 Doc fix (Bug#11326).
12204 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12205 (dired-dwim-target): Doc fix.
12206
12207 * wdired.el (wdired-mode): Doc fix.
12208
12209 2012-06-22 Glenn Morris <rgm@gnu.org>
12210
12211 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12212 (pcmpl-rpm-cache-stamp-file): New constant.
12213 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12214 (pcmpl-rpm-packages): Optionally cache list of packages.
12215
12216 * pcmpl-rpm.el (pcmpl-rpm): New group.
12217 (pcmpl-rpm-query-options): New option.
12218 (pcmpl-rpm-packages): No need to inline it.
12219 Use pcmpl-rpm-query-options.
12220
12221 * calendar/calendar.el (calendar-in-read-only-buffer):
12222 Avoid some needless mode changes.
12223
12224 2012-06-21 Chong Yidong <cyd@gnu.org>
12225
12226 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12227 (desktop-path): Remove . from the default value (Bug#10977).
12228 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12229
12230 2012-06-20 Chong Yidong <cyd@gnu.org>
12231
12232 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12233
12234 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12235
12236 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12237 (bug#11201).
12238
12239 2012-06-20 Chong Yidong <cyd@gnu.org>
12240
12241 * term.el (term-window-width): Handle the case of a missing right
12242 fringe (Bug#8837).
12243 (term-check-size): Use window-text-height (Bug#5445).
12244 (term-mode): Use define-derived-mode. Minor cleanups.
12245 Set font-lock-defaults (Bug#7692).
12246 (term-move-columns, term-insert-char, term-emulate-terminal)
12247 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12248
12249 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12250
12251 * net/ange-ftp.el (ange-ftp-get-passwd):
12252 Bind `enable-recursive-minibuffers'.
12253 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12254
12255 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12256
12257 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12258
12259 2012-06-19 Glenn Morris <rgm@gnu.org>
12260
12261 * progmodes/python.el (python-mode): Derive from prog-mode.
12262
12263 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12264
12265 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12266 (edt-user-menu-bar-update-buffers): New functions.
12267 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12268
12269 2012-06-19 Chong Yidong <cyd@gnu.org>
12270
12271 * subr.el (with-selected-window): Preserve the selected window's
12272 terminal's top-frame (Bug#4702).
12273
12274 * window.el (save-selected-window): Likewise.
12275
12276 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12277
12278 * progmodes/python.el (python-rx-constituents): Move backquote.
12279 (python-skeleton-define, python-define-auxiliary-skeleton):
12280 Use `declare'.
12281
12282 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12283
12284 * minibuffer.el (read-file-name-default): Revert the patch from
12285 2012-06-17.
12286
12287 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12288
12289 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12290 (pcase--u1, pcase--q1): Don't use apply-partially.
12291
12292 2012-06-18 Glenn Morris <rgm@gnu.org>
12293
12294 * progmodes/python.el (python-proc, python-buffer)
12295 (python-send-receive, python-send-string): Fix obsolete versions.
12296
12297 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12298
12299 * window.el (special-display-p): Completely remove stringp
12300 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12301
12302 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12303
12304 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12305
12306 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12307
12308 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12309 * net/tramp-sh.el (tramp-maybe-open-connection):
12310 Throw if `non-essential' is non-nil.
12311
12312 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12313
12314 * window.el (special-display-p): Signal an error if BUFFER-NAME
12315 is not a string (Bug#11713).
12316
12317 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12318
12319 * progmodes/python.el (python-info-beginning-of-backslash):
12320 Rename from python-info-beginning-of-backlash, as a spelling fix.
12321
12322 2012-06-17 Chong Yidong <cyd@gnu.org>
12323
12324 * term.el (term-emulate-terminal): If term-check-size is called,
12325 move point to the process mark without resetting point (Bug#4635).
12326
12327 2012-06-17 Glenn Morris <rgm@gnu.org>
12328
12329 * international/mule-cmds.el (mule-menu-keymap)
12330 (set-language-environment, set-locale-environment): Doc tweaks.
12331
12332 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12333
12334 * cus-face.el (custom-face-attributes): Add wave-style underline
12335 attribute.
12336 * faces.el (set-face-attribute): Update docstring to describe
12337 wave-style underline attribute.
12338
12339 2012-06-16 Chong Yidong <cyd@gnu.org>
12340
12341 * term/xterm.el (terminal-init-xterm): Discard input before
12342 querying background mode (Bug#10959).
12343
12344 2012-06-16 Stefan Merten <smerten@oekonux.de>
12345
12346 * textmodes/rst.el: Added and corrected some comments.
12347 (rst-re-alist-def): Improve symbol syntax.
12348 (rst-mode-syntax-table): Correct syntax entries.
12349 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12350 (rst-official-version, rst-official-cvs-rev): Update version
12351 information.
12352
12353 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12354
12355 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12356 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12357
12358 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12359
12360 * progmodes/python.el: New python.el merge.
12361 (python-guess-indent): Obsolete var.
12362 (python-indent-guess-indent-offset): New defcustom.
12363 (python-indent): Obsolete var.
12364 (python-indent-offset): New defcustom.
12365 (python-python-command, python-jython-command): Delete var.
12366 (python-shell-interpreter): New defcustom.
12367 (python-pdbtrack-do-tracking-p): Delete var.
12368 (python-pdbtrack-activate): New defcustom.
12369 (python-use-skeletons): Obsolete var.
12370 (python-skeleton-autoinsert): New defcustom.
12371 (inferior-python-filter-regexp, python-continuation-offset)
12372 (python-honour-comment-indentation, python-indent-string-contents)
12373 (python-jython-packages, python-mode-hook)
12374 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12375 (python-shell-prompt-alist)
12376 (python-source-modes): Delete defcustoms.
12377 (python-check-buffer-name, python-eldoc-setup-code)
12378 (python-eldoc-string-code, python-ffap-setup-code)
12379 (python-ffap-string-code, python-fill-comment-function)
12380 (python-fill-decorator-function, python-fill-paren-function)
12381 (python-fill-string-function, python-imenu-include-defun-type)
12382 (python-imenu-make-tree, python-imenu-subtree-root-label)
12383 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12384 (python-shell-compilation-regexp-alist)
12385 (python-shell-completion-module-string-code)
12386 (python-shell-completion-pdb-string-code)
12387 (python-shell-completion-setup-code)
12388 (python-shell-completion-string-code)
12389 (python-shell-enable-font-lock, python-shell-exec-path)
12390 (python-shell-extra-pythonpaths)
12391 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12392 (python-shell-process-environment)
12393 (python-shell-prompt-block-regexp)
12394 (python-shell-prompt-output-regexp)
12395 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12396 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12397 (python-shell-virtualenv-path): New defcustoms.
12398 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12399 (inferior-python-mode-syntax-table, python--prompt-regexp)
12400 (python-buffer, python-command python-python-command)
12401 (python-default-template, python-imports, python-indent-index)
12402 (python-indent-list, python-indent-list-length)
12403 (python-mode-running, python-pdbtrack-is-tracking-p)
12404 (python-preoutput-continuation, python-preoutput-leftover)
12405 (python-preoutput-result, python-preoutput-skip-next-prompt)
12406 (python-prev-dir/file, python-recursing)
12407 (python-saved-check-command, python-version-checked)
12408 (python-which-func-length-limit)
12409 (view-return-to-alist): Delete vars.
12410 (python-check-custom-command, python-dotty-syntax-table)
12411 (python-imenu-index-alist, python-indent-current-level)
12412 (python-indent-dedenters, python-indent-levels)
12413 (python-nav-beginning-of-defun-regexp)
12414 (python-nav-list-defun-positions-cache)
12415 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12416 (python-shell-internal-buffer)
12417 (python-skeleton-available): New vars.
12418 (def-python-skeleton): Delete macro.
12419 (python-skeleton-define): New macro.
12420 (python-define-auxiliary-skeleton, python-rx): New macros.
12421 (python-insert-class): Delete command.
12422 (python-skeleton-class): New command.
12423 (python-insert-def): Delete command.
12424 (python-skeleton-def): New command.
12425 (python-insert-for): Delete command.
12426 (python-skeleton-for): New command.
12427 (python-insert-if): Delete command.
12428 (python-skeleton-if): New command.
12429 (python-insert-try/except, python-insert-try/finally): Delete commands.
12430 (python-skeleton-try): New command.
12431 (python-insert-while): Delete command.
12432 (python-skeleton-while): New command.
12433 (python-backspace): Delete command.
12434 (python-indent-dedent-line-backspace): New command.
12435 (python-electric-colon): Delete command.
12436 (python-indent-electric-colon): New command.
12437 (python-guess-indent): Delete command.
12438 (python-indent-guess-indent-offset): New command.
12439 (python-shift-left): Delete command.
12440 (python-indent-shift-left): New command.
12441 (python-shift-right): Delete command.
12442 (python-indent-shift-right): New command.
12443 (python-find-function): Delete command.
12444 (python-nav-jump-to-defun): New command.
12445 (python-next-statement): Delete command.
12446 (python-nav-forward-sentence): New command.
12447 (python-previous-statement): Delete command.
12448 (python-nav-backward-sentence): New command.
12449 (python-fill-paragraph): Delete command.
12450 (python-fill-paragraph-function): New command.
12451 (python-send-buffer): Delete command.
12452 (python-shell-send-buffer): New command.
12453 (python-send-defun): Delete command.
12454 (python-shell-send-defun): New command.
12455 (python-send-region, python-send-region-and-go): Delete commands.
12456 (python-shell-send-region)
12457 (python-shell-switch-to-shell): New commands.
12458 (python-send-string): Delete command.
12459 (python-shell-send-string): New command.
12460 (python-switch-to-python): Delete command.
12461 (python-shell-switch-to-shell): New command.
12462 (python-describe-symbol): Delete command.
12463 (python-eldoc-at-point): New command.
12464 (python--set-prompt-regexp, python-args-to-list)
12465 (python-after-info-look, python-check-version)
12466 (python-check-comint-prompt, python-find-imports)
12467 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12468 (python-unload-function, python-expand-template)
12469 (python-maybe-jython, python-preoutput-filter)
12470 (python-pdbtrack-get-source-buffer)
12471 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12472 (python-pdbtrack-toggle-stack-tracking)
12473 (python-pdbtrack-track-stack-file, python-initial-text)
12474 (python-first-word, python-comment-line-p, python-send-command)
12475 (python-setup-brm, python-sentinel, python-set-proc)
12476 (python-skip-out, python-input-filter, python-outdent-p)
12477 (python-outline-level, python-backslash-continuation-line-p)
12478 (python-end-of-block, python-end-of-statement, python-mark-block)
12479 (python-beginning-of-block, python-beginning-of-statement)
12480 (python-blank-line-p, python-beginning-of-string)
12481 (python-open-block-statement-p): Delete functions.
12482 (python-indent-line, python-indent-line-1): Delete functions.
12483 (python-indent-line): New function.
12484 (python-indentation-levels): Delete function.
12485 (python-indent-calculate-levels): New function.
12486 (python-proc): Delete function.
12487 (python-shell-get-process): New function.
12488 (python-send-receive): Delete function.
12489 (python-shell-send-string-no-output): New function.
12490 (python-module-path): Delete function.
12491 (python-ffap-module-path): New function.
12492 (python-completion-at-point)
12493 (python-symbol-completions): Delete functions.
12494 (python-completion-complete-at-point): New function.
12495 (python-load-file): Delete function.
12496 (python-shell-send-file): New function.
12497 (python-calculate-indentation): Delete function.
12498 (python-indent-calculate-indentation): New function.
12499 (python-skip-comments/blanks): Delete function.
12500 (python-util-forward-comment): New function.
12501 (python-continuation-line-p): Delete function.
12502 (python-info-continuation-line-p): New function.
12503 (python-which-func, python-current-defun): Delete function.
12504 (python-info-current-defun): New function.
12505 (python-beginning-of-defun): Delete function.
12506 (python-nav-beginning-of-defun): New function.
12507 (python-close-block-statement-p)
12508 (python-block-end-p): Delete function.
12509 (python-info-closing-block): New function.
12510 (python-comint-output-filter-function)
12511 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12512 (python-fill-comment, python-fill-decorator, python-fill-paren)
12513 (python-fill-string, python-imenu-make-element-tree)
12514 (python-imenu-make-tree, python-imenu-tree-assoc)
12515 (python-indent-context, python-indent-dedent-line)
12516 (python-indent-line-function)
12517 (python-indent-post-self-insert-function)
12518 (python-indent-toggle-levels)
12519 (python-info-assignment-continuation-line-p)
12520 (python-info-beginning-of-backlash)
12521 (python-info-block-continuation-line-p)
12522 (python-info-closing-block-message)
12523 (python-info-line-ends-backslash-p)
12524 (python-info-looking-at-beginning-of-defun)
12525 (python-info-ppss-context, python-info-ppss-context-type)
12526 (python-nav-list-defun-positions, python-nav-read-defun)
12527 (python-nav-sentence-end, python-nav-sentence-start)
12528 (python-pdbtrack-comint-output-filter-function)
12529 (python-pdbtrack-set-tracked-buffer)
12530 (python-shell-calculate-exec-path)
12531 (python-shell-calculate-process-environment)
12532 (python-shell-completion--do-completion-at-point)
12533 (python-shell-completion--get-completions)
12534 (python-shell-completion-complete-at-point)
12535 (python-shell-completion-complete-or-indent)
12536 (python-shell-get-or-create-process)
12537 (python-shell-get-process-name)
12538 (python-shell-internal-get-or-create-process)
12539 (python-shell-internal-get-process-name)
12540 (python-shell-internal-send-string, python-shell-make-comint)
12541 (python-shell-parse-command, python-shell-send-setup-code)
12542 (python-skeleton-add-menu-items)
12543 (python-util-clone-local-variables, python-util-position)
12544 (run-python-internal, python-indentation-levels)
12545 (python-nav-beginning-of-defun)
12546 (python-completion-complete-at-point): New functions.
12547 (run-python): Change arguments. New API requirements.
12548
12549 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12550
12551 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12552 (bug#11649).
12553
12554 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12555 (macroexp--expand-all): Use it.
12556
12557 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12558 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12559 Use `cl-function' instead.
12560
12561 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12562
12563 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12564 Suggested by Stefan Monnier while discussing bug#11657.
12565
12566 2012-06-14 Sam Steingold <sds@gnu.org>
12567
12568 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12569
12570 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12571
12572 * play/doctor.el (doctor-doc): Remove parameter and use
12573 doctor-sent instead of sent.
12574 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12575
12576 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12577
12578 * files.el: Require cl-lib.
12579 (file-name-non-special): Replace case -> cl-case.
12580
12581 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12582
12583 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12584 mapping from #' to function*.
12585
12586 2012-06-13 Chong Yidong <cyd@gnu.org>
12587
12588 * mouse.el (mouse-drag-track): Do not set the mark if the user
12589 releases the mouse without selecting anything (Bug#11588).
12590
12591 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12592
12593 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12594 as well (bug#11646).
12595
12596 * loadup.el: Count byte-code functions as well.
12597
12598 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12599 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12600
12601 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12602 (bug#11649). Add cl-defun and cl-defmacro.
12603
12604 2012-06-13 Drew Adams <drew.adams@oracle.com>
12605
12606 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12607 Fix last change.
12608
12609 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12610
12611 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12612 Otherwise, it blocks in batch mode.
12613
12614 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12615
12616 * help-mode.el (bookmark-make-record-default): Declare.
12617
12618 2012-06-13 Chong Yidong <cyd@gnu.org>
12619
12620 * emacs-lisp/package.el (list-packages): Compute a list of
12621 packages that are newly-available since the last list-packages
12622 invocation.
12623 (package-menu--new-package-list): New var.
12624 (package-menu--generate, package-menu--print-info)
12625 (package-menu--status-predicate, package-menu-mark-install):
12626 Handle new status label "new".
12627
12628 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12629
12630 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12631 conversion to backquotes.
12632
12633 2012-06-12 Chong Yidong <cyd@gnu.org>
12634
12635 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12636 Rename from gud-inhibit-global-bindings.
12637
12638 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12639
12640 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12641 hook from nxml-glyph-set-hook.
12642
12643 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12644 declaration.
12645
12646 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12647
12648 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12649 Convert to defcustom.
12650
12651 2012-06-12 Drew Adams <drew.adams@oracle.com>
12652
12653 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12654 New functions.
12655 (help-mode): Use them.
12656
12657 2012-06-11 Glenn Morris <rgm@gnu.org>
12658
12659 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12660 Use preprocessor face for directives.
12661 (fortran-directive-re): Doc fix.
12662
12663 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12664
12665 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12666 conversion to backquotes (bug#11652).
12667
12668 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12669 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12670 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12671 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12672 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12673 (cl-ninth, cl-tenth): Mark them as inlinable.
12674 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12675 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12676 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12677 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12678 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12679 (cl-list*, cl-adjoin): Don't put an autoload manually.
12680 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12681 (cl--compiler-macro-list*): Add autoload cookie.
12682 (cl--compiler-macro-cXXr): New function.
12683
12684 * help-fns.el (help-fns--compiler-macro): New function extracted from
12685 describe-function-1; follow aliases and use `compiler-macro' property.
12686 (describe-function-1): Use it.
12687
12688 2012-06-11 Chong Yidong <cyd@gnu.org>
12689
12690 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12691 is uninstalled, if imagemagick is installed.
12692
12693 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12694
12695 * emacs-lisp/cl-lib.el: Use lexical-binding.
12696 (cl-map-extents, cl-maclisp-member): Remove.
12697 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12698 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12699 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12700 * emacs-lisp/cl-extra.el: Use lexical-binding.
12701 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12702 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12703 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12704 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12705 * emacs-lisp/cl-seq.el: Use lexical-binding.
12706 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12707 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12708 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12709 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12710 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12711 CL's internals.
12712
12713 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12714
12715 Sync with Tramp 2.2.6-pre.
12716
12717 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12718 `print-length' and `print-level' to nil, in order to avoid
12719 truncation. Reported by Christopher Schmidt
12720 <christopher@ristopher.com>.
12721
12722 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12723
12724 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12725 New defmacro.
12726 (tramp-compat-copy-directory): Add optional argument
12727 COPY-CONTENTS. It is not handled yet.
12728
12729 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12730 (tramp-ftp-file-name-p): Simplify.
12731
12732 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12733 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12734 connection vector.
12735
12736 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12737 (tramp-methods): Do not use `tramp-password-end-of-line'.
12738 (tramp-completion-function-alist-putty): Handle UNIX case.
12739 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12740 (tramp-do-file-attributes-with-stat)
12741 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12742 gid as real numbers. They could run out of integer range on cygwin.
12743 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12744 (tramp-sh-handle-expand-file-name): Handle hops.
12745 (tramp-open-connection-setup-interactive-shell):
12746 Use `tramp-cleanup'. Move check for busyboxes ...
12747 (tramp-find-shell): ... here. Simplify implementation.
12748 Set "remote-shell" property also for alternative shells.
12749 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12750 If failing, a regular file would be written otherwise.
12751 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12752 (tramp-find-inline-encoding): Cache the coding commands in the
12753 process cache. Apply test command on the remote side, if defined.
12754 (tramp-find-inline-compress): Cache the compress commands in the
12755 process cache.
12756 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12757 when requested. Handle hops.
12758 (tramp-current-connection): New defvar.
12759 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12760 Throw `suppress', if there was a failed connection shortly before.
12761 Handle user interrupt. (Bug#10187)
12762 (tramp-get-inline-compress, tramp-get-inline-coding):
12763 Read connection properties from the process cache.
12764
12765 * net/tramp-smb.el (tramp-smb-server-version)
12766 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12767 New defconsts.
12768 (tramp-smb-prompt): Extend for powershell prompt.
12769 (tramp-smb-file-name-handler-alist): Add handlers for
12770 `process-file', `shell-command' and `start-file-process'.
12771 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12772 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12773 (tramp-smb-file-name-p): Simplify.
12774 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12775 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12776 (tramp-smb-shell-quote-argument): New defuns.
12777 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12778 Implement using "tar". By this, time-stamps are preserved.
12779 (tramp-smb-handle-copy-file): Handle also the case of directories.
12780 (tramp-smb-do-file-attributes-with-stat)
12781 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12782 Use `tramp-get-connection-buffer').
12783 (tramp-smb-handle-rename-file): Use "rename", when source and
12784 target are on the same share.
12785 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12786 Use `tramp-smb-server-version'.
12787 (tramp-smb-wait-for-output): Remove prompt.
12788
12789 * net/tramp.el (top): Require 'cl.
12790 (tramp-methods, tramp-rsh-end-of-line):
12791 Remove `tramp-password-end-of-line' from docstring.
12792 (tramp-save-ad-hoc-proxies): New defcustom.
12793 (tramp-completion-function-alist): Adapt docstring.
12794 (tramp-default-password-end-of-line): Remove defcustom.
12795 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12796 (tramp-user-regexp, tramp-file-name-regexp-unified)
12797 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12798 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12799 (tramp-remote-file-name-spec-regexp): New defconst.
12800 (tramp-file-name-structure): Extend structure for hops.
12801 (tramp-get-method-parameter): Move up.
12802 (tramp-file-name-p, tramp-dissect-file-name)
12803 (with-parsed-tramp-file-name): Handle hops.
12804 (tramp-file-name-hop): New defun.
12805 (tramp-make-tramp-file-name): New optional arg HOP.
12806 (tramp-message-show-progress-reporter-message): New defvar.
12807 (tramp-with-progress-reporter): Use it. We cannot use
12808 `tramp-message-show-message' here, because this suppresses also
12809 error buffers.
12810 (tramp-error-with-buffer): Suppress buffer view, if
12811 `tramp-message-show-message' is nil.
12812 Use `tramp-get-connection-buffer'.
12813 (tramp-cleanup): New defun.
12814 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12815 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12816 an error unchanged.
12817 (tramp-completion-handle-file-name-all-completions): Handle hops.
12818 Fix an error when called from ido.
12819 (tramp-completion-dissect-file-name): Use better local variable
12820 name. Add hop to the vector.
12821 (tramp-handle-insert-file-contents): Use progress-reporter for the
12822 whole scenario.
12823 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12824 to `t'.
12825 (tramp-check-for-regexp): Simplify search.
12826 (tramp-enter-password): Remove it. Move implementation ...
12827 (tramp-action-password): ... here.
12828 (tramp-mode-string-to-int, tramp-local-host-p)
12829 (tramp-make-tramp-temp-file, tramp-read-passwd)
12830 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12831 Set tramp-autoload cookie.
12832
12833 * net/trampver.el: Update release number.
12834
12835 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12836 Michael Albinus <michael.albinus@gmx.de>
12837
12838 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12839 (tramp-parse-group, tramp-parse-file)
12840 (tramp-parse-shostkeys-sknownhosts): New defuns.
12841 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12842 (tramp-parse-shosts-group, tramp-parse-sconfig)
12843 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12844 (tramp-parse-sknownhosts, tramp-parse-hosts)
12845 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12846 Use them.
12847 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12848 (tramp-parse-putty-group): Don't narrow.
12849 (tramp-parse-putty): Make a loop.
12850 (tramp-file-name-handler): Catch the `suppress' signal.
12851
12852 2012-06-11 Chong Yidong <cyd@gnu.org>
12853
12854 * image.el (imagemagick-register-types): Put the ImageMagick entry
12855 at the end of image-type-file-name-regexps.
12856
12857 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12858
12859 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12860 (pcase, pcase-let*, pcase-dolist): Use them.
12861
12862 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12863
12864 * emacs-lisp/pcase.el (pcase--let*): New function.
12865 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12866 (pcase--expand): Use macroexp-let².
12867
12868 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12869
12870 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12871 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12872 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12873 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12874 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12875 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12876
12877 2012-06-10 Glenn Morris <rgm@gnu.org>
12878
12879 * mail/rmail.el (rmail-yank-current-message): Leave point at
12880 correct position. (Bug#11660)
12881
12882 2012-06-10 Chong Yidong <cyd@gnu.org>
12883
12884 * allout-widgets.el: Fix code header.
12885
12886 2012-06-10 Chong Yidong <cyd@gnu.org>
12887
12888 * cus-edit.el (customize-changed-options-previous-release):
12889 Bump to 24.1.
12890
12891 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12892
12893 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12894
12895 2012-06-09 Chong Yidong <cyd@gnu.org>
12896
12897 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12898
12899 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12900
12901 * window.el (special-display-popup-frame): Don't use
12902 window--display-buffer (Bug#11651).
12903
12904 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12905
12906 Fix parallel builds: make sure loaddefs.el is not being written
12907 while Lisp files are compiled.
12908 (compile): Don't depend on 'mh-autoloads'.
12909 (compile-CMD, compile-SH): Depend on 'autoloads'.
12910 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12911
12912 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12913
12914 2012-06-09 Chong Yidong <cyd@gnu.org>
12915
12916 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12917 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12918 Doc fixes (Bug#11225).
12919
12920 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12921
12922 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12923 a function if there's a clear indication that it has a compiler-macro.
12924 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12925 (macro-declarations-alist): Add arglist to declaration functions.
12926 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12927 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12928 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12929 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12930 Also add autoload to find the compiler macro.
12931 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12932 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12933 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12934 (cl--compiler-macro-get): New functions, replacing calls to
12935 cl-define-compiler-macro.
12936 (cl-typep) [compiler-macro]: Use macroexp-let².
12937
12938 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12939
12940 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12941 string properly, fixes Bug#11473.
12942
12943 2012-06-08 Chong Yidong <cyd@gnu.org>
12944
12945 * faces.el (set-face-attribute): Doc fix.
12946 (modify-face): Don't use :bold and :italic.
12947 (error, warning, success): Tweak definitions.
12948
12949 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12950 (custom-modified, custom-set, custom-changed, custom-themed)
12951 (custom-saved, custom-button, custom-button-mouse)
12952 (custom-button-pressed, custom-state, custom-comment-tag)
12953 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12954 (custom-group-subtitle): Use new-style face specs.
12955 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12956 (custom-set-face, custom-changed-face, custom-saved-face)
12957 (custom-button-face, custom-button-pressed-face)
12958 (custom-documentation-face, custom-state-face)
12959 (custom-comment-face, custom-comment-tag-face)
12960 (custom-variable-tag-face, custom-variable-button-face)
12961 (custom-face-tag-face, custom-group-tag-face-1)
12962 (custom-group-tag-face): Remove obsolete face alias.
12963
12964 * epa.el (epa-validity-high, epa-validity-medium)
12965 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12966 (epa-field-name, epa-field-body):
12967 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12968 (font-lock-keyword-face, font-lock-builtin-face)
12969 (font-lock-function-name-face, font-lock-variable-name-face)
12970 (font-lock-type-face, font-lock-constant-face):
12971 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12972 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12973 * speedbar.el (speedbar-button-face, speedbar-file-face)
12974 (speedbar-directory-face, speedbar-tag-face)
12975 (speedbar-selected-face, speedbar-highlight-face)
12976 (speedbar-separator-face):
12977 * whitespace.el (whitespace-newline, whitespace-space)
12978 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12979 (whitespace-line, whitespace-space-before-tab)
12980 (whitespace-space-after-tab, whitespace-indentation)
12981 (whitespace-empty):
12982 * emulation/cua-base.el (cua-global-mark):
12983 * eshell/em-prompt.el (eshell-prompt):
12984 * net/newst-plainview.el (newsticker-new-item-face)
12985 (newsticker-old-item-face, newsticker-immortal-item-face)
12986 (newsticker-obsolete-item-face, newsticker-date-face)
12987 (newsticker-statistics-face, newsticker-default-face):
12988 * net/newst-reader.el (newsticker-feed-face)
12989 (newsticker-extra-face, newsticker-enclosure-face):
12990 * net/newst-treeview.el (newsticker-treeview-face)
12991 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12992 (newsticker-treeview-immortal-face)
12993 (newsticker-treeview-obsolete-face)
12994 (newsticker-treeview-selection-face):
12995 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12996 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12997 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12998 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12999 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13000 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13001 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13002 (mpuz-text):
13003 * progmodes/vera-mode.el (vera-font-lock-number)
13004 (vera-font-lock-function, vera-font-lock-interface):
13005 * textmodes/table.el (table-cell): Use new-style face specs, and
13006 don't use the old :bold and :italic attributes.
13007
13008 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13009 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13010 (ebrowse-member-class, ebrowse-progress): Likewise.
13011 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13012 (ebrowse-file-name-face, ebrowse-default-face)
13013 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13014 (ebrowse-progress-face): Remove obsolete faces.
13015
13016 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13017 Inherit from error and warning faces respectively.
13018
13019 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13020 Likewise.
13021 (flyspell-incorrect-face, flyspell-duplicate-face):
13022 Remove obsolete aliases.
13023
13024 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13025
13026 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13027 Avoid infloop.
13028
13029 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13030
13031 * startup.el (argv, argi): Make lexically scoped.
13032 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13033 * emacs-lisp/cl-macs.el: Use lexical-binding.
13034 Rename cl-bind-* to cl--bind-*.
13035 * files.el: Don't require `cl' since it doesn't use it.
13036 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13037
13038 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13039
13040 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13041 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13042 instead of calling external sort utility.
13043 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13044
13045 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13046
13047 * descr-text.el (describe-char): Mention how to insert the
13048 character, if the current input method doesn't support it.
13049 See the discussion in this thread for the details:
13050 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13051
13052 2012-06-08 Sam Steingold <sds@gnu.org>
13053
13054 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13055 XF86Back to previous-buffer.
13056 (minibuffer-local-map): Bind them to next-history-element and
13057 previous-history-element respectively.
13058 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13059 help-go-back respectively.
13060 * info.el (Info-mode-map): Bind them to Info-history-forward and
13061 Info-history-back respectively.
13062 These are the keys next to Up on the ThinkPad keyboard.
13063
13064 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13065
13066 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13067 * emacs-lisp/cl-macs.el: Provide itself.
13068 (cl--labels-convert-cache): New var.
13069 (cl--labels-convert): New function.
13070 (cl-flet, cl-labels): New implementation with new semantics, relying on
13071 lexical-binding.
13072 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13073 (cl-closure-vars, cl--function-convert-cache)
13074 (cl--function-convert): Move from cl-macs.el.
13075 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13076 rename by removing the "cl-" prefix.
13077 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13078
13079 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13080
13081 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13082 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13083 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13084 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13085 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13086 (cl-hash-table-count): Add old compatibility aliases.
13087
13088 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13089 Use macroexpand-all-environment instead.
13090 (cl--old-macroexpand): New var.
13091 (cl--sm-macroexpand): New function.
13092 (cl-symbol-macrolet): Use it during macro expansion.
13093 (cl--function-convert-cache): New var.
13094 (cl--function-convert): New function, extracted from
13095 cl-macroexpand-all.
13096 (cl-lexical-let): Use it.
13097
13098 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13099 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13100 (cl-member): Remove old alias.
13101
13102 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13103 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13104 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13105 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13106 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13107 (cl-macroexpand-cmacs): Remove var.
13108 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13109 Use macroexpand-all instead.
13110
13111 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13112
13113 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13114 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13115 (macroexp-copyable-p): New functions and macros.
13116 * emacs-lisp/edebug.el (edebug-unwrap):
13117 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13118 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13119 (pcase--let*): Remove.
13120 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13121 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13122 macroexp-const-p instead.
13123 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13124
13125 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13126 instead of "cl-" for internal definitions. Use macroexp-const-p.
13127 (cl-old-bc-file-form): Remove var.
13128 (cl-const-exprs-p): Remove fun.
13129 (cl-labels, cl-macrolet): Use backquote.
13130 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13131 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13132 (cl-define-setf-expander): Rename from cl-define-setf-method.
13133 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13134
13135 * international/mule-cmds.el: Don't require CL.
13136 (view-hello-file): Don't use `letf'.
13137
13138 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13139
13140 * tmm.el (tmm-prompt): Use string-prefix-p.
13141 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13142 (tmm-add-prompt): Use minibuffer-completion-help.
13143 (tmm-delete-map): Remove.
13144
13145 * subr.el (kbd): Make it its own function.
13146
13147 2012-06-07 Stefan Merten <smerten@oekonux.de>
13148
13149 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13150 Silence compiler warnings. Fix versions.
13151 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13152 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13153 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13154 (rst-package-emacs-version-alist): Correct Emacs version to
13155 represent major merge with upstream.
13156 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13157
13158 2012-06-06 Glenn Morris <rgm@gnu.org>
13159
13160 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13161 Only print environment variables if set.
13162
13163 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13164
13165 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13166 (macroexp--cons): Rename from maybe-cons.
13167 (macroexp--accumulate): Rename from macroexp-accumulate.
13168 (macroexp--all-forms): Rename from macroexpand-all-forms.
13169 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13170 (macroexp--expand-all): Rename from macroexpand-all-1.
13171
13172 2012-06-06 Sam Steingold <sds@gnu.org>
13173
13174 * calendar/calendar.el (calendar-in-read-only-buffer):
13175 Call `special-mode' to enable the standard read-only keybindings.
13176
13177 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13178
13179 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13180 with "loading" messages (bug#11635).
13181
13182 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13183
13184 * files.el (enable-remote-dir-locals): New option.
13185 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13186
13187 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13188 Ensure, that the temp directory is local.
13189
13190 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13191 `temporary-file-directory'.
13192
13193 * progmodes/python.el (python-send-region): Ensure, that the
13194 temporary file is created also in the remote case.
13195
13196 2012-06-06 Glenn Morris <rgm@gnu.org>
13197
13198 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13199 (vc-rcs-update-changelog): Use it.
13200
13201 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13202
13203 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13204 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13205 (vc-sccs-diff): Replace use of the external vcdiff script.
13206
13207 2012-06-05 Glenn Morris <rgm@gnu.org>
13208
13209 * ledit.el: Move to obsolete/.
13210
13211 2012-06-05 Sam Steingold <sds@gnu.org>
13212
13213 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13214 patch (Bug#11140).
13215
13216 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13217
13218 * emacs-lisp/cust-print.el: Move to obsolete.
13219
13220 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13221 compiler-macro expansion.
13222
13223 Add native compiler-macro support.
13224 * emacs-lisp/macroexp.el (macroexpand-all-1):
13225 Support compiler-macros directly. Properly follow aliases and apply
13226 the compiler macros more thoroughly.
13227 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13228 macroexpand now properly follows aliases.
13229 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13230 (cl-compiler-macroexpand): Use new prop.
13231 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13232
13233 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13234
13235 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13236
13237 * window.el (get-lru-window, get-mru-window, get-largest-window):
13238 New argument NOT-SELECTED to avoid picking the selected window.
13239 (window--display-buffer-1, window--display-buffer-2): Replace by
13240 new function window--display-buffer
13241 (display-buffer-same-window, display-buffer-reuse-window)
13242 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13243 Use window--display-buffer.
13244 (display-buffer-use-some-window): Remove temporary dedication
13245 hack by calling get-lru-window and get-largest-window with
13246 NOT-SELECTED argument non-nil. Call window--display-buffer.
13247
13248 2012-06-05 Glenn Morris <rgm@gnu.org>
13249
13250 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13251 Replace external vcdiff script.
13252
13253 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13254
13255 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13256
13257 2012-06-04 Chong Yidong <cyd@gnu.org>
13258
13259 * image.el (imagemagick-types-inhibit): Revert last change.
13260 Add INFO and M.
13261 (imagemagick-enabled-types): Remove CIN and EPS*.
13262
13263 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13264
13265 * emacs-lisp/cl-lib.el: Rename from cl.el.
13266 * emacs-lisp/cl.el: New compatibility file.
13267 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13268 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13269 to obey the "cl-" prefix.
13270 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13271
13272 2012-06-03 Glenn Morris <rgm@gnu.org>
13273
13274 * emacs-lisp/authors.el (authors-aliases): Addition.
13275
13276 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13277 Fix :version.
13278
13279 2012-06-03 Stefan Merten <smerten@oekonux.de>
13280
13281 * textmodes/rst.el: Add comments.
13282 (rst-transition, rst-adornment): New faces.
13283 (rst-adornment-faces-alist): Make default safe to reevaluate.
13284 Fixes
13285 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13286 Improve customization tags.
13287 (rst-define-level-faces): Clarify meaning.
13288
13289 2012-06-03 Chong Yidong <cyd@gnu.org>
13290
13291 * progmodes/compile.el (compilation-mode-line-fail)
13292 (compilation-mode-line-run, compilation-mode-line-exit):
13293 New faces.
13294 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13295
13296 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13297
13298 * progmodes/which-func.el (which-func-update-ediff-windows):
13299 New function. Use it in ediff-select-hook (Bug#11478).
13300
13301 2012-06-03 Chong Yidong <cyd@gnu.org>
13302
13303 * bindings.el: Remove explicit help text from format-mode-line.
13304 It is now supplied by mode-line-default-help-echo.
13305 (mode-line-front-space, mode-line-end-spaces)
13306 (mode-line-misc-info): New variables.
13307 (mode-line-modes, mode-line-position): Move the default value to
13308 the variable definition.
13309 (mode-line-default-help-echo): New defcustom.
13310 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13311 (mode-line-modified-help-echo): New functions.
13312 (mode-line-mule-info, mode-line-modified): Use them.
13313 (mode-line-eol-desc, propertized-buffer-identification):
13314 Consistency fixes for help text.
13315 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13316 set-buffer-file-coding-system (Bug#289).
13317 (mode-line-mule-info-help-echo): Update help text.
13318
13319 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13320
13321 * simple.el (execute-extended-command): Set real-this-command
13322 (bug#11506).
13323
13324 2012-06-02 Chong Yidong <cyd@gnu.org>
13325
13326 Remove incorrect uses of "modeline" in comments, docstrings, and
13327 function/variable names (Bug#10329).
13328
13329 * cus-edit.el (mode-line):
13330 * dframe.el (dframe-mouse-hscroll):
13331 * emacs-lisp/re-builder.el:
13332 * emacs-lisp/easy-mmode.el (define-minor-mode):
13333 * frame.el (set-frame-name):
13334 * help.el (lookup-minor-mode-from-indicator):
13335 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13336 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13337 (c-toggle-hungry-state):
13338 * progmodes/antlr-mode.el (antlr-language-alist):
13339 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13340 * progmodes/vhdl-mode.el (vhdl-mode):
13341 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13342 * term/ns-win.el (ns-face-at-pos):
13343 * term/sup-mouse.el (sup-mouse-report):
13344 * textmodes/flyspell.el (flyspell-mode-line-string):
13345 * textmodes/ispell.el (ispell-highlight-face):
13346 * textmodes/reftex-global.el:
13347 * vc/vc-arch.el (vc-arch-mode-line-string):
13348 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13349 * vc/vc-git.el (vc-git-mode-line-string):
13350 * vc/vc-hooks.el (vc-display-status)
13351 (vc-default-mode-line-string):
13352 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13353
13354 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13355
13356 * dired.el (dired-sort-set-mode-line): Rename from
13357 dired-sort-set-modeline. All callers changed.
13358
13359 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13360 eshell-status-in-modeline.
13361
13362 * foldout.el (foldout-mode-line-string): Rename from
13363 foldout-modeline-string. All callers changed.
13364 (foldout-update-mode-line): Rename from foldout-update-modeline.
13365
13366 * subr.el (redraw-modeline): Make into obsolete alias.
13367
13368 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13369 timeclock-modeline-display. Make old name an alias.
13370 (timeclock-update-mode-line): Likewise. All callers changed.
13371 (timeclock-mode-line-display): No need to check before using
13372 add-hook.
13373 (timeclock-relative, timeclock-day-over-hook)
13374 (timeclock-use-elapsed, timeclock-mode-string)
13375 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13376
13377 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13378 crisp-mode-modeline-string.
13379
13380 * play/solitaire.el (solitaire-build-mode-line): Rename from
13381 solitaire-build-modeline. All callers changed.
13382
13383 * play/zone.el (zone-hiding-mode-line): Rename from
13384 zone-hiding-modeline. All callers changed.
13385 (zone): Remove unusued `modeline-hidden-level' property.
13386
13387 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13388 xscheme-modeline-initialize. All callers changed.
13389
13390 * strokes.el (strokes-lighter): Rename from
13391 strokes-modeline-string.
13392
13393 * textmodes/sgml-mode.el (html-face-tag-alist)
13394 (html-tag-face-alist): Use mode-line face instead of obsolete
13395 alias modeline.
13396
13397 2012-06-02 Stefan Merten <smerten@oekonux.de>
13398
13399 * textmodes/rst.el: Always require `cl'.
13400 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13401
13402 2012-06-02 Chong Yidong <cyd@gnu.org>
13403
13404 * image.el (imagemagick-enabled-types): Rename from
13405 imagemagick-types-enable. Add many more types.
13406 (imagemagick-types-inhibit): Change default to nil.
13407 (imagemagick-filter-types): Caller changed.
13408
13409 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13410
13411 * emacs-lisp/cl-macs.el: Use backquotes.
13412 (cl-transform-function-property): Use eval-and-compile rather than
13413 abusing `require'.
13414 (defstruct): Use declare-function instead of with-no-warnings.
13415
13416 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13417 (byte-compile-output-docform): Re-add the print-circle bindings.
13418 (byte-compile-fix-header): Use #$ just because it's shorter.
13419 (byte-compile-output-file-form): Remove defun/defmacro.
13420
13421 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13422
13423 * simple.el (choose-completion): Remove now obsolete binding for
13424 owindow.
13425
13426 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13427
13428 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13429 in order to avoid "Stack overflow in regexp matcher".
13430
13431 2012-05-31 Glenn Morris <rgm@gnu.org>
13432
13433 * image.el: For clarity, call imagemagick-register-types at
13434 top-level, rather than relying on a custom :initialize.
13435 (imagemagick-types-enable): New option. (Bug#11557)
13436 (imagemagick-filter-types): New function. (Bug#7406)
13437 (imagemagick-register-types): Use imagemagick-filter-types.
13438 If disabling support, remove elements altogether rather
13439 than using an impossible regexp.
13440 (imagemagick-types-inhibit): Give it the default init function.
13441
13442 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13443
13444 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13445 Handle arbitrary file name lengths (Bug#11585).
13446
13447 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13448
13449 * desktop.el (desktop-read): Clear previous and next buffers for
13450 all windows and bury *Messages* buffer (bug#11556).
13451
13452 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13453
13454 Add `declare' for `defun'. Align `defmacro's with it.
13455 * emacs-lisp/easy-mmode.el (define-minor-mode)
13456 (define-globalized-minor-mode): Don't autoload the var definitions.
13457 * emacs-lisp/byte-run.el: Use lexical-binding.
13458 (defun-declarations-alist, macro-declarations-alist): New vars.
13459 (defmacro, defun): Use them.
13460 (make-obsolete, define-obsolete-function-alias)
13461 (make-obsolete-variable, define-obsolete-variable-alias):
13462 Use `declare'.
13463 (macro-declaration-function): Mark obsolete.
13464 * emacs-lisp/autoload.el: Use lexical-binding.
13465 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13466
13467 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13468
13469 * textmodes/ispell.el (ispell-with-no-warnings):
13470 Define as a macro.
13471 (ispell-kill-ispell, ispell-change-dictionary):
13472 Use `called-interactively-p' for Emacs instead of obsolete
13473 `interactive-p'.
13474
13475 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13478 (macro-declaration-function): Move var from C code.
13479 (macro-declaration-function): Define function with defalias.
13480 * emacs-lisp/macroexp.el (macroexpand-all-1):
13481 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13482 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13483 defun/defmacro any more.
13484 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13485 Provide fallback for unknown arglist.
13486 (byte-compile-arglist-warn): Change calling convention.
13487 (byte-compile-output-file-form): Move print-vars binding.
13488 (byte-compile-output-docform): Simplify accordingly.
13489 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13490 (byte-compile-defmacro-declaration): Remove.
13491 (byte-compile-file-form-defmumble): Generalize to defalias.
13492 (byte-compile-output-as-comment): Return byte-positions.
13493 Simplify callers accordingly.
13494 (byte-compile-lambda): Use `assert'.
13495 (byte-compile-defun, byte-compile-defmacro): Remove.
13496 (byte-compile-file-form-defalias):
13497 Use byte-compile-file-form-defmumble.
13498 (byte-compile-defalias-warn): Remove.
13499
13500 2012-05-29 Stefan Merten <smerten@oekonux.de>
13501
13502 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13503 possible. Fix authors. Improve comments. Improve loading of `cl'.
13504
13505 (rst-mode-abbrev-table): Merge definition.
13506 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13507 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13508
13509 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13510
13511 * calendar/icalendar.el
13512 (icalendar-export-region): Export UID properly.
13513
13514 2012-05-29 Leo Liu <sdl.web@gmail.com>
13515 * calendar/icalendar.el (icalendar-import-format):
13516 Add `icalendar-import-format-uid' (Bug#11525).
13517 (icalendar-import-format-uid): New.
13518 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13519 Export UID.
13520
13521 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13522
13523 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13524 different alternative patterns.
13525 (pcase-codegen): Be more careful to preserve identity.
13526 (pcase--u1): Don't forget to mark vars as used.
13527
13528 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13529 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13530 (byte-compile-from-buffer): ...rather than here.
13531
13532 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13533 functions from byte-compile-function-environment.
13534
13535 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13536
13537 * window.el (window-deletable-p): Avoid deleting the root window
13538 of a frame with an active minibuffer.
13539
13540 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13541
13542 * simple.el (choose-completion): Use quit-window (Bug#11567).
13543
13544 2012-05-29 Chong Yidong <cyd@gnu.org>
13545
13546 * whitespace.el (whitespace-cleanup): Fix usage of
13547 whitespace-empty-at-bob-regexp (Bug#11492).
13548
13549 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13550
13551 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13552 revert (Bug#11488).
13553
13554 2012-05-29 Juri Linkov <juri@jurta.org>
13555
13556 * isearch.el (isearch-mode-map): Bind `M-s _' to
13557 `isearch-toggle-symbol'. Bind `M-s c' to
13558 `isearch-toggle-case-fold'.
13559 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13560 (isearch-forward): Add `M-s _' to the docstring.
13561 (isearch-forward-symbol, isearch-toggle-case-fold)
13562 (isearch-symbol-regexp): New functions. (Bug#11381)
13563
13564 2012-05-29 Juri Linkov <juri@jurta.org>
13565
13566 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13567 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13568 a function, call it to get the regexp.
13569 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13570 property `isearch-message-prefix' instead of the string "word ".
13571 (isearch-search-fun-default): For the case of `isearch-word',
13572 return a lambda that calls re-search-forward/re-search-backward
13573 with a regexp returned by `word-search-regexp' or by the function
13574 in `isearch-word'.
13575
13576 2012-05-29 Juri Linkov <juri@jurta.org>
13577
13578 * isearch.el (isearch-search-fun-default): New function.
13579 (isearch-search-fun): Move default part to the new function
13580 `isearch-search-fun-default'.
13581 (isearch-search-fun-function): Set the default value to
13582 `isearch-search-fun-default'. (Bug#11381)
13583
13584 * comint.el (comint-history-isearch-end):
13585 Use `isearch-search-fun-default'.
13586 (comint-history-isearch-search): Use `isearch-search-fun-default'
13587 and remove spacial case for `isearch-word'.
13588 (comint-history-isearch-wrap): Remove spacial case for
13589 `isearch-word'.
13590
13591 * hexl.el (hexl-isearch-search-function):
13592 Use `isearch-search-fun-default'.
13593
13594 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13595 Use `word-search-regexp' for `isearch-word'.
13596
13597 * misearch.el (multi-isearch-search-fun):
13598 Use `isearch-search-fun-default'.
13599
13600 * simple.el (minibuffer-history-isearch-search):
13601 Use `isearch-search-fun-default' and remove spacial case for
13602 `isearch-word'.
13603 (minibuffer-history-isearch-wrap): Remove spacial case for
13604 `isearch-word'.
13605
13606 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13607 Remove spacial case for `isearch-word'.
13608 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13609
13610 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13611
13612 Decrease XEmacs incompatibilities.
13613 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13614 Use `string-match'.
13615 (flyspell-delete-region-overlays): Use alternative definition for
13616 XEmacs.
13617 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13618 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13619 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13620 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13621 `define-obsolete-face-alias' under XEmacs, but old method.
13622
13623 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13624 `with-no-warnings' definition or Emacs alias.
13625 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13626 (ispell-word): Do not use `region-p' if XEmacs.
13627
13628 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13629
13630 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13631 Check for `ispell-dictionary-base-alist' instead of full
13632 `ispell-dictionary-alist'.
13633 (ispell-init-process): Show spellchecker when starting new Ispell
13634 process.
13635
13636 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13637
13638 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13639 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13640
13641 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13642
13643 * version.el (motif-version-string, gtk-version-string)
13644 (ns-version-string): Declare.
13645
13646 2012-05-27 Juri Linkov <juri@jurta.org>
13647
13648 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13649 after the `eval-defun-1' specialcaseing
13650 like in `edebug-eval-defun' (bug#10181).
13651
13652 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13653 like in `eval-defun-1'.
13654
13655 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13656
13657 * mail/sendmail.el (mail-yank-region):
13658 Recognize rmail-yank-current-message in addition to insert-buffer.
13659 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13660 a *mail* buffer created through rmail-start-mail with sendmail as
13661 mail-user-agent.
13662
13663 2012-05-27 Chong Yidong <cyd@gnu.org>
13664
13665 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13666 Default to 256 (Bug#11267).
13667
13668 * help.el (describe-mode): Doc fix.
13669
13670 2012-05-26 Glenn Morris <rgm@gnu.org>
13671
13672 * w32-fns.el (w32-init-info): Remove.
13673 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13674
13675 * info.el (info-initialize): For self-contained NS builds, put the
13676 included info/ directory at the front. (Bug#2791)
13677
13678 * paths.el (Info-default-directory-list): Make it a defcustom,
13679 mainly so that we can use custom-initialize-delay.
13680
13681 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13682
13683 * subr.el (buffer-has-markers-at): Mark obsolete.
13684
13685 * subr.el (lambda): Use declare.
13686
13687 * emacs-lisp/lisp-mode.el (lambda):
13688 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13689
13690 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13691
13692 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13693
13694 2012-05-26 Glenn Morris <rgm@gnu.org>
13695
13696 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13697
13698 2012-05-25 Glenn Morris <rgm@gnu.org>
13699
13700 * paths.el: Remove no-byte-compile.
13701 * loadup.el: No need to load paths.el uncompiled.
13702
13703 * image.el (imagemagick-types-inhibit): Doc fix.
13704
13705 * version.el: Remove no-byte-compile and associated formatting.
13706 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13707 is ancient code from when there was an "inc-vers.el".
13708
13709 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13710
13711 * progmodes/gdb-mi.el: Minor style changes.
13712 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13713 Turn into minor modes.
13714 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13715 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13716 (gdb-shell): Remove unneeded let-binding.
13717 (gdb-get-many-fields): Eliminate O(n²) behavior.
13718
13719 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13720
13721 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13722 platforms that don't link in fontset.c.
13723
13724 2012-05-25 Juri Linkov <juri@jurta.org>
13725
13726 Use the same diff color scheme as in modern VCSes (bug#10181).
13727
13728 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13729 to avoid confusion with `diff-added' that now uses green colors.
13730 (diff-removed): Use shades of red.
13731 (diff-added): Use shades of green.
13732 (diff-changed): Leave just the yellow color.
13733 (diff-use-changed-face): New variable.
13734 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13735 how to highlight context diff changes.
13736 (diff-refine-change): Use shades of yellow.
13737 (diff-refine-removed): New face that uses shades of red.
13738 (diff-refine-added): New face that uses shades of green.
13739 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13740 `diff-refine-removed' in the call to `smerge-refine-subst'
13741 depending on the value of `diff-use-changed-face'.
13742
13743 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13744 (smerge-other): Use shades of green.
13745 (smerge-base): Use shades of yellow.
13746 (smerge-refined-change): Empty face.
13747 (smerge-refined-removed): New face that uses shades of red.
13748 (smerge-refined-added): New face that uses shades of green.
13749 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13750 args `props-r' and `props-a', and use them. Doc fix.
13751 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13752 on its value use different faces `smerge-refined-change',
13753 `smerge-refined-removed', `smerge-refined-added' in the call to
13754 `smerge-refine-subst'.
13755
13756 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13757 Add face condition `min-colors 88' with shades of red.
13758 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13759 `min-colors 88' with shades of green.
13760 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13761 `min-colors 88' with shades of yellow.
13762
13763 2012-05-24 Glenn Morris <rgm@gnu.org>
13764
13765 * paths.el (prune-directory-list, remote-shell-program): Move to...
13766 * files.el (prune-directory-list, remote-shell-program): ...here.
13767 For the latter, delay initialization, prefer ssh, just search PATH.
13768
13769 * paths.el (term-file-prefix): Move to faces.el (the only user).
13770 * faces.el (term-file-prefix): Move here, make it a defcustom.
13771
13772 * paths.el (news-directory, news-path, news-inews-program):
13773 Move to gnus/nnspool.el.
13774
13775 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13776
13777 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13778 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13779 Make the latter a defcustom, with a delayed initialization.
13780
13781 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13782 These were deleted from Gnus itself late 2010.
13783
13784 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13785
13786 * progmodes/which-func.el (which-func-ff-hook):
13787 Check against user-error, not error.
13788
13789 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13790 cl-specs.el, which no longer exists.
13791
13792 2012-05-22 Glenn Morris <rgm@gnu.org>
13793
13794 * info.el (info-emacs-bug): New command.
13795 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13796 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13797
13798 2012-05-21 Glenn Morris <rgm@gnu.org>
13799
13800 * makefile.w32-in (update-subdirs-SH):
13801 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13802
13803 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13804
13805 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13806
13807 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13808 Simplify Maven regexp, and make sure the file can't start with a space
13809 (bug#11517).
13810
13811 2012-05-21 Glenn Morris <rgm@gnu.org>
13812
13813 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13814 Scrap superfluous subshells.
13815
13816 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13817
13818 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13819 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13820
13821 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13822
13823 * calc/calc.el (calc-ensure-consistent-units): New variable.
13824
13825 * calc/calc-units.el (math-consistent-units-p)
13826 (math-check-unit-consistency): New functions.
13827 (calc-quick-units, calc-convert-units):
13828 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13829 is non-nil.
13830 (calc-extract-units): Fix typo.
13831
13832 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13833
13834 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13835
13836 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13837 (flyspell-default-deplacement-commands): Don't spell check after
13838 repeated window/frame switches (e.g. triggered by mouse-movement).
13839 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13840 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13841 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13842 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13843 Remove unused vars.
13844 (flyspell-get-casechars, flyspell-get-not-casechars):
13845 Simplify; Don't bother removing a ] just to add it back.
13846 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13847
13848 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13849
13850 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13851 New functions.
13852 (math-function-table): Add support for more C functions.
13853
13854 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13855
13856 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13857 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13858 Protect delay handling for otherchars against empty otherchars.
13859
13860 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13861
13862 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13863 their respective macro declarations.
13864 * skeleton.el (define-skeleton):
13865 * progmodes/compile.el (define-compilation-mode):
13866 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13867 (define-ibuffer-filter):
13868 * emacs-lisp/generic.el (define-generic-mode):
13869 * emacs-lisp/easy-mmode.el (define-minor-mode)
13870 (define-globalized-minor-mode):
13871 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13872 * emacs-lisp/byte-run.el (defsubst):
13873 * custom.el (deftheme): Add doc-string metadata.
13874
13875 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13876
13877 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13878
13879 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13880
13881 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13882
13883 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13884 * emacs-lisp/cl-macs.el: Idem.
13885 * emacs-lisp/cl-specs.el: Remove.
13886
13887 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13888
13889 Minor renaming of internal CL functions and variables.
13890 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13891 (cl--position): Rename from cl-position.
13892 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13893 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13894 (cl--random-state): Rename from *random-state*.
13895
13896 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13897
13898 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13899 parens around the arg list (bug#11499).
13900
13901 2012-05-17 Juri Linkov <juri@jurta.org>
13902
13903 * isearch.el (word-search-regexp, word-search-backward)
13904 (word-search-forward, word-search-backward-lax)
13905 (word-search-forward-lax): Move functions from search.c
13906 (bug#10145, bug#11381).
13907
13908 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13909
13910 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13911 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13912 Delay for otherchars as for normal word components.
13913
13914 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13915
13916 * minibuffer.el (completion--sifn-requote): Fix last change.
13917 (minibuffer-local-must-match-filename-map):
13918 Move define-obsolete-variable-alias before its var.
13919
13920 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13921
13922 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13923
13924 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13925 behavior.
13926 (completion--string-equal-p): New function.
13927 (completion--twq-all): Use it to get better assertion failure data.
13928
13929 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13930 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13931 (shell--requote-argument): New functions.
13932 (shell-completion-vars): Use them.
13933 (shell--parse-pcomplete-arguments): Rename from
13934 shell-parse-pcomplete-arguments.
13935 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13936 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13937 Obey comint-file-name-quote-list.
13938
13939 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13940 (smie-indent-keyword): Use it.
13941
13942 2012-05-14 Stefan Merten <smerten@oekonux.de>
13943
13944 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13945
13946 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13947
13948 * net/rlogin.el (rlogin-mode-map): Fix last change.
13949
13950 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13951
13952 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13953 the following \r\n using a single `process-send-string', since the
13954 Lotus SMTP server refuses to accept any commands if they are sent
13955 with two `process-send-string's (Bug#11444).
13956
13957 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13958
13959 * shell.el (shell-parse-pcomplete-arguments):
13960 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13961
13962 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13963
13964 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13965 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13966 (image-transform-width, image-transform-fit-width): New functions.
13967 (image-transform-properties): Use them.
13968 (image-transform-check-size): New function.
13969 (image-toggle-display-image): Use it (for testing).
13970 (image-transform-set-rotation): Reduce angle mod 360.
13971 Delete obsolete comment.
13972
13973 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13974
13975 * image-mode.el: Fix scaling (bug#11399).
13976 (image-transform-resize): Doc fix.
13977 (image-transform-properties): Default scale is 1 and height should
13978 be an integer.
13979
13980 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13981
13982 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13983 than hard-coding `car', to fix misbehavior when moving forward.
13984
13985 2012-05-13 Chong Yidong <cyd@gnu.org>
13986
13987 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13988 (tabulated-list-entries, tabulated-list-padding)
13989 (tabulated-list-sort-key): Make permanent-local.
13990
13991 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13992 (electric-buffer-list): Put electric buffer menu
13993 command descriptions in this docstring, instead of the docstring
13994 of electric-buffer-menu-mode. Code cleanups.
13995 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13996 Electric-buffer-menu-mode.
13997 (electric-buffer-update-highlight): Minor code cleanup.
13998
13999 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14000
14001 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14002 (Bug#11447)
14003
14004 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 Move define-obsolete-variable-alias before the var's definition.
14007 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14008 * tooltip.el (tooltip-hook):
14009 * textmodes/reftex-toc.el (reftex-toc-map):
14010 * textmodes/reftex-sel.el (reftex-select-label-map)
14011 (reftex-select-bib-map):
14012 * textmodes/reftex-index.el (reftex-index-map)
14013 (reftex-index-phrases-map):
14014 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14015 * progmodes/meta-mode.el (meta-mode-map):
14016 * novice.el (disabled-command-hook):
14017 * loadhist.el (unload-hook-features-list):
14018 * frame.el (blink-cursor):
14019 * files.el (find-file-not-found-hooks, write-file-hooks)
14020 (write-contents-hooks):
14021 * emulation/tpu-edt.el (GOLD-map):
14022 * emacs-lock.el (emacs-lock-from-exiting):
14023 * emacs-lisp/generic.el (generic-font-lock-defaults):
14024 * emacs-lisp/chart.el (chart-map):
14025 * dos-fns.el (register-name-alist):
14026 * dired-x.el (dired-omit-files-p):
14027 * desktop.el (desktop-enable):
14028 * cus-edit.el (custom-mode-hook):
14029 * buff-menu.el (buffer-menu-mode-hook):
14030 * bookmark.el (bookmark-read-annotation-text-func)
14031 (bookmark-exit-hooks):
14032 * allout.el (allout-mode-deactivate-hook)
14033 (allout-exposure-change-hook, allout-structure-added-hook)
14034 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14035 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14036 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14037 comes before the corresponding variable's definition.
14038
14039 2012-05-12 Chong Yidong <cyd@gnu.org>
14040
14041 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14042 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14043 (Buffer-menu-mode-map): Bind it.
14044 (Buffer-menu--pretty-name): Add a mouse-face property.
14045
14046 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14047
14048 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14049 (prolog-upper-case-string, prolog-lower-case-string)
14050 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14051 (prolog-use-smie, prolog-smie-grammar): New vars.
14052 (prolog-smie-forward-token, prolog-smie-backward-token)
14053 (prolog-smie-rules): New funs.
14054 (prolog-comment-indent): Remove.
14055 (prolog-mode-variables): Use default comment indentation instead.
14056 Setup SMIE.
14057 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14058 (prolog-mode): Don't call them any more.
14059 (prolog-electric-colon, prolog-electric-dash)
14060 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14061
14062 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14063
14064 * minibuffer.el (completion--twq-all): Again, allow case differences.
14065
14066 * term.el: Move keymap initialization code to be more idiomatic.
14067 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14068 (term-terminal-menu): Move initialization into declaration.
14069 (term-escape-char): Let the user set it in her .emacs.
14070
14071 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14072 Provide SMIE-based indentation (not enabled by default yet).
14073 (sh-mode-map): Don't bind electric keys.
14074 Use electric-pair-mode instead of skeleton-pair.
14075 (sh-assignment-regexp): Fit within 80 columns.
14076 (sh-indent-supported): Specify actual shell name instead of boolean.
14077 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14078 (sh-maybe-here-document): Use it. Make obsolete.
14079 (sh-electric-here-document-mode) New minor mode.
14080 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14081 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14082 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14083 (sh-smie-rc-grammar, sh-use-smie): New vars.
14084 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14085 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14086 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14087 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14088 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14089 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14090 (sh-set-shell): Use smie-setup if requested.
14091
14092 * term.el (term-set-escape-char): Properly set term-escape-char.
14093 See http://stackoverflow.com/questions/10524656.
14094
14095 2012-05-10 Chong Yidong <cyd@gnu.org>
14096
14097 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14098 Use url-generic-parse-url, and handle host names and Windows
14099 filenames properly.
14100 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14101 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14102 URL schemes to work on.
14103 (ffap--toggle-read-only): New function.
14104 (ffap-read-only, ffap-read-only-other-window)
14105 (ffap-read-only-other-frame): Use it.
14106 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14107 necessary for ffap-url-unwrap-remote.
14108
14109 2012-05-10 Dave Abrahams <dave@boostpro.com>
14110
14111 * cus-start.el (create-lockfiles): Add it.
14112
14113 2012-05-09 Chong Yidong <cyd@gnu.org>
14114
14115 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14116 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14117
14118 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14119
14120 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14121
14122 2012-05-09 Chong Yidong <cyd@gnu.org>
14123
14124 * ansi-color.el (ansi-color-process-output): Check for validity of
14125 comint-last-output-start before using it. This avoids a bad
14126 interaction with gdb-mi's input/output buffer.
14127
14128 2012-05-09 Glenn Morris <rgm@gnu.org>
14129
14130 * files.el (dir-locals-read-from-file):
14131 Mention dir-locals in any error message.
14132
14133 2012-05-09 Chong Yidong <cyd@gnu.org>
14134
14135 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14136 package (Bug#11410).
14137
14138 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14139 variables into description.
14140
14141 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14142
14143 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14144 shell-delimiter-argument-list (bug#11348).
14145 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14146
14147 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14148
14149 * textmodes/rst.el: Silence byte-compiler warnings.
14150 (rst-re-alist, rst-reset-section-caches): Move around.
14151 (rst-re): Use `characterp', not `char-valid-p'.
14152 (font-lock-beg, font-lock-end): Declare.
14153
14154 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14155 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14156
14157 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14158
14159 2012-05-08 Glenn Morris <rgm@gnu.org>
14160
14161 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14162
14163 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14164
14165 * vc/log-edit.el: Add GNU coding standards highlighting.
14166 (log-edit-font-lock-gnu-style)
14167 (log-edit-font-lock-gnu-keywords): New vars.
14168 (log-edit-font-lock-keywords): New fun.
14169 (log-edit-mode): Don't fold case in font-lock.
14170 (log-edit-font-lock-keywords): Do not assume case-folding.
14171
14172 * imenu.el: Misc cleanup. Make docstrings out of comments.
14173 Use lexical-binding.
14174 (imenu--index-alist, imenu--last-menubar-index-alist)
14175 (imenu-menubar-modified-tick): Use defvar-local.
14176 (imenu--split-menu): Remove unused var.
14177 (imenu--cleanup-seen): Declare as global.
14178 (imenu--cleanup): Use dolist.
14179
14180 * subr.el (defvar-local): Add debug spec and doc-string position.
14181
14182 2012-05-08 Glenn Morris <rgm@gnu.org>
14183
14184 * language/burmese.el, language/cham.el, language/czech.el:
14185 * language/english.el, language/georgian.el, language/greek.el:
14186 * language/japanese.el, language/khmer.el, language/korean.el:
14187 * language/lao.el, language/misc-lang.el, language/romanian.el:
14188 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14189 * language/thai.el, language/utf-8-lang.el:
14190 Remove no-byte-compile setting.
14191
14192 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14193
14194 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14195
14196 * progmodes/make-mode.el (makefile-browse):
14197 Remove unnecessary interactive. (Bug#11324)
14198
14199 2012-05-07 Glenn Morris <rgm@gnu.org>
14200
14201 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14202
14203 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14204
14205 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14206
14207 * loadup.el: Preload newcomment.el.
14208 * newcomment.el: Move autoload-only code to toplevel.
14209
14210 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14211 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14212 Handle new :right-align column property.
14213 (tabulated-list-print-col): Idem, plus use `display' text-property to
14214 try and preserve alignment for variable pitch fonts.
14215
14216 2012-05-07 Chong Yidong <cyd@gnu.org>
14217
14218 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14219 (tabulated-list-use-header-line): New var.
14220 (tabulated-list-init-header): Use it.
14221 (tabulated-list-print-fake-header): New function.
14222 (tabulated-list-print): Use it.
14223 (tabulated-list-sort-button-map): Add non-header-line commands.
14224 (tabulated-list-init-header): Add column name property to basic
14225 labels as well.
14226 (tabulated-list-col-sort): Handle non-header-line button case.
14227 (tabulated-list--sort-by-column-name): Fix a corner case.
14228
14229 * buff-menu.el (list-buffers--refresh):
14230 Handle Buffer-menu-use-header-line.
14231
14232 2012-05-06 Chong Yidong <cyd@gnu.org>
14233
14234 * buff-menu.el: Convert to Tabulated List mode.
14235 (Buffer-menu-buffer+size-width): Make obsolete.
14236 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14237 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14238 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14239 documentation into docstring of buffer-menu.
14240 (Buffer-menu-toggle-files-only): Add an informative message.
14241 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14242 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14243 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14244 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14245 (Buffer-menu-execute, Buffer-menu-select)
14246 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14247 (Buffer-menu-bury): Use Tabulated List machinery.
14248 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14249 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14250 Delete.
14251 (list-buffers--refresh): New function.
14252 (list-buffers-noselect): Use it.
14253 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14254 (Buffer-menu--pretty-file-name): New helper functions.
14255
14256 * loadup.el: Preload tabulated-list.
14257
14258 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14259 tabulated-list-sort-column.
14260 (tabulated-list-init-header): Add the initial aligning space even
14261 if tabulated-list-padding is zero.
14262
14263 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14264
14265 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14266 whose cdr is not a cons cell correctly (bug#11038).
14267
14268 2012-05-06 Chong Yidong <cyd@gnu.org>
14269
14270 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14271 Accept additional plist in column descriptors.
14272 (tabulated-list-init-header): Obey it.
14273 (tabulated-list-get-entry): New function.
14274 (tabulated-list-put-tag): Use it. Use string-width instead of
14275 length.
14276 (tabulated-list--column-number): New function.
14277 (tabulated-list-print): Use it.
14278 (tabulated-list-print-col): New function.
14279 Set `tabulated-list-column-name' property on each column's text.
14280 (tabulated-list-print-entry): Use it.
14281 (tabulated-list-delete-entry, tabulated-list-set-col):
14282 New functions.
14283 (tabulated-list-sort-column): New command (Bug#11337).
14284
14285 * buff-menu.el (list-buffers): Move C-x C-b binding from
14286 buff-menu.el to bindings.el.
14287
14288 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14289 :advertised-binding feature.
14290
14291 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14292
14293 * progmodes/compile.el (compilation-internal-error-properties):
14294 Calculate start position correctly when end-col is set but
14295 end-line is not (Bug#11382).
14296
14297 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14298
14299 * man.el (Man-unindent): Use text-property-default-nonsticky to
14300 prevent untabify from inheriting face properties (Bug#11408).
14301
14302 2012-05-05 Stefan Merten <smerten@oekonux.de>
14303
14304 * textmodes/rst.el: Major merge with upstream development up to
14305 Docutils SVN r7399 / rst.el V1.2.1.
14306
14307 Clarify maintainership and authors.
14308
14309 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14310 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14311 (rst-official-version, rst-official-cvs-rev, rst-version)
14312 (rst-package-emacs-version-alist): New functions and variables
14313 for version information.
14314
14315 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14316 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14317 (rst-mode-syntax-table, rst-mode): New and corrected functions
14318 and variables representing reStructuredText features.
14319
14320 (rst-re): New function for reStructuredText regexes. Use in
14321 many places.
14322
14323 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14324 (rst-mode-map): Rebind keys.
14325
14326 (rst-mode-lazy, rst-font-lock-keywords)
14327 (rst-font-lock-extend-region)
14328 (rst-font-lock-extend-region-internal)
14329 (rst-font-lock-extend-region-extend)
14330 (rst-font-lock-find-unindented-line-limit)
14331 (rst-font-lock-find-unindented-line-match)
14332 (rst-adornment-level, rst-font-lock-adornment-level)
14333 (rst-font-lock-adornment-match)
14334 (rst-font-lock-handle-adornment-pre-match-form)
14335 (rst-font-lock-handle-adornment-matcher): Major revision of
14336 font-locking. Integrate with other code. Use `jit-lock-mode'.
14337
14338 (rst-preferred-adornments, rst-adjust-hook)
14339 (rst-new-adornment-down, rst-preferred-bullets)
14340 (rst-preferred-bullets, rst-indent, rst-indent-width)
14341 (rst-indent-field, rst-indent-literal-normal)
14342 (rst-indent-literal-minimized, rst-indent-comment): Change,
14343 extend and improve customization.
14344
14345 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14346 (rst-normalize-cursor-position, rst-get-decoration)
14347 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14348 (rst-rstrip, rst-toc-insert-find-delete-contents)
14349 (rst-shift-fill-region, rst-compute-bullet-tabs)
14350 (rst-debug-print-tabs, rst-debug-mark-found)
14351 (rst-shift-region-guts, rst-shift-region-right)
14352 (rst-shift-region-left, rst-use-char-classes)
14353 (rst-font-lock-keywords-function)
14354 (rst-font-lock-indentation-point)
14355 (rst-font-lock-find-unindented-line-begin)
14356 (rst-font-lock-find-unindented-line-end)
14357 (rst-font-lock-find-unindented-line)
14358 (rst-font-lock-adornment-point, rst-font-lock-level)
14359 (rst-adornment-level-alist): Remove functions and variables.
14360
14361 (rst-compare-adornments, rst-get-adornment-match)
14362 (rst-suggest-new-adornment, rst-get-adornments-around)
14363 (rst-adornment-complete-p, rst-get-next-adornment)
14364 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14365 (rst-straighten-adornments): Standardize function names to
14366 use "adornment" instead of "decoration". Correct callers.
14367 Similar standardizing in many places.
14368
14369 (rst-update-section, rst-adjust, rst-promote-region)
14370 (rst-enumerate-region, rst-bullet-list-region)
14371 (rst-repeat-last-character): Correct use of `interactive'.
14372
14373 (rst-classify-adornment, rst-find-all-adornments)
14374 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14375 (rst-find-leftmost-column, rst-repeat-last-character):
14376 Refactor functions.
14377
14378 (rst-find-title-line, rst-reset-section-caches)
14379 (rst-get-adornments-around, rst-adjust-adornment-work)
14380 (rst-arabic-to-roman, rst-roman-to-arabic)
14381 (rst-insert-list-pos, rst-insert-list-new-item)
14382 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14383 New functions.
14384
14385 (rst-all-sections, rst-section-hierarchy)
14386 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14387 New variables.
14388
14389 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14390 configuration instead of only buffer. Change where necessary.
14391
14392 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14393 (rst-shift-region, rst-adaptive-fill): New functions for
14394 indentation and filling.
14395
14396 (rst-comment-line-break, rst-comment-indent)
14397 (rst-comment-insert-comment, rst-comment-region)
14398 (rst-uncomment-region): New functions for handling comments.
14399
14400 (rst-compile): Quote shell arguments.
14401
14402 (rst-compile-pdf-preview, rst-compile-slides-preview):
14403 Delete temporary files after use.
14404
14405 2012-05-05 Glenn Morris <rgm@gnu.org>
14406
14407 * calendar/cal-html.el: Optionally include holidays in the output.
14408 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14409 (cal-html-holidays): New option.
14410 (cal-html-css-default): Add holiday entry.
14411 (holiday-in-range): Autoload it.
14412 (cal-html-htmlify-entry): Add optional class argument.
14413 (cal-html-htmlify-list): Add optional holidays argument.
14414 (cal-html-insert-agenda-days): Include holidays in the output.
14415 (cal-html-one-month): Maybe include holidays.
14416
14417 * calendar/holidays.el (holiday-in-range):
14418 Move here from cal-tex-list-holidays.
14419 * calendar/cal-tex.el (cal-tex-list-holidays):
14420 Make it an obsolete alias for holiday-in-range. Update all callers.
14421
14422 2012-05-05 Chong Yidong <cyd@gnu.org>
14423
14424 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14425 Nextstep.
14426
14427 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14428
14429 * files.el (file-auto-mode-skip): New var.
14430 (set-auto-mode-1): Use it.
14431
14432 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14433
14434 * repeat.el: Use lexical-binding.
14435 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14436 (repeat-undo-count): Remove.
14437 (repeat):
14438 * progmodes/octave-mod.el (octave-abbrev-start):
14439 * progmodes/f90.el (f90-abbrev-start):
14440 * face-remap.el (text-scale-adjust):
14441 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14442
14443 * emacs-lisp/pcase.el (pcase--let*): New function.
14444 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14445 a bit more.
14446 (pcase--split-pred): Be more clever about ruling out overlap between
14447 a predicate and some constant pattern.
14448 (pcase--q1): Use `null' instead of (eq foo nil).
14449
14450 * subr.el (setq-local, defvar-local): New macros.
14451 (kbd): Redefine as an alias.
14452 (with-selected-window): Leave unrelated frames alone.
14453 (set-temporary-overlay-map): New function.
14454
14455 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14456
14457 * subr.el (user-error): New function.
14458 * window.el (switch-to-buffer):
14459 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14460 (smerge-match-conflict):
14461 * simple.el (previous-matching-history-element)
14462 (next-matching-history-element, goto-history-element, undo-more)
14463 (undo-start):
14464 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14465 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14466 (next-file, tags-loop-scan, list-tags, complete-tag):
14467 * progmodes/compile.el (compilation-loop):
14468 * mouse.el (mouse-minibuffer-check):
14469 * man.el (Man-bgproc-sentinel, Man-goto-page):
14470 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14471 (Info-history-forward, Info-follow-reference, Info-menu)
14472 (Info-extract-menu-item, Info-extract-menu-counting)
14473 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14474 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14475 (Info-next-reference, Info-prev-reference, Info-index)
14476 (Info-index-next, Info-follow-nearest-node)
14477 (Info-copy-current-node-name):
14478 * imenu.el (imenu--make-index-alist)
14479 (imenu-default-create-index-function, imenu-add-to-menubar):
14480 * files.el (basic-save-buffer, recover-file):
14481 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14482 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14483 (checkdoc-message-text, checkdoc-defun):
14484 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14485 * cus-edit.el (customize-changed-options, customize-rogue)
14486 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14487 (custom-variable-mark-to-reset-standard)
14488 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14489 (custom-file):
14490 * completion.el (check-completion-length):
14491 * comint.el (comint-search-arg)
14492 (comint-previous-matching-input-string-position)
14493 (comint-previous-matching-input)
14494 (comint-replace-by-expanded-history-before-point, comint-send-input)
14495 (comint-copy-old-input, comint-backward-matching-input)
14496 (comint-goto-process-mark, comint-set-process-mark):
14497 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14498 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14499
14500 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14501
14502 * dabbrev.el (dabbrev--ignore-case-p): New function.
14503 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14504 Use it.
14505
14506 * files.el (automount-dir-prefix): Mark as obsolete.
14507
14508 2012-05-04 Glenn Morris <rgm@gnu.org>
14509
14510 * patcomp.el, play/bruce.el: Move to obsolete/.
14511
14512 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14513
14514 Fix minor Y10k bugs.
14515 * arc-mode.el (archive-unixdate):
14516 * autoinsert.el (auto-insert-alist):
14517 * calc/calc-forms.el (math-this-year):
14518 * emacs-lisp/copyright.el (copyright-current-year)
14519 (copyright-update-year, copyright):
14520 * tar-mode.el (tar-clip-time-string):
14521 * time.el (display-time-update):
14522 Don't assume years have 4 digits.
14523
14524 2012-05-04 Chong Yidong <cyd@gnu.org>
14525
14526 * dos-w32.el (file-name-buffer-file-type-alist)
14527 (direct-print-region-use-command-dot-com):
14528 * ffap.el (ffap-menu-regexp):
14529 * find-file.el (ff-special-constructs):
14530 * follow.el (follow-debug):
14531 * forms.el (forms--debug):
14532 * iswitchb.el (iswitchb-all-frames):
14533 * ido.el (ido-all-frames):
14534 * emacs-lisp/timer.el (timer-max-repeats):
14535 * mail/feedmail.el (feedmail-mail-send-hook)
14536 (feedmail-mail-send-hook-queued):
14537 * mail/footnote.el (footnote-signature-separator):
14538 * mail/mailabbrev.el (mail-alias-separator-string)
14539 (mail-abbrev-mode-regexp):
14540 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14541 * progmodes/idlwave.el (idlwave-libinfo-file)
14542 (idlwave-default-completion-case-is-down)
14543 (idlwave-library-routines): Convert defvars to defcustoms.
14544
14545 * mail/rmail.el (rmail-decode-mime-charset):
14546 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14547 (idlwave-shell-fix-inserted-breaks)
14548 (idlwave-shell-activate-alt-keybindings)
14549 (idlwave-shell-use-breakpoint-glyph):
14550 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14551
14552 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14553
14554 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14555
14556 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14557
14558 * progmodes/verilog-mode.el (font-lock-keywords):
14559 Fix mis-highligting auto. Reported by Craig Barner.
14560 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14561 defines from global name space. Reported by Dan Dever.
14562 (verilog-auto-reset, verilog-auto-reset-widths)
14563 (verilog-auto-tieoff): Support using unbased numbers for
14564 AUTORESET and AUTOTIEOFF.
14565 (verilog-submit-bug-report): Update variable list.
14566 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14567 parenthesis from not matching. Reported by Michael Rytting.
14568 (verilog-auto-template-lint): Fix hash error when linting modules
14569 with no used templates.
14570 (verilog-warn, verilog-warn-error)
14571 (verilog-warn-fatal): When non-interactive report multiple
14572 warnings before exiting. Suggested by Brad Dobbie.
14573 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14574 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14575 to report unused template errors. Reported by Brad Dobbie.
14576 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14577 nets, bug438. Reported by Vns Blore.
14578 (verilog-auto-inout-module, verilog-auto-reg)
14579 (verilog-read-decls, verilog-read-sub-decls-sig)
14580 (verilog-signals-edit-wire-reg, verilog-signals-with):
14581 Fix passing of Verilog data types in ANSI input/output ports
14582 such as "output logic" into the AUTOs. Special case "wire" and
14583 "reg" for backwards compatibility presuming Verilog 2001.
14584 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14585 (verilog-preprocess): Fix replication of preprocess output.
14586 Reported by Brad Dobbie.
14587 (verilog-auto-inst-interfaced-ports):
14588 Create verilog-auto-inst-interfaced-ports, bug429.
14589 Reported by Julian Gorfajn.
14590 (verilog-after-save-font-hook)
14591 (verilog-before-save-font-hook): New variable.
14592 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14593 (verilog-save-font-mods): Wrap disabling fontification, reported
14594 by David Rogoff.
14595 (verilog-do-indent, verilog-pretty-declarations-auto)
14596 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14597 Reported by Pierre-David Pfister.
14598 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14599 of class declarations, bug292. Reported by Kevin Heilman.
14600 (verilog-read-decls): Fix 'parameter type' not appearing in
14601 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14602 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14603 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14604 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14605 Reported by David Kravitz.
14606
14607 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14608
14609 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14610 assignment with tests in ifs and for loops.
14611 (verilog-extended-complete-re, verilog-complete-reg): Change so
14612 that DPI inport functions don't look like fuction declarations.
14613 (verilog-pretty-expr): Don't line up assignment
14614 operations to the test and increment in if and for loops
14615 (verilog-extended-complete-re, verilog-complete-reg): Change so
14616 that DPI inport functions don't look like fuction declarations.
14617
14618 2012-05-03 Kenichi Handa <handa@m17n.org>
14619
14620 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14621 decoding, and show a warning message without signaling an error
14622 (Bug#11282).
14623
14624 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14625
14626 * emacs-lisp/bytecomp.el
14627 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14628 since cconv.el might have introduced :fun-body, internal-make-closure,
14629 and friends for bytecomp to handle (bug#11391).
14630 * custom.el (defcustom): Avoid ((λ ..) ..).
14631
14632 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14633
14634 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14635
14636 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14637
14638 * notifications.el (dbus-debug):
14639 * term/linux.el (gpm-mouse-enable):
14640 * term/screen.el (xterm-register-default-colors): Declare.
14641
14642 2012-05-02 Chong Yidong <cyd@gnu.org>
14643
14644 * cus-start.el (gc-cons-percentage, exec-suffixes)
14645 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14646 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14647 (make-cursor-line-fully-visible, void-text-area-pointer)
14648 (font-list-limit): Add customization data.
14649
14650 * allout.el (allout-exposure-change-functions)
14651 (allout-structure-added-functions)
14652 (allout-structure-deleted-functions)
14653 (allout-structure-shifted-functions): Rename abnormal hooks from
14654 *-hook, and convert to defcustoms.
14655 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14656 Convert to defcustoms.
14657 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14658
14659 * allout-widgets.el: Hook callers changed.
14660
14661 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14662
14663 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14664 the yanked message in preference to the default value of
14665 buffer-file-coding-system.
14666
14667 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14668
14669 * window.el (display-buffer--action-function-custom-type):
14670 Fix entry.
14671
14672 2012-05-02 Alan Mackenzie <acm@muc.de>
14673
14674 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14675
14676 2012-05-01 Glenn Morris <rgm@gnu.org>
14677
14678 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14679
14680 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14681
14682 * cus-edit.el (custom-variable-documentation): Simplify with format.
14683
14684 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14685 Stefan Monnier <monnier@iro.umontreal.ca>
14686
14687 * simple.el (suggest-key-bindings, execute-extended-command):
14688 Move from keyboard.c.
14689
14690 2012-05-01 Chong Yidong <cyd@gnu.org>
14691
14692 * follow.el: Eliminate advice.
14693 (set-process-filter, process-filter, sit-for): Advice deleted.
14694 (follow-mode-off-hook): Obsolete hook removed.
14695 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14696 Vars deleted.
14697 (follow-auto): Use a :set function.
14698 (follow-mode): Rewritten. Don't advise process filters.
14699 (follow-switch-to-current-buffer-all, follow-scroll-up)
14700 (follow-scroll-down): Assume follow-mode is bound.
14701 (follow-comint-scroll-to-bottom)
14702 (follow-align-compilation-windows): New functions.
14703 (follow--window-sorter): New function.
14704 (follow-all-followers): Use it to explicitly sort windows by their
14705 positions; don't make assumptions about next-window order.
14706 (follow-windows-start-end, follow-delete-other-windows-and-split)
14707 (follow-calc-win-start): Doc fix.
14708 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14709 vertical-motion unnecessarily.
14710 (follow-adjust-window): New function.
14711 (follow-post-command-hook): Use it.
14712 (follow-call-set-process-filter, follow-call-process-filter)
14713 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14714 (follow-stop-intercept-process-output, follow-generic-filter):
14715 Functions deleted.
14716 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14717 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14718 New functions, replacing advice on scroll-bar-* commands.
14719 (follow-mwheel-scroll): New function (Bug#4112).
14720
14721 * comint.el (comint-adjust-point): New function.
14722 (comint-postoutput-scroll-to-bottom): Use it.
14723 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14724
14725 2012-05-01 Glenn Morris <rgm@gnu.org>
14726
14727 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14728 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14729 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14730 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14731 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14732 Remove no-byte-compile setting.
14733
14734 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14735
14736 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14737 all-completions code to not return a number in the last cdr.
14738
14739 2012-04-30 Leo Liu <sdl.web@gmail.com>
14740
14741 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14742 read-only error.
14743
14744 2012-04-29 Chong Yidong <cyd@gnu.org>
14745
14746 * follow.el (follow-calc-win-end): Rewrite to handle partial
14747 screen lines correctly (Bug#8390).
14748 (follow-avoid-tail-recenter): Minor cleanup.
14749
14750 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14751
14752 Avoid the obsolete `assoc' package.
14753 * speedbar.el (speedbar-refresh): Avoid adelete.
14754 (speedbar-file-lists): Simplify and avoid aput.
14755 * man.el (Man--sections, Man--refpages): New vars, replacing
14756 Man-sections-alist and Man-refpages-alist.
14757 (Man-build-section-alist, Man-build-references-alist):
14758 Use them; avoid aput.
14759 (Man--last-section, Man--last-refpage): New vars.
14760 (Man-follow-manual-reference): Use them.
14761 Use the `default' arg of completing-read.
14762 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14763
14764 2012-04-27 Chong Yidong <cyd@gnu.org>
14765
14766 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14767
14768 * startup.el (x-apply-session-resources): New function.
14769
14770 * term/ns-win.el (ns-initialize-window-system):
14771 * term/w32-win.el (w32-initialize-window-system):
14772 * term/x-win.el (x-initialize-window-system): Use it to properly
14773 set menu-bar-mode and other vars from X resources, even if the
14774 initial frame is not a window-system frame (Bug#2299).
14775
14776 * subr.el (read-key): Avoid running filter function when setting
14777 up temporary tool bar entries (Bug#9922).
14778
14779 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14780
14781 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14782 (Bug#11344)
14783
14784 2012-04-27 Chong Yidong <cyd@gnu.org>
14785
14786 * select.el (xselect--encode-string): New function, split from
14787 xselect-convert-to-string.
14788 (xselect-convert-to-string): Use it.
14789 (xselect-convert-to-filename, xselect-convert-to-os)
14790 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14791 returned strings are properly encoded (Bug#11315).
14792
14793 2012-04-27 Chong Yidong <cyd@gnu.org>
14794
14795 * simple.el (delete-active-region): Move to killing custom group.
14796
14797 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14798
14799 * progmodes/which-func.el (which-func-current): Quote %
14800 characters for mode-line processing.
14801
14802 2012-04-27 Chong Yidong <cyd@gnu.org>
14803
14804 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14805 reaching eob (Bug#11286).
14806
14807 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14808
14809 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14810 (gdb): Make it buffer-local and init to zero.
14811 (gdb-control-commands-regexp): New variable.
14812 (gdb-send): Don't wrap in "-interpreter-exec console" if
14813 gdb-control-level is positive. Increment gdb-control-level
14814 whenever the command matches gdb-control-commands-regexp, and
14815 decrement it each time the command is "end". (Bug#11279)
14816
14817 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14818
14819 * window.el (adjust-window-trailing-edge, enlarge-window)
14820 (shrink-window, window-resize):
14821 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14822 windows (Bug#11276).
14823
14824 2012-04-27 Chong Yidong <cyd@gnu.org>
14825
14826 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14827 fix "missing prefix" warning. All callers changed.
14828
14829 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14830
14831 * emacs-lisp/assoc.el: Move to obsolete/.
14832
14833 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14834
14835 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14836
14837 * term/ns-win.el (ns-define-service):
14838 * progmodes/pascal.el (pascal-goto-defun):
14839 * progmodes/js.el (js--read-tab):
14840 * progmodes/etags.el (tags-lazy-completion-table):
14841 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14842 * emacs-lisp/ewoc.el (ewoc--wrap):
14843 * emacs-lisp/assoc.el (aput, adelete, amake):
14844 * doc-view.el (doc-view-convert-current-doc):
14845 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14846
14847 2012-04-26 Chong Yidong <cyd@gnu.org>
14848
14849 * image.el (image-type-from-buffer): Only return supported image
14850 type (Bug#9045).
14851
14852 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14853 value, for symmetry with diff-end-of-hunk.
14854 (diff-split-hunk, diff-find-source-location)
14855 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14856 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14857 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14858 compute the relevant hunk or file properly (Bug#6005).
14859 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14860
14861 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14862
14863 * vc/vc-mtn.el:
14864 * vc/vc-hg.el:
14865 * vc/vc-git.el:
14866 * vc/vc-dir.el:
14867 * vc/vc-cvs.el:
14868 * vc/vc-bzr.el:
14869 * vc/vc-arch.el:
14870 * vc/vc.el: Replace lexical-let by lexical-binding.
14871 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14872 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14873 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14874
14875 2012-04-26 Chong Yidong <cyd@gnu.org>
14876
14877 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14878 (diff-mode-shared-map): Bind it to / and [remap undo].
14879
14880 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14881 (ediff-window-setup-function): Use it as the default, to set up
14882 windows based on whether the current frame is graphical (Bug#2138).
14883 (ediff-choose-window-setup-function-automatically): Make obsolete.
14884
14885 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14886
14887 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14888
14889 * ffap.el: Remove old code for obsolete package.
14890 (ffap-complete-as-file-p): Remove.
14891
14892 Use completion-table-with-quoting for comint and pcomplete.
14893 * comint.el (comint--unquote&requote-argument)
14894 (comint--unquote-argument, comint--requote-argument): New functions.
14895 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14896 (comint-quote-filename): Use regexp-opt-charset.
14897 (comint--common-suffix, comint--common-quoted-suffix)
14898 (comint--table-subvert): Remove.
14899 (comint-unquote-function, comint-requote-function): New vars.
14900 (comint--complete-file-name-data): Use them with
14901 completion-table-with-quoting.
14902 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14903 * pcomplete.el (pcomplete-arg-quote-list)
14904 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14905 (pcomplete-unquote-argument-function): Default to non-nil.
14906 (pcomplete-unquote-argument): Simplify.
14907 (pcomplete--common-quoted-suffix): Remove.
14908 (pcomplete-requote-argument-function): New var.
14909 (pcomplete--common-suffix): New function.
14910 (pcomplete-completions-at-point): Use completion-table-with-quoting
14911 and completion-table-subvert.
14912
14913 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14914 (minibuffer--double-dollars): Preserve properties.
14915 (completion--sifn-requote): New function.
14916 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14917
14918 * minibuffer.el: Add support for completion of quoted/escaped data.
14919 (completion-table-with-quoting, completion-table-subvert): New funs.
14920 (completion--twq-try, completion--twq-all): New functions.
14921 (completion--nth-completion): New function.
14922 (completion-try-completion, completion-all-completions): Use it.
14923
14924 2012-04-25 Leo Liu <sdl.web@gmail.com>
14925
14926 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14927 Use compilation-message if available to find real filename.
14928
14929 2012-04-25 Chong Yidong <cyd@gnu.org>
14930
14931 * vc/diff-mode.el (diff-setup-whitespace): New function.
14932 (diff-mode): Use it.
14933
14934 * vc/diff.el (diff-sentinel):
14935 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14936 Whitespace mode variables based on diff style (Bug#8612).
14937
14938 2012-04-25 Leo Liu <sdl.web@gmail.com>
14939
14940 * progmodes/python.el (python-send-region): Add suffix .py to the
14941 temp file.
14942
14943 * files.el (auto-mode-alist): Use javascript-mode instead.
14944
14945 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14946
14947 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14948
14949 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14950 (soap-resolve-references-for-array-type): Hack to prevent self
14951 references, see Bug#9.
14952 (soap-parse-envelope): Report the contents of the 'detail' node
14953 when receiving a fault reply.
14954 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14955
14956 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14957 (soap-inspect-simple-type): New function.
14958
14959 * net/soap-client.el (soap-simple-type): New struct.
14960 (soap-default-xsd-types, soap-default-soapenc-types)
14961 (soap-decode-basic-type, soap-encode-basic-type):
14962 support unsignedInt and double basic types.
14963 (soap-resolve-references-for-simple-type)
14964 (soap-parse-simple-type, soap-encode-simple-type): New function.
14965 (soap-parse-schema): Parse xsd:simpleType declarations.
14966
14967 * net/soap-client.el (soap-default-xsd-types)
14968 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14969 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14970 the local name of "soapenc:Array".
14971 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14972 decoding integer, byte and anyURI xsd types.
14973
14974 2012-04-25 Chong Yidong <cyd@gnu.org>
14975
14976 * cus-edit.el (custom-buffer-create-internal): Update header text.
14977
14978 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14979
14980 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14981 settings on 'system-type', not on 'window-system'. On MS-Windows,
14982 set interactive-mode on in GDB.
14983
14984 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14985
14986 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14987 (ruby-syntax-propertize-regexp): Remove.
14988 (ruby-syntax-propertize-function): Split regexp into chunks.
14989 Match following code directly.
14990
14991 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14992
14993 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14994 (ruby-syntax-propertize-regexp): New function.
14995 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14996 by a special keyword.
14997
14998 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14999 (ruby-syntax-general-delimiters-goto-beg)
15000 (ruby-syntax-propertize-general-delimiters): New functions.
15001 (ruby-syntax-propertize-function): Use them to handle GDL.
15002 (ruby-font-lock-keywords): Move old handling of GDL...
15003 (ruby-font-lock-syntactic-keywords): .. to here.
15004 (ruby-calculate-indent): Adjust indentation for GDL.
15005
15006 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15007
15008 * notifications.el (top): Remove unneeded declarations.
15009 (notifications-specification-version): Change to "1.2".
15010 (notifications-interface, notifications-notify-method)
15011 (notifications-close-notification-method): Fix docstring.
15012 (notifications-get-capabilities-method): New defconst.
15013 (notifications-notify): Add :action-items, :resident and
15014 :transient hints. Change "image_data" to "image-data" and
15015 "image_path" to "image-path".
15016 (notifications-get-capabilities): New defun.
15017
15018 2012-04-24 Leo Liu <sdl.web@gmail.com>
15019
15020 * progmodes/python.el: Move hideshow setup to the end.
15021
15022 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15023
15024 * window.el (handle-select-window): Clear echo area since this is
15025 no more done by read_char (Bug#11304).
15026
15027 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15028
15029 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15030 and `/ M' to filter-derived-mode.
15031 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15032 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15033 (ibuffer-mark-by-mode): Use default rather than initial-input.
15034 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15035
15036 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15037
15038 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15039 (ibuffer-filter-by-derived-mode): New filter.
15040 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15041
15042 2012-04-23 Andreas Politz <politza@fh-trier.de>
15043
15044 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15045
15046 2012-04-23 Chong Yidong <cyd@gnu.org>
15047
15048 * cus-edit.el (customize-apropos, customize-apropos-options):
15049 Disable matching of non-option variables (Bug#11176).
15050 (customize-option, customize-option-other-window)
15051 (customize-changed-options): Doc fix.
15052 (customize-apropos-options, customize-apropos-faces)
15053 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15054
15055 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15056 Fix word list splitting (Bug#11132).
15057 (apropos-symbol, apropos-keybinding, apropos-label)
15058 (apropos-property, apropos-function-button)
15059 (apropos-variable-button, apropos-misc-button): New faces.
15060 (apropos-symbol-face, apropos-keybinding-face)
15061 (apropos-label-face, apropos-property-face, apropos-match-face):
15062 Variables removed (Bug#8396).
15063 (apropos-library-button, apropos-format-plist, apropos-print)
15064 (apropos-print-doc, apropos-describe-plist): Callers changed.
15065
15066 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15067
15068 * net/xesam.el (xesam-mode-map): Use let-bound map in
15069 initialization. (Bug#11292)
15070
15071 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15072
15073 Preserve ispell session localwords when switching back to
15074 original buffer.
15075
15076 * textmodes/ispell.el (ispell-buffer-session-localwords):
15077 New buffer-local variable to hold buffer session localwords.
15078 (ispell-kill-ispell): Add option 'clear to delete session
15079 localwords.
15080 (ispell-command-loop, ispell-change-dictionary)
15081 (ispell-buffer-local-words): Preserve session localwords when
15082 needed.
15083
15084 * textmodes/flyspell.el (flyspell-process-localwords)
15085 (flyspell-do-correct): Preserve session localwords when needed.
15086
15087 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15088
15089 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15090 using obsolete `translation-table-for-input'.
15091 (ispell-word, ispell-process-line, ispell-complete-word):
15092 Use plain `insert' instead of removed `ispell-insert-word'.
15093
15094 2012-04-22 Chong Yidong <cyd@gnu.org>
15095
15096 * cus-edit.el (custom-variable-menu)
15097 (custom-variable-reset-saved, custom-face-menu)
15098 (custom-face-reset-saved): If there is no saved value, make the
15099 "reset-saved" operation bring back the default (Bug#9509).
15100 (custom-face-state): Properly detect themed faces.
15101
15102 * faces.el (face-spec-set): Stop supporting deprecated form of
15103 third arg.
15104
15105 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15106
15107 Move functions from C to Lisp. Make non-blocking method calls
15108 the default. Implement further D-Bus standard interfaces.
15109
15110 * net/dbus.el (dbus-message-internal): Declare function.
15111 Remove unneeded function declarations.
15112 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15113 (dbus-message-type-method-return, dbus-message-type-error)
15114 (dbus-message-type-signal): Declare variables. Remove local
15115 definitions.
15116 (dbus-interface-dbus, dbus-interface-peer)
15117 (dbus-interface-introspectable, dbus-interface-properties)
15118 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15119 Adapt docstring.
15120 (dbus-interface-objectmanager): New defconst.
15121 (dbus-call-method, dbus-call-method-asynchronously)
15122 (dbus-send-signal, dbus-method-return-internal)
15123 (dbus-method-error-internal, dbus-register-service)
15124 (dbus-register-signal, dbus-register-method): New defuns, moved
15125 from dbusbind.c
15126 (dbus-call-method-handler, dbus-setenv)
15127 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15128 New defuns.
15129 (dbus-call-method-non-blocking): Make it an obsolete function.
15130 (dbus-unregister-object, dbus-unregister-service)
15131 (dbus-handle-event, dbus-register-property)
15132 (dbus-property-handler): Obey the new structure of
15133 `bus-registered-objects'.
15134 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15135 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15136 Use `dbus-call-method'.
15137
15138 2012-04-22 Chong Yidong <cyd@gnu.org>
15139
15140 * cus-edit.el (custom-commands, custom-reset-menu)
15141 (Custom-reset-standard): Tweak labels.
15142 (custom-reset-button-menu): Change default to t.
15143 (custom-buffer-create-internal): For the custom-reset-button-menu
15144 case, put the revert button first.
15145 (custom-group-subtitle): New face.
15146 (custom-group-value-create): Align docstring to a specific column.
15147
15148 * wid-edit.el (widget-documentation-link-add): Don't handle
15149 indentation in this function.
15150 (widget-documentation-string-indent-to): New function.
15151 (widget-documentation-string-value-create): Use it.
15152
15153 * autorevert.el (auto-revert):
15154 * epg-config.el (epg):
15155 * ibuffer.el (ibuffer):
15156 * mpc.el (mpc):
15157 * ses.el (ses):
15158 * eshell/eshell.el (eshell):
15159 * net/ange-ftp.el (ange-ftp):
15160 * progmodes/ebnf2ps.el (postscript):
15161 * progmodes/flymake.el (flymake):
15162 * progmodes/prolog.el (prolog):
15163 * progmodes/verilog-mode.el (verilog-mode):
15164 * progmodes/which-func.el (which-func):
15165 * term/xterm.el (xterm):
15166 * textmodes/picture.el (picture):
15167 * textmodes/tildify.el (tildify):
15168 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15169 customization buffers.
15170
15171 2012-04-22 Alan Mackenzie <acm@muc.de>
15172
15173 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15174 Adding a ) can hide the resulting (..) from searches. Fix it.
15175 Bound the backward search to the position of the existing (.
15176
15177 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15178
15179 * progmodes/verilog-mode.el (verilog-mode): Check whether
15180 which-func-modes is t before adding verilog-mode.
15181 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15182
15183 2012-04-21 Leo Liu <sdl.web@gmail.com>
15184
15185 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15186
15187 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15188
15189 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15190 filling of the last column of a table (Bug#5635).
15191 (woman-find-next-control-line): New arg, specifying an additional
15192 regexp component for the control line.
15193 (woman2-roff-buffer): Use it.
15194 (woman-break-table): New function.
15195 (woman2-TS): Use it.
15196
15197 2012-04-21 Chong Yidong <cyd@gnu.org>
15198
15199 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15200 (woman-horizontal-escapes, woman-negative-vertical-space)
15201 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15202 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15203
15204 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15205
15206 * minibuffer.el (completion-file-name-table): Complete user names.
15207
15208 2012-04-20 Leo Liu <sdl.web@gmail.com>
15209
15210 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15211 and pcase-let*.
15212
15213 2012-04-20 Chong Yidong <cyd@gnu.org>
15214
15215 * server.el (server-execute): Respect initial-buffer-choice if it
15216 is a string and there are no files to open (Bug#2825).
15217 (server-create-window-system-frame, server-create-tty-frame):
15218 Don't switch buffers here.
15219 (server-process-filter): Only try to open a window system frame if
15220 compiled with graphical support (Bug#8314).
15221
15222 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15223
15224 * battery.el (battery-echo-area-format): Display remaining time
15225 for sysfs backend too (Bug#11269).
15226 (battery-linux-sysfs): Fix conditional for the charge.
15227
15228 2012-04-20 Chong Yidong <cyd@gnu.org>
15229
15230 * progmodes/gdb-mi.el (gdb): Revert previous change.
15231 (gdb-inferior-io--init-proc): New function.
15232 (gdb-init-1): Use it.
15233 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15234 responsible for allocating a new pty and hooking it to gdb when
15235 the old pty gets an EIO due to process exit.
15236 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15237 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15238 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15239
15240 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15241
15242 * window.el (window-min-size, window-sizable, window-min-delta)
15243 (window-max-delta, window--resizable, window-resizable)
15244 (window-total-size, window-full-height-p, window-full-width-p)
15245 (window-in-direction, window--resize-mini-window, window-resize)
15246 (window--resize-child-windows-normal)
15247 (window--resize-child-windows, window--resize-siblings)
15248 (window--resize-this-window, adjust-window-trailing-edge)
15249 (enlarge-window, shrink-window): Doc fixes.
15250
15251 2012-04-20 Chong Yidong <cyd@gnu.org>
15252
15253 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15254 New function to call delete-process on the gdb-inferior buffer's pty.
15255 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15256 pty process (Bug#11273).
15257 (gdb-update): New arg to suppress talking to the gdb process.
15258 (gdb-done-or-error): Use it.
15259 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15260 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15261 sentinel not being called.
15262
15263 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15264
15265 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15266
15267 2012-04-20 Glenn Morris <rgm@gnu.org>
15268
15269 * net/network-stream.el (open-network-stream): Doc fix.
15270
15271 2012-04-20 Chong Yidong <cyd@gnu.org>
15272
15273 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15274
15275 2012-04-20 Alan Mackenzie <acm@muc.de>
15276
15277 Ensure searching for keywords is case sensitive.
15278
15279 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15280 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15281 (c-defun-name, c-mark-function, c-cpp-define-name)
15282 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15283 (c-context-line-break): Bind case-fold-search to nil.
15284
15285 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15286 Bind case-fold-search to nil.
15287
15288 2012-04-20 Chong Yidong <cyd@gnu.org>
15289
15290 * mail/sendmail.el (mail-bury): Call return action with the right
15291 Rmail buffer (Bug#11242).
15292
15293 * server.el (server-process-filter): Handle corner case where both
15294 tty and nowait options are present (Bug#11102).
15295
15296 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15297
15298 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15299 (top level): Put into the executable the ident-style '$Id:' tag on
15300 windows-nt as well.
15301
15302 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15303
15304 * electric.el (electric-indent-post-self-insert-function): Check that
15305 electric-indent-mode is enabled in current buffer.
15306
15307 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15308
15309 * imenu.el (imenu-progress-message): Restore; it is "used" in
15310 erc/erc-imenu.el and net/snmp-mode.el.
15311
15312 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15313
15314 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15315 (mouse-avoidance-nudge-mouse): Remove unused binding.
15316
15317 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15318
15319 * descr-text.el (describe-char):
15320 * progmodes/python.el (python-describe-symbol):
15321 Don't call `toggle-read-only', set `buffer-read-only'.
15322
15323 * imenu.el (imenu-default-goto-function): Mark unused args.
15324 (imenu-progress-message): Remove obsolete macro; all callers changed.
15325
15326 * subr.el (keymap-canonicalize): Remove unused binding.
15327 (read-passwd): Mark unused arg.
15328
15329 * tutorial.el (tutorial--display-changes): Remove unused binding.
15330 (tutorial--save-tutorial-to): Remove unused variable.
15331
15332 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15333 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15334 (package-generate-autoloads, package-menu--generate)
15335 (package-menu--find-upgrades): Remove unused bindings.
15336
15337 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15338 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15339 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15340 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15341 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15342 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15343 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15344 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15345 (cua-delete-char-rectangle): Mark unused args.
15346 (cua-align-rectangle): Remove unused binding.
15347
15348 * mail/rmail.el (compilation--message->loc)
15349 (epa--find-coding-system-for-mime-charset): Declare.
15350
15351 * net/dbus.el (dbus-register-service): Declare.
15352 (dbus-name-owner-changed-handler): Remove unused binding.
15353
15354 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15355 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15356 (nxml-scan-backward-within): Mark unused arg.
15357 (nxml-dynamic-markup-word): Remove unused binding.
15358
15359 * mouse.el (mouse-menu-major-mode-map):
15360 * emacs-lisp/authors.el (authors-scan-change-log)
15361 (authors-add-to-author-list):
15362 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15363 * emacs-lisp/smie.el (smie-auto-fill):
15364 * mail/sendmail.el (mail-bury):
15365 * mail/unrmail.el (unrmail):
15366 * net/tls.el (open-tls-stream):
15367 * textmodes/picture.el (picture-mouse-set-point):
15368 Remove unused bindings.
15369
15370 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15371
15372 * net/tramp.el (tramp-action-password): Let-bind
15373 `enable-recursive-minibuffers' to t.
15374
15375 2012-04-18 Sam Steingold <sds@gnu.org>
15376
15377 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15378 instead of 'string to accommodate values like [f11].
15379 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15380 * progmodes/gdb-mi.el: Likewise.
15381
15382 2012-04-18 Leo Liu <sdl.web@gmail.com>
15383
15384 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15385 current buffer.
15386 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15387 LOCAL is nil.
15388
15389 2012-04-18 Chong Yidong <cyd@gnu.org>
15390
15391 * simple.el (line-move): Use forward-line if in batch mode
15392 (Bug#11053).
15393
15394 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15395
15396 * files.el (after-find-file): Do not try to add a final newline if
15397 the buffer is read-only (Bug#11156).
15398
15399 2012-04-17 Richard Stallman <rms@gnu.org>
15400
15401 * mail/rmail.el (rmail-start-mail):
15402 Pass (rmail-mail-return...) for the return-action.
15403 Pass (rmail-yank-current-message...) for the yank-action.
15404 (rmail-yank-current-message): New function.
15405 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15406 (rmail-reply): Likewise.
15407 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15408
15409 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15410 buffer, not the last. Reject temp buffers. Use the rmail-mode
15411 buffer, not newbuf.
15412
15413 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15414
15415 * server.el (server-ensure-safe-dir): Simplify.
15416
15417 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15418
15419 * emacs-lisp/smie.el: Provide smarter auto-filling.
15420 (smie-auto-fill): New function.
15421 (smie-setup): Use it.
15422
15423 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15424
15425 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15426
15427 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15428 (comment-indent): Use it.
15429
15430 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15431
15432 * ses.el: The overall change is to add cell renaming, that is
15433 setting fancy names for cell symbols other than name matching
15434 "\\`[A-Z]+[0-9]+\\'" regexp .
15435 (ses-localvars): Add ses--renamed-cell-symb-list.
15436 (ses-create-cell-variable): New defun.
15437 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15438 (ses-relocate-formula): Relocate formulas only for cells the
15439 symbols of which are not renamed, i.e. symbols whose names do not
15440 match regexp "\\`[A-Z]+[0-9]+\\'".
15441 (ses-relocate-all): Relocate values only for cells the symbols of
15442 which are not renamed.
15443 (ses-load): Create cells variables as the (ses-cell ...) are read,
15444 in order to check row col consistency with cell symbol name only
15445 for cells that are not renamed.
15446 (ses-replace-name-in-formula): New defun.
15447 (ses-rename-cell): New defun.
15448
15449 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15450
15451 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15452 New option (bug#11118).
15453 (perl-calculate-indent): Respect it.
15454
15455 2012-04-17 Glenn Morris <rgm@gnu.org>
15456
15457 * dired-aux.el (dired-mark-read-string): Doc fix.
15458
15459 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15460
15461 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15462 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15463
15464 2012-04-17 Glenn Morris <rgm@gnu.org>
15465
15466 * mouse.el (mouse-drag-track):
15467 * speedbar.el (speedbar-frame-mode):
15468 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15469
15470 2012-04-16 Leo Liu <sdl.web@gmail.com>
15471
15472 * progmodes/python.el: Trivial cleanup.
15473
15474 2012-04-16 Glenn Morris <rgm@gnu.org>
15475
15476 * vc/vc.el (vc-string-prefix-p):
15477 * vc/pcvs-util.el (cvs-string-prefix-p):
15478 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15479 * mpc.el (mpc-string-prefix-p):
15480 Make all of these into obsolete aliases for string-prefix-p.
15481 Update callers.
15482 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15483
15484 * textmodes/two-column.el: Move custom options to the start.
15485 (frame-width): Remove compat definition.
15486 (2C-associate-buffer, 2C-dissociate):
15487 Use with-current-buffer rather than save-excursion.
15488 (2C-dissociate): Force a mode-line update.
15489 (2C-autoscroll): Use ignore-errors.
15490
15491 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15492 Autoload trivia.
15493
15494 * emacs-lisp/cl-extra.el (*random-state*):
15495 Remove unnecessary declaration.
15496
15497 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15498
15499 * play/cookie1.el (cookie-snarf):
15500 Give an explicit error if input file cannot be read.
15501
15502 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15503
15504 * progmodes/perl-mode.el (c-macro-expand):
15505 Remove unnecessary autoload (it is in loaddefs.el).
15506
15507 * textmodes/picture.el (picture-desired-column)
15508 (picture-update-desired-column): Convert comments to doc-strings.
15509 (picture-substitute): Remove function.
15510 (picture-mode-map): Initialize in the defvar.
15511
15512 * woman.el: Remove eval-after-load for tar-mode.
15513 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15514 (woman-tar-extract-file): Autoload it.
15515
15516 * frame.el (automatic-hscrolling): Make this alias obsolete.
15517
15518 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15519
15520 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15521 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15522 (ispell-dictionary-base-alist): Revert to original XEmacs
15523 friendly version for default. [:alpha:] will be added in
15524 `ispell-set-spellchecker-params' if needed.
15525
15526 2012-04-16 Chong Yidong <cyd@gnu.org>
15527
15528 * image.el (imagemagick--file-regexp): New variable.
15529 (imagemagick-register-types): Use it.
15530 (imagemagick-types-inhibit): Add :set function. Allow new value
15531 of t to inhibit all types.
15532
15533 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15534 so we can preload it.
15535
15536 * loadup.el (fboundp): Preload regexp-opt, needed by
15537 imagemagick-register-types.
15538
15539 2012-04-15 Chong Yidong <cyd@gnu.org>
15540
15541 * frame.el (scrolling): Remove nearly unused customization group.
15542
15543 * scroll-all.el (scroll-all-mode): Move to windows group.
15544
15545 2012-04-15 Chong Yidong <cyd@gnu.org>
15546
15547 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15548
15549 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15550
15551 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15552 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15553
15554 2012-04-15 Glenn Morris <rgm@gnu.org>
15555
15556 * simple.el (process-file-side-effects): Doc fix.
15557
15558 2012-04-15 Glenn Morris <rgm@gnu.org>
15559
15560 * international/mule-cmds.el (set-language-environment): Doc fix.
15561
15562 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15563
15564 * server.el (server-auth-key, server-generate-key): Doc fixes.
15565 (server-get-auth-key): Doc fix. Use `string-match-p'.
15566 (server-start): Reflow docstring.
15567
15568 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15569
15570 * server.el (server-generate-key): `called-interactively-p'
15571 requires a parameter.
15572
15573 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15574
15575 * server.el (server-auth-key): New variable.
15576 (server-generate-key, server-get-auth-key): New function.
15577 (server-start): Use the new variable and functions to allow
15578 setting a permanent server key (bug#9423).
15579
15580 2012-04-14 Leo Liu <sdl.web@gmail.com>
15581
15582 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15583
15584 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15585
15586 Spelling fixes.
15587 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15588 Emacs uses American spelling.
15589
15590 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15591
15592 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15593 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15594 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15595 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15596
15597 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15598
15599 * progmodes/which-func.el (which-func-modes): Change default.
15600
15601 2012-04-14 Kim F. Storm <storm@cua.dk>
15602
15603 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15604 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15605
15606 2012-04-14 Chong Yidong <cyd@gnu.org>
15607
15608 * custom.el (custom-theme-set-variables): Doc fix.
15609
15610 2012-04-14 Glenn Morris <rgm@gnu.org>
15611
15612 * international/mule.el (set-auto-coding-for-load): Doc fix.
15613
15614 2012-04-14 Alan Mackenzie <acm@muc.de>
15615
15616 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15617 imenu work again for Objective C Mode. Correct the *-index values,
15618 these having been disturbed by a previous change in 2011-08.
15619
15620 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15621 Correct two search limits.
15622
15623 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15624
15625 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15626
15627 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15628
15629 * international/characters.el: Fix sorting.
15630
15631 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15632
15633 * international/characters.el: Add more missing Latin case pairs.
15634
15635 2012-04-14 Glenn Morris <rgm@gnu.org>
15636
15637 * files.el (dir-locals-set-class-variables): Doc fix.
15638
15639 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15640
15641 * international/characters.el: Add set-case-syntax-pair call for
15642 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15643 counterpart. (Bug#11209)
15644
15645 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15646
15647 2012-04-14 Glenn Morris <rgm@gnu.org>
15648
15649 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15650
15651 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15652
15653 * textmodes/ispell.el (ispell-dictionary-base-alist):
15654 Add data for Hebrew.
15655
15656 2012-04-14 Chong Yidong <cyd@gnu.org>
15657
15658 * net/rcirc.el (rcirc-cmd-quit):
15659 Revert 2012-03-18 change (Bug#11192).
15660
15661 2012-04-14 Glenn Morris <rgm@gnu.org>
15662
15663 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15664
15665 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15666
15667 * minibuffer.el (completion-in-region-mode-map):
15668 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15669
15670 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15671
15672 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15673
15674 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15675
15676 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15677 to allow `C-M-f' and `C-M-b' to move to the nearest path
15678 separator (bug#9511).
15679
15680 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15681
15682 * avoid.el: Require cl when compiling. And also move the
15683 `provide' to the end.
15684
15685 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15686
15687 * avoid.el (mouse-avoidance-banish-position): New variable.
15688 (mouse-avoidance-banish-destination): Use it (bug#10165).
15689
15690 2012-04-13 Leo Liu <sdl.web@gmail.com>
15691
15692 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15693
15694 2012-04-13 Ken Brown <kbrown@cornell.edu>
15695
15696 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15697 this is no longer needed now that cygstart understands file:// URLs.
15698 (browse-url-filename-alist): For the same reason, don't modify
15699 file:// URLs on Cygwin.
15700
15701 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15702
15703 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15704 the region on shift if the binding is already shifted (bug#11221).
15705
15706 2012-04-12 Glenn Morris <rgm@gnu.org>
15707
15708 * mail/mailpost.el: Move to obsolete/.
15709
15710 2012-04-12 Drew Adams <drew.adams@oracle.com>
15711
15712 * imenu.el (imenu--generic-function): Ignore invisible definitions
15713 (bug#10123).
15714
15715 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15716
15717 * hexl.el (hexl-bits): New variable.
15718 (hexl-options): Mention the variable in the doc string.
15719 (hexl-rulerise, hexl-line-displen): New functions.
15720 (hexl-mode): Mention the new variable.
15721 (hexl-mode, hexl-current-address, hexl-current-address):
15722 Use the displen.
15723 (hexl-ascii-start-column): New function.
15724 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15725 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15726
15727 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15728
15729 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15730 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15731 the encoding, as expected by hunspell.
15732
15733 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15734
15735 * battery.el (battery--linux-sysfs-regexp): New const.
15736 (battery-status-function): Use it. Remove yeeloong special case.
15737 (battery-yeeloong-sysfs): Remove.
15738 (battery-echo-area-format): Remove yeeloong special case.
15739
15740 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15741
15742 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15743 Reported by Noah Friedman.
15744
15745 * subr.el (read-passwd): Use read-string.
15746
15747 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15748
15749 * vcursor.el (vcursor-move): Increase the priority of the overlay
15750 (bug#9663).
15751
15752 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15753
15754 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15755 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15756
15757 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15758
15759 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15760 define-minor-mode (bug#10760).
15761
15762 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15763
15764 * progmodes/grep.el (rgrep): Tweak the find command line so
15765 that directories matching `grep-find-ignored-files' won't be
15766 pruned (bug#10351).
15767
15768 2012-04-11 Chong Yidong <cyd@gnu.org>
15769
15770 * startup.el (command-line): Remove support for long-obsolete
15771 variable font-lock-face-attributes.
15772
15773 2012-04-11 Glenn Morris <rgm@gnu.org>
15774
15775 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15776
15777 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15778
15779 * window.el (window--state-get-1): Obey window-point-insertion-type.
15780
15781 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15782
15783 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15784 to previous function when point is on the first character of a
15785 function. Take care of that in `narrow-to-defun' (bug#6157).
15786
15787 2012-04-11 Glenn Morris <rgm@gnu.org>
15788
15789 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15790 not just file-errors.
15791
15792 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15793 (vc-bzr-sha1): Use internal sha1.
15794
15795 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15796
15797 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15798
15799 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15800
15801 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15802 that start in the middle of the line (bug#10496).
15803
15804 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15805
15806 * battery.el (battery-linux-proc-acpi): Only one battery is
15807 discharged at a time, but that seems to confuse battery.el when
15808 computing `rate-type' for the battery not being discharged
15809 (bug#10332).
15810
15811 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15812
15813 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15814
15815 * international/quail.el: Use dolist and simplify.
15816 (quail-define-package, quail-update-keyboard-layout)
15817 (quail-define-rules): Use dolist.
15818 (quail-insert-kbd-layout, quail-get-translation): CSE.
15819
15820 * tmm.el: Use dolist, remove left over hook.
15821 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15822 Use dolist.
15823 (calendar-load-hook): Don't mess with it.
15824
15825 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15826 Use derived-mode-p. Run the diff asynchronously.
15827
15828 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15829
15830 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15831
15832 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15833
15834 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15835 (list-dynamic-libraries--loaded): New function.
15836 (list-dynamic-libraries--refresh): Use it.
15837
15838 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15839
15840 * progmodes/python.el (python-fill-paragraph):
15841 Make python-fill-region in a multiline string work when font-lock is
15842 disabled (bug#7018).
15843
15844 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15845
15846 * language/european.el (cp775): Add oem/legacy (en)coding on
15847 DOS/MS Windows for the Baltic languages. There are still plenty
15848 of texts written in this encoding/codepage (bug#6519).
15849
15850 2012-04-10 Glenn Morris <rgm@gnu.org>
15851
15852 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15853 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15854
15855 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15856
15857 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15858 next-line "n" and previous-line "p" in order to make recentf more
15859 consistent with ibuffer, dired or org-mode (bug#9387).
15860
15861 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15862
15863 * image.el (put-image): Return the overlay created instead of the
15864 optional input string (bug#7834). Note that this may break code
15865 that is (for some reason or other) depending on `put-image'
15866 returning the string.
15867
15868 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15869
15870 * simple.el (zap-to-char): Allow zapping using input methods
15871 (bug#1580).
15872
15873 * textmodes/fill.el (fill-region): Leave point and mark where they
15874 were before filling (bug#5399).
15875
15876 2012-04-09 Glenn Morris <rgm@gnu.org>
15877
15878 * version.el (emacs-bzr-get-version):
15879 Handle lightweight checkouts of local branches.
15880
15881 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15882
15883 * international/characters.el: Recover lost case pairs. (Bug#11209)
15884
15885 2012-04-09 Chong Yidong <cyd@gnu.org>
15886
15887 * custom.el (custom-variable-p): Return nil for non-symbol
15888 arguments instead of signaling an error.
15889 (user-variable-p): Obsolete alias for custom-variable-p.
15890
15891 * apropos.el (apropos-variable):
15892 * files-x.el (read-file-local-variable):
15893 * simple.el (set-variable):
15894 * woman.el (woman-mini-help):
15895 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15896
15897 2012-04-09 Glenn Morris <rgm@gnu.org>
15898
15899 * startup.el (normal-top-level): Don't look for leim-list.el
15900 in places where it will not be found. (Bug#910)
15901
15902 * international/mule-cmds.el (set-default-coding-systems):
15903 * files.el (normal-mode):
15904 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15905 This function was removed with ucs-tables.el in 2008.
15906
15907 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15908
15909 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15910 ispell-encoding8-command to "-i", without a trailing space.
15911 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15912 separate command-line arguments, to specify the encoding, since
15913 that's how hunspell expects it.
15914
15915 2012-04-08 Glenn Morris <rgm@gnu.org>
15916
15917 * loadup.el: Load bindings before cus-start.
15918 This reduces somewhat the number of "rogue" settings in emacs -Q.
15919
15920 2012-04-07 Glenn Morris <rgm@gnu.org>
15921
15922 * version.el (emacs-bzr-get-version): New function.
15923 (emacs-bzr-version): New variable.
15924 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15925 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15926
15927 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15928
15929 * international/uni-bidi.el, international/uni-category.el:
15930 * international/uni-combining.el, international/uni-decimal.el:
15931 * international/uni-decomposition.el, international/uni-digit.el:
15932 * international/uni-lowercase.el, international/uni-mirrored.el:
15933 * international/uni-name.el, international/uni-numeric.el:
15934 * international/uni-titlecase.el, international/uni-uppercase.el:
15935 Update for Unicode 6.1.
15936
15937 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15938
15939 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15940
15941 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15942
15943 * window.el (shrink-window): Mention the `window-min-height'
15944 variable in the doc string.
15945
15946 2012-04-05 Bastien Guerry <bzg@altern.org>
15947
15948 * color.el (color-lighten-name): Fix typo.
15949
15950 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15951
15952 * server.el (server--on-display-p): New function.
15953 (server--on-display-p): Use it.
15954
15955 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15956
15957 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15958 (bug#11145).
15959
15960 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15961
15962 * comint.el (comint--common-quoted-suffix): Check string boundary
15963 before comparing (bug#11158).
15964 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15965
15966 2012-04-04 Chong Yidong <cyd@gnu.org>
15967
15968 * minibuffer.el (completion-extra-properties): Doc fix.
15969
15970 * subr.el (delayed-warnings-hook): Doc fix.
15971
15972 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15973
15974 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15975 selection (Bug#11159).
15976 (epa-insert-keys): Inform that the default public key will be
15977 exported if no key is selected.
15978
15979 2012-04-04 Richard Stallman <rms@gnu.org>
15980
15981 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15982
15983 2012-04-03 Chong Yidong <cyd@gnu.org>
15984
15985 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15986 mail-insert-file, not its obsolete alias mail-attach-file.
15987
15988 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15989
15990 * notifications.el (notifications-notify): Fix docstring.
15991
15992 2012-04-02 Glenn Morris <rgm@gnu.org>
15993
15994 * emacs-lisp/authors.el (authors-aliases): Another addition.
15995
15996 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15997
15998 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15999 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16000 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16001
16002 2012-04-01 Chong Yidong <cyd@gnu.org>
16003
16004 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16005 Handle root directory properly.
16006 (copy-directory): Caller changed.
16007
16008 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16009 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16010
16011 2012-03-31 Glenn Morris <rgm@gnu.org>
16012
16013 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16014
16015 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16016
16017 * calendar/calendar.el (calendar-window-list)
16018 (calendar-hide-window): Restore. (Bug#11140)
16019 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16020
16021 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16022
16023 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16024
16025 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16026 Check if file is a symlink (Bug#10489).
16027
16028 * files.el (copy-directory): Likewise.
16029
16030 2012-03-30 Chong Yidong <cyd@gnu.org>
16031
16032 * image.el (imagemagick-types-inhibit)
16033 (imagemagick-register-types): Doc fix.
16034
16035 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16036
16037 * textmodes/ispell.el (ispell-get-extended-character-mode):
16038 Disable extended-char-mode for hunspell. hunspell does not support it
16039 and treats ~word as ordinary words in pipe mode.
16040
16041 2012-03-30 Glenn Morris <rgm@gnu.org>
16042
16043 * tutorial.el (help-with-tutorial): Ensure local variables don't
16044 happen to make the buffer read-only. (Bug#11127)
16045
16046 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16047
16048 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16049 (perl-calculate-indent): Return `noindent' in strings.
16050
16051 2012-03-28 Sam Steingold <sds@gnu.org>
16052
16053 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16054 instead of the broken adhockery which does not prevent calendar
16055 buffers from being displayed at random after exit.
16056 (calendar-window-list, calendar-hide-window): Remove the broken
16057 adhockery.
16058
16059 2012-03-28 Glenn Morris <rgm@gnu.org>
16060
16061 * replace.el (query-replace-map): Doc fix.
16062
16063 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16064
16065 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16066 contents. (Bug#11109)
16067
16068 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16069
16070 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16071 (bug#11077).
16072 (avl-tree--check, avl-tree--check-node): New funs.
16073
16074 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16075
16076 * window.el (switch-to-visible-buffer): New option.
16077 (switch-to-prev-buffer, switch-to-next-buffer):
16078 Observe switch-to-visible-buffer. Make sure that checking for a window
16079 showing a buffer already is done on the same frame.
16080
16081 2012-03-27 Glenn Morris <rgm@gnu.org>
16082
16083 * startup.el (mail-host-address): Doc fix.
16084
16085 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16086
16087 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16088 than 197 variables.
16089
16090 2012-03-26 Ami Fischman <ami@fischman.org>
16091
16092 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16093
16094 2012-03-26 Glenn Morris <rgm@gnu.org>
16095
16096 * files.el (save-buffers-kill-emacs): Doc fix.
16097
16098 * startup.el (normal-top-level, command-line, command-line-1):
16099 Give them doc strings.
16100
16101 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16102
16103 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16104 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16105
16106 2012-03-25 Chong Yidong <cyd@gnu.org>
16107
16108 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16109 theme if it was previously enabled before (Bug#11031).
16110
16111 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16112 spec with custom-face-get-current-spec if its :shown-value is not
16113 determined yet (Bug#9337).
16114 (customize-create-theme, custom-theme-revert): Doc fixes.
16115
16116 * button.el (button-at): Minor addition to docstring.
16117
16118 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16119
16120 * vc/vc.el (vc-merge): Fix a prompt.
16121
16122 2012-03-24 Chong Yidong <cyd@gnu.org>
16123
16124 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16125 point (Bug#9623).
16126
16127 * button.el (button-at): Minor addition to docstring.
16128
16129 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16130
16131 * newcomment.el (comment-choose-indent): No space after BOL.
16132
16133 2012-03-22 Sam Steingold <sds@gnu.org>
16134
16135 * window.el (switch-to-prev-buffer): Revert last patch because the
16136 bug turned out to be an advertised feature (Elisp manual 28.14).
16137
16138 2012-03-22 Glenn Morris <rgm@gnu.org>
16139
16140 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16141 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16142
16143 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16144
16145 * net/network-stream.el (network-stream-open-starttls): Make error
16146 message under Windows be less misleading.
16147
16148 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16149
16150 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16151 understands (bug#9942).
16152
16153 2012-03-22 Chong Yidong <cyd@gnu.org>
16154
16155 * simple.el (end-of-visible-line): Handle return value of
16156 next-single-property-change properly (Bug#9371).
16157
16158 2012-03-22 Kenichi Handa <handa@m17n.org>
16159
16160 * international/quail.el (quail-insert-kbd-layout): Fix previous
16161 change. To avoid unwanted bidi reordering, use
16162 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16163
16164 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16165
16166 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16167 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16168 (ruby-beginning-of-indent): Be more careful with the difference
16169 between word-boundary and symbol boundary.
16170 (ruby-mode-syntax-table): Make : a symbol constituent.
16171
16172 2012-03-21 Andreas Politz <politza@fh-trier.de>
16173
16174 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16175
16176 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16177
16178 * progmodes/etags.el (tags-completion-at-point-function):
16179 Improve last fix.
16180
16181 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16182
16183 2012-03-21 Sam Steingold <sds@gnu.org>
16184
16185 * progmodes/etags.el (tags-completion-at-point-function):
16186 Avoid the error when point is inside the pattern.
16187
16188 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16189
16190 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16191 line (Bug#10855).
16192
16193 2012-03-21 Drew Adams <drew.adams@oracle.com>
16194
16195 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16196
16197 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16198
16199 * ido.el (ido-set-current-directory, ido-read-internal)
16200 (ido-choose-completion-string, ido-completion-help): Handle nil
16201 value of ido-completion-buffer (Bug#11008).
16202
16203 2012-03-21 Sam Steingold <sds@gnu.org>
16204
16205 * window.el (switch-to-prev-buffer): Do not switch to a visible
16206 window previous buffer, just like with the frame previous buffers.
16207
16208 2012-03-21 Chong Yidong <cyd@gnu.org>
16209
16210 * faces.el (make-face, make-empty-face, copy-face):
16211 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16212 Doc fixes.
16213
16214 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16215
16216 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16217 (widget-complete): Remove broken use of it.
16218
16219 2012-03-20 Chong Yidong <cyd@gnu.org>
16220
16221 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16222 Use string-width and truncate-string-width to handle arbitrary
16223 characters.
16224
16225 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16226
16227 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16228 to draw rectangles, not squares. (Regression introduced by revno
16229 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16230
16231 2012-03-18 Chong Yidong <cyd@gnu.org>
16232
16233 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16234 it is not yet defined (for temacs).
16235
16236 2012-03-18 Leo Liu <sdl.web@gmail.com>
16237
16238 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16239 prefix.
16240
16241 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16242
16243 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16244 (ispell-choices-win-default-height, ispell-silently-savep)
16245 (ispell-dictionary-alist, ispell-encoding8-command)
16246 (ispell-check-version, ispell-aspell-find-dictionary)
16247 (ispell-valid-dictionary-list, ispell-words-keyword)
16248 (ispell-get-word, ispell-internal-change-dictionary)
16249 (ispell-region, ispell-skip-region-list)
16250 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16251 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16252 (ispell-message-text-end, ispell-message)
16253 (ispell-buffer-local-parsing): Doc fix.
16254
16255 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16256
16257 * htmlfontify.el: Add support for code block fontification for ODT
16258 export (Bug #9914).
16259 (hfy-optimisations): Define new option
16260 `body-text-only'
16261 (hfy-fontify-buffer): Honor above setting.
16262 (hfy-begin-span, hfy-end-span): New routines factored out form
16263 `hfy-fontify-buffer'.
16264 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16265 that permit insertion of custom tags.
16266 (hfy-fontify-buffer): Use above handlers.
16267 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16268 (hfy-face-to-css): Re-defined to be a variable.
16269 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16270 over multiple runs. This is made possible by having the caller let
16271 bind a special variable `hfy-user-sheet-assoc'.
16272 (htmlfontify-string): New defun.
16273 (hfy-compile-face-map): Make sure that the last char in the
16274 buffer is correctly fontified.
16275 (hfy-face-resolve-face): Whitespace only change.
16276
16277 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16278
16279 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16280 message more clear.
16281
16282 2012-03-16 Leo Liu <sdl.web@gmail.com>
16283
16284 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16285
16286 2012-03-16 Alan Mackenzie <acm@muc.de>
16287
16288 Further optimize the handling of large macros.
16289
16290 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16291 limit to a call of `c-literal-limits'.
16292 (c-determine-+ve-limit): New function.
16293 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16294 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16295 In CASE 5B, restrict a search limit to 500.
16296 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16297
16298 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16299 Restrict macro bounds to +-500 from after-change's BEG END.
16300
16301 2012-03-16 Leo Liu <sdl.web@gmail.com>
16302
16303 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16304
16305 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16306
16307 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16308 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16309
16310 2012-03-16 Glenn Morris <rgm@gnu.org>
16311
16312 * view.el (view-buffer, view-buffer-other-window)
16313 (view-buffer-other-frame): Doc fixes re special mode-class.
16314
16315 * subr.el (eval-after-load): If named feature is provided not from
16316 a file, run after-load forms. (Bug#10946)
16317
16318 * calendar/calendar.el (calendar-insert-at-column):
16319 Handle non-unit-width characters a bit better. (Bug#10978)
16320
16321 2012-03-15 Chong Yidong <cyd@gnu.org>
16322
16323 * emacs-lisp/ring.el (ring-extend): New function.
16324 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16325
16326 * comint.el (comint-read-input-ring)
16327 (comint-add-to-input-history): Grow comint-input-ring lazily.
16328
16329 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16330
16331 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16332 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16333
16334 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16335 (imenu-add-to-menubar): Don't add a redundant index.
16336 (imenu-update-menubar): Handle a dynamically composed keymap.
16337
16338 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16339
16340 * mail/sendmail.el (mail-encode-header):
16341 Bind rfc2047-encode-encoded-words to nil.
16342
16343 2012-03-13 Glenn Morris <rgm@gnu.org>
16344
16345 * calendar/calendar.el (calendar-string-spread):
16346 Handle non-unit-width characters a bit better. (Bug#10978)
16347
16348 2012-03-13 Leo Liu <sdl.web@gmail.com>
16349
16350 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16351 directory and file as argument (Bug#10822).
16352
16353 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16354
16355 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16356 For dynamically generated code, follow $PC.
16357 (gdb-disassembly-handler-custom): Handle no function name case.
16358
16359 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16360
16361 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16362 * emulation/ws-mode.el (ws-query-replace):
16363 * sort.el (sort-regexp-fields):
16364 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16365
16366 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16367
16368 * dabbrev.el: Fix cycle completion order (bug#10963).
16369 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16370 (dabbrev-completion): Don't use an obarray; provide
16371 a cycle-sort-function.
16372
16373 2012-03-12 Leo Liu <sdl.web@gmail.com>
16374
16375 * simple.el (kill-new): Use equal-including-properties for comparison.
16376 (kill-do-not-save-duplicates): Doc fix.
16377
16378 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16379
16380 * dabbrev.el: Fix cycle completion (bug#10963).
16381 Use lexical binding and wrap to 80 columns.
16382 (dabbrev-completion): Delay computing the list of completions.
16383
16384 2012-03-12 Kenichi Handa <handa@m17n.org>
16385
16386 * international/quail.el (quail-insert-kbd-layout): Surround each
16387 row by LRO and PDF instead of inserting many LRMs. Pad the left
16388 and right of each non-spacing marks. Insert invisible space
16389 between lower and upper characters to prevent composition.
16390
16391 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16392
16393 * minibuffer.el (minibuffer-complete): Don't get confused when the
16394 function is run twice via different commands (bug#10958).
16395 (complete-with-action): Fix docstring.
16396
16397 2012-03-12 Chong Yidong <cyd@gnu.org>
16398
16399 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16400 (nxml-completion-at-point-function): New function.
16401 (nxml-mode): Use it.
16402 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16403
16404 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16405 Load generated autoloads file before byte compiling (Bug#10970).
16406 (package--make-autoloads-and-compile): New helper fun.
16407
16408 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16409
16410 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16411
16412 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16413
16414 * autorevert.el (auto-revert-handler): Ensure, that
16415 file-readable-p is applied only for local files or in
16416 auto-revert-tail-mode.
16417
16418 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16419
16420 * server.el (server-eval-at): Handle non-tcp connections.
16421 Decode result string.
16422
16423 * server.el (server-msg-size): New constant.
16424 (server-reply-print): New function.
16425 (server-eval-and-print): Use it.
16426 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16427 Handle -print-nonl.
16428
16429 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16430
16431 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16432 (Bug#10987).
16433
16434 2012-03-11 Chong Yidong <cyd@gnu.org>
16435
16436 * simple.el (goto-line): Doc fix (Bug#9938).
16437
16438 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16439
16440 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16441 when finished (Bug#10963).
16442
16443 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16444
16445 * window.el (split-window-below): Fix bug in case where
16446 split-window-keep-point is nil (Bug#10971).
16447
16448 2012-03-11 Juri Linkov <juri@jurta.org>
16449
16450 * replace.el (replace-highlight): Set isearch-word to nil
16451 unconditionally. (Bug#10887)
16452
16453 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16454
16455 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16456 mairix-replace-illegal-chars; all callers changed. Don't remove
16457 ^, ~, and = characters: they are meaningful in mairix search specs.
16458 (mairix-widget-create-query): Add usage information about mairix
16459 search forms: negating words, searching for substrings, etc.
16460
16461 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16462
16463 * international/fontset.el (font-encoding-alist): Add an entry for
16464 ksx1001 (Bug#5667).
16465
16466 2012-03-10 Richard Stallman <rms@gnu.org>
16467
16468 * mail/sendmail.el (mail-encode-header):
16469 Set rfc2047-encode-encoded-words.
16470
16471 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16472
16473 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16474 view buffer means not swapped.
16475 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16476 (rmail-write-region-annotate): Error if real text has disappeared.
16477
16478 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16479
16480 2012-03-10 Chong Yidong <cyd@gnu.org>
16481
16482 * emulation/cua-rect.el (cua--init-rectangles):
16483 * emulation/cua-base.el (cua--init-keymaps):
16484 Add delete-forward-char to remappings (Bug#9666).
16485
16486 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16487
16488 * speedbar.el (speedbar-unhighlight-one-tag-line):
16489 Avoid unhighlighting due to frame switching (Bug#10275).
16490
16491 2012-03-10 Chong Yidong <cyd@gnu.org>
16492
16493 * minibuffer.el (completion-in-region, completion-help-at-point):
16494 Give the completion field overlay a high priority (Bug#6830).
16495
16496 * dired.el (dired-goto-file): Recognize absolute file name
16497 listings (Bug#7126).
16498 (dired-goto-file-1): New helper function.
16499 (dired-toggle-read-only): Inhibit warnings.
16500
16501 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16502
16503 * net/dbus.el (dbus-property-handler): Return empty array if
16504 there are no properties.
16505
16506 2012-03-09 Leo Liu <sdl.web@gmail.com>
16507
16508 * savehist.el (savehist-printable): Stricter check for string
16509 value (Bug#10937).
16510
16511 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16512
16513 * mail/smtpmail.el (smtpmail-send-it):
16514 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16515 valid mbox format.
16516
16517 2012-03-09 Glenn Morris <rgm@gnu.org>
16518
16519 * files.el (dir-locals-find-file):
16520 Don't check result is regular, readable.
16521 (dir-locals-read-from-file): Demote errors.
16522
16523 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16524
16525 * international/quail.el (quail-insert-kbd-layout):
16526 Insert invisible LRM characters before each character in a keyboard
16527 layout cell, to prevent their reordering by bidi display engine.
16528 For details, see the discussion in
16529 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16530
16531 2012-03-08 Alan Mackenzie <acm@muc.de>
16532
16533 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16534 the starting position; make it extend the marked region when
16535 invoked repeatedly - all under appropriate circumstances.
16536 Fixes bugs #5525, #10906.
16537
16538 2012-03-08 Glenn Morris <rgm@gnu.org>
16539
16540 * files.el (locate-dominating-file, dir-locals-find-file):
16541 Undo 2012-03-06 change.
16542
16543 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16544
16545 * international/quail.el (quail-help):
16546 Force bidi-paragraph-direction be left-to-right. See discussion in
16547 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16548 for the reason.
16549
16550 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16551
16552 Avoid superfluous registering of signals. (Bug#10807)
16553
16554 * notifications.el (notifications-on-action-object)
16555 (notifications-on-close-object): New defvars.
16556 (notifications-on-action-signal, notifications-on-closed-signal):
16557 Unregister the signal if not needed any longer.
16558 (notifications-notify): Register `notifications-action-signal' or
16559 `notifications-closed-signal', if :on-action or :on-close has been
16560 passed as argument.
16561
16562 2012-03-07 Chong Yidong <cyd@gnu.org>
16563
16564 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16565 non-X platforms.
16566
16567 2012-03-06 Glenn Morris <rgm@gnu.org>
16568
16569 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16570 (x-disown-selection-internal, x-get-selection-internal):
16571 Doc fix (add arglist signatures). (Bug#10783)
16572
16573 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16574
16575 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16576 Handle breakpoints with no "type".
16577
16578 2012-03-06 Glenn Morris <rgm@gnu.org>
16579
16580 * files.el (locate-dominating-file): Add optional predicate argument.
16581 (dir-locals-find-file): Make use of above change.
16582
16583 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16584
16585 * info.el (Info-insert-dir): Also try "dir.gz".
16586
16587 2012-03-06 Glenn Morris <rgm@gnu.org>
16588
16589 * files.el (dir-locals-find-file):
16590 Ignore non-readable or non-regular files. (Bug#10928)
16591
16592 * files.el (locate-dominating-file): Doc fix.
16593
16594 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16595
16596 * calendar/calendar.el (calendar-set-mode-line):
16597 `getenv' returns a string. (Bug#10951)
16598
16599 2012-03-05 Leo Liu <sdl.web@gmail.com>
16600
16601 * simple.el (backward-delete-char-untabify): Constrain point to
16602 field (Bug#10939).
16603
16604 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16605
16606 2012-03-05 Chong Yidong <cyd@gnu.org>
16607
16608 * simple.el (count-words): If called from Lisp, return the word
16609 count, for symmetry with `count-lines'. Arglist changed.
16610 (count-words--message): Args changed. Consolidate counting code
16611 from count-words and count-words-region.
16612 (count-words-region): Caller changed.
16613 (count-lines-region): Make it an obsolete alias.
16614
16615 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16616
16617 * saveplace.el (save-place-to-alist)
16618 (save-place-ignore-files-regexp): Allow value nil to disable this
16619 feature.
16620
16621 2012-03-04 Chong Yidong <cyd@gnu.org>
16622
16623 * faces.el (face-spec-reset-face): For the default face, reset the
16624 attributes to default values (Bug#10748).
16625
16626 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16627
16628 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16629 previous patch: Check `message-send-mail-function', and not the
16630 default function (bug#10897).
16631
16632 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16633
16634 * notifications.el (notifications-on-action-signal)
16635 (notifications-on-closed-signal): Check for unique service name of
16636 incoming event. Fix error in removing entry.
16637 (top): Register for signals with wildcard service name.
16638 (notifications-notify): Use daemon unique service name for map entries.
16639
16640 2012-03-04 Chong Yidong <cyd@gnu.org>
16641
16642 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16643
16644 2012-03-04 Glenn Morris <rgm@gnu.org>
16645
16646 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16647 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16648 (expand-abbrev, define-abbrev-table): Doc fixes.
16649
16650 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16651
16652 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16653 `message-default-send-mail-function' and not `send-mail-function'
16654 when doing the prompting for `sendmail-query-once' before sending
16655 in Message buffers (bug#10897).
16656
16657 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16658 This is inconsistent with all the other stream functions, which leave
16659 the setting up to the higher levels (if so wanted) (bug#10931).
16660
16661 2012-03-02 Alan Mackenzie <acm@muc.de>
16662
16663 Depessimize the handling of very large macros.
16664
16665 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16666 (c-macro-cache-syntactic): New variables to implement a one
16667 element macro cache.
16668 (c-invalidate-macro-cache): New function.
16669 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16670 Adapt to use the new cache.
16671 (c-state-safe-place): Use better the cache of safe positions.
16672 (c-state-semi-nonlit-pos-cache)
16673 (c-state-semi-nonlit-pos-cache-limit):
16674 New variables for...
16675 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16676 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16677 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16678 Use c-state-semi-safe-place.
16679
16680 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16681 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16682
16683 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16684
16685 * jka-compr.el (jka-compr-call-process):
16686 Apply `file-accessible-directory-p' only when the default directory is
16687 not remote.
16688
16689 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16690
16691 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16692 access of FILE2, if FILE1 does not exist.
16693
16694 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16695 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16696
16697 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16698 Add "PAGER=" to `process-environment'.
16699
16700 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16701
16702 * progmodes/sql.el: Bug fix
16703 (sql-get-login-ext): Save login values in globals.
16704 (sql-get-login): Use new version of `sql-get-login-ext'.
16705 (sql-interactive-mode): Set global `sql-connection' to nil.
16706 (sql-connect): Set global values for connection.
16707 (sql-product-interactive): Save global values as buffer local.
16708
16709 2012-02-29 Leo Liu <sdl.web@gmail.com>
16710
16711 * abbrev.el (define-abbrevs): Reset sys to nil.
16712
16713 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16714
16715 * files.el (file-equal-p): Rename from `files-equal-p'.
16716 Return nil when one or both files don't exist.
16717 (file-subdir-of-p): Now only top directory must exists,
16718 return nil if it doesn't.
16719 (copy-directory): No need to test with `file-subdir-of-p' after
16720 creating dir.
16721 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16722 to `file-equal-p'.
16723
16724 2012-02-28 Glenn Morris <rgm@gnu.org>
16725
16726 * shell.el (shell-mode):
16727 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16728 * play/landmark.el (landmark-font-lock-face-O):
16729 * play/handwrite.el (handwrite):
16730 * play/gomoku.el (gomoku-O):
16731 * net/browse-url.el (browse-url-browser-display):
16732 * international/mule.el (define-charset):
16733 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16734 * filesets.el (filesets-find-file-delay):
16735 * eshell/em-xtra.el (eshell-xtra):
16736 * eshell/em-unix.el (eshell-grep):
16737 * emulation/viper.el (viper-mode):
16738 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16739 * emacs-lisp/easymenu.el (easy-menu-define):
16740 * calendar/timeclock.el (timeclock-use-display-time):
16741 * bs.el (bs-mode):
16742 * bookmark.el (bookmark-save-flag):
16743 Doc fix (standardize possessive apostrophe usage).
16744
16745 2012-02-27 Chong Yidong <cyd@gnu.org>
16746
16747 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16748 Fix key-binding lookup for ESC key (Bug#9146).
16749
16750 * font-lock.el (font-lock-specified-p): Rename from
16751 font-lock-spec-present. Callers changed.
16752
16753 2012-02-27 Daniel Hackney <dan@haxney.org>
16754
16755 * emacs-lisp/package.el (package-compute-transaction):
16756 Handle holding a package version to t in package-load-list.
16757
16758 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16759
16760 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16761 (tramp-get-inode, tramp-get-device): Use cached values.
16762
16763 2012-02-26 Alan Mackenzie <acm@muc.de>
16764
16765 Check there is a font-lock specification before doing initial
16766 fontification.
16767
16768 * font-core.el (font-lock-mode): Move the conditional from
16769 :after-hook to font-lock-initial-fontify.
16770 (font-lock-default-function): Move the check for a specification
16771 to font-lock-spec-present.
16772
16773 * font-lock.el (font-lock-initial-fontify): Call ...
16774 (font-lock-spec-present): New function.
16775
16776 2012-02-26 Jim Blandy <jimb@red-bean.com>
16777
16778 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16779 (gdb-send): Apply it to the operand of the '-interpreter-exec
16780 console' command, so that we can pass arguments with (say) quotes
16781 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16782
16783 2012-02-26 Chong Yidong <cyd@gnu.org>
16784
16785 * help-fns.el (describe-function-1): Clarify description of
16786 remapping (Bug#10844).
16787
16788 * files.el (files-equal-p): Doc fix.
16789 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16790 and quit the loop once a mismatch is found.
16791
16792 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16793
16794 * bs.el (bs--show-with-configuration): Don't throw an error
16795 if the window cannot be split; otherwise, subsequent calls to
16796 bs-show fail, restoring a stale window config. (Bug#10882)
16797
16798 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16799
16800 * term/ns-win.el (global-map): Bind ns-drag-file to
16801 ns-find-file (Bug#5855, Bug#10050).
16802
16803 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16804
16805 * calendar/parse-time.el (parse-time-string): Allow extractor to
16806 return nil.
16807
16808 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16809
16810 * net/tramp.el (tramp-file-name-for-operation):
16811 Add `files-equal-p' and `file-subdir-of-p'.
16812
16813 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16814 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16815 Add COPY-CONTENTS argument.
16816
16817 2012-02-25 Chong Yidong <cyd@gnu.org>
16818
16819 Add custom groups for VC backends, for consistency with vc-bzr.
16820
16821 * vc/vc-arch.el (vc-arch):
16822 * vc/vc-cvs.el (vc-cvs):
16823 * vc/vc-git.el (vc-git):
16824 * vc/vc-hg.el (vc-hg):
16825 * vc/vc-mtn.el (vc-mtn):
16826 * vc/vc-rcs.el (vc-rcs):
16827 * vc/vc-sccs.el (vc-sccs):
16828 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16829 All relevant defcustoms reassigned.
16830
16831 2012-02-25 Chong Yidong <cyd@gnu.org>
16832
16833 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16834
16835 * term/x-win.el (x-initialize-window-system): Reduce default for
16836 x-selection-timeout to 5 seconds (Bug#8869).
16837
16838 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16839
16840 * files.el (files-equal-p, file-subdir-of-p): New functions.
16841 (copy-directory): Error when trying to copy a directory on itself.
16842 Add missing copy-contents arg to tramp handler.
16843 * dired-aux.el (dired-copy-file-recursive): Same.
16844 (dired-create-files): Modify destination when source is equal to
16845 dest when copying files.
16846 Return also when dest is a subdir of source. (Bug#10489)
16847
16848 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16849
16850 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16851 (Bug#10874)
16852
16853 2012-02-23 Alan Mackenzie <acm@muc.de>
16854
16855 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16856 parameter "after-hook:" to allow the expansion to run code after
16857 the execution of the mode hooks.
16858
16859 * font-lock.el (font-lock-initial-fontify): New function extracted
16860 from font-lock-mode-internal.
16861
16862 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16863 :after-hook.
16864
16865 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16866
16867 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16868 (completion--cache-all-sorted-completions): New function.
16869 (completion-all-sorted-completions): Use it.
16870 (completion--do-completion, minibuffer-force-complete):
16871 Use it to re-instate the flush hook.
16872
16873 * icomplete.el (icomplete-completions): Replace last fix with a better
16874 one (bug#10850).
16875
16876 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16877
16878 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16879 when it might call us back infinitely (bug#10797).
16880
16881 2012-02-23 Glenn Morris <rgm@gnu.org>
16882
16883 * minibuffer.el (completion-category-overrides): Doc fix.
16884
16885 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16886
16887 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16888 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16889
16890 2012-02-23 Glenn Morris <rgm@gnu.org>
16891
16892 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16893 (authors-obsolete-files-regexps, authors-ignored-files)
16894 (authors-ambiguous-files, authors-renamed-files-alist):
16895 Add more entries.
16896
16897 2012-02-23 Juri Linkov <juri@jurta.org>
16898
16899 * isearch.el (isearch-occur): Sync interactive spec with occur's
16900 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16901
16902 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16903
16904 2012-02-22 Juri Linkov <juri@jurta.org>
16905
16906 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16907 (ucs-insert): Doc fix. Check for hex digits in the string.
16908 Don't display `nil' in the error message. (Bug#10857)
16909
16910 2012-02-22 Alan Mackenzie <acm@muc.de>
16911
16912 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16913
16914 2012-02-22 Glenn Morris <rgm@gnu.org>
16915
16916 * ffap.el (ffap-c-path):
16917 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16918
16919 2012-02-22 Chong Yidong <cyd@gnu.org>
16920
16921 * custom.el (load-theme): Doc fix.
16922
16923 2012-02-22 Glenn Morris <rgm@gnu.org>
16924
16925 * dired-x.el (dired-guess-shell-alist-default):
16926 Remove escape sequences from nroff output. (Bug#172)
16927
16928 2012-02-21 Glenn Morris <rgm@gnu.org>
16929
16930 * vc/emerge.el (emerge-defvar-local):
16931 Set `permanent-local' property rather than unused `preserved'.
16932
16933 * textmodes/picture.el (picture-delete-char): New alias.
16934 (picture-mode-map): Use it. (Bug#10860)
16935 (picture-mode): Doc fix.
16936
16937 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16938
16939 * newcomment.el (uncomment-region-default): Remove unused binding.
16940
16941 2012-02-21 Glenn Morris <rgm@gnu.org>
16942
16943 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16944 (picture-self-insert, picture-tab-chars): Doc fix.
16945 (picture-mode-map): Fix C-a, C-e.
16946
16947 2012-02-20 Glenn Morris <rgm@gnu.org>
16948
16949 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16950
16951 2012-02-20 Leo Liu <sdl.web@gmail.com>
16952
16953 * icomplete.el (icomplete-completions): Check FROM arg before
16954 passing to substring (Bug#10850).
16955
16956 2012-02-19 Chong Yidong <cyd@gnu.org>
16957
16958 * comint.el: Require ansi-color.
16959 (comint-output-filter-functions): Add ansi-color-process-output.
16960
16961 * ansi-color.el: Don't set comint-output-filter-functions; it is
16962 now in the initial value defined in comint.el.
16963 (ansi-color-apply-face-function): New variable.
16964 (ansi-color-apply-on-region): Use it.
16965 (ansi-color-apply-overlay-face): New function.
16966
16967 * shell.el (shell): No need to require ansi-color.
16968 (shell-mode): Use ansi-color-apply-face-function to highlight
16969 color escapes using font-lock-face property (Bug#10835).
16970
16971 2012-02-19 Chong Yidong <cyd@gnu.org>
16972
16973 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16974 mode-line formats (Bug#10839).
16975
16976 2012-02-18 Glenn Morris <rgm@gnu.org>
16977
16978 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16979
16980 * mail/undigest.el (unforward-rmail-message): Doc fix.
16981
16982 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16983
16984 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16985
16986 * international/characters.el (script-list): Sync with the latest
16987 Unicode Character Database.
16988
16989 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16990
16991 * international/titdic-cnv.el: Remove duplicate coding tag.
16992 * language/cham.el: Likewise.
16993 * language/tai-viet.el: Likewise.
16994
16995 2012-02-18 Glenn Morris <rgm@gnu.org>
16996
16997 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16998 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16999 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17000 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17001 * calendar/holidays.el (holiday-bahai-holidays)
17002 (calendar-holidays, list-holidays):
17003 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
17004
17005 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17006
17007 * saveplace.el (save-place-ignore-files-regexp): New variable
17008 allowing for excluding files from saving their location of point.
17009 The default value matches the temporary commit message editing
17010 files from Git, SVN, Bazaar, and Mercurial.
17011 (save-place-to-alist): Use it.
17012
17013 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17014 Stefan Monnier <monnier@iro.umontreal.ca>
17015
17016 * newcomment.el (uncomment-region-default): Don't leave extra space
17017 when an arg is provided (bug#8150).
17018
17019 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17020
17021 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17022
17023 2012-02-17 Glenn Morris <rgm@gnu.org>
17024
17025 * net/socks.el: Require network-stream. (Bug#10599)
17026
17027 2012-02-17 Kenichi Handa <handa@m17n.org>
17028
17029 * international/charprop.el:
17030 * international/uni-name.el:
17031 * international/uni-old-name.el:
17032 * international/uni-comment.el: Regenerate.
17033
17034 2012-02-16 Glenn Morris <rgm@gnu.org>
17035
17036 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17037 Interactively in calendar buffer, give an error if not on a date.
17038
17039 2012-02-15 Glenn Morris <rgm@gnu.org>
17040
17041 * shell.el (shell-delimiter-argument-list):
17042 Revert 2011-02-17 change. (Bug#8027)
17043
17044 2012-02-15 Chong Yidong <cyd@gnu.org>
17045
17046 * minibuffer.el (completion-at-point-functions): Doc fix.
17047
17048 * custom.el (defcustom): Doc fix; note use of defvar.
17049
17050 2012-02-15 Glenn Morris <rgm@gnu.org>
17051
17052 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17053 Doc fixes.
17054
17055 2012-02-14 Glenn Morris <rgm@gnu.org>
17056
17057 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17058
17059 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17060
17061 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17062 way the ports list is computed.
17063 (smtpmail-query-smtp-server): Prompt the user for a port number if
17064 we can't connect to any of the standard ports (bug#10810).
17065
17066 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17067
17068 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17069
17070 2012-02-13 Glenn Morris <rgm@gnu.org>
17071
17072 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17073
17074 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17075
17076 * net/gnutls.el (gnutls-trustfiles): New variable.
17077 (gnutls-negotiate): Use it.
17078
17079 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17080
17081 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17082 does its stuff if Gnus is running.
17083
17084 2012-02-13 Alan Mackenzie <acm@muc.de>
17085
17086 Fix a loop in c-set-fl-decl-start.
17087
17088 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17089 c-backward-syntactic-ws actually moves backwards.
17090
17091 2012-02-13 Leo Liu <sdl.web@gmail.com>
17092
17093 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17094 beginning so that all \C-o chars are removed.
17095
17096 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17097
17098 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17099
17100 2012-02-12 Alan Mackenzie <acm@muc.de>
17101
17102 Fix infinite loop with long macros.
17103 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17104
17105 2012-02-12 Chong Yidong <cyd@gnu.org>
17106
17107 * window.el (display-buffer): Doc fix (Bug#10785).
17108
17109 2012-02-12 Glenn Morris <rgm@gnu.org>
17110
17111 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17112 (x-disown-selection-internal, x-get-selection-internal):
17113 Sync docs with the xselect.c versions.
17114
17115 * allout-widgets.el: Add missing license notice.
17116
17117 2012-02-11 Glenn Morris <rgm@gnu.org>
17118
17119 * select.el (x-get-selection-internal, x-own-selection-internal)
17120 (x-disown-selection-internal):
17121 * x-dnd.el (x-get-selection-internal): Update declarations.
17122
17123 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17124
17125 * window.el (window-sides-slots):
17126 * tool-bar.el (tool-bar-position):
17127 * term/xterm.el (xterm-extra-capabilities):
17128 * ses.el (ses-self-reference-early-detection):
17129 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17130 (verilog-auto-wire-type)
17131 (verilog-auto-delete-trailing-whitespace)
17132 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17133 (verilog-auto-tieoff-declaration):
17134 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17135 (sql-oracle-statement-starters, sql-oracle-scan-on):
17136 * progmodes/prolog.el (prolog-align-comments-flag)
17137 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17138 (prolog-left-indent-regexp, prolog-paren-indent-p)
17139 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17140 (prolog-types, prolog-mode-specificators)
17141 (prolog-determinism-specificators, prolog-directives)
17142 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17143 (prolog-electric-dot-flag)
17144 (prolog-electric-dot-full-predicate-template)
17145 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17146 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17147 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17148 (prolog-program-switches, prolog-prompt-regexp)
17149 (prolog-debug-on-string, prolog-debug-off-string)
17150 (prolog-trace-on-string, prolog-trace-off-string)
17151 (prolog-zip-on-string, prolog-zip-off-string)
17152 (prolog-use-standard-consult-compile-method-flag)
17153 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17154 (prolog-imenu-max-lines, prolog-info-predicate-index)
17155 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17156 (prolog-char-quote-workaround):
17157 * progmodes/cc-vars.el (c-defun-tactic):
17158 * net/tramp.el (tramp-encoding-command-interactive)
17159 (tramp-local-end-of-line):
17160 * net/soap-client.el (soap-client):
17161 * net/netrc.el (netrc-file):
17162 * net/gnutls.el (gnutls):
17163 * minibuffer.el (completion-category-overrides)
17164 (completion-cycle-threshold)
17165 (completion-pcm-complete-word-inserts-delimiters):
17166 * man.el (Man-name-local-regexp):
17167 * mail/feedmail.el (feedmail-display-full-frame):
17168 * international/characters.el (glyphless-char-display-control):
17169 * eshell/em-ls.el (eshell-ls-date-format):
17170 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17171 (lisp-lambda-list-keyword-parameter-indentation)
17172 (lisp-lambda-list-keyword-parameter-alignment):
17173 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17174 * dired-x.el (dired-omit-verbose):
17175 * cus-theme.el (custom-theme-allow-multiple-selections):
17176 * calc/calc.el (calc-highlight-selections-with-faces)
17177 (calc-lu-field-reference, calc-lu-power-reference)
17178 (calc-note-threshold):
17179 * battery.el (battery-mode-line-limit):
17180 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17181 (archive-7z-update):
17182 * allout.el (allout-prefixed-keybindings)
17183 (allout-unprefixed-keybindings)
17184 (allout-inhibit-auto-fill-on-headline)
17185 (allout-flattened-numbering-abbreviation):
17186 * allout-widgets.el (allout-widgets-auto-activation)
17187 (allout-widgets-icons-dark-subdir)
17188 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17189 (allout-widgets-theme-dark-background)
17190 (allout-widgets-theme-light-background)
17191 (allout-widgets-item-image-properties-emacs)
17192 (allout-widgets-item-image-properties-xemacs)
17193 (allout-widgets-run-unit-tests-on-load)
17194 (allout-widgets-time-decoration-activity)
17195 (allout-widgets-hook-error-post-time)
17196 (allout-widgets-track-decoration):
17197 Add missing :version tags to new defcustoms and defgroups.
17198
17199 * progmodes/sql.el (sql-ansi-statement-starters)
17200 (sql-oracle-statement-starters): Add custom type.
17201
17202 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17203 (prolog-system-version): Give it a type.
17204
17205 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17206
17207 * term/pc-win.el (x-select-text, x-selection-owner-p)
17208 (x-own-selection-internal, x-disown-selection-internal)
17209 (x-get-selection-internal): Sync doc strings and argument lists
17210 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17211
17212 2012-02-11 Leo Liu <sdl.web@gmail.com>
17213
17214 * progmodes/python.el (python-end-of-statement): Fix infinite
17215 loop. (Bug#10788)
17216
17217 2012-02-10 Glenn Morris <rgm@gnu.org>
17218
17219 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17220 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17221
17222 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17223
17224 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17225 about SMTP before checking the From header.
17226
17227 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17228 into own function for reuse by emacsbug.el.
17229
17230 2012-02-10 Leo Liu <sdl.web@gmail.com>
17231
17232 * subr.el (condition-case-unless-debug): Rename from
17233 condition-case-no-debug. All callers changed.
17234 (with-demoted-errors): Fix caller.
17235
17236 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17237 * nxml/rng-valid.el (rng-do-some-validation):
17238 * emacs-lisp/package.el (package-refresh-contents)
17239 (package-menu-execute):
17240 * desktop.el (desktop-create-buffer):
17241 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17242
17243 2012-02-10 Glenn Morris <rgm@gnu.org>
17244
17245 * textmodes/bibtex.el:
17246 Add missing :version tags for new/changed defcustoms.
17247
17248 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17249
17250 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17251
17252 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17253 (smtpmail-via-smtp): Use it, or fall back on the From address.
17254 (smtpmail-send-it): Ditto.
17255
17256 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17257
17258 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17259 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17260 (byte-compile-tmp-var): New const.
17261 (byte-compile-defvar): Use it to minimize .elc size.
17262 Just use `defvar' rather than simulate it (bug#10761).
17263
17264 2012-02-09 Glenn Morris <rgm@gnu.org>
17265
17266 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17267
17268 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17269 Add :version tags.
17270
17271 * progmodes/compile.el (compilation-error-screen-columns)
17272 (compilation-first-column, compilation-filter-start): Doc fixes.
17273
17274 * vc/log-view.el (log-view-toggle-entry-display):
17275 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17276
17277 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17278 (report-emacs-bug-can-use-xdg-email):
17279 (report-emacs-bug-insert-to-mailer): Doc fixes.
17280 (report-emacs-bug): Message fix.
17281
17282 * net/browse-url.el (browse-url-can-use-xdg-open)
17283 (browse-url-xdg-open): Doc fixes.
17284
17285 * electric.el (electric-indent-mode, electric-pair-mode)
17286 (electric-layout-rules, electric-layout-mode): Doc fixes.
17287 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17288
17289 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17290
17291 * server.el (server-unselect-display): Don't inadvertently kill
17292 the current buffer. (Bug#10729)
17293
17294 2012-02-08 Glenn Morris <rgm@gnu.org>
17295
17296 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17297 (sql-list-table): Doc fixes.
17298
17299 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17300 Comment out (does nothing).
17301
17302 * completion.el (dynamic-completion-mode):
17303 * dirtrack.el (dirtrack-debug-mode):
17304 * electric.el (electric-layout-mode):
17305 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17306 * face-remap.el (text-scale-mode, buffer-face-mode):
17307 * iimage.el (iimage-mode):
17308 * image-mode.el (image-transform-mode):
17309 * minibuffer.el (completion-in-region-mode):
17310 * scroll-lock.el (scroll-lock-mode):
17311 * simple.el (next-error-follow-minor-mode):
17312 * tar-mode.el (tar-subfile-mode):
17313 * tooltip.el (tooltip-mode):
17314 * vcursor.el (vcursor-use-vcursor-map):
17315 * wid-browse.el (widget-minor-mode):
17316 * emulation/tpu-edt.el (tpu-edt-mode):
17317 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17318 * international/iso-ascii.el (iso-ascii-mode):
17319 * language/thai-util.el (thai-word-mode):
17320 * mail/supercite.el (sc-minor-mode):
17321 * net/goto-addr.el (goto-address-mode):
17322 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17323 * progmodes/cwarn.el (cwarn-mode):
17324 * progmodes/flymake.el (flymake-mode):
17325 * progmodes/glasses.el (glasses-mode):
17326 * progmodes/hideshow.el (hs-minor-mode):
17327 * progmodes/pascal.el (pascal-outline-mode):
17328 * textmodes/enriched.el (enriched-mode):
17329 * vc/smerge-mode.el (smerge-mode):
17330 Doc fixes (minor mode argument).
17331
17332 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17333
17334 * ls-lisp.el (ls-lisp-sanitize): New function.
17335 (ls-lisp-insert-directory): Use it to fix or remove any elements
17336 in file-alist with missing attributes. (Bug#4673)
17337
17338 2012-02-07 Alan Mackenzie <acm@muc.de>
17339
17340 Fix spurious recognition of c-in-knr-argdecl.
17341
17342 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17343 putative K&R region.
17344
17345 2012-02-07 Alan Mackenzie <acm@muc.de>
17346
17347 * progmodes/cc-engine.el (c-forward-objc-directive):
17348 Prevent looping in "#pragma mark @implementation".
17349
17350 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17351
17352 * notifications.el (notifications-on-closed-signal): Make `reason'
17353 optional. (Bug#10744)
17354
17355 2012-02-07 Glenn Morris <rgm@gnu.org>
17356
17357 * emacs-lisp/easy-mmode.el (define-minor-mode):
17358 Doc fixes for the macro and the mode it defines.
17359
17360 * image.el (imagemagick-types-inhibit): Doc fix.
17361
17362 * cus-start.el (imagemagick-render-type): Add it.
17363
17364 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17365
17366 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17367 Set the default at load time, too, so that `font-lock-fontify-buffer'
17368 can be called without setting up the entire mode first. This fixes
17369 a bug in `mm-inline-text' with C MIME parts.
17370
17371 2012-02-06 Chong Yidong <cyd@gnu.org>
17372
17373 * simple.el (list-processes--refresh): Delete exited processes
17374 (Bug#8094).
17375
17376 * comint.el (comint-next-prompt): next-single-char-property-change
17377 and prev-single-char-property-change never return nil (Bug#8657).
17378
17379 * custom.el (defcustom): Doc fix (Bug#9711).
17380
17381 2012-02-05 Chong Yidong <cyd@gnu.org>
17382
17383 * cus-edit.el (custom-variable-reset-backup): Quote the value
17384 before storing it in the customized-value property (Bug#6712).
17385 (custom-display): Add a customization type tag.
17386 (custom-buffer-create-internal): Improve tooltip message.
17387
17388 * wid-edit.el (widget-field-value-get): New optional arg to
17389 suppress trailing whitespace truncation.
17390 (character): Use it (Bug#2689).
17391
17392 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17393
17394 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17395 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17396
17397 2012-02-05 Chong Yidong <cyd@gnu.org>
17398
17399 * cus-edit.el (custom-variable-value-create): For mismatched
17400 types, show the current value (Bug#7600).
17401
17402 * custom.el (defcustom): Doc fix.
17403
17404 2012-02-05 Glenn Morris <rgm@gnu.org>
17405
17406 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17407
17408 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17409
17410 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17411 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17412 (pp-last-sexp): Use `looking-at-p'.
17413
17414 2012-02-04 Glenn Morris <rgm@gnu.org>
17415
17416 * files.el (revert-buffer):
17417 Doc fix (mention revert-buffer-in-progress-p).
17418
17419 * emacs-lisp/ert-x.el (ert-simulate-command):
17420 Check deferred-action-list (which is obsolete) is bound.
17421
17422 * subr.el (with-wrapper-hook): Doc fixes.
17423
17424 * simple.el (filter-buffer-substring-functions)
17425 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17426
17427 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17428
17429 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17430 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17431
17432 2012-02-04 Leo Liu <sdl.web@gmail.com>
17433
17434 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17435
17436 2012-02-04 Glenn Morris <rgm@gnu.org>
17437
17438 * image.el (image-extension-data): Add obsolete alias.
17439
17440 * isearch.el (isearch-update): Doc fix.
17441
17442 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17443
17444 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17445
17446 2012-02-03 Glenn Morris <rgm@gnu.org>
17447
17448 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17449 (image-animate-timeout): Doc fix.
17450
17451 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17452
17453 2012-02-02 Glenn Morris <rgm@gnu.org>
17454
17455 * server.el (server-auth-dir): Doc fix.
17456 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17457
17458 * subr.el (run-mode-hooks): Doc fix.
17459
17460 2012-02-02 Juri Linkov <juri@jurta.org>
17461
17462 * image-mode.el (image-toggle-display-image): Remove tautological
17463 `major-mode' from the `derived-mode-p' test.
17464
17465 2012-02-02 Kenichi Handa <handa@m17n.org>
17466
17467 * composite.el (compose-region): Cancel previous change.
17468
17469 2012-02-02 Kenichi Handa <handa@m17n.org>
17470
17471 * composite.el (compose-region, compose-string): Signal error for
17472 a null string component (Bug#6988).
17473
17474 2012-02-01 Chong Yidong <cyd@gnu.org>
17475
17476 * view.el (view-buffer-other-window, view-buffer-other-frame):
17477 Handle special modes like view-buffer (Bug#10650).
17478 (view-buffer): Simplify.
17479
17480 * frame.el (set-frame-font): Tweak meaning of third argument.
17481
17482 * dynamic-setting.el (font-setting-change-default-font):
17483 Use set-frame-font (Bug#9982).
17484
17485 2012-02-01 Glenn Morris <rgm@gnu.org>
17486
17487 * progmodes/compile.el (compilation-internal-error-properties):
17488 Respect compilation-first-column in the "*compilation*" buffer.
17489
17490 * emacs-lisp/easy-mmode.el (define-minor-mode):
17491 Relax :variable's test for a named function.
17492
17493 2012-01-31 Alan Mackenzie <acm@muc.de>
17494
17495 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17496 off by one error.
17497
17498 2012-01-31 Chong Yidong <cyd@gnu.org>
17499
17500 * frame.el (set-frame-font): New arg ALL-FRAMES.
17501
17502 * menu-bar.el (menu-set-font): Use set-frame-font.
17503
17504 * faces.el (face-spec-reset-face): Don't apply unspecified
17505 attribute values to the default face.
17506
17507 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17508
17509 * progmodes/cwarn.el (cwarn): Remove dead link.
17510 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17511 Remove * from defcustom docstrings.
17512 (turn-on-cwarn-mode): Make obsolete.
17513 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17514 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17515
17516 2012-01-31 Glenn Morris <rgm@gnu.org>
17517
17518 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17519 Fix :variable handling of mode a symbol not equal to modefun.
17520 Allow named functions to be used as the cdr of :variable.
17521
17522 2012-01-30 Glenn Morris <rgm@gnu.org>
17523
17524 * emacs-lisp/authors.el (authors-fixed-entries):
17525 Remove reference to deleted file rnewspost.el.
17526
17527 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17528
17529 * window.el (window-with-parameter): Remove unused variable `windows'.
17530 (window--side-check): Remove unused variable `code'.
17531 (window--resize-siblings): Remove unused variable `first'.
17532 (adjust-window-trailing-edge): Remove unused variable `failed'.
17533 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17534 Use `let', not `let*'.
17535 (balance-windows-2): Remove unused variable `found'.
17536 (window--state-put-2): Remove unused variable `splits'.
17537 (window-state-put): Remove unused variable `selected'.
17538 (same-window-p): Use `string-match-p'.
17539 (display-buffer-assq-regexp): Remove unused variable `value'.
17540 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17541 Mark argument ALIST as ignored.
17542 (pop-to-buffer): Remove unused variable `old-window'.
17543
17544 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17545
17546 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17547 and .lzma compressed files.
17548
17549 2012-01-29 Chong Yidong <cyd@gnu.org>
17550
17551 * frame.el (window-system-default-frame-alist): Doc fix.
17552
17553 * dynamic-setting.el (font-setting-change-default-font): Don't
17554 change the default face if SET-FONT argument is non-nil (Bug#9982).
17555
17556 2012-01-29 Samuel Bronson <naesten@gmail.com>
17557
17558 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17559
17560 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17561
17562 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17563 breakpoints in files outside current directory (Bug#6098).
17564
17565 2012-01-29 Chong Yidong <cyd@gnu.org>
17566
17567 * progmodes/python.el: Require ansi-color at top-level.
17568
17569 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17570 Define and use in Emacs Lisp mode (Bug#9360).
17571 (lisp-mode-abbrev-table): Add doc.
17572 (lisp-mode-variables): Don't set local-abbrev-table.
17573 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17574
17575 2012-01-28 Roland Winkler <winkler@gnu.org>
17576
17577 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17578
17579 2012-01-28 Roland Winkler <winkler@gnu.org>
17580
17581 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17582 (bibtex-set-dialect): Use it. Either set global values of
17583 dialect-dependent variables or bind these variables buffer-locally
17584 (Bug#10254).
17585 (bibtex-mode): Call bibtex-set-dialect via
17586 hack-local-variables-hook.
17587 (bibtex-dialect): Update docstring.
17588 Add safe-local-variable predicate.
17589 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17590 bibtex-set-dialect.
17591 (bibtex-mode-map): Define menu for each dialect.
17592 (bibtex-entry): Fix docstring.
17593
17594 2012-01-28 Chong Yidong <cyd@gnu.org>
17595
17596 * eshell/esh-arg.el (eshell-quote-argument): New function.
17597
17598 * eshell/esh-ext.el (eshell-invoke-batch-file):
17599 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17600 first arg to eshell-parse-command (Bug#10523).
17601
17602 2012-01-28 Drew Adams <drew.adams@oracle.com>
17603
17604 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17605 `default-directory' is non-nil.
17606
17607 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17608
17609 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17610 line that displays system-configuration-options. (Bug#9924)
17611
17612 2012-01-28 Drew Adams <drew.adams@oracle.com>
17613
17614 * descr-text.el (describe-char): Show information about POS, in
17615 addition to information about the character at POS. Improve and
17616 update the doc string. Change "code point" to "code point in
17617 charset", to avoid confusion with the character's Unicode code
17618 point shown above that. (Bug#10129)
17619
17620 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17621
17622 * descr-text.el (describe-char): Show the raw character, not only
17623 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17624 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17625 for the reasons.
17626
17627 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17628
17629 * emacs-lisp/package.el (package-install):
17630 Run package-refresh-contents if there is no archive yet (Bug#9798).
17631
17632 2012-01-28 Chong Yidong <cyd@gnu.org>
17633
17634 * emacs-lisp/package.el (package-maybe-load-descriptor):
17635 New function, split from package-maybe-load-descriptor.
17636 (package-maybe-load-descriptor): Use it.
17637 (package-download-transaction): Fully load required packages
17638 inside the loop, so that `require' calls work (Bug#10593).
17639 (package-install): No need to call package-initialize now.
17640
17641 2012-01-28 Chong Yidong <cyd@gnu.org>
17642
17643 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17644
17645 * tooltip.el (tooltip-mode): Doc fix.
17646 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17647
17648 * frame.el (set-cursor-color): Doc fix (Bug#352).
17649
17650 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17651 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17652
17653 * cus-edit.el (custom-buffer-create-internal): Fix search button
17654 action (Bug#10542).
17655 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17656
17657 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17658
17659 * dired.el (dired-mark-files-regexp):
17660 Include any subdirectory components. (Bug#10445)
17661
17662 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17663
17664 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17665 Handle [host]:port syntax. (Bug#10533)
17666
17667 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17668
17669 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17670
17671 2012-01-26 Glenn Morris <rgm@gnu.org>
17672
17673 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17674 * term.el (term-raw-escape-map): Use Control-X-prefix.
17675 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17676
17677 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17678
17679 * window.el (window-state-get, window--state-get-1): Don't deal
17680 with fixed-sizeness of windows. Simplify code.
17681
17682 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17683
17684 * window.el (window--state-get-1, window--state-put-2):
17685 Don't save and restore the mark.
17686
17687 2012-01-25 Chong Yidong <cyd@gnu.org>
17688
17689 * custom.el (custom-variable-p): Doc fix.
17690
17691 2012-01-25 Glenn Morris <rgm@gnu.org>
17692
17693 * dired.el (dired-goto-file): Handle some of the more common
17694 characters that `ls -b' escapes. (Bug#10596)
17695
17696 * progmodes/compile.el (compilation-next-error-function):
17697 Respect compilation-first-column in the "*compilation*" buffer.
17698 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17699
17700 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17701
17702 2012-01-24 Glenn Morris <rgm@gnu.org>
17703
17704 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17705
17706 2012-01-24 Julien Danjou <julien@danjou.info>
17707
17708 * color.el (color-rgb-to-hsl): Fix value computing.
17709 (color-hue-to-rgb): New function.
17710 (color-hsl-to-rgb): New function.
17711 (color-clamp, color-saturate-hsl, color-saturate-name)
17712 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17713 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17714
17715 2012-01-24 Glenn Morris <rgm@gnu.org>
17716
17717 * vc/vc-rcs.el (vc-rcs-create-tag):
17718 * vc/vc-sccs.el (vc-sccs-create-tag):
17719 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17720
17721 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17722
17723 * eshell/esh-util.el (eshell-read-hosts-file):
17724 Skip comment lines. (Bug#10549)
17725
17726 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17727
17728 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17729
17730 * subr.el (display-delayed-warnings): Doc fix.
17731 (collapse-delayed-warnings): New function to collapse identical
17732 adjacent warnings.
17733 (delayed-warnings-hook): Add it.
17734
17735 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17736
17737 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17738
17739 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17740 (tramp-default-user-alist): Don't add "pscp".
17741 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17742 property "login-as", if set. (Bug#10530)
17743
17744 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17745
17746 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17747 "plink1" and "psftp". (Bug#10530)
17748
17749 2012-01-21 Kenichi Handa <handa@m17n.org>
17750
17751 * international/mule-cmds.el (prefer-coding-system): Show a
17752 warning message if the default value of file-name-coding-system
17753 was not changed.
17754
17755 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17756
17757 * windmove.el (windmove-reference-loc):
17758 Fix windmove-reference-loc miscalculation.
17759
17760 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17761
17762 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17763 default unit.
17764
17765 2012-01-21 Glenn Morris <rgm@gnu.org>
17766
17767 * international/mule.el (auto-coding-alist): Add .tbz.
17768
17769 * files.el (local-enable-local-variables): Doc fix.
17770 (inhibit-local-variables-regexps): Rename from
17771 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17772 Doc fix. Add some extensions from auto-coding-alist.
17773 (inhibit-local-variables-suffixes):
17774 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17775 (inhibit-local-variables-p):
17776 New function, extracted from set-auto-mode-1.
17777 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17778 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17779 (hack-local-variables): Doc fix. Make the mode-only case
17780 respect enable-local-variables and friends.
17781 Respect inhibit-local-variables-regexps for file-locals, but
17782 not for directory-locals.
17783 (set-visited-file-name):
17784 Take account of inhibit-local-variables-regexps.
17785 Whether it applies may change as the file name is changed.
17786 * jka-cmpr-hook.el (jka-compr-install):
17787 * jka-compr.el (jka-compr-uninstall):
17788 Update for inhibit-first-line-modes-suffixes name change.
17789
17790 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17791
17792 * help-macro.el (make-help-screen): Temporarily restore original
17793 binding for minor-mode-map-alist (Bug#10454).
17794
17795 2012-01-19 Julien Danjou <julien@danjou.info>
17796
17797 * color.el (color-name-to-rgb): Use the white color to find the max
17798 color component value and return correctly computed values.
17799 (color-name-to-rgb): Add missing float conversion for max value.
17800
17801 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17802
17803 * window.el (window--state-get-1, window-state-get): Do not use
17804 special state value for window-persistent-parameters.
17805 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17806 (window--state-put-2): Reset all window parameters to nil before
17807 assigning values of persistent parameters.
17808
17809 2012-01-18 Alan Mackenzie <acm@muc.de>
17810
17811 Eliminate sluggishness and hangs in fontification of "semicolon
17812 deserts".
17813
17814 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17815 Change value 10000 -> 3000.
17816 (c-state-safe-place): Reformulate so it doesn't stack up an
17817 infinite number of wrong entries in c-state-nonlit-pos-cache.
17818 (c-determine-limit-get-base, c-determine-limit): New functions to
17819 determine backward search limits disregarding literals.
17820 (c-find-decl-spots): Amend commenting.
17821 (c-cheap-inside-bracelist-p): New function which detects "={".
17822
17823 * progmodes/cc-fonts.el
17824 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17825 backward search.
17826 (c-font-lock-declarations): Fix an occurrence of point being
17827 undefined. Check additionally for point being in a bracelist or
17828 near a macro invocation without a semicolon so as to avoid a
17829 fruitless time consuming search for a declarator. Give a more
17830 precise search limit for declarators using the new
17831 c-determine-limit.
17832
17833 2012-01-18 Glenn Morris <rgm@gnu.org>
17834
17835 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17836 (set-auto-mode): Doc fixes.
17837
17838 2012-01-17 Glenn Morris <rgm@gnu.org>
17839
17840 * isearch.el (search-nonincremental-instead): Fix doc typo.
17841
17842 * dired.el (dired-insert-directory): Handle newlines in directory name.
17843 (dired-build-subdir-alist): Unescape newlines in directory name.
17844
17845 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17846
17847 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17848 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17849 (tramp-action-terminal): Use it. (Bug#10530)
17850
17851 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17852
17853 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17854
17855 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17856
17857 * window.el (window-state-ignored-parameters): Remove variable.
17858 (window--state-get-1): Rename argument MARKERS to IGNORE.
17859 Handle persistent window parameters. Make copy of clone-of
17860 parameter only if requested. (Bug#10348)
17861 (window--state-put-2): Install a window parameter only if it has
17862 a non-nil value or an existing parameter shall be overwritten.
17863
17864 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17865
17866 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17867
17868 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17869
17870 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17871 don't pass the (nil) value of `upnode' to string-match.
17872
17873 2012-01-14 Chong Yidong <cyd@gnu.org>
17874
17875 * startup.el (command-line): Fix X resource class for cursorColor.
17876 Fix values recognized by the cursorBlink resource.
17877
17878 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17879
17880 * epg.el (epg--make-temp-file): Avoid permission race condition
17881 when running on old Emacs versions (bug#10403).
17882
17883 2012-01-14 Glenn Morris <rgm@gnu.org>
17884
17885 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17886
17887 2012-01-13 Alan Mackenzie <acm@muc.de>
17888
17889 Fix filling for when filladapt mode is enabled.
17890
17891 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17892 c-mask-paragraph, pass in `fill-paragraph' rather than
17893 `fill-region-as-paragraph'. (This is a reversion of a previous
17894 change.)
17895 * progmodes/cc-mode.el (c-basic-common-init):
17896 Make fill-paragraph-handle-comment buffer local and set it to nil.
17897
17898 2012-01-13 Glenn Morris <rgm@gnu.org>
17899
17900 * dired.el (dired-switches-escape-p): New function.
17901 (dired-insert-directory): Use dired-switches-escape-p.
17902 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17903
17904 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17905
17906 2012-01-12 Glenn Morris <rgm@gnu.org>
17907
17908 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17909 changes in adaptive-fill-regexp. (Bug#10276)
17910
17911 2012-01-11 Alan Mackenzie <acm@muc.de>
17912
17913 Fix Emacs bug #10463 - put `widen's around the critical spots.
17914
17915 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17916 widen around each invocation of c-state-pp-to-literal. Remove an
17917 unused let variable.
17918
17919 2012-01-11 Glenn Morris <rgm@gnu.org>
17920
17921 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17922 Doc fix.
17923
17924 2012-01-10 Chong Yidong <cyd@gnu.org>
17925
17926 * net/network-stream.el (network-stream-open-starttls):
17927 Avoid emitting a confusing error message when the server gives a bad
17928 response to the capability command.
17929
17930 2012-01-10 Glenn Morris <rgm@gnu.org>
17931
17932 * mail/unrmail.el (unrmail): Tweak previous change.
17933
17934 2012-01-09 Chong Yidong <cyd@gnu.org>
17935
17936 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17937
17938 2012-01-08 Alan Mackenzie <acm@muc.de>
17939
17940 Optimize font locking in long enum definitions.
17941
17942 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17943 arm to a cond form to handle enums.
17944 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17945 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17946
17947 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17948
17949 * files.el (move-file-to-trash): Preserve default file modes on error.
17950 (Bug#10401)
17951
17952 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17953
17954 * faces.el (set-face-attribute): Clarify the meaning of the nil
17955 frame (bug#10294).
17956
17957 * subr.el (with-selected-frame): Mention that the selected frame
17958 is restored (bug#9980).
17959
17960 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17961 (bug#9759).
17962
17963 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17964 (password-read): Don't autoload unused function.
17965
17966 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17967
17968 * progmodes/which-func.el (which-func-mode): Turn into a
17969 non-interactive function and mark as obsolete (bug#10428).
17970
17971 2012-01-06 Chong Yidong <cyd@gnu.org>
17972
17973 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17974 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17975 functions, along with 1 and -1.
17976
17977 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17978
17979 * time.el (display-time-load-average)
17980 (display-time-default-load-average): Doc fixes. See the thread
17981 starting at
17982 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17983 for the details.
17984
17985 2012-01-06 Glenn Morris <rgm@gnu.org>
17986
17987 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17988 has no messages. (Bug#10377)
17989
17990 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17991 than Info-edit. (Bug#10385)
17992
17993 * time.el (display-time-load-average, display-time-next-load-average):
17994 Doc fixes.
17995
17996 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17997 local setting of buffer-read-only to the input buffer. (Bug#10419)
17998
17999 * calendar/calendar.el (calendar-mode):
18000 Locally set scroll-margin to 0. (Bug#10379)
18001
18002 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18003
18004 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18005
18006 2012-01-05 Glenn Morris <rgm@gnu.org>
18007
18008 * eshell/em-unix.el (diff-no-select): Autoload it.
18009 (eshell/diff): Use diff-no-select. (Bug#10420)
18010
18011 2012-01-05 Chong Yidong <cyd@gnu.org>
18012
18013 * shell.el (shell-dynamic-complete-functions): Revert last change.
18014 (shell-command-completion-function): New function.
18015 (shell-completion-vars): Use it to implement
18016 shell-completion-execonly (Bug#10417).
18017
18018 * custom.el (enable-theme): Don't set custom-safe-themes.
18019
18020 * cus-theme.el (custom-theme-merge-theme):
18021 Ignore custom-enabled-themes and custom-safe-themes.
18022
18023 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18024
18025 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18026 first prompt in `sql-interacive-mode'.
18027 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18028 keywords.
18029 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18030 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18031 context of original buffer. Invoke `sql-login-hook'.
18032
18033 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18034
18035 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18036 letters in cite-prefix.
18037
18038 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18039
18040 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18041
18042 2012-01-03 Chong Yidong <cyd@gnu.org>
18043
18044 * shell.el (shell-dynamic-complete-functions):
18045 Put pcomplete-completions-at-point, so as to try
18046 comint-filename-completion first (Bug#10417).
18047
18048 2012-01-02 Richard Stallman <rms@gnu.org>
18049
18050 * battery.el (battery-status-function):
18051 Detect when to use battery-yeeloong-sysfs.
18052 (battery-echo-area-format): Add string for Yeeloong.
18053 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18054 (battery-yeeloong-sysfs): New function.
18055
18056 2012-01-02 Chong Yidong <cyd@gnu.org>
18057
18058 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18059 (dirtrack): Merge code for handling relative filenames in prompt
18060 from shell-dir-cookie-watcher.
18061 (dirtrack-debug-message): New arg to avoid excess format calls.
18062
18063 * shell.el (shell-dir-cookie-re): Variable deleted.
18064 (shell-dir-cookie-watcher): Function deleted.
18065 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18066 with dirtrack-mode.
18067
18068 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18069
18070 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18071 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18072 libgnutls-26.dll.
18073
18074 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18075
18076 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18077
18078 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18079
18080 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18081 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18082
18083 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18084
18085 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18086 also for alternative shells.
18087 (tramp-open-connection-setup-interactive-shell): Check, whether
18088 the shell is a busybox.
18089 (tramp-send-command): Don't suppress multiple prompts for
18090 busyboxes, it hurts.
18091
18092 2011-12-28 Chong Yidong <cyd@gnu.org>
18093
18094 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18095 (gdb-get-source-file): Move mode line update to
18096 gdb-get-source-file (Bug#10087).
18097
18098 2011-12-25 Chong Yidong <cyd@gnu.org>
18099
18100 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18101 gud-gdb-marker-filter without taking it as an argument.
18102 (gud-gdb-run-command-fetch-lines): Caller changed.
18103 (gud-gdb-completion-function): New variable.
18104 (gud-gdb-completion-at-point): Use it.
18105 (gud-gdb-completions-1): Split from gud-gdb-completions.
18106
18107 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18108 function as separate arguments.
18109 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18110 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18111 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18112 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18113 (gdb-stopped, def-gdb-auto-update-trigger)
18114 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18115 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18116 Callers changed.
18117 (gud-gdbmi-completions): New function.
18118 (gdb): Use it for generating the completion table.
18119
18120 2011-12-24 Alan Mackenzie <acm@muc.de>
18121
18122 Introduce a mechanism to widen the region used in context font
18123 locking. Use this to protect declarations from losing their contexts.
18124
18125 * progmodes/cc-langs.el (c-before-font-lock-functions):
18126 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18127 (c-before-context-fontification-functions): New defvar, a list of
18128 functions to be run just before context (etc.) font locking.
18129
18130 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18131 New, functionality extracted from
18132 c-neutralize-syntax-in-and-mark-CPP.
18133 (c-in-after-change-fontification): New variable.
18134 (c-after-change): Set c-in-after-change-fontification.
18135 (c-set-fl-decl-start): Rejig its interface, so it can be called
18136 from both after-change and context fontifying.
18137 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18138 New functions.
18139 (c-standard-font-lock-fontify-region-function): New variable.
18140 (c-font-lock-fontify-region): New function.
18141
18142 2011-12-24 Juri Linkov <juri@jurta.org>
18143
18144 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18145 (Bug#10348)
18146
18147 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18148
18149 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18150 existence of source file. (Bug#10325)
18151
18152 2011-12-23 Alan Mackenzie <acm@muc.de>
18153
18154 Fix unstable fontification inside templates.
18155
18156 * progmodes/cc-langs.el (c-before-font-lock-functions):
18157 Newly created from the singular version. The (c c++ objc) entry now
18158 additionally has c-set-fl-decl-start. The other languages (apart
18159 from AWK) have that as a single entry.
18160
18161 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18162 The functionality for "local" declarations has been extracted to
18163 c-set-fl-decl-start.
18164
18165 * progmodes/cc-mode.el (c-common-init, c-after-change):
18166 Changes due to pluralisation of c-before-font-lock-functions.
18167 (c-set-fl-decl-start): New function, extracted from
18168 c-font-lock-enclosing-decls and enhanced.
18169
18170 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18171
18172 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18173
18174 2011-12-22 Juri Linkov <juri@jurta.org>
18175
18176 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18177
18178 2011-12-22 Chong Yidong <cyd@gnu.org>
18179
18180 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18181
18182 2011-12-21 Drew Adams <drew.adams@oracle.com>
18183
18184 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18185
18186 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18187
18188 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18189
18190 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18191
18192 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18193 highlighting and support. Fix up comments for capitalization.
18194 (cfengine-mode-debug): New var.
18195 (cfengine3-mode): Change the modeline indicator to "CFE3".
18196 (cfengine3-font-lock-keywords): Improve defun highlighting.
18197 (cfengine2-actions): Rename from `cfengine-actions'.
18198 (cfengine2-font-lock-keywords): Rename from
18199 `cfengine-font-lock-keywords'.
18200 (cfengine2-imenu-expression): Rename from
18201 `cfengine-imenu-expression'.
18202 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18203 (cfengine2-beginning-of-defun): Rename from
18204 `cfengine-beginning-of-defun'.
18205 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18206 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18207 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18208 modeline indicator to "CFE2".
18209 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18210 (cfengine-mode-abbrevs): Mark obsolete.
18211
18212 2011-12-21 Chong Yidong <cyd@gnu.org>
18213
18214 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18215 filename argument.
18216
18217 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18218
18219 * window.el (window-normalize-buffer-to-display): Remove.
18220 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18221
18222 2011-12-19 Chong Yidong <cyd@gnu.org>
18223
18224 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18225 Don't signal an error in a predicate function; return non-nil.
18226 (vc-dir-mark-file): Move the error here.
18227 (vc-dir-mark-unmark): If acting on the region, keep going if one
18228 of the entries cannot be marked/unmarked.
18229 (vc-dir-mark-all-files): If current entry is a directory, mark
18230 only child files, as documented.
18231
18232 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18233
18234 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18235 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18236 addition.
18237
18238 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18239
18240 * term/ns-win.el (ns-get-selection-internal)
18241 (ns-store-selection-internal): Declare.
18242 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18243 Declare as obsolete.
18244 (ns-get-pasteboard, ns-paste-secondary):
18245 Use ns-get-selection-internal.
18246 (ns-set-pasteboard, ns-copy-including-secondary):
18247 Use ns-store-selection-internal.
18248
18249 2011-12-17 Chong Yidong <cyd@gnu.org>
18250
18251 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18252 (vc-deduce-fileset): Doc fix.
18253
18254 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18255
18256 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18257
18258 2011-12-13 Sam Steingold <sds@gnu.org>
18259
18260 * man.el (Man-getpage-in-background): When running under a
18261 window-system, ignore $MANWIDTH and $COLUMNS.
18262
18263 2011-12-15 Kenichi Handa <handa@m17n.org>
18264
18265 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18266 (setup-ethiopic-environment-internal): Comment out key-binding for
18267 ethio-toggle-punctuation.
18268
18269 2011-12-13 Alan Mackenzie <acm@muc.de>
18270
18271 Add the switch statement to AWK Mode.
18272
18273 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18274 "default" to the keywords regexp.
18275
18276 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18277 expression as the rest.
18278 (c-nonlabel-token-key): Allow string literals for AWK.
18279 Refactor for the other modes.
18280
18281 Large brace-block initialisation makes CC Mode slow: Fix.
18282 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18283 routines. Limit backward searching in c-font-lock-enclosing.decl.
18284
18285 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18286 pp-state and literal type in addition to the limits.
18287 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18288 (c-state-literal-at): Use the above new defun.
18289 (c-slow-in-literal, c-fast-in-literal): Remove.
18290 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18291
18292 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18293 being in a literal. Add a limit for backward searching.
18294
18295 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18296 c-slow-in-literal.
18297
18298 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18299
18300 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18301
18302 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18303
18304 * window.el (delete-other-windows): Use correct frame in call to
18305 window-with-parameter.
18306
18307 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18308
18309 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18310 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18311 (makefile-gmake-statements, makefile-makepp-statements):
18312 Use it and add new makepp keywords.
18313 (makefile-makepp-font-lock-keywords): Add new patterns.
18314 (makefile-match-function-end): Match new [...] and [[...]].
18315
18316 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18317
18318 * ses.el (ses-call-printer-return, ses-cell-property-get)
18319 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18320 (ses-create-cell-variable, ses-reset-header-string)
18321 (ses-cell-set-formula, ses-repair-cell-reference-all)
18322 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18323 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18324 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18325 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18326 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18327 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18328 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18329 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18330 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18331 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18332 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18333 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18334
18335 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18336
18337 * ses.el: The overall change is to add cell renaming, that is
18338 setting fancy names for cell symbols other than name matching
18339 "\\`[A-Z]+[0-9]+\\'" regexp .
18340 (ses-create-cell-variable): New defun.
18341 (ses-relocate-formula): Relocate formulas only for cells the
18342 symbols of which are not renamed, i.e. symbols whose names do not
18343 match regexp "\\`[A-Z]+[0-9]+\\'".
18344 (ses-relocate-all): Relocate values only for cells the symbols of
18345 which are not renamed.
18346 (ses-load): Create cells variables as the (ses-cell ...) are read,
18347 in order to check row col consistency with cell symbol name only
18348 for cells that are not renamed.
18349 (ses-replace-name-in-formula): New defun.
18350 (ses-rename-cell): New defun.
18351
18352 2011-12-11 Chong Yidong <cyd@gnu.org>
18353
18354 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18355 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18356
18357 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18358
18359 * window.el (other-window): Fix docstring.
18360
18361 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18362
18363 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18364 `from' or `to' address before taking its substring.
18365 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18366 encoded name is chopped in the middle of the encoded string, and
18367 thus displayed encoded.
18368
18369 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18370
18371 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18372
18373 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18374
18375 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18376 to use texinfo-update-node and commands that call it if the
18377 Texinfo file uses @node lines without next/prev/up pointers.
18378 Correct outdated description about texinfo-master-menu.
18379 (texinfo-all-menus-update, texinfo-master-menu)
18380 (texinfo-update-node, texinfo-every-node-update)
18381 (texinfo-multiple-files-update): Doc fix. Warn against updating
18382 all the @node lines.
18383 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18384 argument is numeric. Explain better in the doc string what the
18385 function really does.
18386 (texinfo-insert-master-menu-list): Improve the error message
18387 displayed if there's no menu in the Top node.
18388 (Bug#2975) See also this thread:
18389 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18390
18391 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18392
18393 * speedbar.el (speedbar-supported-extension-expressions):
18394 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18395
18396 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18397
18398 * printing.el (pr-mode-alist):
18399 * simple.el (filter-buffer-substring-functions)
18400 (completion-list-insert-choice-function):
18401 * window.el (window-with-parameter, window-atom-root)
18402 (window-sides-slots, window-size-fixed, window-min-delta)
18403 (window-max-delta, window--resize-mini-window)
18404 (window--resize-child-windows-normal, window-tree)
18405 (delete-other-windows, quit-window, split-window)
18406 (display-buffer-record-window, special-display-buffer-names)
18407 (special-display-regexps, special-display-popup-frame)
18408 (same-window-p, split-window-sensibly)
18409 (display-buffer-overriding-action, display-buffer-alist)
18410 (display-buffer-base-action, display-buffer, switch-to-buffer)
18411 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18412 (fit-window-to-buffer, recenter-positions)
18413 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18414 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18415 and remove unneeded backslashes in docstrings.
18416
18417 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18418
18419 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18420
18421 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18422 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18423 end in ".mk".
18424 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18425 when reading the makefile (bug#10116).
18426
18427 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18428
18429 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18430 (bug#10116).
18431
18432 2011-12-06 Glenn Morris <rgm@gnu.org>
18433
18434 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18435
18436 2011-12-06 Chong Yidong <cyd@gnu.org>
18437
18438 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18439
18440 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18441
18442 * textmodes/table.el (table-shorten-cell): Fix typo.
18443
18444 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18445
18446 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18447
18448 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18449
18450 * descr-text.el (describe-char): Fix display of strong
18451 right-to-left characters and directional embeddings and overrides.
18452
18453 * simple.el (what-cursor-position): Fix display of codepoints of
18454 strong right-to-left characters.
18455
18456 2011-12-05 Chong Yidong <cyd@gnu.org>
18457
18458 * faces.el (read-color): Doc fix.
18459
18460 2011-12-05 Glenn Morris <rgm@gnu.org>
18461
18462 * align.el (align--set-marker): Add doc-string.
18463 Don't try to move something that is not a marker. (Bug#10216)
18464
18465 2011-12-04 Glenn Morris <rgm@gnu.org>
18466
18467 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18468 overly zealous deletion of trailing whitespace.
18469
18470 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18471
18472 * server.el (server-delete-client): On Windows, do not try to delete
18473 the only terminal.
18474 (server-process-filter): On Windows, treat requests for a tty frame as
18475 if they were for a GUI frame if the running server is in GUI mode.
18476
18477 2011-12-03 Glenn Morris <rgm@gnu.org>
18478
18479 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18480
18481 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18482
18483 * electric.el: Streamline electric-indent's hook.
18484 (electric-indent-chars): Revert to simple list.
18485 (electric-indent-functions): New var.
18486 (electric-indent-post-self-insert-function): Use it.
18487
18488 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18489 there's no inferior buffer (bug#10196).
18490 (prolog-consult-compile): Don't use toggle-read-only.
18491
18492 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18493
18494 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18495 interrupt. (Bug#10187)
18496
18497 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18498
18499 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18500 (bug#9160).
18501
18502 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18503 (bug#10191).
18504
18505 2011-12-02 Juri Linkov <juri@jurta.org>
18506
18507 * info.el (Info-search): Display "end of manual" when Isearch
18508 reaches the end of single-file Info manual. (Bug#9918)
18509
18510 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18511
18512 * isearch.el (isearch-message-prefix): Run the input method part
18513 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18514
18515 2011-12-02 Juri Linkov <juri@jurta.org>
18516
18517 * isearch.el (isearch-occur): Use `word-search-regexp' for
18518 `isearch-word'.
18519 (isearch-search-and-update): Add condition for `isearch-word' and
18520 call `word-search-regexp'. (Bug#10145)
18521
18522 2011-12-01 Glenn Morris <rgm@gnu.org>
18523
18524 * eshell/em-hist.el (eshell-hist-initialize):
18525 Handle eshell-history-size nil and HISTSIZE set or unset.
18526 (eshell-history-file-name, eshell-history-size): Fix custom type.
18527
18528 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18529
18530 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18531
18532 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18533
18534 * progmodes/verilog-mode.el (verilog-pretty-expr):
18535 Rework verilog-pretty-expr to handle new assignment operators in system
18536 verilog, such as += *= and the like.
18537 (verilog-assignment-operator-re): Regular expression to find the
18538 assigment operator in a verilog assignment.
18539 (verilog-assignment-operation-re): Regular expression to find an
18540 assignment statement for pretty-expr.
18541 (verilog-in-attribute-p): Query returns true if point is in an
18542 attribute context; used to skip these for expression line up from
18543 pretty-expr.
18544 (verilog-in-parameter-p): Query returns true if point is in an
18545 parameter definition context; used to skip these for expression
18546 line up from pretty-expr.
18547 (verilog-in-parenthesis-p): Query returns true if point is in a
18548 parenthetical expression, specifically ( ) but not [ ] or { };
18549 used by pretty-expr.
18550 (verilog-just-one-space): If there is no space, don't add one.
18551 (verilog-get-lineup-indent-2): Specifically skip just attribute
18552 contexts for expression lineup, rather than skipping all
18553 parenthetical expressions.
18554 (verilog-calculate-indent): Fix comment, and fix indent.
18555 (verilog-do-indent): Indent declarations in lists (suggested by
18556 Joachim Lechner).
18557 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18558 skeleton items.
18559 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18560 by Alain Mellan).
18561
18562 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18563
18564 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18565 parameters with embedded comments. Reported by Ray Stevens.
18566 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18567 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18568 Reported by Tim Holt.
18569 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18570 instantiated by upper module causing wrong expansion until AUTOed a
18571 second time. Reported by K C Buckenmaier.
18572 (verilog-diff-auto): Fix showing .* as a difference when
18573 `verilog-auto-star-save' off. Reported by Dan Dever.
18574 (verilog-auto-reset, verilog-read-always-signals)
18575 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18576 temporary signals in reset list if
18577 verilog-auto-reset-blocking-in-non is nil, and match assignment
18578 style to each signal's assignment type, bug381.
18579 Reported by Thomas Esposito.
18580 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18581 (verilog-uvm-statement-re): Support UVM indentation and
18582 highlighting, with old OVM keywords only.
18583 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18584 Support AUTOTIEOFF creating non-wire data types.
18585 Suggested by Jonathan Greenlaw.
18586 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18587 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18588 (verilog-inject-sense, verilog-read-inst-pins)
18589 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18590 Fix mismatching parenthesis inside commented out code when deleting
18591 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18592 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18593 non-numeric vector width. Reported by Alex Reed.
18594 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18595 detecting signals with parameter widths. Reported by Alex Reed.
18596 (verilog-auto-delete-trailing-whitespace):
18597 With `verilog-auto-delete-trailing-whitespace' remove trailing
18598 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18599 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18600 Fix verilog-scan-cache corruption when running user AUTO expansion
18601 hooks that call indentation routines.
18602 (verilog-simplify-range-expression): Fix typo ignoring lower case
18603 identifiers.
18604 (verilog-delete-auto): Fix delete-autos to also remove user created
18605 automatics, as long as they start with AUTO.
18606 (verilog-batch-diff-auto, verilog-diff-auto)
18607 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18608 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18609 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18610 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18611 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18612 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18613 is disabled and its cache will get corrupt, causing AUTOS not to
18614 expand. Instead use only -quick functions.
18615 (verilog-scan-region): Fix scanning over escaped quotes.
18616 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18617 (verilog-re-search-backward-quick)
18618 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18619 related functions now ignore strings, to fix misparsing of strings
18620 with magic comments embedded in them.
18621 (verilog-read-auto-template):
18622 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18623 Reported by Brad Dobbie.
18624 (verilog-read-auto-template):
18625 Fix 'verilog-auto-inst-template-numbers' with comments.
18626 Reported by Brad Dobbie.
18627 (verilog-auto-inst, verilog-auto-inst-param)
18628 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18629 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18630 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18631 debugging templates without merge conflicts, bug357.
18632 Reported by Brad Dobbie.
18633 (verilog-read-auto-template):
18634 Fix verilog-auto-inst-template-numbers with multiple templates.
18635 Reported by Brad Dobbie.
18636 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18637 abbrevs so user won't be asked to save.
18638 (verilog-read-auto-lisp-present): Fix to start at beginning of
18639 buffer in case called outside of verilog-auto.
18640 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18641 to "X-2". Reported by Matthew Myers.
18642 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18643 all inputs from module templates. Reported by Leith Johnson.
18644 (verilog-module-inside-filename-p): Fix locating programs as with
18645 modules.
18646 (verilog-auto-inst-port): Fix vl-width expressions when using
18647 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18648 (verilog-decls-get-regs, verilog-decls-get-signals,
18649 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18650 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18651 verilog-read-decls): Combine reg and wire structures into one var
18652 structure to represent SystemVerilog concepts.
18653 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18654 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18655 (verilog-auto-wire-type, verilog-insert-definition):
18656 Add verilog-auto-wire-type and AUTOLOGIC to support using
18657 SystemVerilog "logic" keyword instead of "wire"/"reg".
18658 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18659 to declares outputs that also have assignments (presumably in an
18660 ifdef or generate if so there's not a driver conflict).
18661 Reported by Matthew Myers.
18662 (verilog-auto-declare-nettype, verilog-insert-definition):
18663 Add verilog-auto-declare-nettype to fix declarations using
18664 `default_nettype none. Reported by Julian Gorfajn.
18665 (verilog-read-always-signals-recurse, verilog-read-decls)
18666 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18667 malformed end statement, bug325. Reported by Joshua Wise and
18668 Andrew Drake.
18669 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18670 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18671 when expanding .* in interfaces, bug320.
18672 Reported by Pierre-David Pfister.
18673 (verilog-read-module-name): Fix import statements between module
18674 name and open parenthesis, bug317.
18675 Reported by Pierre-David Pfister.
18676 (verilog-simplify-range-expression): Fix simplification of
18677 multiplications inside AUTOWIRE connections, bug303.
18678 (verilog-auto-inst-port): Support parameter expansion in
18679 multidimensional arrays.
18680 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18681 after "assert property". Reported by Julian Gorfajn.
18682 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18683 with multiplication, bug303.
18684 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18685 Reported by Jan Frode Lonnum.
18686
18687 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18688
18689 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18690 (hfy-shell-file-name, hfy-shell):
18691 * international/fontset.el (x-decompose-font-name): Fix typos.
18692
18693 2011-11-29 Ken Brown <kbrown@cornell.edu>
18694
18695 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18696 (gdb-version): Remove defvar.
18697 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18698 (gdb-gud-context-command, gdb-non-stop-handler)
18699 (gdb-current-context-command, gdb-stopped): Use it.
18700 (gdb-init-1): Enable pretty printing here.
18701 (gdb-non-stop-handler): Don't enable pretty-printing here.
18702 Check to see if the target supports non-stop mode; if not, turn off
18703 non-stop mode. Use the following.
18704 (gdb-check-target-async): New defun.
18705 (gud-watch, gdb-stopped): Fix whitespace.
18706 (gdb-get-source-file): Don't try to display the source file if
18707 `gdb-main-file' is nil.
18708
18709 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18710
18711 * align.el: Try to generate fewer markers (bug#10047).
18712 (align--set-marker): New macro.
18713 (align-region): Use it.
18714
18715 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18716
18717 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18718
18719 2011-11-29 Chong Yidong <cyd@gnu.org>
18720
18721 * indent.el (indent-for-tab-command, indent-according-to-mode):
18722 Doc fix.
18723 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18724
18725 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18726
18727 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18728 aware of remote file names. (Bug#10124)
18729
18730 2011-11-29 Chong Yidong <cyd@gnu.org>
18731
18732 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18733
18734 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18735
18736 * files.el (find-file): Don't use force-same-window (bug#10144).
18737 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18738 use pop-to-buffer if the selected window can't be used.
18739 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18740
18741 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18742
18743 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18744 special-mode-map.
18745
18746 2011-11-28 Chong Yidong <cyd@gnu.org>
18747
18748 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18749
18750 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18751
18752 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18753 gdb-get-source-file-list on gdb-create-source-file-list.
18754
18755 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18756
18757 * whitespace.el (whitespace-newline): Use a different foreground
18758 color for 16-color light-background displays.
18759
18760 2011-11-24 Chong Yidong <cyd@gnu.org>
18761
18762 * window.el (display-buffer--special-action): Doc fix.
18763
18764 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18765
18766 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18767 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18768 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18769 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18770 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18771 (avl-tree-stack-first):
18772 * emacs-lisp/cconv.el (cconv--analyse-use):
18773 * net/gnutls.el (gnutls-negotiate): Fix typos.
18774
18775 2011-11-24 Glenn Morris <rgm@gnu.org>
18776
18777 * lpr.el (lpr-windows-system, lpr-lp-system):
18778 * mail/binhex.el (binhex-begin-line):
18779 * progmodes/grep.el (grep-history, grep-find-history):
18780 * textmodes/flyspell.el:
18781 * vc/pcvs-defs.el (cvs-global-menu):
18782 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18783 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18784 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18785
18786 * net/tls.el: Fix case of "GnuTLS".
18787
18788 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18789
18790 * version.el (emacs-build-system): Give it a doc-string.
18791
18792 2011-11-24 Juri Linkov <juri@jurta.org>
18793
18794 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18795
18796 2011-11-24 Glenn Morris <rgm@gnu.org>
18797
18798 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18799 if called on a non-mime message just toggle the headers. (Bug#8006)
18800
18801 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18802
18803 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18804 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18805 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18806 (allout-rebullet-heading, allout-open-sibtopic)
18807 (allout-toggle-current-subtree-encryption)
18808 (allout-toggle-subtree-encryption, allout-encrypt-string)
18809 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18810 (allout-distinctive-bullets-string, allout-auto-activation):
18811 * window.el (window-normalize-buffer-to-display):
18812 * progmodes/verilog-mode.el (verilog-batch-indent):
18813 * textmodes/bibtex.el (bibtex-field-braces-opt)
18814 (bibtex-field-strings-opt):
18815 * vc/cvs-status.el (cvs-tree-merge):
18816 Fix typos.
18817
18818 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18819
18820 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18821 `non-essential' to t, in order to avoid remote connections.
18822
18823 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18824
18825 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18826 On MS-DOS and MS-Windows, compare with loaddefs.el
18827 case-insensitively.
18828
18829 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18830
18831 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18832
18833 2011-11-23 Glenn Morris <rgm@gnu.org>
18834
18835 * paths.el (rmail-file-name): Reformat the doc-string so that it
18836 is picked up.
18837
18838 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18839 (rmail-auto-file): Ignore case in the "special" field names,
18840 as mail-fetch-field does for all others.
18841
18842 * mail/rmail.el (rmail-forward):
18843 * mail/rmailkwd.el (rmail-set-label):
18844 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18845 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18846
18847 * mail/rmail.el (rmail-current-message): Doc fix.
18848
18849 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18850
18851 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18852
18853 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18854
18855 2011-11-22 Glenn Morris <rgm@gnu.org>
18856
18857 * mail/rmailmm.el (test-rmail-mime-handler)
18858 (test-rmail-mime-bulk-handler)
18859 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18860
18861 2011-11-21 Juri Linkov <juri@jurta.org>
18862
18863 * calc/calc.el (calc-read-key-sequence):
18864 Let-bind `input-method-function' to nil. (Bug#10018)
18865
18866 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18867
18868 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18869 Tell the caller that the next line needs recomputation, even
18870 though it doesn't start a sexp (bug#10094).
18871
18872 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18873
18874 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18875
18876 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18877
18878 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18879 Use force-same-window.
18880
18881 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18882
18883 * descr-text.el (describe-char-unicode-data):
18884 * json.el (json-string-escape):
18885 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18886 (Footnote-unicode, Footnote-style-p):
18887 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18888
18889 2011-11-20 Chong Yidong <cyd@gnu.org>
18890
18891 * window.el (replace-buffer-in-windows): Restore interactive spec.
18892
18893 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18894
18895 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18896
18897 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18898 (byte-compile-global-not-obsolete-vars): New var.
18899 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18900 Use it.
18901 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18902
18903 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18904
18905 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18906 * progmodes/pascal.el (electric-pascal-equal):
18907 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18908 * xml.el (xml-substitute-special): Fix typos.
18909
18910 2011-11-20 Glenn Morris <rgm@gnu.org>
18911
18912 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18913 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18914 Doc fixes.
18915 (rmail-decode-mime-charset): Mark as obsolete.
18916
18917 * mail/rmailsum.el (rmail-message-regexp-p-1):
18918 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18919 Before using mime functions, check they are set. (Bug#10077)
18920
18921 2011-11-19 Juri Linkov <juri@jurta.org>
18922
18923 * info.el (Info-finder-find-node): Use `package--builtins' instead
18924 of `package-alist'. Use node names formed by the pattern "Keyword "
18925 and the keyword name.
18926
18927 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18928
18929 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18930
18931 2011-11-19 Juri Linkov <juri@jurta.org>
18932
18933 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18934 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18935 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18936 `old-history', `old-history-forward'. Add let-binding
18937 `window-selected'. Remove calls to `kill-buffer',
18938 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18939 before calling `Info-find-node', so `Info-find-node-2' will reread
18940 the Info file. Restore window positions only when `window-selected'
18941 is non-nil.
18942
18943 2011-11-19 Juri Linkov <juri@jurta.org>
18944
18945 * isearch.el (isearch-lazy-highlight-new-loop):
18946 Remove condition `(not isearch-error)'. (Bug#9918)
18947
18948 * misearch.el (multi-isearch-search-fun): Add condition
18949 `(not bound)' to ignore lazy-highlighting search.
18950 Add the search-failed message "end of multi" when the end of
18951 multi-sequence is reached. Uncapitalize the search-failed
18952 message "Repeat for next buffer".
18953
18954 * info.el (Info-search): Add the search-failed message
18955 "end of the manual" when the end of the manual is reached
18956 in Isearch mode.
18957
18958 2011-11-19 Juri Linkov <juri@jurta.org>
18959
18960 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18961 Use non-destructive `remove' instead of `delete' because
18962 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18963 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18964
18965 2011-11-19 Juri Linkov <juri@jurta.org>
18966
18967 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18968 to nil instead of binding `search-ring' and `regexp-search-ring'.
18969 (Bug#9185)
18970
18971 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18972
18973 * simple.el (line-move): Force movement by logical lines for any
18974 hscrolled window, not only when auto-hscroll-mode is on.
18975 (line-move-visual): Update doc string to that effect. (Bug#10076)
18976
18977 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18978
18979 * language/european.el (macintosh): Define as alias for mac-roman.
18980
18981 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18982
18983 * mail/rmailmm.el (rmail-mime-display-header)
18984 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18985 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18986 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18987 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18988 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18989 of a raw aref.
18990 (rmail-mime-entity-segment): To get past the tagline, move forward
18991 2 more lines, to account for the 2 empty lines that precede and
18992 follow the line with the buttons.
18993 (rmail-mime-update-tagline): Move one more line, to get past the
18994 empty line that follows the buttons in the tagline. (Bug#9520)
18995
18996 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18997
18998 * window.el (window-max-delta-1, window-min-delta-1)
18999 (window-min-size-1, window-state-get-1, window-state-put-1)
19000 (window-state-put-2): Use "window--" prefix.
19001
19002 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19003
19004 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19005 (smie-warning-count): New var.
19006 (smie-set-prec2tab): Use it.
19007 (smie-bnf->prec2): Improve warnings. Add docstring.
19008 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19009 (smie-bnf--set-class): New function.
19010 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19011 corner case.
19012
19013 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19014 (compilation-error-properties, compilation-move-to-column):
19015 Handle compilation-first-column while in the target buffer.
19016
19017 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19018 Don't hardcode point-min==1.
19019
19020 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19021 (eshell-rewrite-for-command): Remove workaround.
19022 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19023 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19024 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19025
19026 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19027
19028 2011-11-17 Glenn Morris <rgm@gnu.org>
19029
19030 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19031 Ignore buffer-local generated-autoload-file if it is the same
19032 as the global value. (Bug#10049)
19033
19034 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19035
19036 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19037 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19038 (reftex-toc-previous-heading, reftex-toc-max-level)
19039 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19040 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19041 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19042 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19043 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19044 (reftex-toc-rename-label, reftex-toc-visit-location)
19045 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19046 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19047 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19048 leaving "*toc*" only for references to the buffer.
19049
19050 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19051
19052 * window.el (window-resize, delete-window, split-window):
19053 Replace window-splits by window-combination-resize.
19054 * cus-start.el (window-splits): Replace by window-combination-resize.
19055
19056 2011-11-17 Glenn Morris <rgm@gnu.org>
19057
19058 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19059 Make bash entry derive from sh entry, not shell entry.
19060
19061 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19062
19063 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19064 local file name.
19065
19066 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19067
19068 * menu-bar.el (menu-bar-file-menu):
19069 * printing.el (pr-ps-utility):
19070 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19071 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19072 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19073 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19074 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19075 (icalendar--convert-cyclic-to-ical)
19076 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19077 (icalendar--convert-ical-to-diary)
19078 (icalendar--convert-recurring-to-diary)
19079 (icalendar--convert-non-recurring-all-day-to-diary)
19080 (icalendar-import-format-sample):
19081 * progmodes/idlw-shell.el (idlwave-shell-mode):
19082 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19083 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19084 (vhdl-ps-print-init): Fix typos.
19085
19086 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19087
19088 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19089 FSF and collapse date sequence, obscure author/maintainer email address
19090 better, remove extra version line, track relocation of author's webpage.
19091
19092 * progmodes/python.el (python-pdbtrack-input-prompt)
19093 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19094 regular python pdb prompts. Adjustments shamelessly taken exactly as
19095 suggested in EmacsWiki page (tiny change):
19096 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19097
19098 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19099
19100 * expand.el (expand-pos, expand-index, expand-point):
19101 Remove redundant info from docstring.
19102 (expand-add-abbrevs): Doc fix.
19103 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19104 (expand-sample-perl-mode-expand-list): Fix typos.
19105
19106 * net/dbus.el (dbus-event-member-name):
19107 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19108 * term/pc-win.el (msdos-create-frame-with-faces):
19109 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19110
19111 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19112
19113 * window.el (split-window, window-state-get-1)
19114 (window-state-put-1, window-state-put-2): Rename occurrences of
19115 window-nest to window-combination-limit.
19116 * cus-start.el (window-nest): Rename to window-combination-limit.
19117
19118 2011-11-16 Chong Yidong <cyd@gnu.org>
19119
19120 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19121 regexp (Bug#10033).
19122
19123 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19124
19125 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19126 `completing-read' will remove *Completions* and will preserve
19127 current-buffer for us.
19128 (tmm-add-prompt): Users of *Completions* will always (re)set its
19129 major mode.
19130 (tmm-old-comp-map): Remove.
19131
19132 2011-11-16 Glenn Morris <rgm@gnu.org>
19133
19134 * mail/rmailedit.el: Require rmailmm when compiling.
19135 (rmail-old-mime-state): New declaration.
19136 (rmail-edit-current-message): If editing a mime message,
19137 edit the "raw" message from the mbox buffer.
19138 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19139
19140 2011-11-15 Glenn Morris <rgm@gnu.org>
19141
19142 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19143 which wasn't being used. Add optional arg to force given state.
19144 (rmail-mime): Add optional arg to force given state.
19145
19146 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19147
19148 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19149 * frame.el (display-mm-dimensions-alist):
19150 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19151 (outline-move-subtree-down):
19152 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19153 (newsticker--treeview-do-get-node):
19154 * net/quickurl.el (quickurl-list-buffer-name):
19155 * progmodes/dcl-mode.el (dcl-mode):
19156 * progmodes/gdb-mi.el (gdb-mapcar*):
19157 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19158
19159 2011-11-15 Glenn Morris <rgm@gnu.org>
19160
19161 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19162 in a boolean sense, so just make it a boolean, and fix the doc.
19163 (rmail-show-mime-function, rmail-mime-feature)
19164 (rmail-require-mime-maybe): Doc fixes.
19165 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19166
19167 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19168
19169 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19170
19171 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19172 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19173 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19174 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19175
19176 2011-11-15 Glenn Morris <rgm@gnu.org>
19177
19178 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19179 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19180 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19181 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19182 (rmail-mime, rmail-show-mime): Doc fixes.
19183
19184 * term/ns-win.el (mode-line-frame-identification):
19185 Leave it alone. (Bug#10051)
19186
19187 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19188
19189 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19190 Handle empty buffers. (Bug#9978)
19191
19192 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19193
19194 * international/mule.el (define-charset):
19195 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19196 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19197 * progmodes/verilog-mode.el (verilog-backward-token):
19198 * textmodes/ispell.el (lookup-words):
19199 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19200
19201 2011-11-14 Glenn Morris <rgm@gnu.org>
19202
19203 * progmodes/executable.el
19204 (executable-make-buffer-file-executable-if-script-p):
19205 Handle file-modes returning nil.
19206
19207 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19208 message - not necessary, and causes problems. (Bug#9831)
19209
19210 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19211
19212 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19213
19214 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19215 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19216 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19217
19218 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19219
19220 * window.el (window-resize, delete-window): Use window-splits
19221 variable instead of function.
19222 (window-state-get-1, window-state-put-2, window-state-put):
19223 Don't deal with windows' splits status.
19224
19225 2011-11-12 Glenn Morris <rgm@gnu.org>
19226
19227 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19228 (apropos-documentation): Doc fixes.
19229
19230 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19231
19232 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19233 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19234
19235 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19236
19237 * electric.el (electric-indent-post-self-insert-function): Make it
19238 possible for a char to only indent in some circumstances.
19239 (electric-indent-mode): Simplify.
19240
19241 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19242
19243 * window.el (windows-with-parameter): Remove unused function.
19244 (windows-at-side): Rename to window-at-side-list.
19245 (window-check, window-atom-check, window-atom-check-1)
19246 (window-side-check, window-size-ignore, window-size-fixed-1)
19247 (window-in-direction-2): Prefix with "window--".
19248 (window-tree-1): Rename to window--subtree, fix doc-string.
19249
19250 2011-11-11 Glenn Morris <rgm@gnu.org>
19251
19252 * subr.el (eval-after-load): If FILE is already loaded,
19253 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19254
19255 2011-11-10 Glenn Morris <rgm@gnu.org>
19256
19257 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19258 Call svn via vc-svn-command rather than vc-do-command.
19259 (vc-svn-command): Add --non-interactive. (Bug#9993)
19260 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19261
19262 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19263 Add toggle-read-only. (Bug#7292)
19264 * files.el (toggle-read-only): Mention that it should only
19265 be used interactively. (Bug#10006)
19266
19267 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19268
19269 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19270 Adjust regexp for OCaml warnings.
19271
19272 * electric.el (electric-pair-post-self-insert-function): Let user
19273 turn it off buffer-locally (bug#9932).
19274
19275 * progmodes/python.el (python-beginning-of-statement):
19276 Rewrite (bug#2703).
19277
19278 * progmodes/compile.el: Better handle TABs (bug#9749).
19279 (compilation-internal-error-properties)
19280 (compilation-next-error-function): Obey the target buffer's
19281 compilation-error-screen-columns.
19282
19283 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19284
19285 * progmodes/meta-mode.el: Remove obsolete comments.
19286 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19287 Fix typos in docstrings.
19288
19289 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19290
19291 * window.el (window-size-fixed-p): Rewrite doc-string.
19292 (window-resizable-p): Rename to window--resizable-p. Update callers.
19293 (window--resizable): New function. Make all callers of
19294 window-resizable call window--resizable instead.
19295 (window-resizable): Rewrite in terms of window--resizable.
19296
19297 2011-11-08 Glenn Morris <rgm@gnu.org>
19298
19299 * progmodes/delphi.el (delphi-mode-syntax-table):
19300 Let define-derived-mode define a proper syntax table. (Bug#9994)
19301
19302 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19303
19304 * window.el: Stay away from defsubst.
19305 (window-list-no-nils): Remove.
19306 (window-state-get-1, window-state-get): Use backquote instead.
19307
19308 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19309
19310 * emacs-lisp/find-func.el (find-function-read):
19311 Fix incorrect use of default argument in `completing-read'.
19312
19313 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19314
19315 * window.el (display-buffer-function, special-display-function):
19316 Mention display-buffer-record-window but do not mention
19317 help-setup parameter in doc-strings.
19318 (window-min-delta): Fix doc-string typo.
19319
19320 2011-11-08 Chong Yidong <cyd@gnu.org>
19321
19322 * window.el (window-total-height, window-total-width): Doc fix.
19323 (window-body-size): Move from C.
19324 (window-body-height, window-body-width): Move to C.
19325
19326 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19327
19328 * window.el: Make special-display like display-buffer-alist (bug#9532).
19329 (display-buffer--special-action): New function, morphed
19330 from display-buffer--special.
19331 (display-buffer): Use it to handle special-display-buffers at higher
19332 priority (just after display-buffer-alist).
19333 (display-buffer-fallback-action, display-buffer--other-frame-action)
19334 (pop-to-buffer-same-window): Remove display-buffer--special.
19335
19336 2011-11-07 Glenn Morris <rgm@gnu.org>
19337
19338 * calendar/cal-menu.el (cal-menu-set-date-title):
19339 Do nothing if not in a calendar. (Bug#9976)
19340
19341 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19342
19343 * files.el (find-file): Always use selected-window.
19344
19345 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19346
19347 * window.el (window-combinations): Make WINDOW argument
19348 mandatory. Rewrite doc-string.
19349 (walk-window-subtree, window-atom-check, window-min-delta)
19350 (window-max-delta, window--resize-this-window)
19351 (window--resize-root-window-vertically, window-tree)
19352 (balance-windows, window-state-put): Rewrite doc-strings as to
19353 not mention the term "subwindow".
19354 (window--resize-subwindows-skip-p): Rename to
19355 window--resize-child-windows-skip-p.
19356 (window--resize-subwindows-normal): Rename to
19357 window--resize-child-windows-normal.
19358 (window--resize-subwindows): Rename to
19359 window--resize-child-windows.
19360 (window-or-subwindow-p): Rename to window--in-subtree-p.
19361
19362 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19363
19364 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19365 Ensure that mbox format messages end in two newlines (Bug#9974).
19366
19367 2011-11-06 Chong Yidong <cyd@gnu.org>
19368
19369 * window.el (window-combination-p): Function deleted; its
19370 side-effect is not used in any existing code.
19371 (window-combinations, window-combined-p): Call window-*-child
19372 directly.
19373
19374 2011-11-05 Chong Yidong <cyd@gnu.org>
19375
19376 * window.el (window-valid-p): Rename from window-any-p.
19377 (window-size-ignore, window-state-get): Callers changed.
19378 (window-normalize-window): Rename from window-normalize-any-window.
19379 New arg LIVE-ONLY, replacing window-normalize-live-window.
19380 (window-normalize-live-window): Delete.
19381 (window-combination-p, window-combined-p, window-combinations)
19382 (walk-window-subtree, window-atom-root, window-min-size)
19383 (window-sizable, window-sizable-p, window-size-fixed-p)
19384 (window-min-delta, window-max-delta, window-resizable)
19385 (window-resizable-p, window-full-height-p, window-full-width-p)
19386 (window-current-scroll-bars, window-point-1, set-window-point-1)
19387 (window-at-side-p, window-in-direction, window-resize)
19388 (adjust-window-trailing-edge, maximize-window, minimize-window)
19389 (window-deletable-p, delete-window, delete-other-windows)
19390 (record-window-buffer, unrecord-window-buffer)
19391 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19392 (quit-window, split-window, window-state-put)
19393 (set-window-text-height, fit-window-to-buffer)
19394 (shrink-window-if-larger-than-buffer): Callers changed.
19395
19396 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19397
19398 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19399 rfc2047-decode-string.
19400 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19401 warnings.
19402
19403 * window.el (window-body-height, window-body-width): Mention in
19404 the doc string that the return values are in frame's canonical
19405 units. (Bug#9949)
19406
19407 2011-11-03 Alan Mackenzie <acm@muc.de>
19408
19409 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19410 change in cc-engine.el.
19411
19412 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19413
19414 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19415
19416 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19417
19418 * window.el (quit-window): Call unrecord-window-buffer after
19419 showing another buffer in the window. (Bug#9937)
19420 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19421
19422 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19423
19424 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19425 Accept status with more than 9 shelves. (Bug#9935)
19426 Reported by Colin D Bennett <colin@gibibit.com>.
19427
19428 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19429
19430 * help.el (with-help-window): Don't reference
19431 temp-buffer-show-specifiers in doc-string.
19432
19433 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19434
19435 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19436 menu-item.
19437
19438 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19439
19440 * whitespace.el: New version 13.2.2.
19441 (whitespace-newline-mode): Disable properly. Reported by Sarah
19442 <EmacsWiki>.
19443
19444 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19445
19446 * net/newst-treeview.el: Remove "Time-stamp".
19447 (newsticker--group-manage-orphan-feeds): Do not call
19448 newsticker--treeview-tree-update.
19449 (newsticker-treeview-update, newsticker-treeview):
19450 Call newsticker--treeview-tree-update if necessary.
19451
19452 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19453
19454 * window.el (window-iso-combination-p, window-iso-combined-p)
19455 (window-iso-combinations): Remove "iso-" infix.
19456 Suggested by Chong Yidong.
19457 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19458 (window-max-delta-1, window-resize, window--resize-siblings)
19459 (window--resize-this-window, adjust-window-trailing-edge)
19460 (split-window, balance-windows-1)
19461 (shrink-window-if-larger-than-buffer):
19462 * calendar/calendar.el (calendar-generate-window):
19463 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19464
19465 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19466
19467 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19468 in place (bug#9907).
19469 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19470 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19471 (eshell-structure-basic-command, eshell-rewrite-while-command)
19472 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19473 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19474 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19475 (eshell-do-pipelines-synchronously, eshell-eval-command):
19476 Use backquotes and prefer setq to set.
19477 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19478 (eshell-macrop): Use functionp.
19479 (eshell-do-eval): Handle multiple expressions in `while' body.
19480
19481 2011-10-30 Chong Yidong <cyd@gnu.org>
19482
19483 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19484 instead of set-mark (Bug#9810).
19485
19486 2011-10-30 Chong Yidong <cyd@gnu.org>
19487
19488 * window.el (split-window-below, split-window-right): Rename from
19489 split-window-above-each-other and split-window-side-by-side
19490 respectively. All callers changed.
19491 (split-window-sensibly, split-window-sensibly): Use them.
19492 (split-window-keep-point): Doc fix.
19493
19494 * isearch.el: Add isearch-scroll property to split-window-below
19495 and split-window-right.
19496
19497 * follow.el (follow-mode):
19498 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19499 * progmodes/ada-xref.el (ada-gdb-application):
19500 * emulation/vip.el (vip-buffer-in-two-windows):
19501 * image-dired.el (image-dired-dired-with-window-configuration):
19502 * dired-x.el (dired-do-find-marked-files):
19503 * dired.el (dired-pop-to-buffer):
19504 * bs.el (bs--show-with-configuration):
19505 * vc/emerge.el (emerge-setup-windows):
19506 * textmodes/two-column.el (2C-two-columns):
19507 * textmodes/reftex-toc.el (reftex-toc):
19508 * progmodes/gdb-mi.el (gdb-setup-windows):
19509 * progmodes/fortran.el (fortran-window-create):
19510 * net/newst-treeview.el (newsticker--treeview-window-init):
19511 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19512 * emulation/tpu-edt.el (tpu-gold-map):
19513 * emulation/crisp.el (crisp-mode-map):
19514 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19515
19516 2011-10-29 Chong Yidong <cyd@gnu.org>
19517
19518 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19519
19520 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19521
19522 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19523 forged Ispell output (Bug#7904).
19524
19525 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19526
19527 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19528
19529 * doc-view.el: Avoid ugly errors about not finding nil.
19530 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19531 (doc-view-dvipdf-program, doc-view-unoconv-program)
19532 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19533 Avoid nil or absolute file name as default value.
19534 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19535
19536 2011-10-28 Alan Mackenzie <acm@muc.de>
19537
19538 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19539
19540 2011-10-28 Alan Mackenzie <acm@muc.de>
19541
19542 Amend the handling of c-beginning/end-of-defun in nested declaration
19543 scopes.
19544
19545 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19546 cc-langs.el. Change it to a defcustom.
19547
19548 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19549 cc-vars.el.
19550
19551 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19552 Prevent "class foo : bar" being spuriously recognized as a label.
19553
19554 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19555 Add parameter `inclusive' (to include enclosing braces in the region).
19556 (c-widen-to-enclosing-decl-scope): New function.
19557 (c-while-widening-to-decl-block): New macro.
19558 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19559 outward for defun boundaries, and correspondingly change symbol
19560 `respect-enclosure' to `go-outward'.
19561 (c-declaration-limits): Change algorithm to report only the "innermost"
19562 defun's boundaries.
19563
19564 2011-10-28 Deniz Dogan <deniz@dogan.se>
19565
19566 * net/rcirc.el (rcirc-mode): Use hard newlines.
19567
19568 2011-10-28 Alan Mackenzie <acm@muc.de>
19569
19570 Amend to indent and fontify macros "which include their own semicolon"
19571 correctly, using the "virtual semicolon" mechanism.
19572
19573 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19574
19575 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19576 Recode to scan one line at a time rather than having \n and \r
19577 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19578 (c-forward-label): Amend for virtual semicolons.
19579 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19580
19581 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19582 of the new C macros.
19583
19584 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19585 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19586 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19587 (c-opt-cpp-macro-define): Make into a full language variable.
19588 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19589 AWK Mode (including \n, \r) removed, no longer needed.
19590
19591 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19592 Invoke c-make-macro-with-semi-re.
19593
19594 * progmodes/cc-vars.el (c-macro-with-semi-re):
19595 (c-macro-names-with-semicolon): New variables.
19596 (c-make-macro-with-semi-re): New function.
19597
19598 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19599
19600 * vc/log-edit.el: Fill empty field rather than adding new one.
19601 (log-edit-add-field): New function.
19602 (log-edit-insert-changelog): Use it.
19603
19604 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19605
19606 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19607
19608 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19609
19610 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19611 (gdb--check-interpreter): New function.
19612 (gdb): Use it.
19613
19614 2011-10-27 Glenn Morris <rgm@gnu.org>
19615
19616 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19617 (least-positive-float, least-negative-float)
19618 (least-positive-normalized-float, least-negative-normalized-float)
19619 (float-epsilon, float-negative-epsilon):
19620 Remove unnecessary declarations.
19621
19622 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19623 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19624 (least-positive-float, least-negative-float)
19625 (least-positive-normalized-float, least-negative-normalized-float)
19626 (float-epsilon, float-negative-epsilon): Add doc-strings,
19627 based on those in cl.texi.
19628
19629 * files.el (set-visited-file-name): If the major-mode changed,
19630 reload the local variables. (Bug#9796)
19631
19632 2011-10-27 Chong Yidong <cyd@gnu.org>
19633
19634 * subr.el (change-major-mode-after-body-hook): New hook.
19635 (run-mode-hooks): Run it.
19636
19637 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19638 Use change-major-mode-before-body-hook.
19639
19640 * simple.el (fundamental-mode):
19641 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19642 change introducing fundamental-mode-hook.
19643
19644 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19645
19646 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19647
19648 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19649
19650 * ido.el (ido-file-name-all-completions-1): Do not require
19651 tramp.el explicitly. (Bug#7583)
19652
19653 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19654
19655 * progmodes/octave-mod.el:
19656 * progmodes/octave-inf.el: Update maintainer.
19657
19658 2011-10-26 Chong Yidong <cyd@gnu.org>
19659
19660 * subr.el (with-wrapper-hook): Rewrite doc.
19661
19662 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19663
19664 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19665 filenames "/method:foo:". (Bug#9793)
19666
19667 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19668
19669 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19670 (bug#9865).
19671
19672 2011-10-24 Glenn Morris <rgm@gnu.org>
19673
19674 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19675
19676 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19677
19678 * notifications.el: Add the requirement of a running D-Bus session
19679 bus to the Commentary.
19680
19681 2011-10-24 Juri Linkov <juri@jurta.org>
19682
19683 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19684 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19685 (Bug#9364)
19686
19687 2011-10-24 Juri Linkov <juri@jurta.org>
19688
19689 * info.el (Info-following-node-name-re): Add newline to the list
19690 of allowed characters for leading space. (Bug#9824)
19691
19692 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19693
19694 * progmodes/octave-inf.el (inferior-octave-mode-map):
19695 Fix C-c C-h binding.
19696 * progmodes/octave-mod.el (octave-help): Remove.
19697
19698 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19699
19700 Sync with Tramp 2.2.3.
19701
19702 * net/tramp-cache.el (top): Pacify byte-compiler using
19703 `init-file-user' and `site-run-file'.
19704
19705 * net/trampver.el: Update release number.
19706
19707 2011-10-23 Chong Yidong <cyd@gnu.org>
19708
19709 * files.el (toggle-read-only): Remove obsolete comment about
19710 version control.
19711
19712 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19713 for toggle-read-only. Note that this hasn't called vc-next-action
19714 since 2008-05-02, though it wasn't documented at the time.
19715
19716 * vc/ediff-init.el (ediff-toggle-read-only-function):
19717 Use toggle-read-only.
19718
19719 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19720
19721 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19722 of c-parse-state.
19723
19724 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19725 correct faulty logical expression.
19726 (c-parse-state-state, c-record-parse-state-state):
19727 (c-replay-parse-state-state): New defvar/defuns.
19728 (c-debug-parse-state): Use new functions.
19729
19730 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19731
19732 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19733 last fix. Use window-in-direction correctly.
19734
19735 2011-10-21 Chong Yidong <cyd@gnu.org>
19736
19737 * progmodes/idlwave.el (idlwave-mode):
19738 * progmodes/vera-mode.el (vera-mode): No need to set
19739 require-final-newline; that's done in prog-mode.
19740 Suggested by Stefan Monnier.
19741
19742 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19743
19744 * mouse.el (mouse-drag-window-above)
19745 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19746 (mouse-drag-mode-line-1, mouse-drag-header-line)
19747 (mouse-drag-vertical-line-rightward-window): Remove.
19748 (mouse-drag-line): New function.
19749 (mouse-drag-mode-line, mouse-drag-header-line)
19750 (mouse-drag-vertical-line): Call mouse-drag-line.
19751 * window.el (window-at-side-p, windows-at-side): New functions.
19752
19753 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19754
19755 * tar-mode.el (tar-grind-file-mode):
19756 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19757
19758 2011-10-21 Chong Yidong <cyd@gnu.org>
19759
19760 * progmodes/idlwave.el (idlwave-mode):
19761 * progmodes/vera-mode.el (vera-mode):
19762 Use mode-require-final-newline.
19763
19764 2011-10-20 Glenn Morris <rgm@gnu.org>
19765
19766 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19767
19768 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19769
19770 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19771
19772 2011-10-20 Chong Yidong <cyd@gnu.org>
19773
19774 * emulation/cua-base.el (cua-mode):
19775 * mail/footnote.el (footnote-mode):
19776 * mail/mailabbrev.el (mail-abbrevs-mode):
19777 * net/xesam.el (xesam-minor-mode):
19778 * progmodes/bug-reference.el (bug-reference-mode):
19779 * progmodes/cap-words.el (capitalized-words-mode):
19780 * progmodes/compile.el (compilation-minor-mode)
19781 (compilation-shell-minor-mode):
19782 * progmodes/gud.el (gud-tooltip-mode):
19783 * progmodes/hideif.el (hide-ifdef-mode):
19784 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19785 * progmodes/subword.el (subword-mode):
19786 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19787 * progmodes/which-func.el (which-function-mode):
19788 * term/tvi970.el (tvi970-set-keypad-mode):
19789 * term/vt100.el (vt100-wide-mode):
19790 * textmodes/flyspell.el (flyspell-mode):
19791 * textmodes/ispell.el (ispell-minor-mode):
19792 * textmodes/nroff-mode.el (nroff-electric-mode):
19793 * textmodes/paragraphs.el (use-hard-newlines):
19794 * textmodes/refill.el (refill-mode):
19795 * textmodes/reftex.el (reftex-mode):
19796 * textmodes/rst.el (rst-minor-mode):
19797 * textmodes/sgml-mode.el (html-autoview-mode)
19798 (sgml-electric-tag-pair-mode):
19799 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19800 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19801 * emulation/crisp.el (crisp-mode):
19802 * emacs-lisp/eldoc.el (eldoc-mode):
19803 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19804 minor mode behavior.
19805
19806 2011-10-19 Juri Linkov <juri@jurta.org>
19807
19808 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19809 the list of hard-coded chars with escape-glyph face.
19810
19811 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19812
19813 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19814
19815 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19816
19817 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19818 running process.
19819
19820 2011-10-19 Glenn Morris <rgm@gnu.org>
19821
19822 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19823 Ignore ignored files. (Bug#9726)
19824
19825 2011-10-19 Chong Yidong <cyd@gnu.org>
19826
19827 Doc fix for minor modes, stating that an omitted argument enables
19828 the mode unconditionally when called from Lisp.
19829
19830 * abbrev.el (abbrev-mode):
19831 * allout.el (allout-mode):
19832 * autoinsert.el (auto-insert-mode):
19833 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19834 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19835 (global-auto-revert-mode):
19836 * battery.el (display-battery-mode):
19837 * composite.el (global-auto-composition-mode)
19838 (auto-composition-mode):
19839 * delsel.el (delete-selection-mode):
19840 * desktop.el (desktop-save-mode):
19841 * dired-x.el (dired-omit-mode):
19842 * dirtrack.el (dirtrack-mode):
19843 * doc-view.el (doc-view-minor-mode):
19844 * double.el (double-mode):
19845 * electric.el (electric-indent-mode, electric-pair-mode):
19846 * emacs-lock.el (emacs-lock-mode):
19847 * epa-hook.el (auto-encryption-mode):
19848 * follow.el (follow-mode):
19849 * font-core.el (font-lock-mode):
19850 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19851 * help.el (temp-buffer-resize-mode):
19852 * hilit-chg.el (highlight-changes-mode)
19853 (highlight-changes-visible-mode):
19854 * hi-lock.el (hi-lock-mode):
19855 * hl-line.el (hl-line-mode, global-hl-line-mode):
19856 * icomplete.el (icomplete-mode):
19857 * ido.el (ido-everywhere):
19858 * image-file.el (auto-image-file-mode):
19859 * image-mode.el (image-minor-mode):
19860 * iswitchb.el (iswitchb-mode):
19861 * jka-cmpr-hook.el (auto-compression-mode):
19862 * linum.el (linum-mode):
19863 * longlines.el (longlines-mode):
19864 * master.el (master-mode):
19865 * mb-depth.el (minibuffer-depth-indicate-mode):
19866 * menu-bar.el (menu-bar-mode):
19867 * minibuf-eldef.el (minibuffer-electric-default-mode):
19868 * mouse-sel.el (mouse-sel-mode):
19869 * msb.el (msb-mode):
19870 * mwheel.el (mouse-wheel-mode):
19871 * outline.el (outline-minor-mode):
19872 * paren.el (show-paren-mode):
19873 * recentf.el (recentf-mode):
19874 * reveal.el (reveal-mode, global-reveal-mode):
19875 * rfn-eshadow.el (file-name-shadow-mode):
19876 * ruler-mode.el (ruler-mode):
19877 * savehist.el (savehist-mode):
19878 * scroll-all.el (scroll-all-mode):
19879 * scroll-bar.el (scroll-bar-mode):
19880 * server.el (server-mode):
19881 * shell.el (shell-dirtrack-mode):
19882 * simple.el (auto-fill-mode, transient-mark-mode)
19883 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19884 (line-number-mode, column-number-mode, size-indication-mode)
19885 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19886 * strokes.el (strokes-mode):
19887 * time.el (display-time-mode):
19888 * t-mouse.el (gpm-mouse-mode):
19889 * tool-bar.el (tool-bar-mode):
19890 * tooltip.el (tooltip-mode):
19891 * type-break.el (type-break-mode-line-message-mode)
19892 (type-break-query-mode):
19893 * view.el (view-mode):
19894 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19895 (global-whitespace-mode, global-whitespace-newline-mode):
19896 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19897
19898 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19899 Fix autogenerated docstring.
19900
19901 2011-10-19 Juri Linkov <juri@jurta.org>
19902
19903 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19904 by checking environment variables "DESKTOP_SESSION" and
19905 "XDG_CURRENT_DESKTOP". (Bug#9779)
19906
19907 2011-10-19 Juri Linkov <juri@jurta.org>
19908
19909 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19910 (browse-url-chromium-program, browse-url-chromium-arguments):
19911 New defcustoms.
19912 (browse-url-default-browser): Check for `browse-url-chromium' and
19913 call `browse-url-chromium-program'.
19914 (browse-url-chromium): New command. (Bug#9779)
19915
19916 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19917
19918 * facemenu.el (list-colors-duplicates): On Windows, detect more
19919 duplicates by assuming that only colors matching "^System" are
19920 special "system colors". (Bug#9722)
19921
19922 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19923
19924 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19925 to distinguish the author from the committer.
19926
19927 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19928
19929 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19930
19931 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19932
19933 * international/mule.el (sgml-html-meta-auto-coding-function):
19934 Add support for detecting encoding in HTML5 specified only as
19935 <meta charset="UTF-8">. Implementation just makes http-equiv and
19936 content-type parts from HTML4 encoding string optional. (Bug#9716)
19937
19938 2011-10-18 Glenn Morris <rgm@gnu.org>
19939
19940 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19941
19942 2011-10-18 Chong Yidong <cyd@gnu.org>
19943
19944 * faces.el (cursor): Doc fix.
19945
19946 2011-10-17 Chong Yidong <cyd@gnu.org>
19947
19948 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19949
19950 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19951
19952 * dirtrack.el (dirtrack): Support shell buffers with path
19953 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19954
19955 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19956
19957 * json.el: Bump version to 1.3 and note change in History.
19958 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19959
19960 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19961
19962 * comint.el (comint-insert-input, comint-send-input)
19963 (comint-get-old-input-default, comint-backward-matching-input)
19964 (comint-next-prompt): Use nil instead of `input' for field property of
19965 past user input (bug#114).
19966
19967 * minibuffer.el (completion--replace): Inherit surrounding properties
19968 (bug#114).
19969 (minibuffer-complete-and-exit): Use it.
19970
19971 * comint.el (comint--table-subvert): Quote the all-completions output
19972 (bug#9160).
19973
19974 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19975
19976 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19977
19978 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19979 window on right of selected. (Bug#9350) Reword other window
19980 entries and separate them from frame entries.
19981
19982 2011-10-15 Glenn Morris <rgm@gnu.org>
19983
19984 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19985 Doc fixes.
19986
19987 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19988
19989 * net/network-stream.el (network-stream-open-starttls):
19990 Improve detection of failure due to lack of TLS support.
19991
19992 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19993 putting the input text in front and in bold.
19994
19995 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19996
19997 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19998
19999 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20000 empty buffer.
20001
20002 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20003 unread-command-events rather than pushing yet-another event.
20004
20005 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20006
20007 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20008 the explanation of the possible choices. Make the options passed
20009 to completing-read shorter.
20010
20011 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
20012
20013 * textmodes/flyspell.el (flyspell-large-region): Make sure
20014 extended character mode is used if defined (Bug#1339).
20015
20016 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20017
20018 * simple.el (what-cursor-position): Fix the display of the
20019 character info for LRE, LRO, RLE, and RLO characters by appending
20020 an invisible PDF.
20021
20022 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20023
20024 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20025 even in case of error; add debug spec; simplify data flow.
20026 (with-timeout-handler): Remove.
20027
20028 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20029
20030 Fix Bug#6019, Bug#9315.
20031
20032 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20033 complete `buffer-file-name', the local file name part could look
20034 remotely (for example on VMS).
20035
20036 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20037 `tramp-run-real-handler'.
20038 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20039 already quoted by '"'.
20040
20041 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20042 Let `file-name-handler-alist' be nil, the local file name part
20043 could look remotely (for example on VMS).
20044
20045 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20046
20047 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20048 from here...
20049 (flyspell-post-command-hook): ...to here.
20050
20051 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20052
20053 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20054 if not needed.
20055 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20056 using completion. Protect against "slow" callers.
20057 Remove the "message hack".
20058
20059 2011-10-11 Juri Linkov <juri@jurta.org>
20060
20061 * isearch.el (isearch-lazy-highlight-word): New variable.
20062 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20063 Use it. (Bug#9727)
20064
20065 2011-10-11 Glenn Morris <rgm@gnu.org>
20066
20067 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20068 like f90-previous-statement does.
20069
20070 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20071
20072 * eshell/eshell.el (eshell-command): History should be saved
20073 only in interactive use, to avoid error.
20074
20075 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20076
20077 * minibuffer.el (completion-file-name-table): Fix last change,
20078 i.e. ignore normal errors but not the other ones.
20079
20080 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20081
20082 * window.el (special-display-buffer-names)
20083 (special-display-regexps): Remove some remnants of earlier
20084 changes from doc-strings.
20085 (quit-windows-on): New function.
20086
20087 * vc/vc.el (vc-revert, vc-rollback):
20088 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20089 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20090 (Bug#6183) (Bug#7074) (Bug#7447)
20091
20092 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20093
20094 * window.el (frame-auto-hide-function): Add version tag.
20095 (Bug#9699)
20096
20097 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20098
20099 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20100 condition.
20101
20102 2011-10-09 Leo Liu <sdl.web@gmail.com>
20103
20104 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20105 (Bug#9701)
20106
20107 2011-10-08 Glenn Morris <rgm@gnu.org>
20108
20109 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20110 before the first code statement zero indent. (Bug#9690)
20111
20112 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20113
20114 * simple.el (count-words-region): Always count in the region.
20115 Report the number of lines and characters too.
20116 (count-words): New command, which counts in the buffer if the
20117 region is inactive, as count-words-region used to.
20118 (count-words--message): New function. Handle plurals.
20119 (count-lines-region): Make it an alias for count-words-region.
20120
20121 * bindings.el (esc-map): Replace count-lines-region with
20122 count-words-region.
20123
20124 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20125
20126 * window.el (window--delete): Delete dedicated frame
20127 unconditionally when argument KILL is non-nil. (Bug#9699)
20128 (switch-to-buffer): Fix doc-string typo.
20129
20130 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20131
20132 * eshell/eshell.el (eshell-command): Avoid using hooks.
20133
20134 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20135
20136 * bindings.el ([M-left],[M-right]): Bind to left-word and
20137 right-word respectively.
20138
20139 2011-10-07 Glenn Morris <rgm@gnu.org>
20140
20141 * cus-start.el (debug-on-quit): Fix custom type.
20142
20143 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20144
20145 * subr.el (define-key-after): Clarify that the function is not
20146 useful for non-menu keymaps.
20147
20148 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20149
20150 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20151
20152 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20153 in current minibuffer (Fix bug with recursive minibuffers).
20154
20155 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20156
20157 * progmodes/gdb-mi.el (gdb): Doc fix.
20158
20159 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20160
20161 * window.el (frame-auto-hide-function): New option replacing
20162 frame-auto-delete. Suggested by Stefan Monnier.
20163 (window--delete): Call frame-auto-hide-function instead of
20164 investigating frame-auto-delete.
20165 (window-point-1, set-window-point-1): New functions.
20166 (window-in-direction, record-window-buffer, window-state-get-1)
20167 (display-buffer-record-window): Use window-point-1 instead of
20168 window-point.
20169 (set-window-buffer-start-and-point): Use set-window-point-1.
20170
20171 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20172
20173 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20174
20175 2011-10-05 Glenn Morris <rgm@gnu.org>
20176
20177 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20178 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20179
20180 2011-10-05 Leo Liu <sdl.web@gmail.com>
20181
20182 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20183 works with buffer object.
20184
20185 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20186
20187 * mpc.el (mpc-tool-bar-map): Add labels.
20188
20189 2011-10-04 Glenn Morris <rgm@gnu.org>
20190
20191 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20192
20193 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20194
20195 * window.el (window--delete): New function.
20196 (frame-auto-delete): Resuscitate option.
20197 (bury-buffer, replace-buffer-in-windows)
20198 (quit-window): Rewrite using window--delete.
20199 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20200 Pass display-buffer-mark-dedicated to window--display-buffer-2
20201 (Bug#9639).
20202
20203 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20204
20205 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20206 returns a list (bug#9554). Add remote file name completion.
20207 * comint.el (comint--table-subvert): Curry and get quote&unquote
20208 functions as arguments.
20209 (comint--complete-file-name-data): Adjust call accordingly.
20210 * pcomplete.el (pcomplete--table-subvert): Remove.
20211 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20212
20213 * minibuffer.el (completion-table-case-fold): Use currying.
20214 (completion--styles-type, completion--cycling-threshold-type):
20215 New constants.
20216 (completion-styles, completion-category-overrides)
20217 (completion-cycle-threshold): Use them.
20218 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20219 completion-table-case-fold.
20220
20221 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20222
20223 * minibuffer.el (completion-category-overrides): Fix type of styles
20224 and add more user friendly tags (bug#9660).
20225
20226 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20227
20228 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20229 (mule-input-method-string): New widget.
20230 (default-input-method, language-info-custom-alist): Use it.
20231
20232 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20233
20234 * pcomplete.el: Require comint.
20235 (pcomplete--common-suffix): Remove.
20236 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20237 (pcomplete--table-subvert): Sync with comint--table-subvert.
20238 (pcomplete--entries): Use comint-completion-file-name-table.
20239 * comint.el (comint-unquote-filename): Simplify.
20240 (comint-completion-file-name-table): New function (bug#9616).
20241 (comint--complete-file-name-data): Use it.
20242
20243 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20244 (pcmpl-gnu-tar-buffer): Remove.
20245 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20246 around. Make sure pcomplete-suffix-list is only changed temporarily.
20247 Don't look inside the tar's file if it's too large.
20248
20249 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20250
20251 * cus-edit.el (custom-mode-map):
20252 * epa.el (epa-key-list-mode-map):
20253 * man.el (Man-mode-map):
20254 * startup.el (splash-screen-keymap):
20255 * simple.el (special-mode-map): Use scroll-up-command and
20256 scroll-down-command.
20257
20258 * progmodes/idlw-help.el (idlwave-help-mode-map):
20259 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20260 * net/newst-plainview.el (newsticker-mode-map):
20261 * emulation/ws-mode.el (wordstar-mode-map):
20262 * emulation/vi.el (vi-com-map):
20263 * calc/calc-graph.el (calc-graph-show-dumb):
20264 * term/sun.el (terminal-init-sun):
20265 * term/ns-win.el (global-map):
20266 * progmodes/grep.el (grep-mode-map):
20267 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20268 * mail/rmail.el (rmail-mode-map):
20269 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20270
20271 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20272 custom-safe-themes as special.
20273
20274 2011-10-01 Julien Danjou <julien@danjou.info>
20275
20276 * notifications.el (notifications-notify): Fix docstring.
20277
20278 2011-10-01 Per Starbäck <per@starback.se>
20279
20280 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20281
20282 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20283
20284 * startup.el (command-line-1): Fix last fix by inserting
20285 initial-scratch-message into *scratch* before displaying it.
20286 (Bug#9605) and (Bug#9636)
20287
20288 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20289
20290 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20291 window is hscrolled, move by logical lines. (Bug#9607)
20292 (line-move-visual): Update the doc string to the above effect.
20293
20294 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20295
20296 * window.el (display-buffer-record-window): When WINDOW is the
20297 selected window use `point' instead of `window-point'. (Bug#9626)
20298
20299 * startup.el (command-line-1): Use insert-before-markers when
20300 inserting initial-scratch-message. (Bug#9605)
20301
20302 * help.el (help-window): Remove variable.
20303
20304 2011-09-29 Glenn Morris <rgm@gnu.org>
20305
20306 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20307
20308 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20309
20310 * descr-text.el (describe-char-categories): Accept category
20311 descriptions more than one line long.
20312
20313 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20314
20315 * simple.el (delete-trailing-whitespace): Fix last change.
20316
20317 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20318 Don't confuse "y => 3" as the beginning of a `y' operation.
20319
20320 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20321 object has more than 4 slots (bug#9613).
20322
20323 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20324
20325 * subr.el (with-output-to-temp-buffer):
20326 * net/quickurl.el (quickurl, quickurl-browse-url):
20327 Fix typos in docstrings.
20328
20329 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20330
20331 * minibuffer.el (completion-styles)
20332 (completion-category-overrides): Cross reference each other in doc
20333 strings.
20334
20335 2011-09-27 Glenn Morris <rgm@gnu.org>
20336
20337 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20338 to split-string. (Bug#9606)
20339
20340 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20341
20342 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20343 (bug#9615).
20344
20345 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20346
20347 * emacs-lisp/package.el (list-packages): Fix echo area message.
20348
20349 2011-09-27 Leo Liu <sdl.web@gmail.com>
20350
20351 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20352
20353 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20354
20355 * net/dbus.el (dbus-unregister-object): Don't release services for
20356 registered signals. (Bug#9581)
20357
20358 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20359
20360 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20361 function that picks between cfengine 2 and 3 support
20362 automatically. Update docs accordingly.
20363
20364 2011-09-22 Kenichi Handa <handa@m17n.org>
20365
20366 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20367 ZERO.
20368 (indian-itrans-v5-table-for-tamil): New variable.
20369 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20370
20371 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20372
20373 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20374 that's true if the current command involved collapsing of text.
20375 It's reset to false at the beginning of the next command.
20376 (allout-post-command-business): Move the cursor to the beginning
20377 of entry if the cursor is hidden and collapsing activity just
20378 happened.
20379
20380 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20381
20382 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20383 tracking (Bug#9541).
20384
20385 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20386
20387 * net/newst-reader.el (newsticker-html-renderer)
20388 (newsticker-show-news): Automatically load html rendering package
20389 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20390 because w3m-fill-column is let-bound" and the error "Symbol's value
20391 as variable is void: w3m-fill-column".
20392
20393 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20394
20395 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20396 Release services only if they are defined. (Bug#9581)
20397
20398 2011-09-23 Richard Stallman <rms@gnu.org>
20399
20400 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20401 distinguish start of paragraph from start of its text.
20402
20403 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20404
20405 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20406 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20407 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20408
20409 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20410
20411 * international/mule-diag.el (mule-diag): Insert a newline after
20412 each fontset description.
20413
20414 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20415
20416 * simple.el (delete-trailing-whitespace):
20417 Document last change; simplify.
20418
20419 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20420
20421 * simple.el (delete-trailing-whitespace): Also delete
20422 extra newlines at the end of the buffer.
20423
20424 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20425 (picture-newline): Use forward-line so as to ignore fields.
20426
20427 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20428
20429 * subr.el (with-wrapper-hook): Fix edebug spec.
20430
20431 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20432
20433 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20434 (bug#4538).
20435
20436 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20437
20438 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20439 Fix nasty bug using wrong cached values.
20440
20441 2011-09-23 Alan Mackenzie <acm@muc.de>
20442
20443 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20444
20445 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20446
20447 * window.el (pop-to-buffer): Ensure right window is selected if we
20448 chose another frame.
20449
20450 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20451
20452 * simple.el (what-cursor-position): Use get-char-property-change
20453 and next-single-char-property-change, to be able to show display
20454 properties that come from overlays as well as text properties.
20455
20456 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20457
20458 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20459
20460 * cmuscheme.el (run-scheme, switch-to-scheme):
20461 * cus-edit.el (customize-group, custom-buffer-create)
20462 (customize-browse):
20463 * info.el (info):
20464 * shell.el (shell):
20465 * mail/sendmail.el (mail):
20466 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20467
20468 2011-09-22 Richard Stallman <rms@gnu.org>
20469
20470 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20471 move back only to line beg, don't move back over blank lines.
20472
20473 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20474
20475 * files.el (copy-directory): Set directory attributes only in case
20476 they could be retrieved from the source directory. (Bug#9565)
20477
20478 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20479
20480 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20481 (hs-find-block-beginning, hs-hide-level-recursive):
20482 Ignore strings as well as comments. (Bug#9502)
20483
20484 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20485
20486 * progmodes/sql.el (sql-comint-postgres):
20487 Convert port number to a string. (Bug#9566)
20488
20489 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20490
20491 * window.el (quit-window): Undedicate window when switching to
20492 previous buffer. Reported by Thierry Volpiatto
20493 <thierry.volpiatto@gmail.com>.
20494 (special-display-popup-frame): When popping up a new frame reset
20495 its previous buffers to nil. Simplify code.
20496
20497 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20498
20499 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20500 and process filter, as done also in `shell-command'.
20501
20502 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20503
20504 * window.el (set-window-buffer-start-and-point):
20505 Call set-window-start with NOFORCE argument t.
20506 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20507 (quit-window): Reword doc-string. Handle new format of
20508 quit-restore parameter. Don't delete window if it has a
20509 previous buffer we can show instead of the present one.
20510 (display-buffer-record-window): Rewrite using a new format for
20511 the quit-restore window parameter
20512 (special-display-popup-frame, display-buffer-same-window)
20513 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20514 (display-buffer-pop-up-window, display-buffer-use-some-window):
20515 Adapt symbol passed to display-buffer-record-window.
20516 * help.el (help-window-setup): Handle new format of quit-restore
20517 parameter.
20518
20519 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20520
20521 * faces.el (face-list): Fix docstring (bug#9564).
20522
20523 * window.el (display-buffer--action-function-custom-type):
20524 Don't include internal functions in the Custom interface.
20525
20526 2011-09-20 Juri Linkov <juri@jurta.org>
20527
20528 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20529 (Info-forward-node, Info-backward-node, Info-next-preorder)
20530 (Info-last-preorder): Use it. (Bug#9528)
20531
20532 2011-09-20 Juri Linkov <juri@jurta.org>
20533
20534 * info.el (Info-last-preorder): Visit last menu item only when
20535 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20536
20537 2011-09-20 Julien Danjou <julien@danjou.info>
20538
20539 * password-cache.el (password-cache-remove): Remove entries even if the
20540 value is nil, so that password with a nil value (negative caching) is
20541 possible to invalidate.
20542
20543 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20544
20545 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20546 all whitespace around breakpoint. (Bug#9553)
20547 (f90-find-breakpoint): Only break at whitespace inside a comment.
20548
20549 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20550
20551 * minibuffer.el (completion-file-name-table): Keep track of errors.
20552 (completion-table-with-predicate): Handle the case where pred1 is nil.
20553 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20554
20555 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20556
20557 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20558 (debugger-return-value): Signal an error if the debugging context does
20559 not await any return value.
20560
20561 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20562 * image-mode.el (image-toggle-display-text)
20563 (image-toggle-display-image): Stay away from evil `intangible'.
20564
20565 2011-09-19 Leo Liu <sdl.web@gmail.com>
20566
20567 * replace.el (occur-revert-arguments): Make it permanent-local.
20568 (occur-mode): Don't call font-lock-defontify.
20569
20570 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20571
20572 * net/ldap.el (ldap-search-internal): Don't push empty search
20573 result (Bug#9508).
20574
20575 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20576
20577 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20578
20579 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20580
20581 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20582 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20583
20584 2011-09-18 Juri Linkov <juri@jurta.org>
20585
20586 * buff-menu.el (Buffer-menu-mode-map):
20587 * dired.el (dired-mode-map):
20588 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20589 (lisp-interaction-mode-map):
20590 * emacs-lisp/package.el (package-menu-mode-map):
20591 * epa.el (epa-key-list-mode-map):
20592 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20593 (menu-bar-options-menu):
20594 * outline.el (outline-mode-menu-bar-map):
20595 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20596 * vc/vc-dir.el (vc-dir-menu-map):
20597 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20598 Capitalize non-function content words in menu item strings.
20599
20600 * dired.el (dired-mode-map): Add menu item for
20601 `image-dired-dired-toggle-marked-thumbs'.
20602
20603 2011-09-18 Juri Linkov <juri@jurta.org>
20604
20605 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20606 to `isearch-case-fold-search' and restore its original value
20607 after the `isearch-mode' call.
20608
20609 2011-09-18 Juri Linkov <juri@jurta.org>
20610
20611 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20612 because `zgrep' returns 1 for successful matches (bug#9226).
20613
20614 2011-09-18 Juri Linkov <juri@jurta.org>
20615
20616 * info.el (Info-extract-menu-node-name): Check the second match
20617 for empty string (second test-case of bug#9528).
20618 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20619 intermediate nodes to the history (first test-case of bug#9528).
20620
20621 2011-09-18 Juri Linkov <juri@jurta.org>
20622
20623 * info.el (Info-mode-syntax-table): New variable.
20624 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20625
20626 2011-09-18 Juri Linkov <juri@jurta.org>
20627
20628 * info.el (Info-file-supports-index-cookies):
20629 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20630 outputs one more line for long file names (bug#4142).
20631
20632 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20633
20634 * newcomment.el (comment-normalize-vars): If prompting for
20635 comment-start, set comment-start-skip too (Bug#8424).
20636
20637 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20638
20639 * icomplete.el: Fix previous fix of Bug#5849.
20640 (icomplete-mode): Don't set completion-show-inline-help.
20641 (icomplete-minibuffer-setup): Set completion-show-inline-help
20642 locally during icompletion.
20643
20644 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20645
20646 * woman.el (woman2-process-escapes): Don't delete unrecognized
20647 escapes (Bug#7843).
20648
20649 * files.el (inhibit-first-line-modes-regexps): Add image files.
20650 (hack-local-variables-prop-line): Return nil for malformed
20651 prop-lines (Bug#9044).
20652
20653 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20654
20655 * net/tramp.el (top): Don't require 'shell.
20656 (tramp-methods): Fix docstring.
20657 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20658 Return complete remote file name. Handle "smb" case.
20659 Use `tramp-tmpdir', if defined for the respective method.
20660 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20661
20662 * net/tramp-compat.el (top): Require 'shell.
20663
20664 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20665 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20666 `tramp-current-host'.
20667 (tramp-get-remote-tmpdir): Remove.
20668
20669 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20670 `tramp-tmpdir' entries.
20671 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20672 (tramp-smb-handle-file-attributes): Ignore errors.
20673 (tramp-smb-wait-for-output): Check also for process end.
20674
20675 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20676
20677 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20678 when sending QUIT (bug#9312).
20679
20680 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20681
20682 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20683 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20684 occur-mode-display-occurrence.
20685 (occur-edit-mode): Add usage message.
20686 (occur-cease-edit): New command.
20687 (occur-after-change-function): Use text properties to find the
20688 position of the prefix text.
20689 (occur-engine): Set stickiness of prefix text properties.
20690
20691 2011-09-17 Glenn Morris <rgm@gnu.org>
20692
20693 * progmodes/etags.el (complete-tag):
20694 Fix call to completion-in-region. (Bug#9526)
20695
20696 2011-09-17 Juri Linkov <juri@jurta.org>
20697
20698 * textmodes/ispell.el (ispell-word): Add to the error message
20699 the word, ispell program name and current dictionary (bug#9121).
20700 (ispell-tex-arg-end): Capitalize "error" in the error message.
20701
20702 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20703
20704 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20705 check. (Bug#4251)
20706
20707 2011-09-17 Juri Linkov <juri@jurta.org>
20708
20709 * window.el (window-safe-min-height, window-safe-min-width):
20710 Fix typos (followup to bug#9522).
20711
20712 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20713
20714 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20715
20716 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20717
20718 * simple.el (line-move): If goal-column is set, move by logical
20719 lines, not by display lines. (Bug#971)
20720 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20721 to reflect the above change.
20722
20723 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20724
20725 * image.el (imagemagick-register-types): Use regexp-opt.
20726
20727 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20728
20729 * window.el (display-buffer-base-action): Rename from
20730 display-buffer-default-action. Make default value empty.
20731 (display-buffer-overriding-action): Convert to defvar.
20732 (display-buffer-fallback-action): New var.
20733
20734 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20735
20736 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20737 declaration.
20738 (package--add-to-archive-contents): If there is a duplicate entry
20739 with an older version, remove it.
20740 (package-menu-mark-delete, package-menu-mark-install)
20741 (package-menu-mark-unmark): Make unused args optional.
20742 (package-menu-mark-obsolete-for-deletion):
20743 Use package-menu-get-status instead of a regexp search.
20744 (package-menu-get-status): Use tabulated-list-entry.
20745 (package-menu-mark-upgrades): New command.
20746 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20747 (package-menu-execute): Do installation before deletion.
20748 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20749 instead of checking major-mode.
20750 (package-menu--find-upgrades): New function.
20751
20752 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20753
20754 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20755 passwords in the log buffer.
20756 (smtpmail-process-filter): Update the process marker so that the
20757 "broken by peer" status message is inserted in the right place.
20758
20759 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20760
20761 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20762 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20763 bibtex-completion-at-point-function.
20764 (bibtex-completion-at-point-function): Use them.
20765
20766 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20767
20768 * mpc.el (mpc-constraints-tag-lookup): New function.
20769 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20770 also to browser "album|playlist".
20771
20772 2011-09-14 Juri Linkov <juri@jurta.org>
20773
20774 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20775 (isearch-edit-string): Use length of `isearch-string' when
20776 `isearch-fail-pos' returns nil.
20777 (isearch-message): Remove duplicate code and call
20778 `isearch-fail-pos' with arg `t'.
20779
20780 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20781
20782 * replace.el (occur-mode-goto-occurrence): Don't force using other
20783 window (Bug#9499).
20784
20785 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20786
20787 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20788
20789 * window.el (display-buffer-window): Remove.
20790 (display-buffer-record-window): Use help-setup window parameter
20791 instead of variable display-buffer-window.
20792 (display-buffer-function, special-display-buffer-names)
20793 (special-display-function): Mention help-setup parameter instead
20794 of display-buffer-window in doc-string.
20795 * help.el (help-window-setup): New argument help-window.
20796 Use help-window-setup parameter instead of display-buffer-window.
20797 Reword some messages.
20798 (with-help-window): Pass window used for displaying the buffer
20799 to help-window-setup. Don't set display-buffer-window.
20800
20801 2011-09-13 Glenn Morris <rgm@gnu.org>
20802
20803 * emacs-lisp/debug.el (debugger-make-xrefs):
20804 Preserve point. (Bug#9462)
20805
20806 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20807
20808 * window.el (window-deletable-p): Use next-frame.
20809
20810 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20811
20812 * window.el (window-auto-delete): Remove.
20813 (window-deletable-p): Remove argument FORCE. Don't deal with
20814 dedication and previous buffers.
20815 (switch-to-prev-buffer): Don't delete window.
20816 (delete-windows-on): Delete a window's frame if and only if the
20817 window is dedicated.
20818 (replace-buffer-in-windows): Delete buffer's window or frame if
20819 and only if window is dedicated.
20820 (quit-window): Handle quit-restore as before last change.
20821 (bury-buffer): Delete window only if window-deletable-p returns t.
20822
20823 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20824
20825 * window.el (window-deletable-p): Never delete the last frame on a
20826 given terminal.
20827
20828 2011-09-13 Glenn Morris <rgm@gnu.org>
20829
20830 * help.el (describe-key-briefly): Copy previous standard-output change.
20831
20832 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20833
20834 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20835
20836 2011-09-13 Glenn Morris <rgm@gnu.org>
20837
20838 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20839 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20840
20841 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20842
20843 * dired-aux.el (dired-mark-read-string): Don't return default
20844 value on empty input (Bug#9361).
20845 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20846 Omit initial minibuffer contents.
20847 (dired-do-chmod): Signal an error on empty input.
20848 (dired-mark-read-string): Don't return default on empty input.
20849
20850 * files.el (file-modes-symbolic-to-number): Doc fix.
20851
20852 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20853
20854 * international/mule-cmds.el (ucs-completions): Remove.
20855 (read-char-by-name): Use complete-with-action instead; add metadata.
20856
20857 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20858
20859 * window.el (display-buffer--action-function-custom-type)
20860 (display-buffer--action-custom-type): New vars.
20861 (display-buffer-alist, display-buffer-default-action)
20862 (display-buffer-overriding-action): Add defcustom types.
20863
20864 * frame.el (delete-other-frames): Doc fix (Bug#276).
20865
20866 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20867
20868 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20869
20870 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20871
20872 Change modes that used same-window-* vars to use switch-to-buffer.
20873
20874 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20875 Use switch-to-buffer.
20876
20877 * cus-edit.el (customize-group, custom-buffer-create)
20878 (customize-browse, custom-buffer-create-other-window):
20879 Use switch-to-buffer or switch-to-buffer-other-window.
20880
20881 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20882 (Info-prev, Info-up, Info-speedbar-goto-node)
20883 (info-display-manual): Use switch-to-buffer.
20884 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20885
20886 * mail/sendmail.el (mail): Use switch-to-buffer.
20887 (mail-recover): Use switch-to-buffer-other-window.
20888
20889 * cmuscheme.el (run-scheme, switch-to-scheme):
20890 * ielm.el (ielm):
20891 * shell.el (shell):
20892 * net/rlogin.el (rlogin):
20893 * net/telnet.el (telnet, rsh):
20894 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20895
20896 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20897
20898 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20899
20900 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20901
20902 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20903 so don't mention it (bug#9301).
20904 (dired-sort-toggle-or-edit): Clarify string further.
20905
20906 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20907 match `x', `w32' and `ns', like the manual says (bug#9029).
20908
20909 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20910 (process-kill-buffer-query-function): Mention the buffer name in
20911 the query.
20912
20913 * image-mode.el (image-next-line): The line parameter is mandatory
20914 (bug#9258).
20915
20916 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20917 which can be useful (bug#9301).
20918
20919 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20920
20921 * subr.el (match-string): Mention that the current buffer should
20922 be the same as the search was done in (bug#9282).
20923
20924 * facemenu.el: Disable the remove-* commands if the mark isn't
20925 active (bug#9162).
20926
20927 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20928
20929 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20930 of display-buffer.
20931 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20932
20933 * replace.el (occur-mode-goto-occurrence)
20934 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20935 and display-buffer.
20936
20937 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20938 display-buffer.
20939
20940 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20941 special-display and same-window variables.
20942 (mail-other-window): Use switch-to-buffer-other-window.
20943 (mail-other-frame): USe switch-to-buffer-other-frame.
20944
20945 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20946 Use display-buffer-other-frame.
20947 (gdb-display-gdb-buffer): Use pop-to-buffer.
20948
20949 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20950
20951 * progmodes/python.el: Don't set same-window-buffer-names.
20952
20953 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20954
20955 * window.el (display-buffer-alist): Add *Python*.
20956
20957 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20958
20959 * window.el (display-buffer-alist): Add entry for buffers
20960 previously handled same-window-*.
20961 (display-buffer-alist, display-buffer-default-action)
20962 (display-buffer-overriding-action): Mark as risky.
20963 (display-buffer-alist): Document action function changes.
20964 (display-buffer--same-window-action)
20965 (display-buffer--other-frame-action): New variables.
20966 (switch-to-buffer, display-buffer-other-frame): Use them.
20967 (display-buffer): Rename reuse-frame entry to reusable-frames.
20968 (display-buffer-reuse-selected-window): Function deleted.
20969 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20970 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20971 (display-buffer-special): New function.
20972 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20973 display-buffer-reuse-or-pop-window. Split off special-display
20974 part into display-buffer-special.
20975 (display-buffer-use-some-window): Don't perform any special
20976 pop-up-frames handling.
20977 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20978 (display-buffer--maybe-same-window): Rename from
20979 display-buffer-maybe-same-window.
20980
20981 * info.el: Don't set same-window-regexps.
20982 (info-setup): New function.
20983 (info-other-window, info): Call it.
20984
20985 * cus-edit.el: Don't set same-window-regexps.
20986 (customize-group): New argument.
20987 (customize-group-other-window): Use it.
20988 (customize-face, customize-face-other-window): Likewise.
20989 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20990
20991 * net/rlogin.el:
20992 * net/telnet.el:
20993 * progmodes/gud.el: Don't set same-window-regexps.
20994
20995 * cmuscheme.el:
20996 * ielm.el:
20997 * shell.el:
20998 * mail/sendmail.el:
20999 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21000
21001 2011-09-10 Juri Linkov <juri@jurta.org>
21002
21003 * isearch.el (isearch-edit-string): Remove obsolete mention of
21004 `C-w' (`isearch-yank-word-or-char') from docstring.
21005 (isearch-query-replace): Fix typo in docstring (bug#9466).
21006
21007 2011-09-10 Juri Linkov <juri@jurta.org>
21008
21009 * paren.el (show-paren-function): Don't show escaped parens.
21010 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21011
21012 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21013
21014 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21015 (mm-default-file-encoding): Remove autoload forms, they are
21016 replaced with autoload cookies in mml.el and mm-encode.el.
21017 (mail-add-attachment): New command.
21018 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21019 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21020 the doc string.
21021 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21022
21023 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21024
21025 * simple.el (count-words-region): Use buffer if there's no region
21026 (bug#9429).
21027
21028 2011-09-09 Juri Linkov <juri@jurta.org>
21029
21030 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21031 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21032 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21033
21034 2011-09-09 Alan Mackenzie <acm@muc.de>
21035
21036 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21037 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21038
21039 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21040
21041 Fix for Savannah bug#9392.
21042 * simple.el (mail-encode-mml): New defvar.
21043
21044 * mail/rmail.el (mail-encode-mml): Add a defvar.
21045 (rmail-enable-mime-composing): Default to t.
21046 (rmail-forward): Use MIME method of forwarding only if both
21047 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21048 Set mail-encode-mml non-nil if the MIME method was used.
21049
21050 * mail/sendmail.el (mml-to-mime): Add autoload form.
21051 (mail-encode-mml): Add a defvar.
21052 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21053 to nil.
21054 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21055 message through mml-to-mime, and reset mail-encode-mml to nil.
21056
21057 2011-09-09 Glenn Morris <rgm@gnu.org>
21058
21059 * woman.el (woman-if-body): When processing an .el block,
21060 do not delete the next .el block as well. (Bug#9447)
21061 (woman-special-characters): Add oq, cq, and hy characters.
21062
21063 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21064
21065 * window.el (window-deletable-p): Make sure window is live before
21066 invoking window-prev-buffers.
21067
21068 2011-09-08 Leo Liu <sdl.web@gmail.com>
21069
21070 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21071
21072 2011-09-08 Juri Linkov <juri@jurta.org>
21073
21074 * progmodes/compile.el (compilation-environment): Make it
21075 a defcustom (bug#8340).
21076
21077 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21078
21079 * window.el (frame-auto-delete): Rename to window-auto-delete.
21080 Make it control auto-deletion of windows and/or frames.
21081 (window-deletable-p): New argument FORCE. Rewrite conditions
21082 for deleting window/frame. (Bug#9419)
21083 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21084 Rewrite handling of case when window/frame can be deleted.
21085 (delete-windows-on): Call window-deletable-p with new FORCE
21086 argument t. (Bug#9456)
21087
21088 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21089
21090 * help-mode.el (help-mode): Restore autoload.
21091
21092 2011-09-07 Juri Linkov <juri@jurta.org>
21093
21094 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21095 `compilation-environment'. Set buffer-local
21096 `compilation-environment' to `thisenv' later after (funcall mode).
21097 (Bug#8340)
21098
21099 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21100 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21101 instead of replacing its value. (Bug#8340)
21102
21103 2011-09-07 Juri Linkov <juri@jurta.org>
21104
21105 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21106 based on text properties put by `grep-filter' instead of matching
21107 escape sequences.
21108 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21109 to the value of `grep-error-screen-columns' (bug#9438).
21110
21111 2011-09-07 Juri Linkov <juri@jurta.org>
21112
21113 * simple.el (next-error-highlight, next-error-highlight-no-select):
21114 Doc fix (bug#9432).
21115
21116 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21117
21118 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21119 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21120
21121 2011-09-07 Leo Liu <sdl.web@gmail.com>
21122
21123 * net/rcirc.el (rcirc-mode): Conditionally initialize
21124 rcirc-input-ring.
21125
21126 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21127
21128 * emacs-lisp/find-func.el (find-function-C-source): Only set
21129 find-function-C-source-directory after checking that we found a source
21130 file there (bug#9440).
21131
21132 2011-09-06 Alan Mackenzie <acm@muc.de>
21133
21134 * isearch.el (isearch-other-meta-char): Wherever a key list is
21135 unread, "unread" the prefix arg, too. This fixes bug #8901.
21136
21137 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21138
21139 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21140
21141 2011-09-05 Juri Linkov <juri@jurta.org>
21142
21143 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21144
21145 2011-09-05 Juri Linkov <juri@jurta.org>
21146
21147 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21148 keeping point where processing of grep matches begins, and
21149 continue to delete remaining escape sequences from the same point.
21150 (grep-filter): Make leading zero optional in "0?1;31m" because
21151 git-grep emits "\033[1;31m" escape sequences unlike expected
21152 "\033[01;31m" as GNU Grep does (bug#9408).
21153 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21154
21155 2011-09-05 Juri Linkov <juri@jurta.org>
21156
21157 * subr.el (y-or-n-p): Capitalize "yes".
21158
21159 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21160
21161 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21162 `tramp-cache-unload-hook' where appropriate.
21163 (tramp-methods): Rename `tramp-remote-sh' to
21164 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21165 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21166
21167 * net/tramp-sh.el (top): Don't require 'shell.
21168 (tramp-methods): Add `tramp-remote-shell' and
21169 `tramp-remote-shell-args' entries.
21170 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21171 (tramp-sh-handle-shell-command): Remove.
21172 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21173 Use `tramp-remote-shell'.
21174
21175 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21176
21177 * mail/sendmail.el (sendmail-query-once-function): Delete.
21178 (sendmail-query-once): Save directly to send-mail-function.
21179 Update message-send-mail-function too.
21180
21181 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21182
21183 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21184
21185 * progmodes/python.el (python-mode-map): Use correct function to
21186 start python interpreter from menu-bar (as reported by Geert
21187 Kloosterman).
21188 (inferior-python-mode-map): Fix typo.
21189 (python-shell-map): Remove.
21190
21191 2011-09-03 Deniz Dogan <deniz@dogan.se>
21192
21193 * net/rcirc.el (rcirc-print): Simplify code for
21194 rcirc-scroll-show-maximum-output. There is no need to walk
21195 through all windows to find the right one.
21196
21197 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21198
21199 * help.el (help-return-method): Doc fix.
21200
21201 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21202
21203 * window.el (window-deletable-p): Don't return a non-nil value
21204 when there's a buffer that was shown in the window before.
21205 (Bug#9419)
21206 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21207 Set window's previous buffers to nil.
21208
21209 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21210
21211 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21212 newline before and after the tag line, so it doesn't interfere
21213 with determining the paragraph direction of bidirectional text.
21214
21215 2011-09-03 Leo Liu <sdl.web@gmail.com>
21216
21217 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21218
21219 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21220
21221 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21222 (pop-to-buffer): Change interactive spec. Pass second argument
21223 directly to display-buffer.
21224 (display-buffer): Fix interactive spec. Use functionp to
21225 distinguish between a function and a list of functions.
21226
21227 * abbrev.el (edit-abbrevs):
21228 * arc-mode.el (archive-extract):
21229 * autoinsert.el (auto-insert):
21230 * bookmark.el (bookmark-bmenu-list):
21231 * files.el (find-file):
21232 * view.el (view-buffer):
21233 * progmodes/compile.el (compilation-goto-locus):
21234 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21235
21236 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21237
21238 * window.el (display-buffer-alist): Doc fix.
21239 (display-buffer): Add docstring. Don't treat
21240 display-buffer-default specially.
21241 (display-buffer-reuse-selected-window)
21242 (display-buffer-same-window, display-buffer-maybe-same-window)
21243 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21244 (display-buffer-pop-up-window)
21245 (display-buffer-reuse-or-pop-window)
21246 (display-buffer-use-some-window): New functions.
21247 (display-buffer-default-action): Use them.
21248 (display-buffer-default): Delete.
21249 (pop-to-buffer-1): Fix choice of actions.
21250
21251 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21252
21253 * minibuffer.el (completion--insert-strings): Don't get confused by
21254 completion entries that end with an LF char.
21255
21256 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21257
21258 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21259
21260 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21261
21262 * window.el (display-buffer): Restore interactive spec.
21263 (display-buffer-same-window, display-buffer-other-window):
21264 New functions.
21265 (pop-to-buffer-1): New function. Use the above.
21266 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21267 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21268
21269 * view.el (view-buffer-other-window, view-buffer-other-frame):
21270 Just use pop-to-buffer.
21271
21272 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21273
21274 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21275
21276 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21277
21278 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21279
21280 2011-08-31 Richard Stallman <rms@gnu.org>
21281
21282 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21283 of the separation of rmail-view-buffer from rmail-buffer.
21284 If you say no to "replace original", the decrypt is in the
21285 view buffer. If you say yes, the decrypt goes into the
21286 rmail buffer also.
21287
21288 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21289
21290 * window.el (display-buffer-window): Rewrite doc-string.
21291 (display-buffer-record-window): New function.
21292 (display-buffer-macro-specifiers)
21293 (display-buffer-even-window-sizes, display-buffer-set-height)
21294 (display-buffer-set-width, display-buffer-in-window)
21295 (display-buffer-reuse-window, display-buffer-split-specifiers)
21296 (display-buffer-side-specifiers, display-buffer-split-window-1)
21297 (display-buffer-split-window, display-buffer-split-atom-window)
21298 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21299 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21300 (display-buffer-other-window-means-other-frame)
21301 (display-buffer-normalize-special)
21302 (display-buffer-normalize-default)
21303 (display-buffer-normalize-argument)
21304 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21305 (display-buffer-normalize-specifiers, display-buffer-frame)
21306 (display-buffer-same-window, display-buffer-same-frame)
21307 (display-buffer-other-window)
21308 (display-buffer-same-frame-other-window)
21309 (display-buffer-other-frame, pop-to-buffer-same-window)
21310 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21311 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21312 (switch-to-buffer-same-frame)
21313 (switch-to-buffer-other-window-same-frame)
21314 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21315 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21316 (display-buffer-alist-set): Remove.
21317 (display-buffer-function, special-display-buffer-names)
21318 (special-display-regexps, special-display-function):
21319 In doc-string refer to display-buffer-window and quit-restore
21320 parameter.
21321 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21322 (special-display-frame-alist, special-display-popup-frame)
21323 (same-window-buffer-names, same-window-regexps, same-window-p)
21324 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21325 (split-window-preferred-function, split-height-threshold)
21326 (split-width-threshold, window-splittable-p)
21327 (split-window-sensibly, window--try-to-split-window)
21328 (window--frame-usable-p, even-window-heights)
21329 (window--even-window-heights, window--display-buffer-1)
21330 (window--display-buffer-2, display-buffer-other-frame):
21331 Restore old Emacs 23 code, order and doc-strings where applicable.
21332 (display-buffer-default, display-buffer-assq-regexp): New functions.
21333 (display-buffer-alist): Rewrite doc-string.
21334 (display-buffer-default-action)
21335 (display-buffer-overriding-action): New variables.
21336 (display-buffer, switch-to-buffer): Rewrite.
21337 (pop-to-buffer): Restore Emacs 23 behavior but use
21338 window-normalize-buffer-to-display.
21339 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21340 Restore Emacs 23 behavior but use
21341 window-normalize-buffer-to-switch-to.
21342 (pop-to-buffer-same-window): Rewrite.
21343 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21344 Rewrite using Emacs 23 options.
21345
21346 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21347
21348 * net/tramp.el (tramp-root-regexp): Remove.
21349 (tramp-completion-file-name-regexp-unified)
21350 (tramp-completion-file-name-regexp-separate)
21351 (tramp-completion-file-name-regexp-url): Don't use leading volume
21352 letter on w32 systems. (Bug#5303, Bug#9311)
21353 (tramp-drop-volume-letter): Simplify definition.
21354 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21355
21356 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21357
21358 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21359 (bug#9356).
21360
21361 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21362
21363 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21364
21365 2011-08-29 Juri Linkov <juri@jurta.org>
21366
21367 * isearch.el (isearch-done): Don't display message "Mark saved"
21368 when arg `edit' is non-nil to prevent its flicker in the echo area.
21369
21370 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21371
21372 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21373 obsolete packages for deletion.
21374
21375 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21376
21377 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21378 (help-mode): Derive help-mode from special-mode. Don't invoke
21379 view-mode from help-mode.
21380 (help-xref-override-view-map): Remove.
21381 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21382 view-mode is not used anymore.
21383
21384 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21385
21386 * server.el (server-port): Doc fix.
21387
21388 * cus-theme.el (custom-theme-choose-mode): Inherit from
21389 special-mode (Bug#9124).
21390 (custom-theme-choose-mode-map): Add special-mode to parent.
21391
21392 2011-08-28 Alan Mackenzie <acm@muc.de>
21393
21394 * progmodes/cc-fonts.el
21395 (c-make-font-lock-BO-decl-search-function): New function.
21396 (c-basic-matchers-after - "Fontify the clauses after various
21397 keywords"): Extract the three keyword lists for the 3 erroneous
21398 constructs from the list of four, and use the new function above
21399 in place of an old one.
21400
21401 2011-08-28 Deniz Dogan <deniz@dogan.se>
21402
21403 * net/rcirc.el (rcirc-insert-prev-input)
21404 (rcirc-insert-next-input): Remove unused argument.
21405
21406 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21407
21408 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21409
21410 2011-08-27 Alan Mackenzie <acm@muc.de>
21411
21412 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21413 handle function pointer parameters properly.
21414
21415 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21416
21417 * window.el (display-buffer-reuse-window): Fix case where
21418 selected window was reused with non-nil OTHER-WINDOW argument.
21419 (Bug#9381)
21420
21421 2011-08-27 Deniz Dogan <deniz@dogan.se>
21422
21423 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21424 oftc's NickServ messages.
21425
21426 2011-08-27 Glenn Morris <rgm@gnu.org>
21427
21428 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21429
21430 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21431
21432 * emacs-lisp/package.el (package-install): Call package-initialize
21433 if called interactively.
21434
21435 2011-08-26 Leo Liu <sdl.web@gmail.com>
21436
21437 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21438
21439 2011-08-25 Juri Linkov <juri@jurta.org>
21440
21441 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21442 `search-whitespace-regexp' (bug#9364).
21443
21444 2011-08-25 Juri Linkov <juri@jurta.org>
21445
21446 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21447 `regexp-search-ring' to their global values to protect from
21448 updating by `read-from-minibuffer' (bug#9185).
21449
21450 2011-08-25 Juri Linkov <juri@jurta.org>
21451
21452 * textmodes/ispell.el (ispell-command-loop): Add newline
21453 at the end of the "Use option `i'..." line.
21454
21455 2011-08-25 Juri Linkov <juri@jurta.org>
21456
21457 * battery.el (display-battery-mode): If `battery-status-function'
21458 or `battery-mode-line-format' is nil, display the message and set
21459 `display-battery-mode' to nil (bug#9363).
21460
21461 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21462
21463 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21464 bidi-string-mark-left-to-right; they are unnecessary now.
21465
21466 2011-08-25 Deniz Dogan <deniz@dogan.se>
21467
21468 * net/quickurl.el: Documentation typo fixes.
21469
21470 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21471
21472 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21473
21474 2011-08-25 Glenn Morris <rgm@gnu.org>
21475
21476 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21477
21478 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21479 (smtpmail-via-smtp): Handle nil response from smtp.
21480
21481 2011-08-24 Juri Linkov <juri@jurta.org>
21482
21483 * proced.el (proced-marked): Inherit from `error' instead of
21484 `font-lock-warning-face'.
21485
21486 * ibuffer.el (ibuffer-marked-face): Change default face from
21487 `font-lock-warning-face' to `warning'.
21488 (ibuffer-deletion-face): Change default face from
21489 `font-lock-type-face' to `error'.
21490
21491 * battery.el (battery-update): Use the face `error' instead of
21492 `font-lock-warning-face' (bug#6117).
21493
21494 2011-08-24 Juri Linkov <juri@jurta.org>
21495
21496 * faces.el (success): Change face color from "Green3" to
21497 "ForestGreen" on light background (bug#9353).
21498
21499 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21500
21501 * window.el (quit-window): Rename from quit-restore-window.
21502 Use same arglist as old quit-window.
21503 (frame-auto-delete): Doc fix.
21504
21505 * view.el (view-mode-exit): Use quit-window.
21506
21507 2011-08-24 Juri Linkov <juri@jurta.org>
21508
21509 * isearch.el (isearch-ring-adjust1): Start visiting previous
21510 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21511 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21512 for empty search string (when the last search string is reused
21513 automatically) to adjust the isearch ring to the last element and
21514 prepare the correct index for further M-p commands (bug#9185).
21515
21516 2011-08-24 Kenichi Handa <handa@m17n.org>
21517
21518 * international/ucs-normalize.el: If decomposition property of
21519 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21520 nil.
21521 (nfd, nfkd): Likewise.
21522
21523 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21524
21525 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21526 from process filters aren't reliably transmitted to the surrounding
21527 accept-process-output.
21528 (mpc-proc-check): New function.
21529 (mpc-proc-sync): Use it (bug#8293)
21530
21531 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21532
21533 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21534 Add compatibility functions (bug#9313).
21535
21536 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21537
21538 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21539
21540 * international/uni-bidi.el: Regenerate.
21541
21542 2011-08-23 Kenichi Handa <handa@m17n.org>
21543
21544 * international/charprop.el:
21545 * international/uni-bidi.el:
21546 * international/uni-category.el:
21547 * international/uni-combining.el:
21548 * international/uni-comment.el:
21549 * international/uni-decimal.el:
21550 * international/uni-decomposition.el:
21551 * international/uni-digit.el:
21552 * international/uni-lowercase.el:
21553 * international/uni-mirrored.el:
21554 * international/uni-name.el:
21555 * international/uni-numeric.el:
21556 * international/uni-old-name.el:
21557 * international/uni-titlecase.el:
21558 * international/uni-uppercase.el: Regenerate.
21559
21560 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21561
21562 * help.el (help-window-setup): Fix message displayed when other
21563 window is reused. (Bug#9341)
21564
21565 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21566
21567 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21568 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21569
21570 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21571 Mark obsolete.
21572 * shell.el (shell-parse-pcomplete-arguments): New function.
21573 (shell-completion-vars): Use it instead (bug#9160).
21574
21575 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21576
21577 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21578 strings and comments (bug#9333).
21579
21580 * emacs-lisp/debug.el (debug-arglist): New function.
21581 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21582 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21583
21584 2011-08-22 Juri Linkov <juri@jurta.org>
21585
21586 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21587 Revert regexp that highlights output switches to its old
21588 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21589
21590 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21591 to check for empty output (bug#9226).
21592
21593 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21594
21595 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21596 symbol-constituent as the default, as that stops font-lock from
21597 working properly (Bug#8843).
21598
21599 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21600
21601 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21602 `coding-system-for-*' around the process open call to avoid
21603 auth-source side effects.
21604 (smtpmail-try-auth-methods): Expand the secret password.
21605 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21606 probe hangs.
21607
21608 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21609
21610 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21611
21612 * emacs-lisp/find-func.el (find-function-noselect): New arg
21613 lisp-only.
21614
21615 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21616 signal an error for built-in functions (Bug#6664).
21617
21618 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21619
21620 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21621 (smtpmail-try-auth-methods): Use it.
21622
21623 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21624
21625 * font-lock.el (font-lock-fontify-region)
21626 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21627 (font-lock-default-unfontify-buffer)
21628 (font-lock-default-fontify-region)
21629 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21630
21631 * progmodes/compile.el (compilation-error-properties):
21632 Fix confusion between file struct and message struct (Bug#9319).
21633 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21634 `ant' regexp.
21635
21636 * net/browse-url.el (browse-url-firefox): Don't call
21637 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21638
21639 2011-08-20 Glenn Morris <rgm@gnu.org>
21640
21641 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21642
21643 * tutorial.el (tutorial--default-keys): Update some default bindings.
21644
21645 * files.el (hack-local-variables): Fully ignore case for "mode:".
21646
21647 2011-08-20 Alan Mackenzie <acm@muc.de>
21648
21649 Resolve invalid use of a regexp in regexp-opt.
21650
21651 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21652 detection for a java annotation.
21653
21654 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21655 detection for a java annotation.
21656
21657 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21658 handling for java.
21659 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21660
21661 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21662
21663 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21664 (Bug#9274).
21665
21666 2011-08-20 Alan Mackenzie <acm@muc.de>
21667
21668 Fontify CPP expressions correctly when starting in the middle of
21669 such a construct. Mainly for when jit-lock etc. starts a chunk
21670 here.
21671
21672 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21673 variable.
21674 (c-make-font-lock-search-form): New function, extracted from
21675 c-make-font-lock-search-function.
21676 (c-make-font-lock-search-function): Use the above function.
21677 (c-make-font-lock-context-search-function): New function.
21678 (c-cpp-matchers): Enhance the preprocessor expression case with
21679 the above function
21680 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21681 which takes an expression.
21682
21683 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21684
21685 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21686
21687 * window.el (display-buffer-reuse-window)
21688 (display-buffer-pop-up-window): Don't reuse or split a side
21689 window.
21690
21691 2011-08-19 Glenn Morris <rgm@gnu.org>
21692
21693 * files.el (hack-local-variables-prop-line, hack-local-variables):
21694 Downcase "Mode:". (Bug#9331)
21695
21696 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21697
21698 * international/characters.el: Add L and R categories.
21699
21700 * subr.el (bidi-string-mark-left-to-right): Rename from
21701 string-mark-left-to-right. Use category search.
21702
21703 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21704
21705 2011-08-18 Juri Linkov <juri@jurta.org>
21706
21707 * faces.el (error, warning, success): New faces with definitions
21708 copied from old default values of `font-lock-warning-face',
21709 `compilation-warning', `compilation-info' (bug#6117).
21710
21711 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21712
21713 * progmodes/compile.el (compilation-error): Inherit from `error'.
21714 (compilation-warning): Inherit from `warning'.
21715 (compilation-info): Inherit from `success'.
21716
21717 * dired.el (dired-marked): Inherit from `warning'.
21718 (dired-flagged): Inherit from `error'.
21719
21720 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21721
21722 * mail/smtpmail.el (auth-source): Require to avoid problems with
21723 binding variables (bug#9298). Also clean up some unused
21724 autoloads.
21725
21726 * net/network-stream.el (network-stream-open-starttls):
21727 Support using starttls.el without using gnutls-cli.
21728
21729 2011-08-17 Juri Linkov <juri@jurta.org>
21730
21731 * progmodes/grep.el (rgrep): Handle the case when
21732 `grep-find-command' is a cons cell (bug#9278).
21733
21734 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21735
21736 * window.el (display-buffer-pop-up-frame): Run frame creation
21737 function with BUFFER current (as special-display-popup-frame
21738 does). Reported by Drew Adams.
21739
21740 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21741
21742 * epa-mail.el: Simplify GnuPG group expansion using
21743 epg-expand-group.
21744 (epa-mail-group-alist, epa-mail-group-modtime)
21745 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21746 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21747 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21748 Remove.
21749
21750 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21751
21752 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21753
21754 2011-08-16 Alan Mackenzie <acm@muc.de>
21755
21756 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21757 Correct, to avoid the inside of macros.
21758
21759 2011-08-16 Richard Stallman <rms@gnu.org>
21760
21761 * epa-mail.el: Handle GnuPG group definitions.
21762 (epa-mail-group-alist, epa-mail-group-modtime)
21763 (epa-mail-gnupg-conf-file): New variables.
21764 (epa-mail-parse-groups, epa-mail-sync-groups)
21765 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21766 (epa-mail-expand-recipients): New functions.
21767 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21768
21769 * mail/rmail.el (rmail-epa-decrypt): New command.
21770
21771 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21772 Don't bind buffer-read-only, just inhibit-read-only.
21773 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21774 (epa-decrypt-armor-in-region): Make error message clearer.
21775
21776 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21777
21778 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21779 and "a2b" to "ab" for `prefix'.
21780
21781 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21782
21783 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21784 filter groups.
21785 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21786 Fourquet (Bug#8804).
21787
21788 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21789
21790 * startup.el (argi): Declare as global variable (bug#9275).
21791
21792 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21793
21794 * subr.el (string-mark-left-to-right): Search the entire string
21795 for RTL script, not just the terminating character. Doc fix.
21796
21797 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21798
21799 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21800 New function.
21801 (js--regexp-literal, js-syntax-propertize-function): Remove.
21802 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21803 (js-mode-map): Don't rebind electric keys.
21804 (js-insert-and-indent): Remove.
21805 (js-mode): Setup electric-layout and electric-indent instead.
21806
21807 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21808
21809 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21810
21811 * epa.el (epa-progress-callback-function): Fix the logic of
21812 displaying progress.
21813 * epa-file.el (epa-file-insert-file-contents): Make progress
21814 display more user-friendly.
21815 (epa-file-write-region): Ditto.
21816
21817 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21818
21819 * subr.el (string-mark-left-to-right): New function.
21820
21821 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21822 Use string-mark-left-to-right.
21823 (list-buffers-noselect): Caller changed.
21824
21825 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21826 Use string-mark-left-to-right.
21827 (tabulated-list-print): Recenter after moving point.
21828
21829 2011-08-10 Juri Linkov <juri@jurta.org>
21830
21831 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21832 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21833 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21834
21835 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21836
21837 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21838 (Bug#7554).
21839
21840 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21841
21842 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21843 character. (Bug#6594)
21844
21845 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21846
21847 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21848 (image-dired--with-db-file): New macro.
21849 (image-dired-write-tags, image-dired-remove-tag)
21850 (image-dired-create-gallery-lists, image-dired-write-comments)
21851 (image-dired-get-comment, image-dired-mark-tagged-files)
21852 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21853 (image-dired-gallery-generate): Use insert-file-contents.
21854
21855 * time.el (display-time-world-list, display-time-world-display):
21856 * time-stamp.el (time-stamp-string):
21857 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21858 set-time-zone-rule (Bug#7337).
21859
21860 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21861
21862 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21863 (epg-error-to-string, epg-errors-to-string): New function.
21864 (epg-wait-for-completion): Reverse errors list.
21865 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21866 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21867 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21868 (epg-sign-keys, epg-generate-key-from-file)
21869 (epg-generate-key-from-string): Format errors by using
21870 epg-errors-to-string (bug#9255).
21871 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21872
21873 2011-08-07 Juri Linkov <juri@jurta.org>
21874
21875 * faces.el (list-faces-display): Remove extra angle bracket
21876 from `help-mode-map'.
21877
21878 * info.el (Info-history-toc-nodes): Doc fix.
21879
21880 * longlines.el (longlines-mode): Doc fix.
21881
21882 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21883
21884 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21885 of statements and in a few more cases (bug#9183).
21886
21887 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21888 New functions.
21889 (cl-transform-lambda): Use them (bug#9239).
21890
21891 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21892
21893 * window.el (display-buffer-same-window)
21894 (display-buffer-same-frame, display-buffer-other-window)
21895 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21896 (pop-to-buffer-other-window)
21897 (pop-to-buffer-same-frame-other-window)
21898 (pop-to-buffer-other-frame): Make them defuns.
21899 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21900
21901 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21902
21903 * subr.el (make-composed-keymap): Move from C. Change calling
21904 convention, and improve docstring to bring attention to a subtle point.
21905 * minibuffer.el (completing-read-default): Adjust accordingly.
21906
21907 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21908
21909 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21910 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21911
21912 * net/trampver.el: Update release number.
21913
21914 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21915
21916 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21917 "in" (bug#9190).
21918
21919 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21920
21921 * mail/sendmail.el (sendmail-query-once): Restore the current
21922 buffer after querying (bug#9074).
21923
21924 * dired.el (dired-flagged): Use different faces for marked and
21925 flagged files (bug#6117).
21926
21927 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21928 (bug#4433).
21929
21930 * ido.el (ido-mode): Switch off the message if called
21931 non-interactively.
21932
21933 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21934 before 587, since it appears that that's more likely to work for
21935 more people.
21936
21937 * cus-edit.el (custom-file): When running under emacs -q, always
21938 refuse to save the customizations, even if the .emacs file doesn't
21939 exist.
21940
21941 * info.el: Remove the `Info-beginning-of-buffer' function
21942 (bug#8325).
21943
21944 * net/network-stream.el (network-stream-open-starttls):
21945 Use `starttls-available-p' to see whether starttls.el can be used.
21946
21947 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21948
21949 * window.el (display-buffer-in-window): Don't set dedicated status
21950 of window here (Bug#9215).
21951 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21952 (display-buffer-pop-up-side-window)
21953 (display-buffer-in-side-window): Set dedicated status of window here.
21954
21955 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21956
21957 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21958 before binding generated-autoload-file.
21959
21960 2011-08-01 Deniz Dogan <deniz@dogan.se>
21961
21962 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21963
21964 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21965
21966 Sync with Tramp 2.2.2.
21967
21968 * net/trampver.el: Update release number.
21969
21970 2011-07-30 Juri Linkov <juri@jurta.org>
21971
21972 * dired-aux.el (dired-touch-initial): Remove function.
21973 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21974 current time, and `default' to the last modification time of the
21975 current marked file (bug#6887).
21976
21977 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21978
21979 * simple.el (goto-line): Use string-to-number to provide a
21980 numeric argument to read-number (bug#9163).
21981
21982 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21983
21984 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21985 connection process, it could be nil.
21986
21987 2011-07-27 Leo Liu <sdl.web@gmail.com>
21988
21989 Simplify url handling in rcirc-mode.
21990
21991 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21992 (rcirc-browse-url-at-mouse): Remove.
21993 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21994
21995 2011-07-26 Alan Mackenzie <acm@muc.de>
21996
21997 Fontify bitfield declarations properly.
21998
21999 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22000 (c-symbol-chars): Now exported as a lang variable.
22001 (c-not-primitive-type-keywords): New lang variable.
22002
22003 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22004 QT keyword "more" to prevent "more slots: ...." being spuriously
22005 parsed as a bitfield declaration.
22006
22007 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22008 Refactor and enhance to handle bitfield declarations.
22009 (c-punctuation-in): New function.
22010 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22011 declarations properly.
22012
22013 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22014
22015 * calendar/icalendar.el (icalendar--all-events): Take care of
22016 multiple vcalendars in a single file.
22017 (icalendar--convert-float-to-ical): Checkdoc fixes.
22018
22019 2011-07-25 Deniz Dogan <deniz@dogan.se>
22020
22021 * image.el (insert-image): Clarifying docstring.
22022
22023 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22024
22025 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22026 `tramp-send-command-and-check' if there is no error.
22027 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22028
22029 2011-07-22 Alan Mackenzie <acm@muc.de>
22030
22031 Prevent cc-langs.elc being loaded at run time.
22032
22033 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22034 cc-langs.
22035
22036 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22037 "(require 'cc-langs)". Quote a form so it will evaluate at
22038 (cc-mode's) compilation time.
22039
22040 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22041
22042 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22043 loading. (Bug#9114)
22044
22045 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22046
22047 * window.el (display-buffer-pop-up-window)
22048 (display-buffer-pop-up-side-window)
22049 (display-buffer-in-side-window): Call display-buffer-set-height
22050 and display-buffer-set-width after setting the new window's
22051 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22052
22053 2011-07-20 Sam Steingold <sds@gnu.org>
22054
22055 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22056 (etags-tags-included-tables): Call `convert-standard-filename' on
22057 the file names contained in TAGS so that windows Emacs can handle
22058 TAGS files created by cygwin ctags.
22059
22060 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22061
22062 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22063 which apparently didn't work.
22064
22065 2011-07-19 Roland Winkler <winkler@gnu.org>
22066
22067 * proced.el (proced-send-signal): For *Marked Processes* buffer
22068 put point at beginning of buffer.
22069
22070 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22071
22072 * proced.el (proced-format): Make header lines align with the text
22073 (bug#1779).
22074
22075 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22076
22077 * view.el (view-buffer): Allow running in `special' modes if we're
22078 visiting a file (bug#8615).
22079
22080 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22081
22082 * window.el (display-buffer-alist-of-strings-p)
22083 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22084 New functions.
22085 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22086 more accurately.
22087
22088 2011-07-18 Alan Mackenzie <acm@muc.de>
22089
22090 Fontify declarators properly when, e.g., a jit-lock chunk begins
22091 inside a declaration.
22092
22093 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22094
22095 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22096 New function.
22097 (c-complex-decl-matchers): Insert reference to
22098 c-font-lock-enclosing-decls.
22099
22100 * progmodes/cc-engine.el (c-backward-single-comment):
22101 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22102 to nil around calls to (forward-comment -1).
22103
22104 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22105
22106 * image.el (put-image): Doc typo fix.
22107
22108 * progmodes/etags.el (tags-search): Doc typo fix.
22109
22110 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22111 password if we get errors 550 to 554.
22112
22113 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22114
22115 * net/gnutls.el (gnutls-log-level): Remove.
22116
22117 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22118 indentation character (bug#6380).
22119
22120 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22121
22122 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22123 to clarify what the problem is (bug#4291).
22124
22125 * simple.el (current-kill): Clarify what
22126 `interprogram-paste-function' does (bug#7500).
22127 (auto-fill-mode): Document `auto-fill-function' in relation to
22128 `auto-fill-mode' (bug#2470).
22129
22130 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22131
22132 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22133 method if slot is read-only (bug#9035).
22134
22135 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22136
22137 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22138 * window.el (pop-to-buffer): Select window used even if it was
22139 selected before, see discussion of (Bug#8615), (Bug#6954).
22140 Pass argument NORECORD on to select-frame-set-input-focus.
22141
22142 2011-07-15 Glenn Morris <rgm@gnu.org>
22143
22144 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22145 Respect help-form.
22146
22147 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22148
22149 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22150 (gnutls-negotiate): Use it.
22151
22152 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22153
22154 * net/gnutls.el (gnutls-negotiate):
22155 Upcase `gnutls-algorithm-priority'.
22156
22157 2011-07-15 Glenn Morris <rgm@gnu.org>
22158
22159 * jka-compr.el (jka-compr-verbose): Move from here...
22160 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22161 Add missing :version tag.
22162 * info.el: No need to require jka-compr when compiling.
22163
22164 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22165
22166 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22167 (gnutls-negotiate): Use it.
22168
22169 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22170
22171 * info.el (Info-beginning-of-buffer): New command.
22172 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22173 announcing `b' as the key (bug#8325).
22174 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22175
22176 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22177
22178 * international/mule-cmds.el
22179 (describe-specified-language-support): Make the error message
22180 clearer (bug#8905).
22181
22182 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22183
22184 * isearch.el (isearch-barrier): Add a doc string, since it's
22185 mentioned in a function doc string (bug#8678).
22186
22187 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22188
22189 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22190 buffer argument (Bug#9083) and self-identifying label argument.
22191
22192 2011-07-15 Glenn Morris <rgm@gnu.org>
22193
22194 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22195
22196 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22197
22198 * man.el (Man-fontify-manpage): Fix message when formatting the
22199 man page (bug#7929).
22200
22201 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22202
22203 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22204 argument LRM; if non-nil, append an invisible LRM character to the
22205 buffer name.
22206 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22207 last argument non-nil, when formatting buffer names.
22208 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22209 paragraph direction.
22210
22211 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22212
22213 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22214 the man page name (bug#7929).
22215
22216 * image.el (put-image): Mention the `put-image' overlay property
22217 (bug#7834).
22218
22219 * scroll-bar.el (set-scroll-bar-mode): Mention that
22220 `scroll-bar-mode' lists the values (bug#7772).
22221
22222 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22223 command (bug#7729).
22224
22225 * rect.el (apply-on-rectangle): Return the point after the last
22226 operation.
22227 (string-rectangle): Go to the point after the last operation
22228 (bug#7522).
22229
22230 * printing.el (pr-toggle-region): Clarify the documentation
22231 slightly (bug#7493).
22232
22233 * time.el (display-time-update):
22234 Allow `display-time-mail-function' to return nil (bug#7158).
22235 Fix suggested by Detlev Zundel.
22236
22237 * vc/diff.el (diff): Clarify the order the file names are read
22238 (bug#7111).
22239
22240 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22241 the doc string (bug#7015).
22242
22243 * font-lock.el (font-lock-maximum-decoration): Mention what
22244 numeric levels mean (bug#6935).
22245
22246 * startup.el (initial-buffer-choice): Don't mention the `none'
22247 selection, which is against policy.
22248
22249 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22250
22251 * window.el (display-buffer-normalize-special):
22252 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22253
22254 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22255
22256 * subr.el (version<, version<=, version=): Mention "-CVS" and
22257 "-12345" alpha version numbers.
22258
22259 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22260
22261 * bindings.el: Add advertised binding for set-mark-command
22262 (Bug#5772).
22263
22264 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22265
22266 * bindings.el (mode-line-other-buffer):
22267 * bookmark.el (bookmark-bmenu-2-window):
22268 * bs.el (bs-cycle-next, bs-cycle-previous):
22269 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22270 switch-to-buffer.
22271
22272 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22273 Delete.
22274
22275 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22276
22277 * follow.el (follow-debug-message, follow-redisplay):
22278 * jka-cmpr-hook.el (with-auto-compression-mode):
22279 Fix typos in docstrings.
22280
22281 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22282
22283 * subr.el (with-silent-modifications): Clarify somewhat what the
22284 macro inhibits (bug#6525).
22285
22286 * simple.el (eval-expression): Note what it does if called
22287 interactively (bug#6495).
22288
22289 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22290
22291 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22292 Use pop-to-buffer buffer-or-name if it is nil.
22293
22294 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22295 Remove switch-to-buffer.
22296
22297 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22298
22299 * files.el (make-directory): Clarify that an error will be raised
22300 if there's an error (bug#6397).
22301
22302 * startup.el (initial-buffer-choice): Add `none' as a choice
22303 (bug#6234).
22304
22305 * subr.el (add-hook): Clarify section about buffer-local hooks
22306 (bug#6218).
22307
22308 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22309
22310 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22311
22312 * tabify.el (untabify): Preserve the current column so that point
22313 doesn't move (bug#6032).
22314
22315 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22316
22317 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22318 Rewrite to avoid awkward possessive "s" (bug#5986).
22319
22320 2011-07-13 Glenn Morris <rgm@gnu.org>
22321
22322 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22323 (dired-insert-directory): Give a message the first time
22324 if ls is found not to support --dired.
22325
22326 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22327
22328 * simple.el (toggle-truncate-lines): Clarify what is toggled
22329 (bug#5580). Text by Drew Adams.
22330
22331 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22332
22333 * simple.el (blink-matching-open): Make the error message from the
22334 last change less verbose.
22335
22336 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22337
22338 * font-lock.el (font-lock-comment-face): Use the high contrast
22339 "yellow" color for font-lock-comment-face on low color terminals
22340 using a dark background color (bug#4221).
22341
22342 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22343
22344 * dired.el (dired-insert-set-properties): Make the doc string
22345 reflect what it does now (bug#5325).
22346
22347 * simple.el (blink-matching-open): Say that we were unable to find
22348 the match within the limit, if we're limited (bug#5122).
22349
22350 * international/mule-cmds.el (prefer-coding-system): Add an
22351 example (bug#4869).
22352
22353 * progmodes/etags.el (tags-search): Document `file-list-form'
22354 (bug#4731).
22355
22356 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22357
22358 * net/browse-url.el (browse-url-default-browser)
22359 (browse-url-browser-function): Make the default browser choice a
22360 bit more logical (bug#4300). Also clean up the doc string.
22361
22362 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22363
22364 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22365 binary endings (bug#4440).
22366
22367 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22368
22369 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22370 which can be pretty annoying (bug#8971).
22371
22372 * jka-compr.el (jka-compr-verbose): New variable, and use
22373 throughout (bug#8971).
22374
22375 * info.el (Info-find-file): Fall back on the installation
22376 directory if we can't find the info node anywhere else.
22377
22378 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22379
22380 * vc/vc.el (vc-revert-file):
22381 Don't set file time-stamp in the past. (Bug#5181)
22382
22383 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22384
22385 * files.el (after-find-file): Give a better error message when
22386 trying to find a symlink that points to a file that doesn't exist
22387 (bug#4398).
22388
22389 * progmodes/cc-vars.el: Remove (probably) misleading comment
22390 (bug#4396).
22391
22392 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22393
22394 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22395
22396 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22397
22398 * mouse-sel.el: Hack restoring functionality, while keeping
22399 compatibility with 2010-07-03 changes to mouse selection.
22400 (mouse-sel-primary-overlay): New var.
22401 (mouse-sel-selection-alist): Use it.
22402 (mouse-sel-mode): Doc fix; remove points that are default features
22403 of mouse.el.
22404
22405 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22406
22407 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22408 Fix previous fix (bug#2490).
22409
22410 2011-07-12 Roland Winkler <winkler@gnu.org>
22411
22412 * textmodes/bibtex.el (bibtex-initialize):
22413 Use pop-to-buffer-same-window.
22414 (bibtex-search-entries): Fix interactive call.
22415
22416 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22417
22418 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22419 Fontise bytecomp Error lines more correctly (bug#2490).
22420 Fix suggested by Johan BockgĂ¥rd.
22421
22422 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22423
22424 * dired-x.el (dired-guess-default): Use `delete-dups'.
22425
22426 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22427
22428 * dired.el (dired-mark-prompt):
22429 * dired-aux.el (dired-read-shell-command): Doc fix.
22430
22431 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22432
22433 * mail/sendmail.el (sendmail-query-once):
22434 Use `customize-save-variable' unconditionally, now that it works under
22435 emacs -Q.
22436
22437 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22438
22439 * cus-edit.el (custom-file): Take an optional no-error variable.
22440 (customize-save-variable): Set the variable, and give a warning if
22441 running under "emacs -q".
22442
22443 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22444
22445 * loadhist.el (unload-feature-special-hooks):
22446 Add `auto-coding-functions', `fill-nobreak-predicate' and
22447 `find-directory-functions' (bug#5327).
22448
22449 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22450
22451 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22452
22453 * cus-edit.el (custom-guess-name-alist): -alist variables should
22454 use the `alist' type (bug#3120). Suggested by Drew Adams.
22455
22456 * printing.el: Add documentation to all the `pr-toggle-' commands.
22457
22458 2011-07-11 Leo Liu <sdl.web@gmail.com>
22459
22460 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22461 backends where it makes sense (bug#2623).
22462
22463 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22464
22465 * dired-x.el (dired-guess-default): Remove duplicate shell command
22466 entries (bug#2028).
22467 (dired-guess-default): Fix grammar in doc string (bug#2028).
22468 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22469
22470 * subr.el (remove-duplicates): New conveniency function.
22471
22472 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22473
22474 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22475 (bug#1526).
22476
22477 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22478
22479 * window.el (display-buffer-normalize-default): Don't invert
22480 meaning of even-window-heights. Reported by Eli Zaretskii
22481 <eliz@gnu.org>.
22482
22483 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22484
22485 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22486
22487 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22488
22489 * window.el (display-buffer): Fix arguments to
22490 display-buffer-reuse-window in last change.
22491
22492 * faces.el (link): Use a less saturated blue on light backgrounds.
22493
22494 * startup.el (fancy-startup-text, fancy-about-text)
22495 (fancy-startup-tail): Use font-lock faces, for background safety.
22496
22497 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22498
22499 * emulation/viper-cmd.el (viper-change-state-to-vi):
22500 Limit triggering of abbrev expansion (Bug#9038).
22501
22502 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22503
22504 * window.el (display-buffer-default-specifiers): Remove.
22505 (display-buffer-macro-specifiers): Remove default specifiers.
22506 (display-buffer-alist): Default to nil.
22507 (display-buffer-reuse-window): New optional argument other-window.
22508 (display-buffer-pop-up-window): Allow splitting internal
22509 windows. Check whether a live window was created.
22510 (display-buffer-other-window-means-other-frame)
22511 (display-buffer-normalize-arguments): Rename to
22512 display-buffer-normalize-argument and rewrite. Set the
22513 other-window specifier.
22514 (display-buffer-normalize-special): New function.
22515 (display-buffer-normalize-options): Rename to
22516 display-buffer-normalize-default and rewrite.
22517 (display-buffer-normalize-options-inhibit): Remove.
22518 (display-buffer-normalize-specifiers): Rewrite.
22519 (display-buffer): Process other-window specifier and call
22520 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22521 more faithfully.
22522 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22523 (display-buffer-alist-set): Don't handle 'unset default values.
22524 (display-buffer-in-window, display-buffer-alist-set):
22525 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22526 <tassilo@member.fsf.org>.
22527
22528 2011-07-09 Leo Liu <sdl.web@gmail.com>
22529
22530 * register.el (insert-register): Restore accidental change on
22531 2011-06-26. (Bug#9028)
22532
22533 2011-07-09 Glenn Morris <rgm@gnu.org>
22534
22535 * subr.el (remq): Handle the empty list. (Bug#9024)
22536
22537 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22538
22539 * mail/sendmail.el (send-mail-function): No longer delay custom
22540 initialization.
22541 * custom.el (custom-initialize-delay): Doc fix.
22542
22543 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22544
22545 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22546
22547 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22548
22549 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22550 human-friendly prompt.
22551
22552 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22553
22554 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22555 provided by a particular plugin.
22556
22557 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22558
22559 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22560 save customizations (with "emacs -Q"), just set the variable
22561 instead of erroring out.
22562
22563 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22564
22565 2011-07-08 Juri Linkov <juri@jurta.org>
22566
22567 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22568 (archive-zip-update-case): Use 7z if found by `executable-find'.
22569 The order of searching the available programs is the same as in
22570 `archive-zip-extract' (bug#8968).
22571
22572 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22573
22574 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22575 (menu-bar-options-menu): Tweak descriptions.
22576
22577 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22578
22579 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22580 menu items into verb phrases (bug#1421). Also refill to fit under
22581 80 columns.
22582
22583 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22584
22585 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22586 (Info-read-node-name): Doc fix (Bug#1084).
22587
22588 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22589 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22590 (end-of-sexp, beginning-of-sexp)
22591 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22592 (forward-symbol, forward-same-syntax, word-at-point)
22593 (sentence-at-point): Doc fix (Bug#1144).
22594
22595 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22596
22597 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22598 should cover it (bug#1281).
22599
22600 * cus-edit.el (custom-show): Mark as obsolete.
22601
22602 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22603 negotiation fails, then possibly try again with a non-encrypted
22604 connection (bug#9017).
22605
22606 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22607 be used.
22608
22609 2011-07-07 Richard Stallman <rms@gnu.org>
22610
22611 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22612 property, and handle its changed format.
22613 Look for the correct line number.
22614 Use file's line contents (but not past first =) to find
22615 correct line in message.
22616
22617 2011-07-07 Kenichi Handa <handa@m17n.org>
22618
22619 * international/characters.el (build-unicode-category-table):
22620 Delete it.
22621 (unicode-category-table): Set it by unicode-property-table-internal.
22622
22623 * international/mule-cmds.el (char-code-property-alist): Move to
22624 to src/chartab.c.
22625 (get-char-code-property): Call unicode-property-table-internal to
22626 load a file. Call get-unicode-property-internal where necessary.
22627 (put-char-code-property): Call unicode-property-table-internal to
22628 load a file. Call put-unicode-property-internal where necessary.
22629 put-unicode-property-internal where necessary.
22630 (char-code-property-description):
22631 Call unicode-property-table-internal to load a file.
22632
22633 * international/charprop.el:
22634 * international/uni-bidi.el:
22635 * international/uni-category.el:
22636 * international/uni-combining.el:
22637 * international/uni-comment.el:
22638 * international/uni-decimal.el:
22639 * international/uni-decomposition.el:
22640 * international/uni-digit.el:
22641 * international/uni-lowercase.el:
22642 * international/uni-mirrored.el:
22643 * international/uni-name.el:
22644 * international/uni-numeric.el:
22645 * international/uni-old-name.el:
22646 * international/uni-titlecase.el:
22647 * international/uni-uppercase.el: Regenerate.
22648
22649 * loadup.el: Load international/charprop.el before
22650 international/characters.
22651
22652 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22653
22654 * window.el (next-buffer, previous-buffer): Signal an error if
22655 called from a minibuffer window.
22656
22657 * bindings.el: Revert 2011-07-04 change.
22658
22659 2011-07-06 Richard Stallman <rms@gnu.org>
22660
22661 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22662 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22663 Treat markers like ints.
22664 (rmail-mime-entity): Doc fix.
22665
22666 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22667
22668 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22669 defcustom again for backwards compatibility.
22670
22671 * simple.el (shell-command-on-region): Fill.
22672
22673 * dired-aux.el (dired-kill-line): Add a doc string.
22674
22675 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22676 to "\\sw\\|\\s_" (bug#358).
22677
22678 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22679 (dired-unmark-backward): Ditto.
22680 (dired-flag-backup-files): Ditto.
22681
22682 * dired-x.el (dired-mark-sexp): Ditto.
22683
22684 2011-07-06 Richard Stallman <rms@gnu.org>
22685
22686 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22687 (rmail-mime-entity): New arg TRUNCATED.
22688 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22689 New functions.
22690 (rmail-mime-save): Warn if entity is truncated.
22691 (rmail-mime-toggle-hidden): Likewise, for showing.
22692 (rmail-mime-process-multipart): Record when an entity is truncated.
22693
22694 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22695 if ENTITY is a string.
22696
22697 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22698
22699 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22700 of faces when `M-C-x'-ing their definitions (bug#8378).
22701 Also clean up the code slightly.
22702
22703 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22704 because that makes the colors go away.
22705
22706 * mail/sendmail.el (send-mail-function): Change the default to
22707 `sendmail-query-once'.
22708 (sendmail-query-once): Add an autoload cookie.
22709
22710 * net/network-stream.el (network-stream-open-starttls): Try using
22711 a plain connection even if the server offered STARTTLS, and we
22712 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22713 capability. This should make smtpmail.el work in slightly more
22714 configurations.
22715
22716 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22717
22718 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22719 New defun.
22720 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22721
22722 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22723
22724 * progmodes/sql.el: Version 3.0
22725 (sql-product-alist): Add product :completion-object,
22726 :completion-column, and :statement attributes.
22727 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22728 (sql-mode-syntax-table): Mark all punctuation.
22729 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22730 ansi keywords.
22731 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22732 (sql-mode-oracle-font-lock-keywords): Improve.
22733 (sql-oracle-show-reserved-words): New function for development.
22734 (sql-product-font-lock): Simplify for source code buffers.
22735 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22736 New functions.
22737 (sql-highlight-product): Set product specific syntax table.
22738 (sql-mode-map): Add statement movement functions.
22739 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22740 New variable.
22741 (sql-statement-regexp, sql-beginning-of-statement)
22742 (sql-end-of-statement, sql-signum): New functions.
22743 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22744 (sql-show-sqli-buffer): Bug fix.
22745 (sql-interactive-mode): Store connection data as buffer local.
22746 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22747 with sql-interactive-mode.
22748 (sql-save-connection): Save buffer local settings.
22749 (sql-connection-menu-filter): Change menu entry name.
22750 (sql-product-interactive): Bug fix.
22751 (sql-preoutput-hold): New variable.
22752 (sql-interactive-remove-continuation-prompt): Bug fixes.
22753 (sql-debug-redirect): New variable.
22754 (sql-str-literal): New function.
22755 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22756 Redesign.
22757 (sql-oracle-save-settings, sql-oracle-restore-settings)
22758 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22759 (sql-completion-object, sql-completion-column)
22760 (sql-completion-sqlbuf): New variables.
22761 (sql-build-completions-1, sql-build-completions)
22762 (sql-try-completion): New functions.
22763 (sql-read-table-name): Use them.
22764 (sql-contains-names): New buffer local variable.
22765 (sql-list-all, sql-list-table): Use it.
22766 (sql-oracle-completion-types): New variable.
22767 (sql-oracle-completion-object, sql-sqlite-completion-object)
22768 (sql-postgres-completion-object): New functions.
22769
22770 2011-07-06 Glenn Morris <rgm@gnu.org>
22771
22772 * window.el (pop-to-buffer): Doc fix.
22773
22774 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22775
22776 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22777
22778 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22779
22780 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22781
22782 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22783
22784 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22785
22786 * button.el (button): Inherit from link face. Suggested by Dan
22787 Nicolaescu.
22788
22789 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22790
22791 * progmodes/gdb-mi.el: Fit in 80 columns.
22792 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22793 switch-to-buffer.
22794
22795 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22796 if imenu is simply not configured (bug#8941).
22797
22798 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22799
22800 * allout.el (allout-post-undo-hook): New allout outline-change
22801 event hook to signal undo activity.
22802 (allout-post-command-business): Run allout-post-undo-hook if an
22803 undo just occurred.
22804 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22805 * allout-widgets.el (allout-widgets-after-undo-function):
22806 Ensure the integrity of the current item's decoration after it has been
22807 in the vicinity of an undo.
22808 (allout-widgets-mode): Include allout-widgets-after-undo-function
22809 on the new allout-post-undo-hook.
22810
22811 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22812
22813 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22814 Let define-derived-mode define it.
22815 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22816 cycles of abbrev-table inheritance (bug#8998).
22817
22818 2011-07-05 Roland Winkler <winkler@gnu.org>
22819
22820 * textmodes/bibtex.el: Add support for biblatex.
22821 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22822 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22823 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22824 (bibtex-entry-alist, bibtex-field-alist): New variables.
22825 (bibtex-entry-field-alist): Obsolete alias for
22826 bibtex-BibTeX-entry-alist.
22827 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22828 (bibtex-set-dialect): New command.
22829 (bibtex-entry-type, bibtex-entry-head)
22830 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22831 Bind via bibtex-set-dialect.
22832 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22833 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22834 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22835 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22836 Define via bibtex-set-dialect.
22837 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22838 Obey bibtex-no-opt-remove-re.
22839 (bibtex-vec-push, bibtex-vec-incr): New functions.
22840 (bibtex-format-entry, bibtex-field-list)
22841 (bibtex-print-help-message, bibtex-validate)
22842 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22843
22844 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22845
22846 * progmodes/compile.el (compilation-goto-locus):
22847 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22848 * bs.el (bs-cycle-next, bs-cycle-previous):
22849 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22850 * bindings.el (mode-line-other-buffer):
22851 * autoinsert.el (auto-insert):
22852 * arc-mode.el (archive-extract):
22853 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22854
22855 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22856
22857 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22858 Fix check of `emacs-lock-unlockable-modes'.
22859 Coerce true values of `emacs-lock--try-unlocking' to t.
22860
22861 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22862
22863 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22864 * emacs-lock.el: New file.
22865
22866 2011-07-05 Julien Danjou <julien@danjou.info>
22867
22868 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22869 than `boundp' to check if face is set.
22870
22871 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22872
22873 * register.el (registerv-make):
22874 * window.el (window-min-height): Fix typos in docstrings.
22875
22876 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22877
22878 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22879 Update doc string.
22880
22881 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22882
22883 * server.el (server-execute): Catch quit and call
22884 `server-return-error' to pass the error back to emacsclient and
22885 close the connection (bug#8942).
22886
22887 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22888
22889 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22890 insecure exception for current topic. Also note that auto-saves
22891 are handled differently.
22892
22893 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22894 State variables for tracking auto-save inhibition situation.
22895
22896 (allout-write-contents-hook-handler): Rename from
22897 'allout-write-file-hook-handler', and describe how it depends on
22898 write-contents-functions sensitivity to non-nil value to prevent
22899 file write.
22900
22901 (allout-auto-save-hook-handler): Remove. auto-save does not check
22902 this in individual buffers, only in the starting buffer, so this
22903 is not the right way for us to inhibit auto-save in a buffer
22904 according to its condition.
22905
22906 (allout-mode): Use new allout-write-contents-hook-handler, and
22907 only with write-contents-functions. Remove auto-save provisions -
22908 they're implemented elsewhere.
22909
22910 (allout-before-change-handler): If undo is in progress, note that
22911 for attention of allout-post-command-business.
22912
22913 (allout-post-command-business): If the command we're following was
22914 an undo, check for change in the status of encrypted items and
22915 adjust auto-save inhibitions accordingly.
22916
22917 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22918 according to whether there are or aren't any plain-text topics
22919 pending encryption.
22920
22921 (allout-inhibit-auto-save-info-for-decryption):
22922 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22923 if there are plain-text topics pending encryption.
22924
22925 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22926 buffer-saved-size and some allout state to not inhibit auto-saves
22927 if there are no longer any plain-text topics pending encryption.
22928
22929 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22930 No longer provide for exemption of the current topic.
22931
22932 2011-07-04 Juri Linkov <juri@jurta.org>
22933
22934 Add 7z operations to delete and save changed members (bug#8968).
22935 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22936 New defcustoms.
22937 (archive-7z-write-file-member): New function.
22938 (archive-7z-summarize): Fix the number of dashes in the
22939 listing output.
22940
22941 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22942
22943 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22944 (bug#8958).
22945
22946 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22947
22948 * bindings.el: Ignore next-buffer and previous-buffer in
22949 minibuffer-local-map.
22950
22951 * font-lock.el (font-lock-builtin-face): Change light background
22952 color to dark slate blue (Bug#6693).
22953
22954 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22955
22956 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22957
22958 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22959
22960 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22961 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22962 Add switch-to-buffer.
22963
22964 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22965
22966 * isearch.el (isearch-search-fun-function): Clarify further the
22967 meaning of the function returned.
22968
22969 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22970
22971 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22972
22973 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22974 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22975 Use it.
22976 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22977 `tramp-default-remote-path' does not exist.
22978 (tramp-send-command-and-read): New optional argument NOERROR.
22979 (tramp-open-connection-setup-interactive-shell)
22980 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22981 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22982 (tramp-process-sentinel): Flush also process' connection property.
22983 (tramp-sh-handle-start-file-process): Do not set process
22984 sentinel. It is done now ...
22985 (tramp-maybe-open-connection): ... here. (Bug#8929)
22986
22987 2011-07-04 MON KEY <monkey@sandpframing.com>
22988
22989 * play/animate.el (animate-string): Doc fixes and allow changing
22990 the buffer name (bug#5417).
22991
22992 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22993
22994 * play/animate.el (animation-buffer-name): Rename from *animate*.
22995
22996 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22997
22998 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22999 This is simpler and helps future-proof the code.
23000 (timer-until): Use time-subtract and float-time.
23001 (timer--time-less-p): Use time-less-p.
23002
23003 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23004
23005 * type-break.el (timep): Use the value of `float-time' to avoid a
23006 byte-compiler warning.
23007
23008 * server.el (server-eval-and-print): Return any result, even nil.
23009
23010 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23011
23012 * type-break.el: Accept time formats that the builtins accept.
23013 (timep, type-break-time-difference): Accept any format that
23014 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23015 This is simpler and helps future-proof the code.
23016 (type-break-time-difference): Round rather than ignoring
23017 subseconds components.
23018
23019 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23020
23021 * info.el (Info-apropos-matches): Make non-interactive, since it
23022 doesn't seem to do anything useful as a command (bug#8829).
23023
23024 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23025
23026 * frame.el (frame-background-mode, frame-set-background-mode):
23027 Move from faces.el.
23028 (frame-default-terminal-background): New function.
23029
23030 * custom.el (custom-push-theme): Don't record faces in `changed'
23031 theme; this doesn't work correctly for per-frame face settings.
23032 (disable-theme): Use face-set-after-frame-default to reset faces.
23033 (custom--frame-color-default): New function.
23034
23035 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23036
23037 * dired.el (dired-flagging-regexp): Remove unused variable
23038 (bug#8769).
23039
23040 2011-03-29 Kevin Ryde <user42@zip.com.au>
23041
23042 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23043 `perl-Test2' extend to match possible "fail #N" rep count
23044 (bug#8377).
23045
23046 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23047
23048 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23049 `smtpmail-via-smtp' now returns the error instead of nil.
23050
23051 * isearch.el (isearch-search-fun-function): Clarify the doc string
23052 (bug#8101).
23053
23054 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23055
23056 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23057 unnecessary spaces (bug#8987).
23058
23059 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23060
23061 * net/network-stream.el (open-network-stream): Use the
23062 :end-of-capability command thoughout.
23063
23064 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23065
23066 * net/network-stream.el (open-network-stream): Add the
23067 :end-of-capability command parameter, used by pop3.el.
23068
23069 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23070
23071 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23072
23073 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23074 for list)" (bug#6475).
23075
23076 * files.el (file-expand-wildcards): Ignore non-readable
23077 sub-directories while trying to find matches instead of signaling
23078 an error (bug#6297).
23079
23080 * man.el (Man-reference-regexp): Allow matching possible
23081 word-wrapped references (bug#6289).
23082
23083 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23084 for consistency with the other vc buffers (bug#6197).
23085 (vc-checkin): Ditto.
23086
23087 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23088
23089 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23090
23091 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23092
23093 * custom.el (defcustom): Clarify that :set is only used in the
23094 Customize user interface (bug#6089).
23095
23096 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23097 associated with a file, refuse to run instead of erroring out
23098 (bug#6084).
23099
23100 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23101 the doc string, since it appears that using `fill-column' always
23102 controls the width (bug#7845).
23103
23104 * simple.el (shell-command-on-region): Say where the error output
23105 went if `shell-command-default-error-buffer' is set (bug#6857).
23106
23107 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23108
23109 * allout.el (allout-yank-processing): Adjust cursor position for
23110 backwards-deleted space.
23111
23112 (allout-rebullet-heading): Register changes with
23113 allout-exposure-changed-hook, so the modified topic is properly
23114 decorated.
23115
23116 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23117
23118 * minibuffer.el (completion-in-region): Document PREDICATE
23119 (bug#7136).
23120
23121 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23122 of keyword/argument pairs (bug#6904).
23123
23124 * replace.el (multi-occur):
23125 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23126
23127 2011-07-02 Drew Adams <drew.adams@oracle.com>
23128
23129 * dired.el (dired-mark-if): Make the message about whether it's
23130 marking or unmarking clearer (bug#8523).
23131
23132 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23133
23134 * disp-table.el (display-table-print-array): New function.
23135 (describe-display-table): Use it to print the vectors more pretty
23136 (Bug#8859).
23137
23138 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23139
23140 * window.el (window-state-get-1): Don't assign clone numbers.
23141 Add clone-of item to list of window parameters.
23142 (window-state-put-2): Don't process clone numbers.
23143 (display-buffer-alist): Fix doc-string.
23144
23145 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23146
23147 * subr.el (remq): Don't allocate if it's not needed.
23148 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23149 (keymap--merge-bindings): New functions.
23150 (keymap-canonicalize): Use them to refine the canonicalization.
23151 * minibuffer.el (minibuffer-local-completion-map)
23152 (minibuffer-local-must-match-map): Move initialization from C.
23153 (minibuffer-local-filename-completion-map): Move initialization from C;
23154 don't inherit from anything here.
23155 (minibuffer-local-filename-must-match-map): Make obsolete.
23156 (completing-read-default): Use make-composed-keymap to combine
23157 minibuffer-local-filename-completion-map with either
23158 minibuffer-local-must-match-map or
23159 minibuffer-local-filename-completion-map.
23160
23161 2011-07-01 Glenn Morris <rgm@gnu.org>
23162
23163 * type-break.el (type-break-time-sum): Use dolist.
23164
23165 * textmodes/flyspell.el (flyspell-word-search-backward):
23166 Replace CL function.
23167
23168 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23169
23170 * mouse.el (mouse--strip-first-event): New function.
23171 (function-key-map): Use it to map fringe clicks to normal clicks
23172 by default.
23173
23174 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23175 (vc-bzr-revision-completion-table): Add support for annotate and date.
23176
23177 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23178 inherit from parent.
23179
23180 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23181
23182 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23183 (dired-show-file-type): Doc fixup (bug#8818).
23184
23185 * dired.el (dired-mode): Fix up the doc string as suggested by
23186 Drew Adams (bug#8817).
23187
23188 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23189 cookie, since the manual says that it should be possible to add
23190 this function to `find-file-hook' (bug#8709).
23191
23192 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23193
23194 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23195 here. Noted Ted Zlatanov as the maintainer.
23196 (cfengine-common-settings, cfengine-common-syntax): New functions
23197 to set up common things between `cfengine-mode' and
23198 `cfengine3-mode'.
23199 (cfengine3-mode): New mode.
23200 (cfengine3-defuns cfengine3-defuns-regex
23201 (cfengine3-class-selector-regex cfengine3-category-regex)
23202 (cfengine3-vartypes cfengine3-font-lock-keywords)
23203 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23204 (cfengine3-indent-line): Add from cfengine3.el.
23205
23206 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23207
23208 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23209
23210 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23211
23212 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23213
23214 * window.el (same-window-buffer-names, same-window-regexps)
23215 (same-window-p, special-display-frame-alist)
23216 (special-display-popup-frame, special-display-function)
23217 (special-display-buffer-names, special-display-regexps)
23218 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23219 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23220 (split-window-preferred-function, split-height-threshold)
23221 (split-width-threshold, even-window-heights)
23222 (display-buffer-mark-dedicated, window-splittable-p)
23223 (split-window-sensibly, window-safely-shrinkable-p):
23224 Un-obsolete.
23225 (display-buffer): Don't spread args with function specifier
23226 because special-display-popup-frame won't like it.
23227
23228 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23229
23230 Time-stamp simplifications and fixes.
23231 These improve accuracy slightly, and future-proof the code
23232 against some potential changes to current-time format.
23233
23234 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23235 by using time-since and float-time.
23236
23237 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23238 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23239 + NNN microseconds".
23240
23241 * type-break.el (type-break-time-sum): Rewrite using time-add.
23242
23243 * play/hanoi.el (hanoi-current-time-float): Remove.
23244 All uses replaced by float-time.
23245
23246 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23247 This yields a more-accurate answer.
23248 (rng-time-to-float): Remove; no longer needed.
23249
23250 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23251
23252 * calendar/timeclock.el (timeclock-seconds-to-time):
23253 Defalias to seconds-to-time, since they're the same thing.
23254
23255 * emacs-lisp/elp.el (elp-elapsed-time):
23256 * emacs-lisp/benchmark.el (benchmark-elapse):
23257 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23258
23259 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23260
23261 * window.el (bury-buffer): Don't iconify the only frame.
23262 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23263 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23264
23265 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23266
23267 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23268 Add mouse-yank-primary.
23269
23270 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23271
23272 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23273
23274 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23275
23276 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23277 (find-library-name): Use it to find relative load names when provided
23278 absolute file name (bug#8803).
23279
23280 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23281
23282 * textmodes/flyspell.el (flyspell-word): Consider words that
23283 differ only in case as potential doublons (bug#5687).
23284
23285 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23286 Remove two rather uninteresting debugging-like messages to make
23287 debbugs.el more silent.
23288
23289 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23290 a password-like phrase.
23291
23292 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23293
23294 * progmodes/cc-guess.el: New file.
23295
23296 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23297
23298 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23299 derived from `c-basic-common-init'.
23300
23301 * progmodes/cc-mode.el (top-level): Require cc-guess.
23302 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23303
23304 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23305
23306 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23307
23308 2011-06-30 Alan Mackenzie <acm@muc.de>
23309
23310 * progmodes/cc-engine.el (c-guess-continued-construct):
23311 Correct the handling of template-args-cont, particularly for when font
23312 lock is disabled. Name this case as "CASE G".
23313
23314 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23315
23316 * allout.el (allout-yank-processing): Fix injection of extra space
23317 between bullet and non-whitespace character in first topic when
23318 pasting, ensuring that the actual spacing in the pasted topic
23319 following the bullet char is preserved. This extra space was
23320 causing pasted encrypted topics to get a decrypted status even
23321 when the content was actually still encrypted. Now the decryption
23322 status from before the paste is preserved.
23323
23324 (allout-flag-region): Set all allout overlays so they evaporate
23325 when reduced to zero length (evanescent), to prevent overlay
23326 leakage.
23327
23328 2011-06-30 Glenn Morris <rgm@gnu.org>
23329
23330 * w32-fns.el (w32-charset-info-alist): Declare.
23331
23332 * find-dired.el (find-grep-options): Simplify.
23333
23334 * term/ns-win.el (ns-set-resource): Declare.
23335
23336 * ses.el (row, col): Declare dynamic variables honestly.
23337
23338 * textmodes/reftex-parse.el (index-tags): Declare.
23339
23340 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23341
23342 * cus-edit.el (customize-push-and-save): New function.
23343
23344 * files.el (hack-local-variables-confirm): Use it.
23345
23346 * custom.el (load-theme): New arg NO-CONFIRM.
23347 Use customize-push-and-save (Bug#8720).
23348 (custom-enabled-themes): Doc fix.
23349
23350 * cus-theme.el (customize-create-theme)
23351 (custom-theme-merge-theme): Callers to load-theme changed.
23352
23353 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23354
23355 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23356 short URLs have at least one dot in them (bug #7614).
23357
23358 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23359 nil, because using a pty is apparently too slow (bug #895).
23360
23361 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23362
23363 * mail/sendmail.el (sendmail-query-once): New function.
23364 (sendmail-query-once-function): New variable.
23365
23366 2011-06-29 Glenn Morris <rgm@gnu.org>
23367
23368 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23369
23370 * ses.el (top-level): Require cl when compiling.
23371 (ses-set-localvars): Fix error statement.
23372 Call it at compile time to silence a storm of warnings.
23373
23374 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23375
23376 * window.el (normalize-live-buffer): Rename to
23377 window-normalize-buffer.
23378 (normalize-live-frame): Rename to window-normalize-frame.
23379 (normalize-any-window): Rename to window-normalize-any-window.
23380 (normalize-live-window): Rename to window-normalize-live-window.
23381 (make-window-atom): Rename to window-make-atom.
23382 (window-resize-reset): Rename to window--resize-reset.
23383 (window-resize-reset-1): Rename to window--resize-reset-1.
23384 (resize-mini-window): Rename to window--resize-mini-window.
23385 (resize-subwindows-skip-p): Rename to
23386 window--resize-subwindows-skip-p.
23387 (resize-subwindows-normal): Rename to
23388 window--resize-subwindows-normal.
23389 (resize-subwindows): Rename to window--resize-subwindows.
23390 (resize-other-windows): Rename to window--resize-siblings.
23391 (resize-this-window): Rename to window--resize-this-window.
23392 (resize-root-window): Rename to window--resize-root-window.
23393 (resize-root-window-vertically): Rename to
23394 window--resize-root-window-vertically.
23395 (normalize-buffer-to-display): Rename to
23396 window-normalize-buffer-to-display.
23397 (normalize-buffer-to-switch-to): Rename to
23398 window-normalize-buffer-to-switch-to.
23399 Correspondingly update all callers of the functions listed
23400 above.
23401 (display-buffer-alist, display-buffer-normalize-arguments)
23402 (display-buffer-normalize-options, display-buffer)
23403 (display-buffer-alist-set): Use "function" instead of
23404 "fun-with-args".
23405
23406 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23407
23408 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23409 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23410 debbugs.gnu.org. Mention acknowledgment email.
23411
23412 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23413
23414 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23415 buffer multibyteness, since it shouldn't matter.
23416
23417 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23418
23419 * window.el (display-buffer-in-side-window): Handle dedicated
23420 windows as in display-buffer-reuse-window.
23421 (display-buffer-normalize-alist): Use value of override
23422 specifier.
23423 (display-buffer-normalize-specifiers): Use value of
23424 other-window-means-other-frame specifier.
23425 (display-buffer-alist): Rewrite some texts in widgets.
23426 (display-buffer): Spread arguments when calling function
23427 specified by fun-with-args.
23428
23429 2011-06-28 Deniz Dogan <deniz@dogan.se>
23430
23431 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23432 Unnest `let'.
23433
23434 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23435 selectors (Bug#5732).
23436 (css-proprietary-nmstart-re): Use `regexp-opt'.
23437
23438 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23439
23440 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23441 (eshell-ls-date-format): New defcustom.
23442 (eshell-ls-file): Use it.
23443
23444 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23445
23446 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23447
23448 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23449
23450 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23451 (ange-ftp-make-tmp-name): New arg.
23452 (ange-ftp-file-local-copy): Use it.
23453
23454 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23455
23456 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23457 no-conversion (Bug#8870).
23458
23459 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23460
23461 * window.el (window-right, window-left, window-child)
23462 (window-child-count, window-last-child)
23463 (window-iso-combination-p, walk-window-tree-1)
23464 (window-atom-check-1, window-tree-1, delete-window)
23465 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23466 new naming conventions - window-vchild, window-hchild,
23467 window-next and window-prev are now called window-top-child,
23468 window-left-child, window-next-sibling and window-prev-sibling
23469 respectively.
23470 (resize-window-reset): Rename to window-resize-reset.
23471 (resize-window-reset-1): Rename to window-resize-reset-1.
23472 (resize-window): Rename to window-resize.
23473 (window-min-height, window-min-width)
23474 (resize-mini-window, resize-this-window, resize-root-window)
23475 (resize-root-window-vertically, adjust-window-trailing-edge)
23476 (enlarge-window, shrink-window, maximize-window)
23477 (minimize-window, delete-window, quit-restore-window)
23478 (split-window, balance-windows, balance-windows-area-adjust)
23479 (balance-windows-area, window-state-put-2)
23480 (display-buffer-even-window-sizes, display-buffer-set-height)
23481 (display-buffer-set-width, set-window-text-height)
23482 (fit-window-to-buffer): Rename all "resize-window" prefixed
23483 calls to use the "window-resize" prefix convention.
23484 (display-buffer-alist): Fix symbol for label specifier.
23485 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23486 corresponding specifier.
23487 Reported by Juanma Barranquero <lekktu@gmail.com>.
23488
23489 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23490
23491 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23492 convention.
23493 (ses-call-printer): Does not pass an empty string to formatter when the
23494 cell is empty to keep from barking printer Calc math-format-value.
23495
23496 2011-06-27 Richard Stallman <rms@gnu.org>
23497
23498 * battery.el (battery-mode-line-limit): New variable.
23499 (battery-update): Handle it.
23500
23501 * mail/rmailmm.el (rmail-mime-process-multipart):
23502 Handle truncated messages.
23503
23504 2011-06-27 Glenn Morris <rgm@gnu.org>
23505
23506 * progmodes/flymake.el (flymake-err-line-patterns):
23507 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23508
23509 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23510
23511 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23512 (ses--clean-!, ses--clean-_): New functions.
23513 (ses-range): Add configurability of readout order, and conversion
23514 to Calc vector.
23515
23516 * ses.el (ses-repair-cell-reference-all): New function.
23517 (ses-cell-symbol): Set macro as safe, so that it can be used in
23518 formulas.
23519
23520 * ses.el: Update cycle detection algorithm.
23521 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23522 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23523 (ses-set-localvars): New function.
23524 (ses-make-cell): Add property-list as a cell element.
23525 (ses-cell-property-get-fun, ses-cell-property-get)
23526 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23527 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23528 New functions.
23529 (ses-cell-property-set, ses-cell-property-pop)
23530 (ses-cell-property-get-handle): New macro.
23531 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23532 New aliases, used for code readability.
23533 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23534 cycle detection.
23535 (ses-self-reference-early-detection): New defcustom.
23536 (ses-formula-references): Robustify against self-referring cells.
23537 (ses-mode): Use ses-set-localvars.
23538 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23539 before lauching the update processing.
23540 (ses-initialize-Dijkstra-attempt): New function.
23541 (ses-recalculate-cell): Update for cycle detection based on
23542 Dijkstra algorithm.
23543
23544 * ses.el: Fix commenting and indenting convention.
23545
23546 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23547
23548 * bs.el (bs-cycle-next): Complete last change.
23549
23550 2011-06-27 Drew Adams <drew.adams@oracle.com>
23551
23552 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23553
23554 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23555
23556 * net/network-stream.el (network-stream-open-starttls):
23557 Don't re-get capabilities unless we've reestablished connection.
23558 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23559
23560 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23561 to binary to possibly avoid line encoding issues on Windows (among
23562 other things).
23563
23564 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23565
23566 * net/network-stream.el (open-network-stream): Return an :error
23567 saying what the problem was, if possible.
23568
23569 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23570 server.
23571
23572 * net/network-stream.el (network-stream-open-starttls): If we
23573 wanted to use STARTTLS, and the server offered it, but we weren't
23574 able to because we had no STARTTLS support, then close the connection.
23575 (open-network-stream): Return an :error element, if present.
23576
23577 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23578
23579 * hl-line.el (hl-line-sticky-flag): Doc fix.
23580 (global-hl-line-sticky-flag): New option (Bug#8323).
23581 (global-hl-line-highlight): Obey it.
23582
23583 * vc/vc.el (vc-revert-show-diff): Default to t.
23584
23585 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23586
23587 * allout-widgets.el (allout-widgets-post-command-business):
23588 Stop decorating intermediate isearch matches. They're not being
23589 undecorated when an isearch is continued past, and isearch
23590 automatically collapses them. This leads to "widget leaks", where
23591 decorated items accumulate in collapsed areas. Lines with lots of
23592 hidden widgets can slow down cursor travel, substantially.
23593 Too much complicated machinery would be needed to ensure undecoration,
23594 so we're doing without this nicety.
23595
23596 (allout-widgets-tally-string): Don't try to do a hash-table-count
23597 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23598 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23599 *Messages* when allout-widgets-maintain-tally is t.
23600
23601 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23602
23603 * window.el (display-buffer-normalize-argument): Rename to
23604 display-buffer-normalize-arguments. Handle special meaning of
23605 LABEL argument. Respect special-display-function when popping up
23606 a new frame. Fix code searching for a window showing the buffer
23607 on another frame.
23608 (display-buffer-normalize-specifiers):
23609 Call display-buffer-normalize-arguments.
23610 (display-buffer-in-window): Don't undedicate the window if its
23611 buffer remains the same.
23612 Reported by Drew Adams <drew.adams@oracle.com>.
23613 (display-buffer-alist): Add choice for same-window macro
23614 specfier.
23615 (display-buffer): Mention special meaning of LABEL argument in
23616 doc-string. Fix quoting. Don't pop up a new frame even as
23617 fallback.
23618
23619 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23620
23621 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23622 avoid deleting the current window in some cases (bug#8911).
23623
23624 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23625
23626 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23627 (Bug#8934)
23628
23629 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23630
23631 * net/network-stream.el (network-stream-open-starttls):
23632 Use built-in TLS support if `gnutls-available-p' is true.
23633 (network-stream-open-tls): Ditto.
23634
23635 2011-06-26 Leo Liu <sdl.web@gmail.com>
23636
23637 * register.el (registerv): New struct.
23638 (registerv-make): New function.
23639 (jump-to-register, describe-register-1, insert-register):
23640 Support the jump-func, print-func and insert-func slot of a registerv
23641 struct. (Bug#8415)
23642
23643 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23644
23645 * vc/vc.el (vc-revert-show-diff): New defcustom.
23646 (vc-diff-internal): New arg specifying diff buffer.
23647 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23648 reuse an existing *vc-diff* buffer (Bug#8927).
23649
23650 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23651
23652 2011-06-26 Glenn Morris <rgm@gnu.org>
23653
23654 * progmodes/f90.el (f90-critical-indent): New option.
23655 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23656 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23657 (f90-mode): Doc fix.
23658 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23659 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23660 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23661 (f90-match-end): Handle block, critical.
23662
23663 2011-06-25 Glenn Morris <rgm@gnu.org>
23664
23665 * calendar/diary-lib.el (diary-included-files): Doc fix.
23666 (diary-include-files): New function, extracted from
23667 diary-include-other-diary-files and diary-mark-included-diary-files.
23668 (diary-include-other-diary-files, diary-mark-included-diary-files):
23669 Just call diary-include-files.
23670 (diary-mark-entries): Reset diary-included-files on first call.
23671
23672 * calendar/diary-lib.el (diary-mark-entries)
23673 (diary-mark-included-diary-files):
23674 Visit included diary-files in temp buffers.
23675
23676 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23677 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23678 (f90-start-block-re, f90-imenu-generic-expression)
23679 (f90-looking-at-program-block-start, f90-no-block-limit):
23680 Add support for submodules.
23681
23682 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23683 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23684
23685 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23686
23687 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23688 buffer-file-type before setting its value, to avoid disastrous
23689 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23690
23691 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23692
23693 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23694
23695 * ses.el (ses-unload-function):
23696 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23697
23698 * proced.el (proced-unload-function):
23699 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23700
23701 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23702
23703 * server.el (server-create-window-system-frame): Add parameters arg.
23704 (server-process-filter): Doc fix. Handle frame-parameters.
23705
23706 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23707
23708 Fix bug#8730, bug#8781.
23709
23710 * loadhist.el (unload--set-major-mode): New function.
23711 (unload-feature): Use it.
23712
23713 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23714 (python-unload-function): New function.
23715
23716 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23717
23718 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23719
23720 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23721
23722 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23723 the candidates list.
23724
23725 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23726
23727 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23728
23729 2011-06-23 Richard Stallman <rms@gnu.org>
23730
23731 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23732 (rmail-variables): Set next-error-move-function.
23733 (rmail-what-message): Take argument POS.
23734 (rmail-next-error-move): New function.
23735
23736 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23737
23738 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23739 messages for adjacent non-terminals.
23740
23741 2011-06-23 Richard Stallman <rms@gnu.org>
23742
23743 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23744 (rmail-show-message-1): Preserve buffer modified flag.
23745 (rmail-start-mail): Don't specify use of rmail-mail-return;
23746 that's done by mail-bury now.
23747 (rmail-mail-return): Handle arg NEWBUF.
23748
23749 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23750
23751 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23752 SIZE is a number.
23753
23754 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23755
23756 * window.el (get-lru-window, get-mru-window)
23757 (get-largest-window): Never return a minibuffer window.
23758 (display-buffer-pop-up-window): Fix a bug that could lead to
23759 reusing the minibuffer window.
23760 (display-buffer): Pass original specifier argument to
23761 display-buffer-function instead of the normalized one.
23762 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23763
23764 2011-06-22 Leo Liu <sdl.web@gmail.com>
23765
23766 * minibuffer.el (completing-read-function)
23767 (completing-read-default): Move from minibuf.c.
23768
23769 2011-06-22 Richard Stallman <rms@gnu.org>
23770
23771 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23772 to Rmail even if not started by a special Rmail command.
23773
23774 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23775 Copy the buffer currently showing just one message.
23776
23777 2011-06-22 Roland Winkler <winkler@gnu.org>
23778
23779 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23780 (bibtex-clean-entry): First delete the old key so that a
23781 customized algorithm for generating the new key does not get
23782 confused by the old key.
23783 (bibtex-url): Obey regexp of first step.
23784 (bibtex-search-entries): Do not use add-to-list with local
23785 list-var.
23786
23787 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23788
23789 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23790 stored a user name, then query for the password first, instead of
23791 waiting for SMTP to give an error message and the trying again.
23792
23793 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23794
23795 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23796 BUFFER in call-process.
23797
23798 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23799
23800 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23801 QUIT twice.
23802 (smtpmail-try-auth-methods): Require user name and password from
23803 auth-source.
23804
23805 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23806
23807 * window.el (display-buffer-default-specifiers)
23808 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23809 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23810 (split-window): Normalize SIDE argument (Bug#8916).
23811
23812 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23813 (special-display-frame-alist, special-display-popup-frame):
23814 Remove duplicate declarations. These are now in window.el.
23815
23816 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23817
23818 * mail/smtpmail.el (smtpmail-via-smtp):
23819 Set :use-starttls-if-possible so that we always use STARTTLS if the
23820 server supports it. SMTP servers that support STARTTLS commonly
23821 require it.
23822
23823 * net/network-stream.el (network-stream-open-starttls): Support
23824 upgrading to STARTTLS always, even if we don't have built-in support.
23825 (open-network-stream): Add the :always-query-capabilities keyword.
23826
23827 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23828 upgrades with `open-network-stream', and rely solely on
23829 auth-source for all credentials. Big changes throughout the file,
23830 but in particular:
23831 (smtpmail-auth-credentials): Remove.
23832 (smtpmail-starttls-credentials): Remove.
23833 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23834 MAIL FROM, too.
23835
23836 * net/network-stream.el (network-stream-open-starttls):
23837 Provide support for client certificates both for external and built-in
23838 STARTTLS.
23839 (auth-source): Require.
23840 (open-network-stream): Document the :client-certificate keyword.
23841 (network-stream-certificate): Change cert-cert to cert and
23842 cert-key to key.
23843
23844 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23845
23846 * net/tramp-cache.el (top): Don't load the persistency file when
23847 "emacs -Q" has been called.
23848
23849 2011-06-21 Tim Harper <timcharper@gmail.com>
23850
23851 * term/ns-win.el (ns-initialize-window-system):
23852 Set application-specific `ApplePressAndHoldEnabled' system
23853 resource to NO as it is not yet supported by the NS port.
23854
23855 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23856
23857 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23858 (list-dynamic-libraries): ...not here.
23859
23860 2011-06-21 Leo Liu <sdl.web@gmail.com>
23861
23862 * subr.el (sha1): Implement sha1 using secure-hash.
23863
23864 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23865
23866 * window.el (display-buffer-alist): In default value do not
23867 enforce searching a window on any but the selected frame.
23868 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23869 (display-buffer-select-window): Remove function.
23870 (display-buffer-in-window): When a window on another frame gets
23871 reused, do not select it any more but just raise its frame if
23872 necessary (Bug#8851) and (Bug#8856).
23873 (display-buffer-normalize-options): Handle pop-up-frames related
23874 options more faithfully.
23875 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23876 window if it is on another frame.
23877 (display-buffer-alist, display-buffer-default-specifiers):
23878 Don't make new frame unsplittable by default.
23879 (display-buffer-normalize-argument): Fix doc-string typo and use
23880 'same-frame-other-window instead of 'other-window when associating
23881 with display-buffer-macro-specifiers.
23882
23883 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23884
23885 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23886 New functions.
23887 (5x5-mode-map, 5x5-mode-menu): Bind them.
23888 (5x5-draw-grid): Tweak the solver's rendering.
23889
23890 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23891
23892 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23893 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23894
23895 2011-06-21 Drew Adams <drew.adams@oracle.com>
23896
23897 * menu-bar.el: Use function variable instead of switch-to-buffer.
23898 (menu-bar-select-buffer-function): New variable.
23899 (menu-bar-update-buffers): Use it (bug#8876).
23900
23901 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23902
23903 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23904 variable's status.
23905
23906 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23907
23908 * x-dnd.el (x-dnd-version-from-flags)
23909 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23910 and long as number (Bug#8899).
23911 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23912
23913 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23914
23915 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23916 (completion-try-completion, completion-all-completions): Compute the
23917 metadata argument if it's missing; make it optional (bug#8795).
23918
23919 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23920 (widget-complete): Use new :completion-function property.
23921 (widget-completions-at-point): New function.
23922 (default): Use :completion-function instead of :complete.
23923 (widget-default-completions): Rename from widget-default-complete;
23924 Rewrite.
23925 (widget-string-complete, widget-file-complete, widget-color-complete):
23926 Remove functions.
23927 (file, symbol, function, variable, coding-system, color):
23928 * international/mule-cmds.el (default-input-method, charset)
23929 (language-info-custom-alist):
23930 * cus-edit.el (face): Use new property :completions.
23931
23932 * progmodes/pascal.el (pascal-completions-at-point): New function.
23933 (pascal-mode): Use it.
23934 (pascal-mode-map): Use completion-at-point.
23935 (pascal-toggle-completions): Make obsolete.
23936 (pascal-complete-word, pascal-show-completions):
23937 * progmodes/octave-mod.el (octave-complete-symbol):
23938 Redefine as obsolete alias.
23939 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23940 Signal absence of completion info for old Octave,
23941 (inferior-octave-complete): Redefine as obsolete alias.
23942 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23943 (meta-completions-at-point): Rename from meta-complete-symbol and
23944 adapt it for use on completion-at-point-functions.
23945 (meta-common-mode): Use it.
23946 (meta-looking-at-backward, meta-match-buffer): Remove.
23947 (meta-complete-symbol): Redefine as obsolete alias.
23948 (meta-common-mode-map): Use completion-at-point.
23949 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23950 (makefile-mode-map): Use completion-at-point.
23951 (makefile-completions-at-point): Rename from makefile-complete and
23952 adapt it for use on completion-at-point-functions.
23953 (makefile-mode): Use it.
23954 (makefile-complete): Redefine as obsolete alias.
23955
23956 2011-06-20 Deniz Dogan <deniz@dogan.se>
23957
23958 * net/rcirc.el: Delete trailing whitespaces once and for all.
23959
23960 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23961
23962 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23963
23964 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23965
23966 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23967
23968 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23969
23970 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23971
23972 * window.el (display-buffer-other-window-means-other-frame):
23973 Call display-buffer-normalize-alist.
23974 (display-buffer-normalize-specifiers-1): Rename to
23975 display-buffer-normalize-argument. New argument other-frame.
23976 Rewrite.
23977 (display-buffer-normalize-specifiers-2): Rename to
23978 display-buffer-normalize-options.
23979 (display-buffer-normalize-alist-1): New function.
23980 (display-buffer-normalize-specifiers-3): Rename to
23981 display-buffer-normalize-alist.
23982 Call display-buffer-normalize-alist-1.
23983 (display-buffer-normalize-options-inhibit): New variable.
23984 (display-buffer-normalize-specifiers): Rewrite calling
23985 display-buffer-normalize-alist,
23986 display-buffer-normalize-argument, and
23987 display-buffer-normalize-options. Don't call the latter if
23988 display-buffer-normalize-options-inhibit is non-nil.
23989 (frame-auto-delete): New option.
23990 (window-deletable-p): Use frame-auto-delete.
23991 (window-list-no-nils, window-state-ignored-parameters)
23992 (window-state-get-1, window-state-get, window-state-put-list)
23993 (window-state-put-1, window-state-put-2, window-state-put):
23994 New functions.
23995 (display-buffer-normalize-options): Move special-display-p group
23996 after pop-up-frame group (Bug#8851) and (Bug#8856).
23997
23998 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23999
24000 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24001 groups (Bug#8776).
24002 (rx-submatch-n): New function.
24003 (rx): Document it.
24004
24005 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24006 (Bug#8768).
24007
24008 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24009
24010 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24011
24012 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24013 anytime existing face settings are present (Bug#8889).
24014
24015 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24016 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24017 Remove unused argument.
24018
24019 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24020
24021 * window.el (display-buffer-default-specifiers):
24022 Remove pop-up-frame. Add pop-up-window-min-height,
24023 pop-up-window-min-width, and another reuse-window specifier
24024 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24025 (display-buffer-normalize-specifiers-2):
24026 Handle split-height-threshold and split-width-threshold also when
24027 pop-up-windows is unset. Add a reuse-window specifier for the
24028 case popping up a new window fails.
24029 (special-display-popup-frame): Remove double quoting.
24030 (display-buffer-normalize-specifiers-1): Fix thinko.
24031
24032 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24033
24034 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24035 according to comint-completion-addsuffix.
24036
24037 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24038 (pcomplete-suffix-list): Mark as obsolete.
24039 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24040 pcomplete-seen in the closure.
24041 (pcomplete-comint-setup): Setup completion-at-point as well.
24042 (pcomplete--entries): New function.
24043 (pcomplete--env-regexp): New var.
24044 (pcomplete-entries): Rewrite to work with partial-completion and
24045 without relying on pcomplete-suffix-list.
24046 (pcomplete-pare-list): Remove, unused.
24047
24048 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24049
24050 * window.el (display-buffer-alist): Set pop-up-window-min-height
24051 and pop-up-window-min-width in default value. Reported by
24052 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24053 other-window-means-other-frame.
24054 (display-buffer-macro-specifiers): Comment out entry for
24055 other-window specifier.
24056 (display-buffer-other-window-means-other-frame): New function.
24057 (display-buffer-normalize-specifiers-1): New arguments
24058 buffer-name and label. Treat other-window case specially.
24059 (display-buffer-normalize-specifiers-2): Treat other-window case
24060 specially.
24061 (display-buffer-normalize-specifiers-3): New function.
24062 (display-buffer-normalize-specifiers):
24063 Call display-buffer-normalize-specifiers-3.
24064
24065 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24066
24067 * window.el (same-window-p): Fix two typos introduced when
24068 adding with-no-warnings.
24069 (display-buffer-normalize-specifiers-1): Don't check
24070 pop-up-frames for 'unset initialization.
24071 (display-buffer-normalize-specifiers-2): Major rewrite using
24072 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24073 (pop-up-frames, display-buffer-reuse-frames)
24074 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24075 Suggested by David Engster <deng@randomsample.de>.
24076 (even-window-heights): Initialize to 'unset.
24077 (display-buffer-alist-set): Handle new 'unset initializations.
24078 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24079 other window case.
24080
24081 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24082
24083 * window.el (display-buffer-normalize-specifiers-1):
24084 Respect current value of pop-up-frames for most reasonable values of
24085 second argument of display-buffer (Bug#8865).
24086 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24087 (switch-to-buffer-other-window-same-frame)
24088 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24089 Adams (Bug#8875).
24090 (display-buffer): Don't check noninteractive when calling
24091 display-buffer-pop-up-frame.
24092 (display-buffer-pop-up-frame): Never pop up a frame in
24093 noninteractive mode (Bug#8857).
24094 (enlarge-window, shrink-window): Don't report an error when the
24095 window can't be resized as requested (Bug#8862).
24096
24097 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24098
24099 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24100
24101 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24102
24103 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24104
24105 2011-06-15 Alan Mackenzie <acm@muc.de>
24106
24107 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24108 for declarators, disable knr checking to speed up for normal files.
24109 2: Refactor, replacing a sequence of nested if forms by a cond form.
24110
24111 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24112
24113 * net/network-stream.el (open-network-stream): Add the keyword
24114 :always-query-capabilities for the case where you want to force a
24115 `plain' network connection, but the protocol still requires the
24116 capabilitiy command (i.e., SMTP and EHLO).
24117
24118 * subr.el (process-live-p): Rename from `process-alive-p' for
24119 consistency with other `-live-p' functions.
24120
24121 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24122
24123 * window.el (same-window-buffer-names, same-window-regexps)
24124 (special-display-frame-alist, special-display-popup-frame)
24125 (special-display-function, special-display-buffer-names)
24126 (special-display-regexps, pop-up-frame-alist)
24127 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24128 (pop-up-windows, split-window-preferred-function)
24129 (split-height-threshold, split-width-threshold, even-window-heights)
24130 (display-buffer-mark-dedicated): Don't encourage the use of
24131 display-buffer-alist from Elisp code.
24132
24133 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24134
24135 * progmodes/python.el (python-mode): Derive from prog-mode.
24136 * progmodes/ps-mode.el (ps-mode):
24137 * progmodes/mixal-mode.el (mixal-mode):
24138 * progmodes/cfengine.el (cfengine-mode):
24139 * progmodes/ld-script.el (ld-script-mode): Likewise.
24140
24141 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24142
24143 * window.el (display-buffer-alist): Trim default value to avoid
24144 popping up a new frame (Bug#8857) or reusing an arbitrary window
24145 on another frame.
24146 (display-buffer): Do not fall back on popping up a new frame in
24147 batch mode (Bug#8857).
24148
24149 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24150
24151 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24152 (custom-theme-summary): New function.
24153 (customize-themes): Use it.
24154
24155 2011-06-13 Glenn Morris <rgm@gnu.org>
24156
24157 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24158
24159 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24160
24161 * help.el (help-window): Remove variable.
24162 (help-window-point-marker, temp-buffer-max-height)
24163 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24164 (help-print-return-message): Don't set help-window.
24165 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24166 (help-window-setup-finish): Remove.
24167 (help-window-display-message, help-window-setup)
24168 (with-help-window): Major rewrite based on new
24169 display-buffer-window variable.
24170
24171 * help-mode.el (help-mode-finish): Remove help-window related
24172 code.
24173
24174 * view.el (view-exits-all-viewing-windows): Remove reference to
24175 view-return-to-alist in doc-string.
24176 (view-return-to-alist): Make obsolete.
24177 (view-buffer): Call pop-to-buffer-same-window and remove
24178 undo-window code.
24179 (view-buffer-other-window): Call pop-to-buffer-other-window and
24180 simplify code. Ignore second argument.
24181 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24182 simplify code. Ignore second argument.
24183 (view-return-to-alist-update): Make obsolete.
24184 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24185 Rewrite using quit-restore window parameters.
24186 (view-mode-exit): Rename second argument to EXIT-ONLY.
24187 Rewrite using quit-restore-window.
24188 (View-exit, View-exit-and-edit, View-leave, View-quit)
24189 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24190 appropriate arguments.
24191 (view-end-message): Use quit-restore window parameter.
24192
24193 * window.el (display-buffer-function): Rewrite doc-string.
24194 (display-buffer-window, display-buffer-alist): New variables.
24195 (display-buffer-split-specifiers)
24196 (display-buffer-side-specifiers)
24197 (display-buffer-macro-specifiers): New constants.
24198 (display-buffer-even-window-sizes, display-buffer-set-height)
24199 (display-buffer-set-width, display-buffer-select-window)
24200 (display-buffer-in-window, display-buffer-reuse-window)
24201 (display-buffer-split-window-1, display-buffer-split-window)
24202 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24203 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24204 (display-buffer-in-side-window, normalize-buffer-to-display)
24205 (display-buffer-normalize-specifiers-1)
24206 (display-buffer-normalize-specifiers-2)
24207 (display-buffer-normalize-specifiers, display-buffer-frame):
24208 New functions.
24209 (display-buffer): Major rewrite.
24210 (display-buffer-other-window, display-buffer-other-frame)
24211 (pop-to-buffer, switch-to-buffer-other-window)
24212 (switch-to-buffer-other-frame): Rewrite.
24213 (display-buffer-same-window, display-buffer-same-frame)
24214 (display-buffer-same-frame-other-window)
24215 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24216 (pop-to-buffer-other-window)
24217 (pop-to-buffer-same-frame-other-window)
24218 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24219 (switch-to-buffer-other-window-same-frame): New functions.
24220 (same-window-p, special-display-p): Rewrite disabling warnings.
24221 Make obsolete.
24222 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24223 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24224 Make obsolete
24225 (same-window-buffer-names, same-window-regexps)
24226 (special-display-frame-alist, special-display-popup-frame)
24227 (special-display-function, special-display-buffer-names)
24228 (special-display-regexps, pop-up-frame-alist)
24229 (pop-up-frame-function, split-window-preferred-function)
24230 (split-height-threshold, split-width-threshold)
24231 (even-window-heights): Make obsolete.
24232
24233 2011-06-12 Glenn Morris <rgm@gnu.org>
24234
24235 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24236 Misc simplifications.
24237
24238 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24239
24240 * window.el (window-safely-shrinkable-p): Restore function which
24241 was inadvertently removed in change from 2011-06-11. Declare as
24242 obsolete.
24243
24244 * calendar/calendar.el (calendar-generate-window):
24245 Use window-iso-combined-p instead of combination of one-window-p and
24246 window-safely-shrinkable-p.
24247
24248 2011-06-12 Glenn Morris <rgm@gnu.org>
24249
24250 * progmodes/fortran.el (fortran-mode-syntax-table):
24251 * progmodes/f90.el (f90-mode-syntax-table):
24252 Set % to punctuation. (Bug#8820)
24253 (f90-find-tag-default): Remove, no longer needed.
24254
24255 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24256
24257 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24258
24259 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24260
24261 * image.el (image-animated-p): Return animation delay in seconds.
24262 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24263 (image-animate-timeout): Remove DELAY argument. Don't assume
24264 every subimage has the same delay; get it from image-animated-p.
24265 (image-animate): Caller changed.
24266
24267 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24268
24269 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24270 to ignored backtrace functions.
24271
24272 2011-06-11 Glenn Morris <rgm@gnu.org>
24273
24274 * calendar/appt.el (appt-disp-window-function): Doc fix.
24275 (appt-check): Handle overlapping appointments. (Bug#8337)
24276
24277 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24278
24279 * window.el (window-tree-1, window-tree): New functions, moving
24280 the latter to window.el.
24281 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24282 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24283 (bw-refresh-edges): Remove.
24284 (balance-windows-1, balance-windows-2): New functions.
24285 (balance-windows): Rewrite in terms of window tree functions,
24286 balance-windows-1 and balance-windows-2.
24287 (bw-adjust-window): Remove.
24288 (balance-windows-area-adjust): New function with functionality of
24289 bw-adjust-window but using resize-window.
24290 (set-window-text-height): Rewrite doc-string.
24291 Use normalize-live-window and resize-window.
24292 (enlarge-window-horizontally, shrink-window-horizontally):
24293 Rename argument to DELTA.
24294 (window-buffer-height): New function.
24295 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24296 Rewrite using new window resize routines.
24297 (kill-buffer-and-window, mouse-autoselect-window-select):
24298 Use ignore-errors instead of condition-case.
24299 (quit-window): Call delete-frame instead of delete-windows-on
24300 for the only buffer on frame.
24301
24302 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24303
24304 * loadup.el (top-level): Load window before files for the sake
24305 of replace-buffer-in-windows.
24306
24307 * files.el (read-buffer-to-switch)
24308 (switch-to-buffer-other-window)
24309 (switch-to-buffer-other-frame, display-buffer-other-frame):
24310 Move to window.el.
24311
24312 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24313 (previous-buffer): Move to window.el.
24314
24315 * bindings.el (unbury-buffer): Move to window.el.
24316
24317 * window.el (delete-other-windows-vertically): Move after
24318 definition of delete-other-windows.
24319 (other-window, delete-windows-on, replace-buffer-in-windows):
24320 Move here from window.c.
24321 (record-window-buffer, unrecord-window-buffer)
24322 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24323 (switch-to-next-buffer): New functions.
24324 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24325 from simple.el. Call switch-to-next-buffer.
24326 (previous-buffer): Move here from simple.el.
24327 Call switch-to-prev-buffer.
24328 (bury-buffer): Move here from buffer.c. Switch to previous
24329 buffer when window cannot be deleted.
24330 (unbury-buffer): Move here from bindings.el.
24331 (ctl-x-map): Move binding for other-window from window.c to
24332 here.
24333 (read-buffer-to-switch, switch-to-buffer-other-window)
24334 (switch-to-buffer-other-frame): Move here from files.el.
24335 (normalize-buffer-to-switch-to): New functions.
24336 (switch-to-buffer): Move here from buffer.c.
24337 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24338
24339 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24340
24341 * window.el (window-min-height, window-min-width): Move here
24342 from window.c. Add defcustoms and rewrite doc-strings.
24343 (resize-mini-window, resize-window): New functions.
24344 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24345 Move here from window.c.
24346 (maximize-window, minimize-window): New functions.
24347 (delete-window, delete-other-windows, split-window): Move here
24348 from window.c.
24349 (window-split-min-size): New function.
24350 (split-window-keep-point): Mention split-window-above-each-other
24351 instead of split-window-vertically.
24352 (split-window-above-each-other, split-window-vertically):
24353 Rename split-window-vertically to split-window-above-each-other
24354 and provide defalias for old definition.
24355 (split-window-side-by-side, split-window-horizontally):
24356 Rename split-window-horizontally to split-window-side-by-side
24357 and provide defalias for the old definition.
24358 (ctl-x-map): Move bindings for delete-window,
24359 delete-other-windows and enlarge-window here from window.c.
24360 Replace bindings for split-window-vertically and
24361 split-window-horizontally by bindings for
24362 split-window-above-each-other and split-window-side-by-side.
24363
24364 * cus-start.el (all): Remove entries for window-min-height and
24365 window-min-width. Add entries for window-splits and
24366 window-nest.
24367
24368 2011-06-09 Glenn Morris <rgm@gnu.org>
24369
24370 * calendar/appt.el (appt-mode-line): New function.
24371 (appt-check, appt-disp-window): Use it.
24372
24373 * files.el (hack-one-local-variable-eval-safep):
24374 Allow minor-modes with explicit +/-1 arguments.
24375
24376 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24377
24378 * term/xterm.el (xterm): Add defgroup.
24379 (xterm-extra-capabilities): Add defcustom to supply known xterm
24380 capabilities, skip querying them, or query them (default).
24381 (terminal-init-xterm): Use it.
24382 (terminal-init-xterm-modify-other-keys): New function to set up
24383 modifyOtherKeys support to simplify `terminal-init-xterm'.
24384
24385 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24386
24387 * window.el (resize-window-reset, resize-window-reset-1)
24388 (resize-subwindows-skip-p, resize-subwindows-normal)
24389 (resize-subwindows, resize-other-windows, resize-this-window)
24390 (resize-root-window, resize-root-window-vertically)
24391 (window-deletable-p, window-or-subwindow-p)
24392 (frame-root-window-p): New functions.
24393
24394 2011-06-09 Glenn Morris <rgm@gnu.org>
24395
24396 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24397 (ange-ftp-get-files): Use it.
24398
24399 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24400
24401 * mail/sendmail.el (mail-recover-1, mail-recover):
24402 * files.el (recover-file, recover-session):
24403 Handle dired-listing-switches not being just a single short option.
24404
24405 2011-06-09 Glenn Morris <rgm@gnu.org>
24406
24407 * calendar/appt.el (appt-display-message, appt-disp-window):
24408 Handle lists of appointments.
24409
24410 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24411
24412 * window.el (one-window-p): Move down in code.
24413 Rewrite doc-string.
24414 (window-current-scroll-bars): Rewrite doc-string.
24415 Normalize live window argument.
24416 (walk-windows, get-window-with-predicate, count-windows):
24417 Rewrite doc-string. Use window-list-1.
24418 (window-in-direction-2, window-in-direction, get-mru-window):
24419 New functions.
24420
24421 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24422
24423 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24424 Doc fix (Bug#8713).
24425
24426 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24427
24428 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24429
24430 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24431
24432 * loadhist.el (unload-feature-special-hooks):
24433 Add `comint-output-filter-functions'.
24434
24435 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24436
24437 * calendar/appt.el (appt-check): Move some initializations into the let.
24438
24439 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24440
24441 * window.el (window-height): Defalias to window-total-height.
24442 (window-width): Defalias to window-body-width.
24443
24444 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24445
24446 * image-mode.el (image-toggle-animation): New command.
24447 (image-mode-map): Bind it to RET.
24448 (image-mode): Update message.
24449 (image-toggle-display-image): Avoid a spurious cache flush.
24450 (image-transform-rotation): Doc fix.
24451 (image-transform-properties): Return quickly in the normal case.
24452 (image-animate-loop): Rename from image-animate-max-time.
24453
24454 * image.el (image-animate-max-time): Move to image-mode.el.
24455 (create-animated-image): Remove unnecessary function.
24456 (image-animate): Rename from image-animate-start. New arg.
24457 (image-animate-stop): Remove; just use image-animate-timer.
24458 (image-animate-timer): Use car-safe.
24459 (image-animate-timeout): Rename argument.
24460
24461 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24462
24463 * window.el (get-lru-window, get-largest-window): Move here from
24464 window.c. Rename first argument to ALL-FRAMES.
24465 Rephrase doc-strings.
24466 (get-buffer-window-list): Rewrite using window-list-1.
24467 Rephrase doc-string.
24468 (window-safe-min-height, window-safe-min-width): New constants.
24469 (window-size-ignore, window-min-size, window-min-size-1)
24470 (window-sizable, window-sizable-p, window-size-fixed-1)
24471 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24472 (window-max-delta-1, window-max-delta, window-resizable)
24473 (window-resizable-p, window-total-height, window-total-width)
24474 (window-body-width): New functions.
24475 (window-full-height-p, window-full-width-p): Rewrite using
24476 window-total-size.
24477 (window-body-height): Rewrite using window-body-size.
24478
24479 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24480
24481 * window.el (window-right, window-left, window-child)
24482 (window-child-count, window-last-child, window-any-p)
24483 (normalize-live-buffer, normalize-live-frame)
24484 (normalize-any-window, normalize-live-window)
24485 (window-iso-combination-p, window-iso-combined-p)
24486 (window-iso-combinations)
24487 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24488 (windows-with-parameter, window-with-parameter)
24489 (window-atom-root, make-window-atom, window-atom-check-1)
24490 (window-atom-check, window-side-check, window-check):
24491 New functions.
24492 (ignore-window-parameters, window-sides, window-sides-vertical)
24493 (window-sides-slots): New variables.
24494 (window-size-fixed): Move down in code. Minor doc-string fix.
24495
24496 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24497
24498 * comint.el (comint-dynamic-complete-as-filename)
24499 (comint-dynamic-complete-filename): Correctly call
24500 completion-in-region.
24501
24502 2011-06-05 Deniz Dogan <deniz@dogan.se>
24503
24504 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24505 in last change.
24506
24507 2011-06-05 Deniz Dogan <deniz@dogan.se>
24508
24509 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24510 (rcirc): Use it to prompt for encryption.
24511
24512 2011-06-05 Roland Winkler <winkler@gnu.org>
24513
24514 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24515 (bibtex-search-entries): New command bound to C-c C-a.
24516 (bibtex-display-entries): New function.
24517
24518 2011-06-05 Roland Winkler <winkler@gnu.org>
24519
24520 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24521 (bibtex-insert-kill): After yanking insert newline if necessary.
24522 (bibtex-initialize): Call bibtex-string-files-init only once.
24523 (bibtex-mode): Do not call easy-menu-add.
24524 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24525 (bibtex-yank): Set arg properly if nil.
24526
24527 2011-06-05 Roland Winkler <winkler@gnu.org>
24528
24529 * textmodes/bibtex.el (bibtex-search-entry-globally):
24530 New variable.
24531 (bibtex-search-entry): Use it.
24532
24533 2011-06-05 Roland Winkler <winkler@gnu.org>
24534
24535 * textmodes/bibtex.el (bibtex-entry-format): New option
24536 sort-fields.
24537 (bibtex-format-entry, bibtex-reformat): Honor this option.
24538 (bibtex-parse-entry): Return fields in proper order.
24539
24540 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24541
24542 * doc-view.el (doc-view-remove-if): Move computation of result out
24543 of `dolist' to silence misleading lexical-binding warning.
24544
24545 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24546
24547 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24548 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24549
24550 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24551
24552 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24553 "SunOS 5.10".
24554
24555 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24556
24557 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24558 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24559 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24560 (tramp-parse-putty):
24561 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24562 (tramp-completion-function-alist-ssh)
24563 (tramp-completion-function-alist-telnet)
24564 (tramp-completion-function-alist-su)
24565 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24566 cookie.
24567
24568 * net/tramp-ftp.el:
24569 * net/tramp-sh.el:
24570 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24571 load "tramp.el" `tramp-set-completion-function'.
24572
24573 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24574
24575 * shell.el: Require and use pcomplete.
24576 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24577 (shell-completion-vars): Set pcomplete-default-completion-function.
24578
24579 2011-06-04 Deniz Dogan <deniz@dogan.se>
24580
24581 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24582 `memq' (Bug#8799).
24583
24584 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24585
24586 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24587
24588 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24589
24590 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24591 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24592 * vc/log-view.el (log-view-beginning-of-defun):
24593 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24594 (smerge-refine-forward, smerge-refine-chopup-region):
24595 Silence warning for unused `dotimes' counter variables.
24596
24597 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24598
24599 * net/tramp.el (tramp-with-progress-reporter): Rename from
24600 with-progress-reporter. Use `declare'.
24601 * net/tramp-smb.el:
24602 * net/tramp-sh.el:
24603 * net/tramp-gvfs.el: Update all uses.
24604
24605 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24606
24607 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24608 buffer isn't killed before making it current.
24609
24610 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24611
24612 Silence various byte-compiler warnings.
24613 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24614 `access-type' and new obsolescence format.
24615 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24616 new format.
24617 (byte-compile-check-variable): New `access-type' argument.
24618 Only warn if the access-type is obsolete.
24619 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24620 (byte-compile-variable-set): Adjust callers.
24621 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24622 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24623 setting it as obsolete.
24624 * simple.el (minibuffer-completing-symbol):
24625 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24626 access as obsolete.
24627 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24628 obsolete yet.
24629 * international/quail.el (quail-mouse-choose-completion): Remove unused
24630 code referring to obsolete var.
24631 (quail-choose-completion-string): Remove.
24632 * server.el (server-clients-with, server-kill-buffer-query-function)
24633 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24634 * proced.el (proced-send-signal):
24635 * emacs-lisp/lisp.el (lisp-complete-symbol):
24636 Replace completion-annotate-function with completion-extra-properties.
24637
24638 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24639
24640 * simple.el (goto-line): Use read-number.
24641 (overriding-map-is-bound): Remove.
24642 (saved-overriding-map): Change default.
24643 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24644 Take the map as argument.
24645 (universal-argument, negative-argument, digit-argument): Use it.
24646 (restore-overriding-map): Adjust.
24647 (do-auto-fill): Use fill-forward-paragraph.
24648 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24649
24650 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24651 (minibuffer-inactive-mode): New major mode.
24652 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24653 the *Messages* buffer" hack.
24654 (mouse-popup-menubar): Don't burp if the event is a normal key.
24655
24656 Miscellaneous tweaks.
24657 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24658 lexical scoping as in subr.el's dolist and dotimes.
24659 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24660 Silence compiler warning.
24661 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24662 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24663 * international/ccl.el (ccl-compile): Trivial simplification.
24664 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24665 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24666 `printflag' argument.
24667 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24668 Purecopy the whole obsolescence data.
24669
24670 2011-06-01 Leo Liu <sdl.web@gmail.com>
24671
24672 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24673 improve doc-string as suggested by Marco Pessotto
24674 <melmothx@gmail.com>.
24675 (rcirc-print): Fix last change.
24676
24677 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24678
24679 * minibuffer.el (complete-with-action): Return nil for the metadata and
24680 boundaries of non-functional tables.
24681 (completion-table-dynamic): Return nil for the metadata.
24682 (completion-table-with-terminator): Add default case, using
24683 complete-with-action.
24684 (completion--metadata): New function.
24685 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24686 to try and avoid pathological performance problems.
24687 (completion--embedded-envvar-table): Return `category' metadata.
24688
24689 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24690
24691 * subr.el (process-alive-p): New tiny convenience function.
24692
24693 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24694
24695 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24696 content but also its previous major mode.
24697
24698 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24699
24700 * emacs-lisp/debug.el (debug): Restore the previous content of the
24701 *Backtrace* buffer when we exit with C-M-c.
24702
24703 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24704
24705 * minibuffer.el: Add metadata method to completion tables.
24706 (completion-category-overrides): New defcustom.
24707 (completion-metadata, completion--field-metadata)
24708 (completion-metadata-get, completion--styles)
24709 (completion--cycle-threshold): New functions.
24710 (completion-try-completion, completion-all-completions):
24711 Add `metadata' argument to choose completion-styles.
24712 (completion--do-completion): Use metadata to choose cycling.
24713 (completion-all-sorted-completions): Use metadata for sorting.
24714 Remove :completion-cycle-penalty which is not needed any more.
24715 (completion--try-word-completion): Add `metadata' argument.
24716 (minibuffer-completion-help): Check metadata for annotation function
24717 and sorting.
24718 (completion-file-name-table): Return `category' metadata.
24719 (minibuffer-completing-file-name): Make obsolete.
24720 * simple.el (minibuffer-completing-symbol): Make obsolete.
24721 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24722 completion-try-completion.
24723
24724 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24725
24726 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24727
24728 2011-05-30 Leo Liu <sdl.web@gmail.com>
24729
24730 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24731 (rcirc-print): Decode all incoming messages (bug#8744).
24732 (rcirc-decode-coding-system): Allow value nil for automatic coding
24733 system detection.
24734
24735 2011-06-01 Glenn Morris <rgm@gnu.org>
24736
24737 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24738
24739 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24740
24741 * image.el (image-animate-max-time): Allow nil and t values.
24742 Default to nil.
24743 (create-animated-image): Doc fix.
24744 (image-animate-start): Remove second arg; just use
24745 image-animate-max-time.
24746 (image-animate-timeout): Doc fix. Args changed.
24747
24748 * image-mode.el (image-toggle-display-image): Ensure that the
24749 image spec passed to the animate timer is the same object as in
24750 the buffer's display property (Bug#6981).
24751 (image-transform-properties): Doc fix.
24752
24753 * image.el (image-animate-max-time): Default to nil.
24754
24755 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24756
24757 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24758 entire buffer list (Bug#8184).
24759
24760 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24761
24762 * image.el (imagemagick-types-inhibit)
24763 (imagemagick-register-types): Doc fix.
24764
24765 2011-05-29 Deniz Dogan <deniz@dogan.se>
24766
24767 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24768 default.
24769
24770 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24771
24772 * select.el: Don't perform clipboard-manager saving in hooks;
24773 leave the hooks empty.
24774
24775 2011-05-28 Leo Liu <sdl.web@gmail.com>
24776
24777 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24778 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24779 (occur-edit-mode): New major mode (Bug#8463).
24780 (occur-after-change-function): New function.
24781 (occur-engine): Give Occur tags a read-only property.
24782
24783 2011-05-28 Kevin Ryde <user42@zip.com.au>
24784
24785 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24786
24787 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24788
24789 * bindings.el (help-echo): Make the initial non-indicator dash
24790 empty on graphical terminals (Bug#7295).
24791
24792 * files.el (auto-mode-alist): Move config rule after the
24793 in-stripping one (Bug#8547).
24794
24795 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24796
24797 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24798 setting (Bug#8740).
24799
24800 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24801
24802 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24803 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24804 (Bug#8539).
24805
24806 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24807
24808 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24809
24810 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24811
24812 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24813 (hs-hide-block-at-point, hs-find-block-beginning)
24814 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24815 (Bug#8279).
24816
24817 2011-05-28 Glenn Morris <rgm@gnu.org>
24818
24819 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24820
24821 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24822
24823 * help-fns.el (describe-function-1): If the function is a derived
24824 major mode, print the parent mode.
24825
24826 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24827 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24828
24829 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24830
24831 * minibuffer.el (completion--capf-wrapper): Check applicability before
24832 returning non-nil for non-exclusive completion data.
24833 * progmodes/etags.el (tags-completion-at-point-function):
24834 * info-look.el (info-lookup-completions-at-point): Mark as
24835 non-exclusive.
24836 (info-complete): Adjust accordingly.
24837
24838 * info-look.el: Convert to lexical-binding and completion-at-point.
24839 (info-lookup-completions-at-point): New function.
24840 (info-complete): Use it and completion-in-region.
24841
24842 2011-05-28 Drew Adams <drew.adams@oracle.com>
24843
24844 * isearch.el: Let M-e start with point at the first mismatched char.
24845 (isearch-fail-pos): New function.
24846 (isearch-edit-string): Use it.
24847
24848 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24849
24850 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24851
24852 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24853
24854 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24855 traversal functions for avl-trees.
24856 (avl-tree--stack): New struct.
24857 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24858 (avl-tree-enter): Add optional `updatefun' arg.
24859 (avl-tree--do-enter): Add optional `updatefun' arg.
24860 Change return value.
24861 (avl-tree-delete): Add optional `test' and `nilflag' args.
24862 (avl-tree--do-delete): Add `test' and `nilflag' args.
24863 Change return value.
24864 (avl-tree-member): Add optional `nilflag'
24865 (avl-tree-member-p): New function.
24866 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24867 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24868 (avl-tree-stack-empty-p): New functions.
24869
24870 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24871 avl-tree--del-balance1 and make it work both ways.
24872 (avl-tree--del-balance2): Remove.
24873 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24874 make it work both ways.
24875 (avl-tree--enter-balance2): Remove.
24876 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24877 New macros.
24878 (avl-tree--mapc, avl-tree-map): Add direction argument.
24879
24880 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24881
24882 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24883
24884 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24885
24886 * select.el: Support clipboard managers with built-in function
24887 x-clipboard-manager-save, via delete-frame-functions and
24888 kill-emacs-hook.
24889 (xselect-convert-to-targets): Add MULTIPLE target to list.
24890 (xselect-convert-to-save-targets): New function.
24891
24892 2011-05-27 Kenichi Handa <handa@m17n.org>
24893
24894 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24895 let-binding rfc2047-encode-encoded-words to nil.
24896
24897 2011-05-27 Glenn Morris <rgm@gnu.org>
24898
24899 * mail/emacsbug.el: Don't require url-util.
24900
24901 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24902
24903 * files.el (set-auto-mode):
24904 Also respect mode: entries at the end of the file. (Bug#8586)
24905
24906 2011-05-26 Glenn Morris <rgm@gnu.org>
24907
24908 * files.el (hack-local-variables-prop-line, hack-local-variables):
24909 Downcase mode names, as seems to be traditional.
24910 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24911
24912 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24913 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24914
24915 2011-05-25 Julien Danjou <julien@danjou.info>
24916
24917 * textmodes/rst.el (rst-define-level-faces): Do not define face
24918 symbol if it is already defined.
24919
24920 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24921
24922 * play/5x5.el (5x5-new-game, 5x5-randomize):
24923 Reset 5x5-solver-output to nil when a new grid is cast.
24924 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24925 these debugging traces, as defmacro breaks the compiled code.
24926
24927 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24928
24929 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24930
24931 2011-05-24 Leo Liu <sdl.web@gmail.com>
24932
24933 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24934 (vc-bzr-sha1): Adapt.
24935
24936 * sha1.el: Remove. Function `sha1' is now builtin.
24937
24938 * bindings.el: Provide sha1 feature.
24939
24940 2011-05-24 Kenichi Handa <handa@m17n.org>
24941
24942 * mail/sendmail.el: Require `rfc2047'.
24943 (mail-insert-from-field): Do not perform RFC2047 encoding.
24944 (mail-encode-header): New function.
24945 (sendmail-send-it): Set buffer-file-coding-system of the work
24946 buffer to the return value of select-message-coding-system.
24947 Call mail-encode-header.
24948
24949 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24950
24951 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24952
24953 * mail/supercite.el (sc-default-cite-frame):
24954 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24955
24956 2011-05-24 Glenn Morris <rgm@gnu.org>
24957
24958 * progmodes/python.el (brm-menu): Declare.
24959
24960 * emulation/viper.el (viper-set-hooks): Declare.
24961
24962 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24963 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24964 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24965 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24966 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24967 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24968
24969 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24970
24971 Add an :exit-function for completion-at-point.
24972
24973 * minibuffer.el (completion--done): New fun.
24974 (completion--do-completion): Use it. New arg `expect-exact'.
24975 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24976 since completion--do-completion does it for us now.
24977 (minibuffer-force-complete): Use completion--done and
24978 completion--replace. Handle sole-completion case with more care.
24979 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24980 (completion-extra-properties): New var.
24981 (completion-annotate-function): Make obsolete.
24982 (minibuffer-completion-help): Adjust accordingly.
24983 Use completion-list-insert-choice-function.
24984 (completion-at-point, completion-help-at-point):
24985 Bind completion-extra-properties.
24986 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24987 * simple.el (completion-list-insert-choice-function): New var.
24988 (completion-setup-function): Preserve it.
24989 (choose-completion): Pay attention to it, shuffle the code a bit.
24990 (choose-completion-string): New arg `insert-function'.
24991
24992 * textmodes/bibtex.el: Convert to lexical binding.
24993 (bibtex-mode-map): Use completion-at-point.
24994 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24995 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24996 (bibtex-complete): Define as obsolete alias.
24997 (bibtex-complete-internal): Remove.
24998 (bibtex-format-entry): Remove unused sub-group in regexp.
24999 * shell.el (shell--command-completion-data)
25000 (shell-environment-variable-completion):
25001 * pcomplete.el (pcomplete-completions-at-point):
25002 * comint.el (comint--complete-file-name-data): Use :exit-function
25003 instead of completion-table-with-terminator so it also works for
25004 choose-completion.
25005
25006 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25007
25008 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25009
25010 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25011 (bug#8710).
25012
25013 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25014
25015 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25016
25017 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25018 customization variable and implement: If non-nil, auto-fill will
25019 be inhibited while on topic's header line.
25020
25021 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
25022
25023 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25024 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25025 always have a solution in grid size = 5 cases.
25026 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25027 (5x5-solver-output, 5x5-log-buffer): New vars.
25028 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25029 Make these variables buffer local to achieve 5x5 multi-session-ness.
25030 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25031 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25032 (5x5-solve-suggest): New funs.
25033 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25034 randomize a grid so that we ensure that there is always a solution.
25035 (5x5-make-random-grid): Allow other movement than flipping.
25036
25037 2011-05-23 Kevin Ryde <user42@zip.com.au>
25038
25039 * emacs-lisp/advice.el (ad-read-advised-function):
25040 Use `function-called-at-point' as the default, if it has
25041 advice and passes PREDICATE.
25042
25043 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25044
25045 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25046 byte-compile-lambda if it's actually a lambda.
25047
25048 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25049 Fix function quoting. Use backquote better.
25050
25051 2011-05-22 Yuanle Song <sylecn@gmail.com>
25052
25053 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25054 matching (Bug#8516).
25055
25056 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25057
25058 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25059 different face (Bug#8178).
25060
25061 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25062
25063 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25064 defface (Bug#8144).
25065
25066 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25067
25068 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25069 funcall as well (bug#8712). Warn when performing those conversions.
25070 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25071
25072 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25073
25074 2011-05-22 Glenn Morris <rgm@gnu.org>
25075
25076 * files.el (hack-local-variables-prop-line): Small simplifications.
25077 (hack-local-variables, hack-local-variables-prop-line):
25078 If MODE-ONLY, return the mode, rather than just `t'.
25079
25080 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25081
25082 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25083
25084 2011-05-21 Glenn Morris <rgm@gnu.org>
25085
25086 * files.el (hack-local-variables-prop-line, hack-local-variables):
25087 If only interested in the mode, don't bother doing the other stuff.
25088
25089 * image-mode.el (image-after-revert-hook):
25090 Redraw all frames on which the image is visible. (Bug#8567)
25091
25092 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25093
25094 * wid-edit.el (widget-checklist-match-inline):
25095 Fix 2011-04-19 change. (Bug#8649)
25096
25097 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25098
25099 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25100 Also allow singlespace after single-letter capitals followed by a dot.
25101
25102 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25103 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25104
25105 2011-05-20 Nix <nix@esperi.org.uk>
25106
25107 * files.el (basic-save-buffer-2):
25108 Fix handling of break-hardlink-on-save with non-existent files.
25109
25110 2011-05-19 Deniz Dogan <deniz@dogan.se>
25111
25112 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25113 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25114
25115 2011-05-19 Glenn Morris <rgm@gnu.org>
25116
25117 * progmodes/f90.el (f90-type-def-re):
25118 Handle "type, bind(c)". (Bug#8691)
25119
25120 * emacs-lisp/autoload.el (batch-update-autoloads):
25121 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25122
25123 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25124
25125 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25126 property for the correct connection in case of multihops.
25127
25128 2011-05-18 Glenn Morris <rgm@gnu.org>
25129
25130 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25131 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25132
25133 Rationalize calendar handling of day and month abbrev-arrays.
25134 * calendar/calendar.el (calendar-customized-p): New function.
25135 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25136 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25137 Add :set function.
25138 (calendar-abbrev-length, calendar-day-abbrev-array)
25139 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25140 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25141 Elements may no longer be nil.
25142 (calendar-day-name, calendar-month-name):
25143 Update for changed nature of abbrev arrays.
25144 * calendar/diary-lib.el (diary-name-pattern):
25145 Update for changed nature of abbrev arrays.
25146 (diary-mark-entries-1): Update calendar-make-alist calls.
25147 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25148 * calendar/cal-html.el (cal-html-day-abbrev-array):
25149 Simply inherit from calendar-day-abbrev-array.
25150
25151 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25152
25153 * progmodes/grep.el (grep-mode): Disable default
25154 compilation-directory-matcher setting (bug#8684).
25155
25156 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25157
25158 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25159 instead of "head" and "tail". There were problems with SunOS 5.9,
25160 and it performs better.
25161
25162 2011-05-17 Glenn Morris <rgm@gnu.org>
25163
25164 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25165
25166 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25167 Replace obsolete function.
25168
25169 * shell.el (pcomplete-parse-arguments-function): Declare.
25170
25171 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25172 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25173 (appt-check): Doc fixes.
25174 (appt-disp-window-function, appt-delete-window-function):
25175 Remove needless special case in custom :type.
25176 (appt-display-count): Default to 0, not nil.
25177 (appt-check): Reset appt-display-count to 0, not nil.
25178
25179 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25180
25181 * progmodes/python.el (python-font-lock-keywords):
25182 Add the Python 3.X keyword "nonlocal" (bug#8639).
25183
25184 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25185
25186 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25187
25188 2011-05-16 Kevin Ryde <user42@zip.com.au>
25189
25190 * info-look.el (makefile-automake-mode): New setups, looking in
25191 automake manual, then makefile-mode.
25192 (makefile-mode): Remove automake manual, have it just in
25193 makefile-automake-mode since there's various things different or
25194 not relevant to plain make.
25195 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25196 believe a hypothetical automake-mode would go to makefile-mode,
25197 not the other way around.
25198
25199 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25200
25201 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25202 hunk-end tags (Bug#8672).
25203
25204 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25205 vc-annotate-show-diff-revision-at-line (Bug#8671).
25206
25207 2011-05-14 Glenn Morris <rgm@gnu.org>
25208
25209 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25210 in the middle of an existing one with multiple authors. (Bug#8645)
25211 (change-log-font-lock-keywords): Also handle multiple author lines
25212 with leading tabs. (Bug#8644)
25213
25214 * calendar/appt.el (appt-check): Rename some local variables.
25215 Some simplification/reordering.
25216
25217 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25218 (feedmail-sendmail-f-doesnt-sell-me-out)
25219 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25220 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25221 (feedmail-queue-runner-message-sender): Set :version.
25222 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25223 (bbdb-dwim-net-address, vm-mail): Declare.
25224 (feedmail-binmail-gnulinuxish-template):
25225 Rename from feedmail-binmail-linuxish-template.
25226 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25227 Use insert-buffer-substring.
25228
25229 2011-05-14 Bill Carpenter <bill@carpenter.org>
25230
25231 * mail/feedmail.el (feedmail-patch-level): Increase.
25232 (feedmail-debug): New custom group.
25233 (feedmail-confirm-outgoing-timeout)
25234 (feedmail-sendmail-f-doesnt-sell-me-out)
25235 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25236 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25237 (feedmail-sender-line, feedmail-from-line)
25238 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25239 (feedmail-spray-this-address)
25240 (feedmail-spray-address-fiddle-plex-list)
25241 (feedmail-queue-use-send-time-for-date)
25242 (feedmail-queue-use-send-time-for-message-id)
25243 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25244 (feedmail-buffer-eating-function):
25245 Doc fixes.
25246 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25247 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25248 (feedmail-message-action-scroll-down): New functions.
25249 (feedmail-queue-directory, feedmail-queue-draft-directory):
25250 Use expand-file-name.
25251 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25252 Remove C-v help entry.
25253 (feedmail-queue-buffer-file-name): New variable.
25254 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25255 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25256 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25257 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25258 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25259 (feedmail-message-action-toggle-spray)
25260 (feedmail-run-the-queue-no-prompts)
25261 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25262 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25263 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25264 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25265 (feedmail-envelope-deducer, feedmail-fiddle-from)
25266 (feedmail-fiddle-sender, feedmail-default-date-generator)
25267 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25268 (feedmail-fiddle-spray-address)
25269 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25270 (feedmail-fiddle-list-of-fiddle-plexes)
25271 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25272 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25273 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25274 Change default. Doc fix.
25275 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25276 (feedmail-binmail-linuxish-template): New constant.
25277 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25278 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25279 (feedmail-send-it): Add debug call.
25280 Use feedmail-queue-buffer-file-name, and
25281 feedmail-send-it-immediately-wrapper.
25282 (feedmail-message-action-send): Add debug call.
25283 Use feedmail-send-it-immediately-wrapper.
25284 (feedmail-queue-express-to-queue): Add debug call.
25285 Run feedmail-queue-express-hook.
25286 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25287 (feedmail-message-action-help-blat):
25288 Rename from feedmail-queue-send-edit-prompt-help-first.
25289 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25290 Check line-endings. Handle errors better.
25291 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25292 Doc fix. Add debug call.
25293 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25294 Use feedmail-queue-send-edit-prompt-inner.
25295 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25296 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25297 from feedmail-queue-send-edit-prompt.
25298 (feedmail-queue-send-edit-prompt-help)
25299 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25300 (feedmail-tidy-up-slug): Add debug call.
25301 Respect feedmail-queue-slug-suspect-regexp.
25302 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25303 (feedmail-dump-message-to-queue): Add debug call.
25304 Expand queue-directory.
25305 (feedmail-dump-message-to-queue): Change message slightly.
25306 Use feedmail-say-chatter.
25307 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25308 (feedmail-send-it-immediately-wrapper): New function.
25309 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25310 Insert empty string rather than newline. Handle full-frame case.
25311 Use catch/throw. Use feedmail-say-chatter.
25312 (feedmail-fiddle-from): Try mail-host-address.
25313 (feedmail-default-message-id-generator): Doc fix.
25314 Bind system-time-locale. Handle missing end.
25315 (feedmail-fiddle-x-mailer): Add debug call.
25316 Handle feedmail-x-mailer-line being nil.
25317 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25318 Add debug call. Use buffer-substring-no-properties.
25319 (feedmail-say-debug, feedmail-say-chatter): New functions.
25320 (feedmail-find-eoh): Give an explicit error.
25321
25322 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25323
25324 * net/newst-treeview.el (newsticker-treeview-face): Change default
25325 family from helvetica to sans.
25326 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25327 etc/images/newsticker.
25328
25329 * net/newst-reader.el (newsticker-feed-face): Change default
25330 family from helvetica to sans.
25331
25332 * net/newst-plainview.el (newsticker-new-item-face)
25333 (newsticker-old-item-face, newsticker-immortal-item-face)
25334 (newsticker-obsolete-item-face, newsticker-date-face)
25335 (newsticker-statistics-face): Change default family from
25336 helvetica to sans.
25337 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25338 etc/images/newsticker.
25339
25340 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25341 (newsticker--process-auto-mark-filter-match): Tell user about
25342 auto-marking.
25343
25344 2011-05-13 Didier Verna <didier@xemacs.org>
25345
25346 Common Lisp indentation improvements on defmethod and lambda-lists.
25347 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25348 TODO entries.
25349 (lisp-lambda-list-keyword-parameter-indentation)
25350 (lisp-lambda-list-keyword-parameter-alignment)
25351 (lisp-lambda-list-keyword-alignment): New customizable user options.
25352 (lisp-indent-defun-method): Improve docstring.
25353 (extended-loop-p): Fix comment.
25354 (lisp-indent-lambda-list-keywords-regexp): New variable.
25355 (lisp-indent-lambda-list): New function.
25356 (lisp-indent-259): Use it.
25357 (lisp-indent-defmethod): Support for more than one
25358 method qualifier and properly indent methods lambda-lists.
25359 (defgeneric): Provide a missing common-lisp-indent-function property.
25360
25361 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25362
25363 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25364 bounds for the empty string (bug#8667).
25365
25366 2011-05-13 Glenn Morris <rgm@gnu.org>
25367
25368 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25369
25370 * mail/sendmail.el (sendmail-program): Try executable-find first.
25371 (sendmail-send-it): `sendmail-program' cannot be unbound.
25372
25373 * calendar/appt.el (appt-make-list): Simplify.
25374 (appt-time-msg-list): Doc fix.
25375 (appt-check): Change mode-line message at the time of the appointment.
25376
25377 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25378
25379 * progmodes/ld-script.el (ld-script-keywords)
25380 (ld-script-builtins): Update keywords list.
25381
25382 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25383
25384 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25385
25386 * shell.el (shell-completion-vars): New function.
25387 (shell-mode):
25388 * simple.el (read-shell-command): Use it.
25389 (blink-matching-open): No need for " [...]" in minibuffer-message.
25390
25391 2011-05-12 Glenn Morris <rgm@gnu.org>
25392
25393 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25394 (appt-check): Simplify.
25395
25396 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25397
25398 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25399 literal "/dev/null".
25400
25401 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25402
25403 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25404 Fix typo.
25405
25406 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25407
25408 * progmodes/which-func.el (which-function):
25409 Use add-log-current-defun instead of add-log-current-defun-function,
25410 which might not be defined (Bug#8260).
25411
25412 2011-05-12 Glenn Morris <rgm@gnu.org>
25413
25414 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25415 Let byte-compile-initial-macro-environment always take precedence.
25416
25417 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25418
25419 * net/rcirc.el: Add support for SSL/TLS connections.
25420 (rcirc-server-alist): New field `encryption'.
25421 (rcirc): Check `encryption' settings.
25422 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25423 Merge make-local-variable into `set'.
25424 (rcirc--connection-open-p): New function.
25425 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25426 the process is not a network process (e.g. running gnutls-cli).
25427 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25428 Make rcirc-(en|de)code-coding-system local here.
25429 (rcirc-mode): Merge make-local-variable into `set'.
25430 (rcirc-parent-buffer): Make permanent buffer-local.
25431 (rcirc-multiline-minor-mode): Don't do it here.
25432 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25433 there's no server buffer.
25434
25435 2011-05-11 Glenn Morris <rgm@gnu.org>
25436
25437 * newcomment.el (comment-kill): Prefix "unused" local.
25438
25439 * term/w32console.el (get-screen-color): Declare.
25440
25441 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25442 Handle symbol elements of byte-compile-initial-macro-environment.
25443
25444 2011-05-10 Leo Liu <sdl.web@gmail.com>
25445
25446 * bookmark.el (bookmark-bmenu-mode-map):
25447 Bind bookmark-bmenu-search to `/'.
25448
25449 * mail/footnote.el: Convert to utf-8 encoding.
25450 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25451 (Footnote-unicode): New function.
25452 (footnote-style-alist): Add unicode style to the list.
25453 (footnote-style): Doc fix.
25454
25455 2011-05-10 Jim Meyering <meyering@redhat.com>
25456
25457 Fix doubled-word typos.
25458 * international/quail.el (quail-insert-kbd-layout): and and -> and
25459 * kermit.el: and and -> and
25460 * net/ldap.el (ldap-search-internal): to to -> to
25461 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25462 * progmodes/js.el (js-mode): and and -> and
25463 * textmodes/artist.el (artist-move-to-xy): at at -> at
25464 (artist-draw-region-trim-line-endings): if if -> if
25465 And Safetyc -> Safety.
25466 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25467
25468 2011-05-10 Glenn Morris <rgm@gnu.org>
25469 Stefan Monnier <monnier@iro.umontreal.ca>
25470
25471 * files.el (hack-one-local-variable-eval-safep):
25472 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25473
25474 2011-05-10 Glenn Morris <rgm@gnu.org>
25475
25476 * calendar/diary-lib.el (diary-list-entries-hook)
25477 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25478 (diary-nongregorian-marking-hook, diary-list-entries)
25479 (diary-include-other-diary-files, diary-mark-entries)
25480 (diary-mark-included-diary-files): Doc fixes.
25481
25482 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25483
25484 * misc.el: Require tabulated-list.el during compilation.
25485
25486 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25487
25488 * progmodes/compile.el (compilation-start):
25489 Run compilation-filter-hook for the async case too.
25490 (compilation-filter-hook): Doc fix.
25491
25492 2011-05-09 Deniz Dogan <deniz@dogan.se>
25493
25494 * wdired.el: Remove outdated installation comment. Fix usage
25495 comment.
25496
25497 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25498
25499 * misc.el: Implement new command `list-dynamic-libraries'.
25500 (list-dynamic-libraries--loaded-only-p): New variable.
25501 (list-dynamic-libraries--refresh): New function.
25502 (list-dynamic-libraries): New command.
25503
25504 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25505
25506 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25507 Fix the ant regexp to handle end-line and end-column info from jikes.
25508 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25509 higher priority to avoid clobbering by gnu.
25510
25511 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25512
25513 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25514 if the face has existing theme settings (Bug#8454).
25515
25516 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25517
25518 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25519 Only match variables declared via `my' or `our' (Bug#8261).
25520
25521 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25522 special file names `.' and `..' (Bug#8259).
25523
25524 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25525
25526 * progmodes/grep.el (grep-mode-font-lock-keywords):
25527 Remove buffer-changing entries.
25528 (grep-filter): New function.
25529 (grep-mode): Add it to compilation-filter-hook.
25530
25531 * progmodes/compile.el (compilation-filter-hook)
25532 (compilation-filter-start): New defvars.
25533 (compilation-filter): Call compilation-filter-hook prior to
25534 updating the process mark.
25535
25536 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25537
25538 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25539
25540 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25541
25542 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25543 mailclient-send-it even if window-system is nil. (Bug#8595)
25544
25545 * term/w32console.el (terminal-init-w32console):
25546 Call get-screen-color and use its output to set the frame
25547 background-mode. (Bug#8597)
25548
25549 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25550
25551 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25552 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25553 New functions.
25554 (defgeneric, eieio--defmethod): Use them.
25555 (eieio-defgeneric): Remove.
25556 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25557
25558 2011-05-07 Glenn Morris <rgm@gnu.org>
25559
25560 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25561 Use let rather than let*.
25562 (timeclock-find-discrep): Remove unused local.
25563
25564 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25565
25566 * calendar/appt.el (appt-time-msg-list): Doc fix.
25567
25568 2011-05-06 Noah Friedman <friedman@splode.com>
25569
25570 * apropos.el (apropos-print-doc): Only use
25571 emacs-lisp-docstring-fill-column when it is bound to an integer,
25572 per that variable's documentation.
25573
25574 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25575
25576 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25577 and warnings are not silently discarded (e.g. use -d instead of -P).
25578
25579 2011-05-06 Glenn Morris <rgm@gnu.org>
25580
25581 * calendar/appt.el (appt-message-warning-time): Doc fix.
25582 (appt-warning-time-regexp): New option.
25583 (appt-make-list): Respect appt-message-warning-time.
25584
25585 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25586 New options.
25587 (diary-add-to-list): Strip comments from the displayed string.
25588 (diary-mode): Set comment-start and comment-end.
25589
25590 * vc/diff-mode.el (smerge-refine-subst): Declare.
25591 (diff-refine-hunk): Don't require smerge-mode when compiling.
25592
25593 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25594
25595 * simple.el (list-processes): Return nil as the docstring says.
25596
25597 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25598
25599 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25600 to "".
25601 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25602 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25603 determining of binary transfer. (Bug#7383)
25604
25605 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25606
25607 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25608 Fix port computation bug. (Bug#8618)
25609
25610 2011-05-05 Glenn Morris <rgm@gnu.org>
25611
25612 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25613
25614 * simple.el (shell-dynamic-complete-functions)
25615 (comint-dynamic-complete-functions): Declare.
25616
25617 * net/network-stream.el (gnutls-negotiate):
25618 * simple.el (tabulated-list-print): Fix declarations.
25619
25620 * progmodes/gud.el (syntax-symbol, syntax-point):
25621 Remove unnecessary and incorrect declarations.
25622
25623 * emacs-lisp/check-declare.el (check-declare-scan):
25624 Handle byte-compile-initial-macro-environment in bytecomp.el.
25625
25626 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25627
25628 Fix earlier half-done eieio-defmethod change (bug#8338).
25629 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25630 Streamline and change calling convention.
25631 (defmethod): Adjust accordingly and simplify.
25632 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25633 new eieio--defmethod.
25634 (slot-boundp): Minor CSE simplification.
25635
25636 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25637
25638 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25639 (glasses-make-readable): Use glasses-separate-capital-groups.
25640
25641 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25642
25643 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25644 (warning-series): Doc fix.
25645 (display-warning): Don't try to create the buffer if we just found it.
25646
25647 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25648
25649 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25650 (autoload-find-generated-file): New function.
25651 (generate-file-autoloads): Bind generated-autoload-file to
25652 buffer-file-name.
25653 (update-file-autoloads, update-directory-autoloads):
25654 Use autoload-find-generated-file. If called interactively, prompt for
25655 output file (Bug#7989).
25656 (batch-update-autoloads): Doc fix.
25657
25658 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25659
25660 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25661
25662 2011-05-04 Glenn Morris <rgm@gnu.org>
25663
25664 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25665 function, so it follows changes in calendar-date-style.
25666 (diary-fancy-date-matcher): New function.
25667 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25668 (diary-fancy-font-lock-fontify-region-function):
25669 Use diary-fancy-date-pattern as a function.
25670
25671 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25672 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25673
25674 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25675
25676 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25677 instead of positional arguments. Allow :keylist and :crlfiles
25678 arguments.
25679 (open-gnutls-stream): Call it.
25680
25681 * net/network-stream.el (network-stream-open-starttls): Adjust to
25682 call `gnutls-negotiate' with :process and :hostname arguments.
25683
25684 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25685
25686 * minibuffer.el (completion--message): New function.
25687 (completion--do-completion, minibuffer-complete)
25688 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25689 (completion--do-completion): Don't ignore completion-auto-help when in
25690 icomplete-mode.
25691
25692 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25693 internal encoding (e.g. tibetan zero is not whitespace).
25694 (global-whitespace-mode): Prefer save-current-buffer.
25695 (whitespace-trailing-regexp): Remove useless save-match-data.
25696 (whitespace-empty-at-bob-regexp): Minor simplification.
25697
25698 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25699
25700 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25701
25702 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
25703
25704 * textmodes/ispell.el (ispell-add-per-file-word-list):
25705 Use `concat' to create string for insertion.
25706
25707 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25708
25709 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25710 Avoid open-line which runs post-self-insert-hook.
25711 (bibtex-fill-entry): Remove unused `end' var.
25712
25713 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25714
25715 * textmodes/ispell.el (ispell-add-per-file-word-list):
25716 Protect against `nil' value of `comment-start' (Bug#8579).
25717
25718 2011-05-03 Leo Liu <sdl.web@gmail.com>
25719
25720 * isearch.el (isearch-yank-pop): New command.
25721 (isearch-mode-map): Bind it to `M-y'.
25722 (isearch-forward): Mention it.
25723
25724 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25725
25726 * simple.el (minibuffer-complete-shell-command): Remove.
25727 (minibuffer-local-shell-command-map): Use completion-at-point.
25728 (read-shell-command): Setup completion vars here instead.
25729 (read-expression-map): Bind TAB to symbol completion.
25730
25731 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25732 error directly rather via storing it into `results'.
25733
25734 2011-05-02 Leo Liu <sdl.web@gmail.com>
25735
25736 * vc/diff.el: Fix description.
25737
25738 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25739
25740 * server.el (server-eval-at): New function.
25741
25742 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25743
25744 * net/network-stream.el (open-network-stream): Take a :nowait
25745 parameter and pass it on to `make-network-process'.
25746 (network-stream-open-plain): Ditto.
25747
25748 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25749
25750 * faces.el (face-spec-set-match-display): Don't match toolkit
25751 options on terminal frames.
25752
25753 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25754
25755 * progmodes/pascal.el: Use lexical binding.
25756 (pascal-mode-map): Remove author preferences.
25757
25758 * pcomplete.el (pcomplete-std-complete): Don't abuse
25759 completion-at-point.
25760
25761 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25762
25763 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25764 removing code that has been dead since 1991 or so.
25765
25766 * startup.el (command-line): When warning about "_emacs", use a
25767 delayed warning to allow the user to filter it out.
25768
25769 2011-04-28 Deniz Dogan <deniz@dogan.se>
25770
25771 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25772 user has not joined.
25773
25774 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25775
25776 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25777 aren't any completions at point.
25778
25779 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25780
25781 * subr.el (display-delayed-warnings): New function.
25782 (delayed-warnings-hook): New variable.
25783
25784 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25785
25786 * minibuffer.el (completion-at-point, completion-help-at-point):
25787 Don't presume that a given completion-at-point-function will always
25788 use the same calling convention.
25789
25790 * pcomplete.el (pcomplete-completions-at-point):
25791 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25792 pcomplete-seen is non-nil.
25793 (pcomplete-comint-setup): Also recognize the new comint/shell
25794 completion functions.
25795 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25796 pcomplete-seen is non-nil.
25797
25798 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25799
25800 * calendar/icalendar.el (diary-lib): Add require statement.
25801 (icalendar--create-uid): Read out a uid from a text-property on
25802 the first character in the entry. This allows for code to add its
25803 own uid to the entry.
25804 (icalendar--convert-float-to-ical): Add export of
25805 `diary-float'-entries save for those with the optional DAY
25806 argument.
25807
25808 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25809
25810 * subr.el (shell-quote-argument): Use alternate escaping strategy
25811 when we spot a variable reference in a string.
25812
25813 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25814
25815 * cus-start.el (all): Define customization for debug-on-event.
25816
25817 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25818
25819 * subr.el (shell-quote-argument): Escape correctly under Windows.
25820
25821 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25822
25823 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25824
25825 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25826
25827 * net/tramp.el (tramp-process-actions): Add POS argument.
25828 Delete region between POS and (pos).
25829
25830 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25831 Use `nil' position in `tramp-process-actions' call.
25832 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25833
25834 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25835 position in `tramp-process-actions' call.
25836
25837 * net/trampver.el: Update release number.
25838
25839 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25840
25841 * custom.el (defcustom): Obey lexical-binding.
25842
25843 Fix octave-inf completion problems reported by Alexander Klimov.
25844 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25845 Inherit from octave-mode-syntax-table.
25846 (inferior-octave-mode): Set info-lookup-mode.
25847 (inferior-octave-completion-at-point): New function.
25848 (inferior-octave-complete): Use it and completion-in-region.
25849 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25850 comint-filename-completion.
25851 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25852 symbol elements which shouldn't be word elements.
25853 (octave-font-lock-keywords, octave-beginning-of-defun)
25854 (octave-function-header-regexp): Adjust regexps accordingly.
25855 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25856
25857 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25858
25859 * net/gnutls.el (gnutls-errorp): Declare before first use.
25860
25861 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25862
25863 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25864 verify-error, and verify-hostname-error parameters. Check whether
25865 default trustfile exists before going to use it. Add missing
25866 argument to gnutls-message-maybe call. Return value.
25867 Reported by Claudio Bley <claudio.bley@gmail.com>.
25868 (open-gnutls-stream): Add usage example.
25869
25870 * net/network-stream.el (network-stream-open-starttls): Give host
25871 parameter to `gnutls-negotiate'.
25872 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25873 * subr.el (shell-quote-argument): Escape correctly under Windows.
25874
25875 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25876
25877 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25878 Use correct match group (bug#8438).
25879
25880 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25881
25882 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25883 (package-menu--generate): New arg specifying packages to show.
25884 (package-menu-refresh, package-menu-execute, list-packages):
25885 Callers changed.
25886 (package-show-package-list): New function, replacing deleted
25887 package--list-packages (renamed because it is non-internal).
25888
25889 * finder.el (finder-list-matches): Use package-show-package-list
25890 instead of deleted package--list-packages.
25891
25892 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25893 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25894 (vc-annotate-mode-map): Bind it to RET.
25895
25896 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25897
25898 * progmodes/etags.el (next-file): Don't use set-buffer to change
25899 buffers (Bug#8478).
25900
25901 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25902
25903 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25904
25905 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25906 (apropos-accumulator): Doc fix.
25907 (apropos-function, apropos-macro, apropos-command)
25908 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25909 (apropos-plist): Add face property.
25910 (apropos-symbols-internal): Fix indentation.
25911 (apropos-print): Simplify help, and recognize apropos-multi-type.
25912 (apropos-print-doc): Use button-type-get to extract the button's
25913 face property. Fill docstring (Bug#8352).
25914
25915 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25916
25917 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25918
25919 * play/mpuz.el (mpuz-silent): Doc fix.
25920 (mpuz-mode-map): Use mapc.
25921 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25922 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25923 Fix typos in docstrings.
25924
25925 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25926 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25927
25928 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25929
25930 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25931
25932 * minibuffer.el (completion--do-completion): Avoid the "Next char
25933 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25934
25935 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25936 mouse-2 into unread-command-events, it is interpreted correctly.
25937
25938 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25939 (image-toggle-display): Doc fix.
25940
25941 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25942
25943 * textmodes/page.el (what-page): Use line-number-at-pos to
25944 calculate line number (Bug#6825).
25945
25946 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25947
25948 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25949 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25950 Pass argument NO-DEFAULT to `find-tag-interactive'.
25951
25952 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25953
25954 Lexical-binding cleanup.
25955
25956 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25957 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25958 * progmodes/ada-prj.el (ada-prj-initialize-values)
25959 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25960 (ada-prj-show-value):
25961 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25962 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25963 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25964 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25965 * progmodes/bug-reference.el (bug-reference-push-button):
25966 * progmodes/fortran.el (fortran-line-length):
25967 * progmodes/glasses.el (glasses-change):
25968 * progmodes/octave-mod.el (octave-fill-paragraph):
25969 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25970 (python-pdbtrack-grub-for-buffer, python-sentinel):
25971 * progmodes/sql.el (sql-save-connection):
25972 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25973 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25974 Mark unused parameters.
25975
25976 * progmodes/compile.el (compilation--flush-directory-cache)
25977 (compilation--flush-parse, compile-internal): Mark unused parameters.
25978 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25979 (compilation-next-error-function): Remove unused variable `timestamp'.
25980
25981 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25982 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25983
25984 * progmodes/dcl-mode.el (dcl-end-of-command):
25985 Remove unused variable `start'.
25986 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25987 (dcl-option-value-basic, dcl-option-value-offset)
25988 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25989 Mark unused parameters.
25990 (dcl-save-local-variable): Remove unused variable `val'.
25991 (mode): Declare.
25992
25993 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25994 Mark unused parameters.
25995 (delphi-ignore-changes): Move before first use.
25996 (delphi-charset-token-at): Remove unused variable `start'.
25997 (delphi-else-start): Remove unused variable `if-count'.
25998 (delphi-comment-block-start, delphi-comment-block-end):
25999 Remove unused variable `kind'.
26000 (delphi-indent-line): Remove unused variable `new-point'.
26001
26002 * progmodes/ebrowse.el (ebrowse-files-list)
26003 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26004 Mark unused parameters. Don't quote `lambda'.
26005 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26006 Don't quote `lambda'.
26007 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26008 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26009 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26010 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26011 Use `ignore-errors'.
26012 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26013 (ebrowse-view/find-file-and-search-pattern)
26014 (ebrowse-view/find-member-declaration/definition):
26015 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26016 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26017 Rename parameter PREFIX-ARG to PREFIX.
26018 (ebrowse-tags-read-name): Remove unused variables `start' and
26019 `member-info'.
26020 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26021 to `tags-file'.
26022
26023 * progmodes/etags.el (local-find-tag-hook): Declare.
26024 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26025 Mark unused parameters.
26026
26027 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26028 (executable-interpret): Mark unused parameter.
26029
26030 * progmodes/flymake.el (flymake-process-sentinel)
26031 (flymake-after-change-function)
26032 (flymake-create-temp-with-folder-structure)
26033 (flymake-get-include-dirs-dot): Mark unused parameters.
26034 (flymake-safe-delete-directory): Remove unused variable `err'.
26035
26036 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26037 (speedbar-timer-fn, speedbar-line-text)
26038 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26039 (speedbar-center-buffer-smartly): Declare functions.
26040 (gdb-find-watch-expression): Remove unused variable `array'.
26041 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26042 (gdb-starting): Mark unused parameters.
26043 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26044 (gdb-table-string): Remove unused variable `res'.
26045 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26046 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26047 (gdb-display-buffer): Remove unused variable `cur-size'.
26048
26049 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26050 allow lexical-binding compilation.
26051 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26052 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26053 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26054 Mark unused parameters.
26055 (gud-gdb-marker-filter): Remove unused variable `match'.
26056 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26057 lambda expressions and funcall them, instead of using `fset'.
26058
26059 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26060 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26061
26062 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26063 variable `header-beg'; use `let'.
26064
26065 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26066 `restart', `last-sexp' and `at-do'.
26067
26068 * progmodes/js.el (js--debug): Mark unused parameter.
26069 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26070 (js--splice-into-items): Remove unused variable `item'.
26071 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26072
26073 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26074 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26075 (makefile-complete): Remove unused variable `try'.
26076 (makefile-fill-paragraph, makefile-match-function-end):
26077 Mark unused parameters.
26078
26079 * progmodes/octave-inf.el (inferior-octave-complete):
26080 Remove unused variable `proc'.
26081 (inferior-octave-output-digest): Mark unused parameter.
26082
26083 * progmodes/perl-mode.el (perl-calculate-indent):
26084 Remove unused variable `err'.
26085
26086 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26087 (prolog-indent-line): Mark unused parameters.
26088 (prolog-indent-line): Remove unused variable `beg'.
26089
26090 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26091 (reporter-dont-compact-list): Declare.
26092
26093 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26094 Remove unused variable `char'.
26095 (sh-debug): Mark unused parameter.
26096 (sh-get-indent-info): Remove unused variable `start'.
26097 (sh-calculate-indent): Remove unused variable `var'.
26098
26099 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26100 (simula-electric-keyword): Remove unused variable `null'.
26101 (simula-search-backward, simula-search-forward): Remove unused
26102 variables `begin' and `end'.
26103
26104 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26105 Remove unused variable `pos'.
26106 (vera-electric-tab, vera-comment-uncomment-region):
26107 Mark unused parameters.
26108 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26109
26110 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26111
26112 * emacs-lisp/package.el (package--builtins, package-alist)
26113 (package-load-descriptor, package-built-in-p, package-activate)
26114 (define-package, package-installed-p)
26115 (package-compute-transaction, package-buffer-info)
26116 (package--push): Doc fix. Distinguish more clearly between
26117 version strings and version lists.
26118
26119 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26120
26121 Lexical-binding cleanup.
26122
26123 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26124 (5x5-make-mutate-best):
26125 * play/fortune.el (fortune-in-buffer):
26126 * play/gomoku.el (gomoku-init-display):
26127 * play/solitaire.el (solitaire, solitaire-do-check):
26128 * play/tetris.el (tetris-default-update-speed-function):
26129 Mark unused parameters.
26130
26131 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26132 (bubbles--shift): Remove unused variable `char-org'.
26133 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26134 (bubbles--show-images): Remove unused variable `char'.
26135
26136 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26137 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26138 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26139 (decipher-analyze-buffer): Use ?\s.
26140 (decipher-make-checkpoint): Remove unused variable `mapping'.
26141
26142 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26143
26144 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26145 Remove unused variable `result'; use `let'.
26146
26147 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26148 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26149 (gametree-children-shown-p, gametree-compute-reduced-score):
26150 Use `ignore-errors'.
26151
26152 * play/handwrite.el (ps-lpr-switches): Declare.
26153 (handwrite): Remove unused variables `pmin' and `lastp'.
26154
26155 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26156
26157 * play/landmark.el (landmark-init-display)
26158 (landmark-update-naught-weights): Mark unused parameters.
26159 (landmark-y): Remove unused variable `noise'. Simplify.
26160 (landmark-human-plays): Remove unused variable `score'.
26161
26162 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26163 (mpuz-try-proposal): Remove unused variable `game'.
26164
26165 * play/zone.el (life-patterns): Declare.
26166
26167 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26168
26169 * vc/vc.el (ediff-vc-internal): Declare function.
26170
26171 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26172
26173 * shell.el: Use lexical-binding and std completion UI.
26174 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26175 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26176 comint-preoutput-filter-functions rather than on
26177 comint-output-filter-functions.
26178 (shell-command-completion, shell--command-completion-data)
26179 (shell-filename-completion, shell-environment-variable-completion)
26180 (shell-c-a-p-replace-by-expanded-directory): New functions.
26181 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26182 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26183 (shell-dynamic-complete-environment-variable): Use them.
26184 (shell-dynamic-complete-as-environment-variable)
26185 (shell-dynamic-complete-as-command): Remove.
26186 (shell-match-partial-variable): Match past point.
26187 * comint.el: Clean up use of completion-at-point-functions.
26188 (comint-completion-at-point): New function.
26189 (comint-mode): Use it completion-at-point-functions.
26190 (comint-dynamic-complete): Make it obsolete.
26191 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26192 (comint-c-a-p-replace-by-expanded-history): New function.
26193 (comint-dynamic-complete-functions)
26194 (comint-replace-by-expanded-history): Use it.
26195 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26196 termination strings. Try harder to avoid second try-completion.
26197 (completion-in-region-mode-map): Disable bindings that don't work yet.
26198
26199 * comint.el: Use lexical-binding. Require CL.
26200 (comint-dynamic-complete-functions): Use comint-filename-completion.
26201 (comint-completion-addsuffix): Tweak custom type.
26202 (comint-filename-completion, comint--common-suffix)
26203 (comint--common-quoted-suffix, comint--table-subvert)
26204 (comint--complete-file-name-data): New functions.
26205 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26206 (comint-dynamic-list-filename-completions): Use them.
26207 (comint-dynamic-simple-complete): Make obsolete.
26208
26209 * minibuffer.el (completion-in-region-mode):
26210 Keep completion-in-region-mode--predicate global.
26211 (completion-in-region--postch):
26212 Assume completion-in-region-mode--predicate is not null.
26213
26214 * progmodes/flymake.el (flymake-start-syntax-check-process):
26215 Obey `dir'. Simplify.
26216
26217 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26218 we're in VC after all.
26219
26220 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26221
26222 * vc/vc.el (vc-diff-build-argument-list-internal)
26223 (vc-version-ediff, vc-ediff): New commands.
26224 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26225
26226 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26227
26228 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26229 add sanity check.
26230
26231 * obsolete/erc-hecomplete.el: Make obsolete.
26232 * obsolete/: Standardize obsolescence info in the header.
26233
26234 2011-04-20 Glenn Morris <rgm@gnu.org>
26235
26236 * calendar/solar.el (solar-horizontal-coordinates):
26237 Use the longitude argument rather than `calendar-longitude'.
26238 (solar-date-next-longitude): Remove unused locals.
26239
26240 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26241
26242 * whitespace.el: New version 13.2.1.
26243
26244 2011-04-20 felix <EmacsWiki> (tiny change)
26245
26246 * whitespace.el (global-whitespace-mode): Keep highlight when
26247 switching between major modes on a file.
26248
26249 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26250
26251 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26252 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26253 multi-line comments as well.
26254
26255 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26256
26257 Lexical-binding cleanup.
26258
26259 * arc-mode.el (archive-mode-revert):
26260 * cmuscheme.el (scheme-interactively-start-process):
26261 * custom.el (custom-initialize-delay):
26262 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26263 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26264 * emacs-lock.el (emacs-lock-clear-sentinel):
26265 * ezimage.el (defezimage):
26266 * follow.el (follow-avoid-tail-recenter):
26267 * fringe.el (set-fringe-mode-1):
26268 * generic-x.el (bat-generic-mode-compile):
26269 * help-mode.el (help-info-variable, help-do-xref)
26270 (help-mode-revert-buffer):
26271 * help.el (view-emacs-todo):
26272 * iswitchb.el (iswitchb-completion-help):
26273 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26274 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26275 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26276 * locate.el (locate-update):
26277 * longlines.el (longlines-encode-region)
26278 (longlines-after-change-function):
26279 * outline.el (outline-isearch-open-invisible):
26280 * ps-def.el (declare-function, charset-dimension, char-width)
26281 (encode-char):
26282 * ps-mule.el (ps-mule-plot-string):
26283 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26284 (recentf-edit-list-select, recentf-edit-list-validate)
26285 (recentf-open-files-action):
26286 * rect.el (delete-whitespace-rectangle-line)
26287 (rectangle-number-line-callback):
26288 * register.el (window-configuration-to-register)
26289 (frame-configuration-to-register):
26290 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26291 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26292 (xselect-convert-to-targets, xselect-convert-to-delete)
26293 (xselect-convert-to-filename, xselect-convert-to-charpos)
26294 (xselect-convert-to-lineno, xselect-convert-to-colno)
26295 (xselect-convert-to-os, xselect-convert-to-host)
26296 (xselect-convert-to-user, xselect-convert-to-class)
26297 (xselect-convert-to-name, xselect-convert-to-integer)
26298 (xselect-convert-to-atom, xselect-convert-to-identity):
26299 * subr.el (declare, ignore, process-kill-without-query)
26300 (text-clone-maintain):
26301 * terminal.el (te-get-char, te-tic-sentinel):
26302 * tool-bar.el (tool-bar-make-keymap):
26303 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26304 * type-break.el (type-break-mode, type-break-noninteractive-query):
26305 * view.el (View-back-to-mark):
26306 * wid-browse.el (widget-browse-action, widget-browse-widget)
26307 (widget-browse-widgets, widget-browse-sexp):
26308 * widget.el (define-widget-keywords):
26309 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26310 Mark unused parameters.
26311
26312 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26313 (align-areas): Remove unused variable `look'.
26314 (align-region): Remove unused variables `real-end' and `pos-list'.
26315
26316 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26317
26318 * bindings.el (mode-line-modified, mode-line-remote):
26319 Mark unused parameters.
26320 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26321
26322 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26323 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26324
26325 * comint.el (comint-history-isearch-pop-state)
26326 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26327 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26328 (comint-substitute-in-file-name): Doc fix.
26329
26330 * completion.el (cmpl-statistics-block): Mark unused parameter.
26331 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26332 (save-completions-to-file, load-completions-from-file):
26333 Remove unused local variable `e'.
26334
26335 * composite.el (compose-chars): Remove unused variable `len'.
26336 (lgstring-insert-glyph): Remove unused variable `g'.
26337 (compose-glyph-string): Remove unused variables `ascent',
26338 `descent', `lbearing' and `rbearing'.
26339 (compose-glyph-string-relative): Remove unused variables
26340 `lbearing', `rbearing' and `wadjust'.
26341 (compose-gstring-for-graphic): Remove unused variables `header',
26342 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26343 (compose-gstring-for-terminal): Remove unused variables `header'
26344 and `nchars'. Use `let', not `let*'.
26345
26346 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26347 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26348 (Custom-buffer-done, custom-buffer-create-internal)
26349 (custom-browse-visibility-action, custom-browse-group-tag-action)
26350 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26351 (widget-magic-mouse-down-action, custom-toggle-parent)
26352 (custom-add-parent-links, custom-toggle-hide-variable)
26353 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26354 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26355 (custom-face-menu-create, custom-variable-menu-create, get)
26356 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26357 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26358 (customize-apropos): Remove unused variable `tests'.
26359 (custom-group-value-create): Remove unused variable `hidden-p'.
26360 (sort-fold-case): Declare.
26361
26362 * cus-theme.el (custom-reset-standard-faces-list)
26363 (custom-reset-standard-variables-list): Declare.
26364 (customize-create-theme, custom-theme-revert, custom-theme-write)
26365 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26366 Mark unused parameters.
26367
26368 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26369
26370 * delim-col.el (delimit-columns-max): Move defvar before first use.
26371
26372 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26373 (describe-char): Don't quote `lambda'. Mark unused parameter.
26374
26375 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26376 (auto-insert): Declare.
26377 (desktop-restore-file-buffer): Rename desktop-* parameters;
26378 mark unused ones.
26379 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26380 (desktop-buffer): Rename desktop-* parameters.
26381
26382 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26383 (dframe-reposition-frame-xemacs, dframe-help-echo)
26384 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26385 Mark unused parameters.
26386
26387 * dired-aux.el (backup-extract-version-start, overwrite-query)
26388 (overwrite-backup-query, rename-regexp-query)
26389 (rename-non-directory-query): Declare.
26390 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26391 (dired-add-entry): Remove unused variable `orig-file-name'.
26392 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26393 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26394 `dired-copy-preserve-time' directly.
26395 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26396 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26397
26398 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26399 (dired-virtual-revert, dired-make-relative-symlink):
26400 Mark unused parameters.
26401 (manual-program): Declare.
26402 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26403 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26404 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26405
26406 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26407
26408 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26409
26410 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26411 Declare.
26412
26413 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26414
26415 * electric.el (Electric-command-loop): Rename parameter
26416 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26417
26418 * expand.el (expand-in-literal): Remove unused variable `here'.
26419
26420 * facemenu.el (facemenu-add-new-color):
26421 Remove unused variable `docstring'.
26422
26423 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26424 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26425 (face-attr-construct): Mark unused parameter. Doc fix.
26426 (read-color): Remove unused variable `hex-string'.
26427
26428 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26429 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26430 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26431 (display-buffer-other-frame): Remove unused variable `old-window'.
26432 (kill-buffer-hook): Declare.
26433 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26434 Mark unused parameters.
26435 (after-find-file): Pass 1 to `auto-save-mode', not t.
26436
26437 * files-x.el (auto-insert): Declare.
26438 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26439
26440 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26441 variable `buf'. Mark unused parameter.
26442 (find-lisp-insert-directory): Mark unused parameter.
26443
26444 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26445 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26446 (format-common-tail): Remove, unused.
26447 (format-deannotate-region): Remove unused variable `loc'.
26448 (format-annotate-region): Remove unused variable `p'.
26449 (format-annotate-single-property-change): Remove unused variables
26450 `default' and `tail'.
26451
26452 * forms.el (read-file-filter): Declare.
26453 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26454
26455 * frame.el (frame-creation-function-alist): Mark unused parameter.
26456 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26457
26458 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26459 Remove unused parameters.
26460 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26461 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26462
26463 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26464 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26465 (hfy-prepare-tag-map): Mark unused parameters.
26466 (htmlfontify-buffer): Use `called-interactively-p'.
26467
26468 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26469 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26470 (ibuffer-do-occur): Mark unused parameters.
26471 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26472 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26473
26474 * ibuffer.el: Don't quote `lambda'.
26475 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26476 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26477 Mark unused parameters.
26478
26479 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26480 (ido-completing-read): Mark unused parameters.
26481 (ido-copy-current-word): Mark unused parameters;
26482 remove unused variable `name'.
26483 (ido-sort-merged-list): Remove unused parameter `dirs'.
26484
26485 * ielm.el (ielm-input-sender): Mark unused parameter.
26486 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26487 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26488 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26489 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26490 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26491
26492 * image-dired.el (image-dired-display-thumbs): Remove unused
26493 variables `curr-file' and `count'.
26494 (image-dired-remove-tag): Remove unused variable `start'.
26495 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26496 variable `curr-file'
26497 (image-dired-rotate-original): Remove unused variable `temp-file'.
26498 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26499 Remove unused variable `file'.
26500 (image-dired-gallery-generate): Remove unused variable `curr'.
26501 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26502
26503 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26504
26505 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26506
26507 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26508
26509 * isearch.el (minibuffer-history-symbol): Declare.
26510 (isearch-edit-string): Remove unused variable `err'.
26511 (isearch-message-prefix, isearch-message-suffix):
26512 Mark unused parameters.
26513
26514 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26515
26516 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26517
26518 * makesum.el (double-column): Remove unused variable `cnt'.
26519
26520 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26521 (ido-ignore-item-temp-list): Declare.
26522
26523 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26524 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26525 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26526 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26527 `mouse-col-delta'.
26528
26529 * mouse-sel.el (mouse-extend-internal):
26530 Remove unused variable `orig-window-frame'.
26531
26532 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26533 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26534 Move declarations before first use.
26535 (pcomplete-opt): Mark unused parameters; doc fix.
26536
26537 * proced.el (proced-revert): Mark unused parameter.
26538 (proced-send-signal): Remove unused variable `err'.
26539
26540 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26541 Rename parameter PREFIX-ARG to ARG.
26542 (ps-basic-plot-string, ps-basic-plot-whitespace):
26543 Mark unused parameters.
26544
26545 * replace.el (replace-count): Define.
26546 (occur-revert-function): Mark unused parameters.
26547 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26548 (isearch-case-fold-search, isearch-string): Declare.
26549 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26550 bind `case-fold-search'. Remove unused variables `beg' and `end',
26551 and simplify.
26552 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26553 COUNT and bind `replace-count'.
26554 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26555 to COUNT.
26556
26557 * savehist.el (print-readably, print-string-length): Declare.
26558
26559 * shadowfile.el (shadow-expand-cluster-in-file-name):
26560 Remove unused variable `cluster'.
26561 (shadow-copy-file): Remove unused variable `i'.
26562 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26563 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26564 (shadow-define-literal-group, shadow-define-regexp-group)
26565 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26566
26567 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26568 (shell): Use `called-interactively-p'.
26569 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26570
26571 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26572 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26573 (delete-backward-char): Remove unused variable `ocol'.
26574 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26575 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26576 (event-apply-hyper-modifier, event-apply-shift-modifier)
26577 (event-apply-control-modifier, event-apply-meta-modifier):
26578 Mark unused parameters.
26579 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26580 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26581
26582 * speedbar.el (speedbar-ignored-directory-expressions)
26583 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26584 (speedbar-find-file, speedbar-dir-follow)
26585 (speedbar-directory-buttons-follow, speedbar-tag-find)
26586 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26587 (speedbar-buffers-line-directory, speedbar-buffer-click):
26588 Mark unused parameters.
26589 (speedbar-tag-file): Remove unused variable `mode'.
26590 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26591
26592 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26593
26594 * talk.el (talk): Remove unused variable `display'.
26595
26596 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26597 (tar-write-region-annotate): Mark unused parameter.
26598
26599 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26600 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26601 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26602 warning by another.
26603
26604 * time-stamp.el (time-stamp-string-preprocess):
26605 Remove unused variable `require-padding'.
26606
26607 * tree-widget.el (widget-glyph-enable): Declare.
26608 (tree-widget-action): Mark unused parameter.
26609
26610 * w32-fns.el (x-get-selection): Mark unused parameter.
26611 (autoload-make-program, generated-autoload-file): Declare.
26612
26613 * wdired.el (wdired-revert): Mark unused parameters.
26614 (wdired-xcase-word): Remove unused variable `err'.
26615
26616 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26617 (whitespace-help-scroll): Remove unused variable `data-help'.
26618
26619 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26620 (widget-image-insert, widget-after-change, default)
26621 (widget-default-format-handler, widget-default-notify)
26622 (widget-default-prompt-value, widget-info-link-action)
26623 (widget-url-link-action, widget-function-link-action)
26624 (widget-variable-link-action, widget-file-link-action)
26625 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26626 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26627 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26628 (widget-insert-button-action, widget-delete-button-action, visibility)
26629 (widget-documentation-link-action, widget-documentation-string-action)
26630 (widget-const-prompt-value, widget-regexp-match, symbol)
26631 (widget-coding-system-prompt-value)
26632 (widget-key-sequence-value-to-external, sexp)
26633 (widget-sexp-value-to-internal, character, vector, cons)
26634 (widget-choice-prompt-value, widget-boolean-prompt-value)
26635 (widget-color--choose-action): Mark unused parameters.
26636 (widget-item-match-inline, widget-choice-match-inline)
26637 (widget-checklist-match, widget-checklist-match-inline)
26638 (widget-group-match): Rename parameter VALUES to VALS.
26639 (widget-field-value-set): Remove unused variable `size'.
26640 (widget-color-action): Remove unused variables `value' and `start'.
26641
26642 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26643 variable `dir'. Doc fix.
26644 (windmove-find-other-window): Don't pass it.
26645
26646 * window.el (count-windows): Mark unused parameter.
26647 (bw-adjust-window): Remove unused variable `err'.
26648
26649 * woman.el (woman-file-name): Remove unused variable `default'.
26650 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26651 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26652 (global-font-lock-mode): Declare.
26653 (woman-decode-region): Mark unused parameter.
26654 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26655
26656 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26657 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26658 (x-dnd-handle-moz-url): Remove unused variable `title'.
26659 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26660
26661 * xml.el (xml-parse-tag, xml-parse-attlist):
26662 Remove unused variable `pos'.
26663
26664 2011-04-19 Glenn Morris <rgm@gnu.org>
26665
26666 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26667 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26668 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26669 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26670 * calendar/cal-html.el (cal-html-insert-minical):
26671 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26672 (calendar-mark-date-pattern):
26673 Prefix "unused" locals.
26674
26675 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26676 optional argument `style'.
26677
26678 * calendar/appt.el (appt-make-list):
26679 * calendar/cal-china.el (calendar-chinese-date-string):
26680 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26681 (diary-hebrew-yahrzeit):
26682 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26683 * calendar/calendar.el (calendar-generate-window):
26684 * calendar/time-date.el (time-to-days):
26685 Remove unused local variables.
26686
26687 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26688
26689 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26690 glyphless-char-display table.
26691 (tabulated-list-glyphless-char-display): New var.
26692
26693 2011-04-18 Sam Steingold <sds@gnu.org>
26694
26695 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26696 to acknowledgments.
26697
26698 2011-04-17 Glenn Morris <rgm@gnu.org>
26699
26700 * calendar/diary-lib.el (diary-sexp-entry):
26701 * calendar/holidays.el (holiday-sexp):
26702 Set debug-on-error rather than the removed stack-trace-on-error.
26703
26704 2011-04-16 Glenn Morris <rgm@gnu.org>
26705
26706 * progmodes/f90.el: Use lexical-binding.
26707 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26708
26709 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26710
26711 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26712 (mail-mode): Setup mailalias completion here instead.
26713 * mail/mailalias.el: Use lexical-binding.
26714 (pattern, mailalias-done): Declare dynamic.
26715 (mail-completion-at-point-function): New function, from mail-complete.
26716 (mail-complete): Use it.
26717 (mail-completion-expand): New function.
26718 (mail-get-names): Use it.
26719 (mail-directory, mail-directory-process, mail-directory-stream):
26720 Don't use `pattern' for lexically bound arg.
26721
26722 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26723
26724 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26725 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26726 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26727
26728 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26729 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26730 (byte-interactive-p): Define them again, for use when inlining
26731 old code.
26732
26733 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26734
26735 * loadup.el: Use `string-to-number', not `string-to-int'.
26736
26737 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26738
26739 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26740 gud-gdb-complete-command.
26741 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26742 (gud-gdb-completion-at-point): New function.
26743 (gud-gdb-completions): Remove.
26744
26745 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26746
26747 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26748 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26749 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26750 whether `executable-find' is bound.
26751
26752 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26753
26754 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26755
26756 * minibuffer.el (completion-in-region-mode-predicate)
26757 (completion-in-region-mode--predicate): New vars.
26758 (completion-in-region, completion-in-region--postch)
26759 (completion-in-region-mode): Use them.
26760 (completion--capf-wrapper): Also return the hook function.
26761 (completion-at-point, completion-help-at-point):
26762 Adjust and provide a predicate.
26763
26764 Preserve arg names for advice of subr and lexical functions (bug#8457).
26765 * help-fns.el (help-function-arglist): Consolidate the subr and
26766 new-byte-code cases. Add argument `preserve-names' to extract names
26767 from the docstring when needed.
26768 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26769 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26770 (ad-arglist): Use help-function-arglist's new arg.
26771 (ad-definition-type): Use cond.
26772
26773 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26774
26775 * autorevert.el (auto-revert-handler):
26776 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26777 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26778 Don't quote lambda.
26779
26780 * image-mode.el (image-transform-set-scale):
26781 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26782
26783 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26784
26785 * net/network-stream.el (network-stream-open-starttls): Only do
26786 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26787 Upgrades via gnutls-cli are too slow to be done opportunistically.
26788
26789 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26790
26791 * dframe.el (dframe-current-frame): Remove spurious quote.
26792
26793 2011-04-12 Glenn Morris <rgm@gnu.org>
26794
26795 * calendar/cal-tex.el (cal-tex-end-document):
26796 Try to automatically use latin1 input if needed.
26797
26798 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26799 Don't try to cons a mark onto an empty element.
26800
26801 2011-04-11 Leo Liu <sdl.web@gmail.com>
26802
26803 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26804 buffers.
26805 (ido-kill-buffer-at-head): Support killing virtual buffers.
26806
26807 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26808
26809 * minibuffer.el (completion-show-inline-help): New var.
26810 (completion--do-completion, minibuffer-complete)
26811 (minibuffer-force-complete, minibuffer-complete-word):
26812 Inhibit minibuffer messages if completion-show-inline-help is nil.
26813
26814 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26815 to avoid interference from inline help (Bug#5849).
26816
26817 2011-04-10 Leo Liu <sdl.web@gmail.com>
26818
26819 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26820 Fix typo.
26821
26822 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26823
26824 * image-mode.el (image-toggle-display-image): Signal an error if
26825 not in Image mode.
26826 (image-transform-mode, image-transform-resize)
26827 (image-transform-set-rotation): Doc fix.
26828 (image-transform-set-resize): Delete.
26829 (image-transform-set-scale, image-transform-fit-to-height)
26830 (image-transform-fit-to-width): Handle image-toggle-display-image
26831 and image-transform-resize directly.
26832
26833 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26834
26835 * doc-view.el (doc-view-fit-width-to-window)
26836 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26837 New functions for fitting the shown image to the Emacs window size.
26838 (doc-view-mode-map): Add bindings for the new functions.
26839
26840 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26841
26842 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26843 Fix typo in docstring.
26844
26845 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26846
26847 * files.el (file-size-human-readable): Produce one digit after
26848 decimal, like "ls -lh" does.
26849
26850 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26851 the file size representation.
26852
26853 * simple.el (list-processes): If async subprocesses are not
26854 available, error out with a clear error message.
26855
26856 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26857
26858 * help.el (help-form-show): New function, to be called from C.
26859 Put help-form output in a buffer named differently than *Help*.
26860
26861 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26862
26863 * files.el (file-size-human-readable): New function.
26864
26865 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26866 computing the representation inline. Don't require `cl'.
26867
26868 2011-04-08 Glenn Morris <rgm@gnu.org>
26869
26870 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26871
26872 * net/browse-url.el (browse-url-firefox):
26873 Test system-type, not system-configuration.
26874
26875 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26876 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26877 Use log-edit-empty-buffer-p. (Bug#7598)
26878
26879 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26880 (rlogin-mode-map): Initialize in the defvar.
26881 (rlogin): Use ignore-errors.
26882
26883 * replace.el (occur-mode-map): Some fixes for menu items.
26884
26885 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26886
26887 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26888
26889 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26890
26891 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26892 issuing unused warnings.
26893
26894 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26895 macro directly.
26896
26897 * simple.el: Lisp reimplement of list-processes. Based on an
26898 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26899 (process-menu-mode): New major mode.
26900 (list-processes--refresh, list-processes):
26901 (process-menu-visit-buffer): New functions.
26902
26903 * files.el (save-buffers-kill-emacs): Don't assume any return
26904 value of list-processes, which is undocumented anyway.
26905
26906 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26907
26908 * emacs-lisp/tabulated-list.el: New file.
26909
26910 * emacs-lisp/package.el: Use Tabulated List mode.
26911 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26912 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26913 table format using Tabulated List mode variables.
26914 (package--push): New macro, replacing package-list-maybe-add.
26915 (package-menu--generate): Use package--push. Renamed from
26916 package--generate-package-list.
26917 (package-menu-refresh, list-packages): Use it.
26918 (package-menu--print-info): Rename from package-print-package.
26919 Return insertion data instead of inserting it directly.
26920 (package-menu-describe-package, package-menu-execute):
26921 Use tabulated-list-get-id.
26922 (package-menu-mark-delete, package-menu-mark-install)
26923 (package-menu-mark-unmark, package-menu-backup-unmark)
26924 (package-menu-mark-obsolete-for-deletion):
26925 Use tabulated-list-put-tag.
26926 (package--list-packages, package-menu-revert)
26927 (package-menu-get-package, package-menu-get-version)
26928 (package-menu-sort-by-column): Functions deleted.
26929 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26930 (package-menu--status-predicate, package-menu--version-predicate)
26931 (package-menu--name-predicate)
26932 (package-menu--description-predicate): Handle arguments in the
26933 Tabulated List format.
26934 (package-list-packages-no-fetch): Call list-packages.
26935
26936 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26937
26938 * files.el (after-find-file-from-revert-buffer): Remove variable.
26939 (after-find-file): Don't bind it.
26940 (revert-buffer-in-progress-p): New variable.
26941 (revert-buffer): Bind it.
26942 Pass nil for `after-find-file-from-revert-buffer'.
26943
26944 * saveplace.el (save-place-find-file-hook): Use new variable
26945 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26946
26947 2011-04-06 Glenn Morris <rgm@gnu.org>
26948
26949 * Makefile.in (AUTOGEN_VCS): New variable.
26950 (autoloads): Use $AUTOGEN_VCS.
26951
26952 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26953 * calendar/calendar.el (calendar-mode-map):
26954 Check for toolkit scroll bars. (Bug#8305)
26955
26956 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26957
26958 * minibuffer.el (completion-in-region--postch)
26959 (completion-in-region-mode): Remove unnecessary messages.
26960
26961 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26962
26963 * font-lock.el (font-lock-refresh-defaults):
26964 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26965 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26966
26967 * info.el (Info-directory-list, Info-read-node-name-2)
26968 (Info-split-parameter-string): Doc fixes.
26969 (Info-virtual-nodes): Reflow docstring.
26970 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26971 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26972 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26973 Fix typos in docstrings.
26974 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26975 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26976 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26977 (Info-restore-desktop-buffer): Mark unused parameters.
26978 (Info-directory-find-file, Info-directory-find-node)
26979 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26980 (Info-virtual-index-find-node, Info-apropos-find-file)
26981 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26982 Mark unused parameters; fix typos in docstrings.
26983 (Info-virtual-index): Remove unused local variable `nodename'.
26984
26985 2011-04-05 Deniz Dogan <deniz@dogan.se>
26986
26987 * net/rcirc.el: Update my e-mail address.
26988 (rcirc-mode-map): Remove M-o binding.
26989
26990 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26991
26992 * startup.el (command-line): Save the cursor's theme-face
26993 directly, instead of using face-override-spec.
26994
26995 * custom.el (load-theme): Minor optimization in assigning faces.
26996
26997 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26998
26999 * help-fns.el (describe-variable): Complete all variables having
27000 documentation, including keywords.
27001 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27002
27003 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27004
27005 Convert to lexical-binding.
27006
27007 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27008 (bs--get-marked-string, bs--get-modified-string)
27009 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27010 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27011 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27012
27013 * ehelp.el (electric-help-execute-extended)
27014 (electric-help-ctrl-x-prefix):
27015 * hexl.el (hexl-revert-buffer-function):
27016 * linum.el (linum-after-change, linum-after-scroll):
27017 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27018
27019 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27020
27021 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27022
27023 * epa-dired.el:
27024 * epa-mail.el:
27025 * epa-hook.el:
27026 * epa-file.el:
27027 * epa.el:
27028 * epg.el: Use lexical binding.
27029
27030 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27031
27032 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27033
27034 * textmodes/flyspell.el (flyspell-word): Recognize default
27035 dictionary case for flyspell-mark-duplications-exceptions.
27036 Use regexp matching for languages.
27037 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27038 default dictionary (Bug#7926).
27039
27040 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27041
27042 * emacs-lisp/package.el (package--with-work-buffer):
27043 Recognize https URLs.
27044
27045 * net/network-stream.el: Move from gnus/proto-stream.el.
27046 Change prefix to network-stream throughout.
27047 (open-protocol-stream): Merge into open-network-stream, leaving
27048 open-protocol-stream as an alias. Handle nil BUFFER args.
27049
27050 * subr.el (open-network-stream): Move to net/network-stream.el.
27051
27052 2011-04-02 Glenn Morris <rgm@gnu.org>
27053
27054 * find-dired.el (find-exec-terminator): New option.
27055 (find-ls-option): Test for -ls support.
27056 (find-ls-subdir-switches): Test for -b in find-ls-option.
27057 (find-dired, find-grep-dired): Doc fixes.
27058 (find-dired): Use find-exec-terminator.
27059
27060 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27061 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27062 (find-name-arg): Remove purecopy.
27063
27064 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27065 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27066 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27067 accordingly. Don't add the null-device if not needed.
27068
27069 * files.el (save-some-buffers): Doc fix.
27070
27071 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27072
27073 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27074
27075 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27076
27077 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27078 Use `dolist' rather than `mapcar'.
27079
27080 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27081
27082 Add lexical binding.
27083
27084 * subr.el (apply-partially): Use new closures rather than CL.
27085 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27086 (dolist, dotimes): Use slightly different expansion for lexical code.
27087 (functionp): Move to C.
27088 (letrec): New macro.
27089 (with-wrapper-hook): Use it and apply-partially instead of CL.
27090 (eval-after-load): Preserve lexical-binding.
27091 (save-window-excursion, with-output-to-temp-buffer): Turn them
27092 into macros.
27093
27094 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27095
27096 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27097 than the arglist.
27098 (help-add-fundoc-usage): Don't add `Not documented'.
27099 (help-function-arglist): Handle closures, subroutines, and new
27100 byte-code-functions.
27101 (help-make-usage): Remove leading underscores.
27102 (describe-function-1): Handle closures.
27103 (describe-variable): Use special-variable-p for completion.
27104
27105 * files.el (lexical-binding): Declare safe.
27106
27107 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27108 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27109 (pcase): Add `let' pattern.
27110 Change memoization so it actually works.
27111 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27112 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27113 <let>: New case.
27114
27115 * emacs-lisp/macroexp.el: Use lexical binding.
27116 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27117 Don't convert ' to #' without checking that it's indeed quoting
27118 a lambda.
27119
27120 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27121 Use eval-sexp-add-defvars.
27122 (eval-sexp-add-defvars): New fun.
27123
27124 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27125
27126 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27127 Don't autoload.
27128 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27129 than the internal `byte-compile-lambda'.
27130 (defmethod): Don't hide code under quotes.
27131 (eieio-defmethod): New `code' argument.
27132
27133 * emacs-lisp/eieio-comp.el: Remove.
27134
27135 * emacs-lisp/edebug.el (edebug-eval-defun)
27136 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27137 (edebug-toggle): Avoid `eval'.
27138
27139 * emacs-lisp/disass.el (disassemble-internal): Handle new
27140 `closure' objects.
27141 (disassemble-1): Handle new byte codes.
27142
27143 * emacs-lisp/cl.el (pushnew): Silence warning.
27144
27145 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27146 (cl-byte-compile-throw): Remove.
27147 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27148
27149 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27150 closures.
27151
27152 * emacs-lisp/cconv.el: New file.
27153
27154 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27155 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27156 (byte-compile-initial-macro-environment):
27157 Handle declare-function here.
27158 (byte-compile--lexical-environment): New var.
27159 (byte-stack-ref, byte-stack-set, byte-discardN)
27160 (byte-discardN-preserve-tos): New lap codes.
27161 (byte-interactive-p): Don't use any more.
27162 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27163 New macros.
27164 (byte-compile-lapcode): Use them and handle new lap codes.
27165 (byte-compile-obsolete): Remove.
27166 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27167 (byte-compile-arglist-warn): Check late def of inlinable funs.
27168 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27169 since they should have been expanded by now.
27170 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27171 (byte-compile-from-buffer): Remove unused second arg.
27172 (byte-compile-preprocess): New function.
27173 (byte-compile-toplevel-file-form): New function to distinguish
27174 file-form calls from outside from file-form calls from hunk-handlers.
27175 (byte-compile-file-form): Simplify.
27176 (byte-compile-file-form-defsubst): Remove.
27177 (byte-compile-file-form-defmumble): Simplify now that
27178 byte-compile-lambda always returns a byte-code-function.
27179 (byte-compile): Preprocess.
27180 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27181 Remove, not used any more.
27182 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27183 (byte-compile-make-args-desc): New funs.
27184 (byte-compile-lambda): Handle lexical functions. Always return
27185 a byte-code-function.
27186 (byte-compile-reserved-constants): New var, to make up room for
27187 closed-over variables.
27188 (byte-compile-constants-vector): Obey it.
27189 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27190 (byte-compile-macroexpand-declare-function): New function.
27191 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27192 byte-code-functions.
27193 (byte-compile-form): Check obsolescence here.
27194 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27195 (byte-compile-variable-ref): Remove.
27196 (byte-compile-dynamic-variable-op): New fun.
27197 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27198 (byte-compile-variable-set): New funs.
27199 (byte-compile-discard): Add 2 args.
27200 (byte-compile-stack-ref, byte-compile-stack-set)
27201 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27202 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27203 macroexpand-all instead.
27204 (byte-compile-quote-form): Remove.
27205 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27206 (byte-compile-bind, byte-compile-unbind): New funs.
27207 (byte-compile-let): Handle let* and lexical binding.
27208 (byte-compile-let*): Remove.
27209 (byte-compile-catch, byte-compile-unwind-protect)
27210 (byte-compile-track-mouse, byte-compile-condition-case):
27211 Handle a new :fun-body form, used for lexical scoping.
27212 (byte-compile-save-window-excursion)
27213 (byte-compile-with-output-to-temp-buffer): Remove.
27214 (byte-compile-defun): Simplify.
27215 (byte-compile-stack-adjustment): New fun.
27216 (byte-compile-out): Use it.
27217 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27218
27219 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27220 handler any more.
27221
27222 * emacs-lisp/byte-opt.el: Use lexical binding.
27223 (byte-inline-lapcode): Remove (to bytecomp).
27224 (byte-compile-inline-expand): Pay attention to inlining to/from
27225 lexically bound code.
27226 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27227 any more.
27228 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27229 any more and don't call compiler-macros.
27230 (byte-compile-splice-in-already-compiled-code): Remove.
27231 (byte-code): Don't inline any more.
27232 (disassemble-offset): Receive `bytes' as argument rather than via
27233 dynamic scoping.
27234 (byte-compile-tag-number): Declare before first use.
27235 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27236 `return' even if make-spliceable.
27237 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27238 obsolete interactive-p.
27239 (byte-optimize-lapcode): Optimize new lap-codes.
27240 Don't trip up on new form of `byte-constant' lap code.
27241
27242 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27243
27244 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27245
27246 * custom.el (custom-initialize-default, custom-declare-variable):
27247 Use `defvar'.
27248
27249 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27250 New variables.
27251 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27252 (COMPILE_FIRST): Add macroexp and cconv.
27253 * makefile.w32-in: Mirror changes in Makefile.in.
27254
27255 * vc/cvs-status.el:
27256 * vc/diff-mode.el:
27257 * vc/log-edit.el:
27258 * vc/log-view.el:
27259 * vc/smerge-mode.el:
27260 * textmodes/bibtex-style.el:
27261 * textmodes/css-mode.el:
27262 * startup.el:
27263 * uniquify.el:
27264 * minibuffer.el:
27265 * newcomment.el:
27266 * reveal.el:
27267 * server.el:
27268 * mpc.el:
27269 * emacs-lisp/smie.el:
27270 * doc-view.el:
27271 * dired.el:
27272 * abbrev.el: Use lexical binding.
27273
27274 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27275
27276 * info.el (info-display-manual): New function.
27277
27278 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27279
27280 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27281
27282 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27283
27284 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27285 an entry for that server in rcirc-authinfo. (Bug#8385)
27286
27287 2011-03-31 Glenn Morris <rgm@gnu.org>
27288
27289 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27290
27291 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27292
27293 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27294
27295 * progmodes/python.el (python-default-interpreter)
27296 (python-python-command-args, python-jython-command-args)
27297 (python-which-shell, python-which-args, python-which-bufname)
27298 (python-file-queue, python-comint-output-filter-function)
27299 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27300 variables and functions.
27301
27302 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27303
27304 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27305 (completion-in-region-mode): New minor mode.
27306 (completion-in-region): Use it.
27307 (completion-in-region--data, completion-in-region-mode-map): New vars.
27308 (completion-in-region--postch): New function.
27309 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27310 New vars.
27311 (completion--capf-wrapper): New function.
27312 (completion-at-point): Use it to track well-behavedness of
27313 hook functions.
27314 (completion-help-at-point): New command.
27315
27316 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27317
27318 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27319 syntax class to search for whitespace on a single line
27320 (Message-ID: <4D938140.4030905@redhat.com>).
27321
27322 2011-03-30 Leo Liu <sdl.web@gmail.com>
27323
27324 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27325 New commands.
27326 (edit-abbrevs-map): Bind them here.
27327 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27328
27329 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27330
27331 * allout.el (allout-hide-by-annotation, allout-flag-region):
27332 Reduce possibility of overlay leakage by making them volatile.
27333
27334 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27335 hash is not shared between buffers. Mode initialization is
27336 responsible for giving it a useful starting value.
27337 (allout-item-span): Reduce possibility of overlay leakage by
27338 making them volatile.
27339 (allout-widgets-count-buttons-in-region): Add diagnostic function
27340 for tracking down button overlay leaks.
27341
27342 2011-03-29 Leo Liu <sdl.web@gmail.com>
27343
27344 * ido.el (ido-read-internal): Use the default history var
27345 minibuffer-history if no HISTORY is specified.
27346
27347 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27348
27349 * net/imap.el (imap-shell-open, imap-process-connection-type):
27350 Use imap-process-connection-type for 'shell' streams as well as
27351 Kerberos, SSL, other subprocesses.
27352
27353 2011-03-28 Leo Liu <sdl.web@gmail.com>
27354
27355 * abbrev.el (abbrev-table-empty-p): New function.
27356 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27357 nonempty ones. (Bug#5937)
27358
27359 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27360
27361 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27362
27363 2011-03-27 Leo Liu <sdl.web@gmail.com>
27364
27365 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27366 for foreground and background colors.
27367 (ansi-color-make-color-map): Adapt.
27368
27369 2011-03-25 Leo Liu <sdl.web@gmail.com>
27370
27371 * midnight.el (midnight-time-float): Remove. Note it calculates
27372 the microsecond component incorrectly and seconds-to-time does the
27373 same job.
27374 Remove redundant (require 'timer).
27375
27376 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27377 (ido-completions): Remove unused arguments. (Bug#8329)
27378
27379 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27380
27381 * minibuffer.el (completion--flush-all-sorted-completions):
27382 Remove itself from hook.
27383 (completion-at-point): Let the functions perform the completion
27384 immediately and return nil or t.
27385 * comint.el (comint-dynamic-complete-functions): Now identical to
27386 completion-at-point-functions.
27387 (comint-dynamic-list-input-ring): Remove unused var `index'.
27388 (comint--match-partial-filename, comint--unquote&expand-filename):
27389 New funs, split from comint-match-partial-filename.
27390 (comint-dynamic-complete): Use completion-at-point.
27391 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27392
27393 2011-03-24 Drew Adams <drew.adams@oracle.com>
27394
27395 * thingatpt.el: Support `defun'.
27396
27397 2011-03-23 Leo Liu <sdl.web@gmail.com>
27398
27399 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27400
27401 * help-mode.el (help-mode-finish): Tweak regexp.
27402
27403 2011-03-23 Glenn Morris <rgm@gnu.org>
27404
27405 * eshell/esh-opt.el (eshell-eval-using-options):
27406 Do not bind unused local variable `eshell-option-stub'.
27407
27408 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27409
27410 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27411
27412 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27413 keymap variable in `with-no-warnings' to avoid a warning when the
27414 keymap has been already `defconst'ed.
27415
27416 2011-03-22 Leo Liu <sdl.web@gmail.com>
27417
27418 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27419 encode all chars in abbrevs; otherwise use emacs-mule or
27420 utf-8-emacs. (Bug#8308)
27421
27422 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27423
27424 * simple.el (backward-delete-char-untabify):
27425 Avoid warning about using `delete-backward-char'.
27426
27427 * image.el (image-type-file-name-regexps): Make it variable.
27428 `imagemagick-register-types' modifies it, and the user may want
27429 to add new extensions for known image types.
27430 (imagemagick-register-types): Throw error if not using ImageMagick.
27431
27432 2011-03-22 Leo Liu <sdl.web@gmail.com>
27433
27434 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27435 located before rcirc-prompt-end-marker.
27436 (rcirc-complete): Error if point is not after rcirc prompt.
27437 Handle the case when table is nil.
27438 (rcirc-user-authenticated): Define to fix compiler warning.
27439
27440 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27441
27442 * custom.el (custom--inhibit-theme-enable): Make it affect only
27443 custom-theme-set-variables and custom-theme-set-faces.
27444 (provide-theme): Ignore custom--inhibit-theme-enable.
27445 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27446 (custom-enabling-themes): Delete variable.
27447 (enable-theme): Accept only loaded themes as arguments.
27448 Ignore the special custom-enabled-themes variable.
27449 (custom-enabled-themes): Forbid themes from setting this.
27450 Eliminate use of custom-enabling-themes.
27451 (custom-push-theme): Quote "changed" custom var entry.
27452
27453 2011-03-21 Leo Liu <sdl.web@gmail.com>
27454
27455 * ido.el (ido-read-internal): Add ido-selected to history instead
27456 of user input.
27457
27458 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27459
27460 * subr.el (deferred-action-list, deferred-action-function):
27461 Mark obsolete.
27462
27463 2011-03-21 Leo Liu <sdl.web@gmail.com>
27464
27465 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27466 change on 2011-02-13 (bug#8309).
27467
27468 * minibuffer.el (read-file-name-function): Change default value.
27469 (read-file-name--defaults): Rename from read-file-name-defaults.
27470 (read-file-name-default): Rename from read-file-name.
27471 (read-file-name): Call read-file-name-function.
27472
27473 2011-03-21 Glenn Morris <rgm@gnu.org>
27474
27475 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27476 Doc fixes.
27477
27478 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27479
27480 * cus-theme.el: Add missing provide statement.
27481 (customize-create-theme): Extract theme value correctly.
27482 (custom-theme-visit-theme): Autoload.
27483 (customize-create-theme): Prompt before inserting default faces.
27484
27485 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27486
27487 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27488 units and musical notes.
27489
27490 2011-03-20 Leo Liu <sdl.web@gmail.com>
27491
27492 * ido.el (ido-read-internal): Use completing-read-default.
27493 (ido-completing-read): Fix compatibility with completing-read.
27494
27495 2011-03-20 Christian Ohler <ohler@gnu.org>
27496
27497 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27498 (ert-delete-all-tests): Use `called-interactively-p' rather than
27499 `interactive-p'.
27500 (ert--make-xrefs-region): Respect END.
27501
27502 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27503
27504 * dired-aux.el (dired-create-directory): Signal an error if the
27505 directory already exists (Bug#8246).
27506
27507 * facemenu.el (list-colors-display): Call list-faces-display
27508 inside with-help-window.
27509 (list-colors-print): Use display property to align the final
27510 column, instead of checking window-width.
27511
27512 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27513
27514 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27515 windows-nt systems.
27516 (emerge-protect-metachars): Quote correctly for ms-dos and
27517 windows-nt systems.
27518
27519 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27520
27521 * info.el (info-initialize): Replace all uses of `:' with
27522 path-separator for compatibility with non-Unix systems.
27523 Cache quoting of path-separator. (Bug#8258)
27524
27525 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27526
27527 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27528 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27529 (mouse-avoidance-mode): Fix typos in docstrings.
27530
27531 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27532
27533 * startup.el (package-subdirectory-regexp): Move from package.el.
27534 Omit \\` and \\', and let callers add them.
27535
27536 * emacs-lisp/package.el (package-strip-version)
27537 (package-load-all-descriptors): Add \\` and \\' to
27538 package-subdirectory-regexp before using it.
27539 (package-untar-buffer): New arg DIR; ensure that file untars only
27540 into this expected directory. Remove superfluous delete-region.
27541 (package-unpack): Caller changed.
27542 (package-tar-file-info): Use package-subdirectory-regexp.
27543
27544 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27545
27546 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27547 diff-mode-shared-map (bug#8284).
27548 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27549
27550 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27551
27552 * calendar/time-date.el (format-seconds): Use assoc instead of
27553 assoc-string, since assoc-string doesn't exist in XEmacs.
27554
27555 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27556
27557 * custom.el (custom-known-themes): Reflow docstring.
27558 (custom-theme-load-path): Fix typo in docstring.
27559 (load-theme): Fix typo in error message.
27560 (custom-available-themes, custom-variable-theme-value):
27561 Use `let', not `let*'.
27562
27563 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27564
27565 * calc/README: Mention inclusion of musical notes.
27566
27567 * calc/calc-units.el (calc-lu-quant): Rename from
27568 `calc-logunits-quantity'.
27569 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27570 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27571 (calc-db): Rename from `calc-dblevel'.
27572 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27573 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27574 (calc-np): Rename from `calc-nplevel'.
27575 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27576 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27577 (calc-lu-plus): Rename from `calc-logunits-add'.
27578 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27579 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27580 (calc-lu-minus): Rename from `calc-logunits-sub'.
27581 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27582 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27583 (calc-lu-times): Rename from `calc-logunits-mul'.
27584 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27585 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27586 (calc-lu-divide): Rename from `calc-logunits-div'.
27587 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27588 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27589
27590 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27591 functions being autoloaded.
27592
27593 * calc/calc.el (calc-lu-power-reference): Rename from
27594 `calc-logunits-power-reference'.
27595 (calc-lu-field-reference): Rename from
27596 `calc-logunits-field-reference'.
27597
27598 * calc/calc-help.el (calc-l-prefix-help):
27599 Mention musical note functions.
27600
27601 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27602
27603 * minibuffer.el (completion-all-sorted-completions):
27604 Use :completion-cycle-penalty text property if present.
27605
27606 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27607
27608 * allout.el (allout-yank-processing): Adjust for new rebulleting
27609 regime so bullet being yanked is used without prompting the user
27610 for a choice.
27611
27612 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27613
27614 * startup.el (command-line): Warn the user that _emacs is deprecated.
27615
27616 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27617
27618 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27619 (delphi-verbose, delphi-comment-face, delphi-string-face)
27620 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27621 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27622 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27623 (delphi-new-comment-line, delphi-font-lock-defaults)
27624 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27625 Fix typos in docstrings.
27626
27627 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27628
27629 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27630 Invert the roles of character and string values for INSTEAD, so a
27631 string is used for the more common case of a defaulting prompt.
27632
27633 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27634
27635 * progmodes/ruby-mode.el (ruby-backward-sexp):
27636 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27637 * play/gamegrid.el (gamegrid-make-face):
27638 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27639 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27640 * notifications.el (notifications-notify):
27641 * net/xesam.el (xesam-search-engines):
27642 * net/quickurl.el (quickurl-list-insert):
27643 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27644
27645 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27646
27647 * startup.el (command-line): Update package subdirectory regexp.
27648
27649 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27650
27651 * allout.el (allout-abbreviate-flattened-numbering)
27652 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27653
27654 * subr.el (read-char-choice): Only show the cursor after the prompt,
27655 not after the answer.
27656
27657 2011-03-15 Kevin Ryde <user42@zip.com.au>
27658
27659 * help-fns.el (variable-at-point): Skip leading quotes, if any
27660 (bug#8253).
27661
27662 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27663
27664 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27665 warning message.
27666
27667 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27668
27669 * shell.el (shell): When called interactively, offer to change the
27670 shell file name on remote hosts.
27671
27672 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27673
27674 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27675 integration for LDAP parameters. The host, base, user or binddn,
27676 and secret tokens can be specified in a netrc file, for instance.
27677 This is optional because an `auth-source' parameter must be
27678 specified in the search attributes.
27679
27680 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27681
27682 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27683
27684 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27685
27686 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27687 into declaration. Remove redundant and harmful binding.
27688
27689 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27690
27691 * files.el (file-ownership-preserved-p): Pass `integer' as an
27692 explicit 2nd argument to `file-attributes'. If the file's owner
27693 is the Administrators group on Windows, and the current user is
27694 Administrator, consider that a match.
27695
27696 * server.el (server-ensure-safe-dir): Consider server directory
27697 safe on MS-Windows if its owner is the Administrators group while
27698 the current Emacs user is Administrator. Use `=' to compare
27699 numerical UIDs, since they could be integers or floats.
27700
27701 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27702
27703 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27704
27705 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27706
27707 Sync with Tramp 2.2.1.
27708
27709 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27710
27711 * net/trampver.el: Update release number.
27712
27713 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27714
27715 * progmodes/compile.el (compilation--previous-directory): Fix up
27716 various nil/dead-marker mismatches (bug#8014).
27717 (compilation-directory-properties, compilation-error-properties):
27718 Don't call it at a position past the one we're about to change.
27719
27720 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27721 Disable obsolescence warnings in the file that declares it.
27722
27723 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27724
27725 * allout-widgets.el (allout-widgets-tally):
27726 Initialize allout-widgets-tally as a hash table rather than nil to
27727 prevent mode-line redisplay warnings. Also, clarify the module
27728 description and fix a comment typo.
27729
27730 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27731
27732 * help-fns.el (describe-variable): Don't complete keywords.
27733 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27734
27735 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27736
27737 * emacs-lisp/package.el (package-version-join): Impose a standard
27738 string representation for pre/alpha/beta version lists.
27739 (package-unpack-single): Standardize the directory name by passing
27740 it through package-version-join.
27741 (package-strip-rcs-id): Accept any version string that does not
27742 signal an error in version-to-list.
27743
27744 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27745
27746 * simple.el (delete-trailing-whitespace): Return nil for the
27747 benefit of `write-file-functions'.
27748
27749 2011-03-10 Glenn Morris <rgm@gnu.org>
27750
27751 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27752
27753 * vc/vc-git.el (vc-git-program): New option.
27754 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27755 (vc-git--call): Use it.
27756
27757 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27758
27759 * cus-edit.el (Custom-newline): If no button at point, look
27760 for a subgroup button at start-of-line. (Bug#2298)
27761
27762 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27763
27764 2011-03-10 Julien Danjou <julien@danjou.info>
27765
27766 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27767 `cursor-type' is nil.
27768
27769 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27770
27771 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27772
27773 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27774
27775 * allout.el: Change so yank of distinctive-bullet items
27776 preserves the existing header prefix, rebulleting it if necessary,
27777 rather than replacing it. This is necessary for proper operation
27778 of cooperative addons like allout-widgets.
27779 (allout-make-topic-prefix, allout-rebullet-heading):
27780 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27781 value as alternate bullet to be used, instead of prompting the user
27782 for a bullet character.
27783
27784 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27785
27786 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27787 Do not use `tramp-file-name-port', because this returns also
27788 `tramp-default-port'.
27789
27790 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27791
27792 * net/rcirc.el (rcirc-handler-001): Remove useless
27793 with-rcirc-process-buffer.
27794 (rcirc-check-auth-status): Swap arguments to string-match.
27795
27796 2011-03-09 Glenn Morris <rgm@gnu.org>
27797
27798 * shell.el (shell-mode):
27799 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27800
27801 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27802 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27803
27804 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27805
27806 * emacs-lisp/package.el (package-refresh-contents)
27807 (package-menu-execute): Use condition-case-no-debug.
27808
27809 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27810
27811 * simple.el (shell-command-to-string): Use `process-file'.
27812
27813 * emacs-lisp/package.el (package-tar-file-info): Handle also
27814 remote files.
27815
27816 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27817 Use `equal' for upload base check.
27818
27819 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27820
27821 * textmodes/texinfo.el (texinfo-environments):
27822 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27823
27824 2011-03-08 Glenn Morris <rgm@gnu.org>
27825
27826 * cus-start.el (cursor-in-non-selected-windows):
27827 Fix :set quoting oddness. (Bug#8192)
27828
27829 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27830 in some setf expressions. (Bug#2159)
27831
27832 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27833
27834 * custom.el (custom-available-themes): Return themes in
27835 alphabetical order.
27836
27837 See ChangeLog.15 for earlier changes.
27838
27839 ;; Local Variables:
27840 ;; coding: utf-8
27841 ;; End:
27842
27843 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27844
27845 This file is part of GNU Emacs.
27846
27847 GNU Emacs is free software: you can redistribute it and/or modify
27848 it under the terms of the GNU General Public License as published by
27849 the Free Software Foundation, either version 3 of the License, or
27850 (at your option) any later version.
27851
27852 GNU Emacs is distributed in the hope that it will be useful,
27853 but WITHOUT ANY WARRANTY; without even the implied warranty of
27854 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27855 GNU General Public License for more details.
27856
27857 You should have received a copy of the GNU General Public License
27858 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.